This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.graphservices.getAccount
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Returns account resource for a given name. Azure REST API version: 2023-04-13.
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>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]func LookupAccount(ctx *Context, args *LookupAccountArgs, opts ...InvokeOption) (*LookupAccountResult, error)
func LookupAccountOutput(ctx *Context, args *LookupAccountOutputArgs, opts ...InvokeOption) LookupAccountResultOutput> 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)
}public static CompletableFuture<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
public static Output<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:graphservices:getAccount
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- The name of the resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- The name of the resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- The name of the resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- resourceName string
- The name of the resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- resource_name str
- The name of the resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- The name of the resource.
getAccount Result
The following output properties are available:
- Id string
- Azure resource ID.
- Name string
- Azure resource name.
- Properties
Pulumi.Azure Native. Graph Services. Outputs. Account Resource Response Properties 
- Property bag from billing account
- SystemData Pulumi.Azure Native. Graph Services. Outputs. Account Resource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Azure resource type.
- Location string
- Location of the resource.
- Dictionary<string, string>
- resource tags.
- Id string
- Azure resource ID.
- Name string
- Azure resource name.
- Properties
AccountResource Response Properties 
- Property bag from billing account
- SystemData AccountResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Azure resource type.
- Location string
- Location of the resource.
- map[string]string
- resource tags.
- id String
- Azure resource ID.
- name String
- Azure resource name.
- properties
AccountResource Response Properties 
- Property bag from billing account
- systemData AccountResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type String
- Azure resource type.
- location String
- Location of the resource.
- Map<String,String>
- resource tags.
- id string
- Azure resource ID.
- name string
- Azure resource name.
- properties
AccountResource Response Properties 
- Property bag from billing account
- systemData AccountResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type string
- Azure resource type.
- location string
- Location of the resource.
- {[key: string]: string}
- resource tags.
- id str
- Azure resource ID.
- name str
- Azure resource name.
- properties
AccountResource Response Properties 
- Property bag from billing account
- system_data AccountResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type str
- Azure resource type.
- location str
- Location of the resource.
- Mapping[str, str]
- resource tags.
- id String
- Azure resource ID.
- name String
- Azure resource name.
- properties Property Map
- Property bag from billing account
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- Azure resource type.
- location String
- Location of the resource.
- Map<String>
- resource tags.
Supporting Types
AccountResourceResponseProperties   
- AppId string
- Customer owned application ID
- BillingPlan stringId 
- Billing Plan Id
- ProvisioningState string
- Provisioning state.
- AppId string
- Customer owned application ID
- BillingPlan stringId 
- Billing Plan Id
- ProvisioningState string
- Provisioning state.
- appId String
- Customer owned application ID
- billingPlan StringId 
- Billing Plan Id
- provisioningState String
- Provisioning state.
- appId string
- Customer owned application ID
- billingPlan stringId 
- Billing Plan Id
- provisioningState string
- Provisioning state.
- app_id str
- Customer owned application ID
- billing_plan_ strid 
- Billing Plan Id
- provisioning_state str
- Provisioning state.
- appId String
- Customer owned application ID
- billingPlan StringId 
- Billing Plan Id
- provisioningState String
- Provisioning state.
AccountResourceResponseSystemData    
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi