1. Packages
  2. Azure Native v2
  3. API Docs
  4. graphservices
  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.graphservices.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

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>
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:graphservices:getAccount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
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 This property is required. string
Customer owned application ID
BillingPlanId This property is required. string
Billing Plan Id
ProvisioningState This property is required. string
Provisioning state.
AppId This property is required. string
Customer owned application ID
BillingPlanId This property is required. string
Billing Plan Id
ProvisioningState This property is required. string
Provisioning state.
appId This property is required. String
Customer owned application ID
billingPlanId This property is required. String
Billing Plan Id
provisioningState This property is required. String
Provisioning state.
appId This property is required. string
Customer owned application ID
billingPlanId This property is required. string
Billing Plan Id
provisioningState This property is required. string
Provisioning state.
app_id This property is required. str
Customer owned application ID
billing_plan_id This property is required. str
Billing Plan Id
provisioning_state This property is required. str
Provisioning state.
appId This property is required. String
Customer owned application ID
billingPlanId This property is required. String
Billing Plan Id
provisioningState This property is required. 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-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