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
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name 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
- System
Data 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
Account
Resource Response Properties - Property bag from billing account
- System
Data 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
Account
Resource Response Properties - Property bag from billing account
- system
Data 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
Account
Resource Response Properties - Property bag from billing account
- system
Data 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
Account
Resource 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
- system
Data 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
- App
Id string - Customer owned application ID
- Billing
Plan stringId - Billing Plan Id
- Provisioning
State string - Provisioning state.
- App
Id string - Customer owned application ID
- Billing
Plan stringId - Billing Plan Id
- Provisioning
State string - Provisioning state.
- app
Id String - Customer owned application ID
- billing
Plan StringId - Billing Plan Id
- provisioning
State String - Provisioning state.
- app
Id string - Customer owned application ID
- billing
Plan stringId - Billing Plan Id
- provisioning
State string - Provisioning state.
- app_
id str - Customer owned application ID
- billing_
plan_ strid - Billing Plan Id
- provisioning_
state str - Provisioning state.
- app
Id String - Customer owned application ID
- billing
Plan StringId - Billing Plan Id
- provisioning
State String - Provisioning state.
AccountResourceResponseSystemData
- Created
At string - The timestamp of resource creation (UTC).
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi