1. Packages
  2. Azure Native
  3. API Docs
  4. datashare
  5. getAccount
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.datashare.getAccount

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Get an account

Uses Azure REST API version 2021-08-01.

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(account_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetAccountResult
def get_account_output(account_name: Optional[pulumi.Input[str]] = None,
                resource_group_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:datashare:getAccount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the share account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.

getAccount Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
CreatedAt string
Time at which the account was created.
Id string
The resource id of the azure resource
Identity Pulumi.AzureNative.DataShare.Outputs.IdentityResponse
Identity Info on the Account
Name string
Name of the azure resource
ProvisioningState string
Provisioning state of the Account
SystemData Pulumi.AzureNative.DataShare.Outputs.SystemDataResponse
System Data of the Azure resource.
Type string
Type of the azure resource
UserEmail string
Email of the user who created the resource
UserName string
Name of the user who created the resource
Location string
Location of the azure resource.
Tags Dictionary<string, string>
Tags on the azure resource.
AzureApiVersion string
The Azure API version of the resource.
CreatedAt string
Time at which the account was created.
Id string
The resource id of the azure resource
Identity IdentityResponse
Identity Info on the Account
Name string
Name of the azure resource
ProvisioningState string
Provisioning state of the Account
SystemData SystemDataResponse
System Data of the Azure resource.
Type string
Type of the azure resource
UserEmail string
Email of the user who created the resource
UserName string
Name of the user who created the resource
Location string
Location of the azure resource.
Tags map[string]string
Tags on the azure resource.
azureApiVersion String
The Azure API version of the resource.
createdAt String
Time at which the account was created.
id String
The resource id of the azure resource
identity IdentityResponse
Identity Info on the Account
name String
Name of the azure resource
provisioningState String
Provisioning state of the Account
systemData SystemDataResponse
System Data of the Azure resource.
type String
Type of the azure resource
userEmail String
Email of the user who created the resource
userName String
Name of the user who created the resource
location String
Location of the azure resource.
tags Map<String,String>
Tags on the azure resource.
azureApiVersion string
The Azure API version of the resource.
createdAt string
Time at which the account was created.
id string
The resource id of the azure resource
identity IdentityResponse
Identity Info on the Account
name string
Name of the azure resource
provisioningState string
Provisioning state of the Account
systemData SystemDataResponse
System Data of the Azure resource.
type string
Type of the azure resource
userEmail string
Email of the user who created the resource
userName string
Name of the user who created the resource
location string
Location of the azure resource.
tags {[key: string]: string}
Tags on the azure resource.
azure_api_version str
The Azure API version of the resource.
created_at str
Time at which the account was created.
id str
The resource id of the azure resource
identity IdentityResponse
Identity Info on the Account
name str
Name of the azure resource
provisioning_state str
Provisioning state of the Account
system_data SystemDataResponse
System Data of the Azure resource.
type str
Type of the azure resource
user_email str
Email of the user who created the resource
user_name str
Name of the user who created the resource
location str
Location of the azure resource.
tags Mapping[str, str]
Tags on the azure resource.
azureApiVersion String
The Azure API version of the resource.
createdAt String
Time at which the account was created.
id String
The resource id of the azure resource
identity Property Map
Identity Info on the Account
name String
Name of the azure resource
provisioningState String
Provisioning state of the Account
systemData Property Map
System Data of the Azure resource.
type String
Type of the azure resource
userEmail String
Email of the user who created the resource
userName String
Name of the user who created the resource
location String
Location of the azure resource.
tags Map<String>
Tags on the azure resource.

Supporting Types

IdentityResponse

PrincipalId This property is required. string
service principal Id
TenantId This property is required. string
Tenant Id
Type string
Identity Type
PrincipalId This property is required. string
service principal Id
TenantId This property is required. string
Tenant Id
Type string
Identity Type
principalId This property is required. String
service principal Id
tenantId This property is required. String
Tenant Id
type String
Identity Type
principalId This property is required. string
service principal Id
tenantId This property is required. string
Tenant Id
type string
Identity Type
principal_id This property is required. str
service principal Id
tenant_id This property is required. str
Tenant Id
type str
Identity Type
principalId This property is required. String
service principal Id
tenantId This property is required. String
Tenant Id
type String
Identity Type

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The type of identity that last modified the resource.
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The type of identity that last modified the resource.
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
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 v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi