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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.datashare.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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get an account 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>
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]
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:datashare:getAccount
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of the share account.
- Resource
Group stringName - The resource group name.
- Account
Name string - The name of the share account.
- Resource
Group stringName - The resource group name.
- account
Name String - The name of the share account.
- resource
Group StringName - The resource group name.
- account
Name string - The name of the share account.
- resource
Group stringName - The resource group name.
- account_
name str - The name of the share account.
- resource_
group_ strname - The resource group name.
- account
Name String - The name of the share account.
- resource
Group StringName - The resource group name.
getAccount Result
The following output properties are available:
- Created
At string - Time at which the account was created.
- Id string
- The resource id of the azure resource
- Identity
Pulumi.
Azure Native. Data Share. Outputs. Identity Response - Identity Info on the Account
- Name string
- Name of the azure resource
- Provisioning
State string - Provisioning state of the Account
- System
Data Pulumi.Azure Native. Data Share. Outputs. System Data Response - System Data of the Azure resource.
- Type string
- Type of the azure resource
- User
Email string - Email of the user who created the resource
- User
Name string - Name of the user who created the resource
- Location string
- Location of the azure resource.
- Dictionary<string, string>
- Tags on the azure resource.
- Created
At string - Time at which the account was created.
- Id string
- The resource id of the azure resource
- Identity
Identity
Response - Identity Info on the Account
- Name string
- Name of the azure resource
- Provisioning
State string - Provisioning state of the Account
- System
Data SystemData Response - System Data of the Azure resource.
- Type string
- Type of the azure resource
- User
Email string - Email of the user who created the resource
- User
Name string - Name of the user who created the resource
- Location string
- Location of the azure resource.
- map[string]string
- Tags on the azure resource.
- created
At String - Time at which the account was created.
- id String
- The resource id of the azure resource
- identity
Identity
Response - Identity Info on the Account
- name String
- Name of the azure resource
- provisioning
State String - Provisioning state of the Account
- system
Data SystemData Response - System Data of the Azure resource.
- type String
- Type of the azure resource
- user
Email String - Email of the user who created the resource
- user
Name String - Name of the user who created the resource
- location String
- Location of the azure resource.
- Map<String,String>
- Tags on the azure resource.
- created
At string - Time at which the account was created.
- id string
- The resource id of the azure resource
- identity
Identity
Response - Identity Info on the Account
- name string
- Name of the azure resource
- provisioning
State string - Provisioning state of the Account
- system
Data SystemData Response - System Data of the Azure resource.
- type string
- Type of the azure resource
- user
Email string - Email of the user who created the resource
- user
Name string - Name of the user who created the resource
- location string
- Location of the azure resource.
- {[key: string]: string}
- Tags on the azure resource.
- created_
at str - Time at which the account was created.
- id str
- The resource id of the azure resource
- identity
Identity
Response - Identity Info on the Account
- name str
- Name of the azure resource
- provisioning_
state str - Provisioning state of the Account
- system_
data SystemData Response - 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.
- Mapping[str, str]
- Tags on the azure resource.
- created
At 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
- provisioning
State String - Provisioning state of the Account
- system
Data Property Map - System Data of the Azure resource.
- type String
- Type of the azure resource
- user
Email String - Email of the user who created the resource
- user
Name String - Name of the user who created the resource
- location String
- Location of the azure resource.
- Map<String>
- Tags on the azure resource.
Supporting Types
IdentityResponse
- Principal
Id string - service principal Id
- Tenant
Id string - Tenant Id
- Type string
- Identity Type
- Principal
Id string - service principal Id
- Tenant
Id string - Tenant Id
- Type string
- Identity Type
- principal
Id String - service principal Id
- tenant
Id String - Tenant Id
- type String
- Identity Type
- principal
Id string - service principal Id
- tenant
Id string - Tenant Id
- type string
- Identity Type
- principal_
id str - service principal Id
- tenant_
id str - Tenant Id
- type str
- Identity Type
- principal
Id String - service principal Id
- tenant
Id String - Tenant Id
- type String
- Identity Type
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- 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.47.1 published on Monday, Jun 24, 2024 by Pulumi