1. Packages
  2. Azure Native v2
  3. API Docs
  4. visualstudio
  5. getAccount
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.visualstudio.getAccount

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the Visual Studio Team Services account resource details. Azure REST API version: 2017-11-01-preview.

Using getAccount

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAccount(args: GetAccountArgs, opts?: InvokeOptions): Promise<GetAccountResult>
function getAccountOutput(args: GetAccountOutputArgs, opts?: InvokeOptions): Output<GetAccountResult>
Copy
def get_account(resource_group_name: Optional[str] = None,
                resource_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetAccountResult
def get_account_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                resource_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetAccountResult]
Copy
func LookupAccount(ctx *Context, args *LookupAccountArgs, opts ...InvokeOption) (*LookupAccountResult, error)
func LookupAccountOutput(ctx *Context, args *LookupAccountOutputArgs, opts ...InvokeOption) LookupAccountResultOutput
Copy

> Note: This function is named LookupAccount in the Go SDK.

public static class GetAccount 
{
    public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions? opts = null)
    public static Output<GetAccountResult> Invoke(GetAccountInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
public static Output<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:visualstudio:getAccount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group within the Azure subscription.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group within the Azure subscription.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group within the Azure subscription.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource.

getAccount Result

The following output properties are available:

Id string
Unique identifier of the resource.
Name string
Resource name.
Properties Dictionary<string, string>
Resource properties.
Type string
Resource type.
Location string
Resource location.
Tags Dictionary<string, string>
Resource tags.
Id string
Unique identifier of the resource.
Name string
Resource name.
Properties map[string]string
Resource properties.
Type string
Resource type.
Location string
Resource location.
Tags map[string]string
Resource tags.
id String
Unique identifier of the resource.
name String
Resource name.
properties Map<String,String>
Resource properties.
type String
Resource type.
location String
Resource location.
tags Map<String,String>
Resource tags.
id string
Unique identifier of the resource.
name string
Resource name.
properties {[key: string]: string}
Resource properties.
type string
Resource type.
location string
Resource location.
tags {[key: string]: string}
Resource tags.
id str
Unique identifier of the resource.
name str
Resource name.
properties Mapping[str, str]
Resource properties.
type str
Resource type.
location str
Resource location.
tags Mapping[str, str]
Resource tags.
id String
Unique identifier of the resource.
name String
Resource name.
properties Map<String>
Resource properties.
type String
Resource type.
location String
Resource location.
tags Map<String>
Resource tags.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi