1. Packages
  2. Azure Native
  3. API Docs
  4. graphservices
  5. getAccount
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.graphservices.getAccount

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:graphservices:getAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    resourceName string
    The name of the resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    resource_name str
    The name of the resource.
    resourceGroupName String
    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.AzureNative.GraphServices.Outputs.AccountResourceResponseProperties
    Property bag from billing account
    SystemData Pulumi.AzureNative.GraphServices.Outputs.AccountResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Azure resource type.
    Location string
    Location of the resource.
    Tags Dictionary<string, string>
    resource tags.
    Id string
    Azure resource ID.
    Name string
    Azure resource name.
    Properties AccountResourceResponseProperties
    Property bag from billing account
    SystemData AccountResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Azure resource type.
    Location string
    Location of the resource.
    Tags map[string]string
    resource tags.
    id String
    Azure resource ID.
    name String
    Azure resource name.
    properties AccountResourceResponseProperties
    Property bag from billing account
    systemData AccountResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    type String
    Azure resource type.
    location String
    Location of the resource.
    tags Map<String,String>
    resource tags.
    id string
    Azure resource ID.
    name string
    Azure resource name.
    properties AccountResourceResponseProperties
    Property bag from billing account
    systemData AccountResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    type string
    Azure resource type.
    location string
    Location of the resource.
    tags {[key: string]: string}
    resource tags.
    id str
    Azure resource ID.
    name str
    Azure resource name.
    properties AccountResourceResponseProperties
    Property bag from billing account
    system_data AccountResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    type str
    Azure resource type.
    location str
    Location of the resource.
    tags 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.
    tags Map<String>
    resource tags.

    Supporting Types

    AccountResourceResponseProperties

    AppId string
    Customer owned application ID
    BillingPlanId string
    Billing Plan Id
    ProvisioningState string
    Provisioning state.
    AppId string
    Customer owned application ID
    BillingPlanId string
    Billing Plan Id
    ProvisioningState string
    Provisioning state.
    appId String
    Customer owned application ID
    billingPlanId String
    Billing Plan Id
    provisioningState String
    Provisioning state.
    appId string
    Customer owned application ID
    billingPlanId string
    Billing Plan Id
    provisioningState string
    Provisioning state.
    app_id str
    Customer owned application ID
    billing_plan_id str
    Billing Plan Id
    provisioning_state str
    Provisioning state.
    appId String
    Customer owned application ID
    billingPlanId String
    Billing Plan Id
    provisioningState String
    Provisioning state.

    AccountResourceResponseSystemData

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi