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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.deviceupdate.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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Returns account details for the given account name. Azure REST API version: 2023-07-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)
public static Output<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:deviceupdate:getAccount
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccountName string
- Account name.
- ResourceGroup stringName 
- The resource group name.
- AccountName string
- Account name.
- ResourceGroup stringName 
- The resource group name.
- accountName String
- Account name.
- resourceGroup StringName 
- The resource group name.
- accountName string
- Account name.
- resourceGroup stringName 
- The resource group name.
- account_name str
- Account name.
- resource_group_ strname 
- The resource group name.
- accountName String
- Account name.
- resourceGroup StringName 
- The resource group name.
getAccount Result
The following output properties are available:
- HostName string
- API host name.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Locations
List<Pulumi.Azure Native. Device Update. Outputs. Location Response> 
- Device Update account primary and failover location details
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state.
- SystemData Pulumi.Azure Native. Device Update. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Encryption
Pulumi.Azure Native. Device Update. Outputs. Encryption Response 
- CMK encryption at rest properties
- Identity
Pulumi.Azure Native. Device Update. Outputs. Managed Service Identity Response 
- The type of identity used for the resource.
- PrivateEndpoint List<Pulumi.Connections Azure Native. Device Update. Outputs. Private Endpoint Connection Response> 
- List of private endpoint connections associated with the account.
- PublicNetwork stringAccess 
- Whether or not public network access is allowed for the account.
- Sku string
- Device Update Sku
- Dictionary<string, string>
- Resource tags.
- HostName string
- API host name.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Locations
[]LocationResponse 
- Device Update account primary and failover location details
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Encryption
EncryptionResponse 
- CMK encryption at rest properties
- Identity
ManagedService Identity Response 
- The type of identity used for the resource.
- PrivateEndpoint []PrivateConnections Endpoint Connection Response 
- List of private endpoint connections associated with the account.
- PublicNetwork stringAccess 
- Whether or not public network access is allowed for the account.
- Sku string
- Device Update Sku
- map[string]string
- Resource tags.
- hostName String
- API host name.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- locations
List<LocationResponse> 
- Device Update account primary and failover location details
- name String
- The name of the resource
- provisioningState String
- Provisioning state.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- encryption
EncryptionResponse 
- CMK encryption at rest properties
- identity
ManagedService Identity Response 
- The type of identity used for the resource.
- privateEndpoint List<PrivateConnections Endpoint Connection Response> 
- List of private endpoint connections associated with the account.
- publicNetwork StringAccess 
- Whether or not public network access is allowed for the account.
- sku String
- Device Update Sku
- Map<String,String>
- Resource tags.
- hostName string
- API host name.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- locations
LocationResponse[] 
- Device Update account primary and failover location details
- name string
- The name of the resource
- provisioningState string
- Provisioning state.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- encryption
EncryptionResponse 
- CMK encryption at rest properties
- identity
ManagedService Identity Response 
- The type of identity used for the resource.
- privateEndpoint PrivateConnections Endpoint Connection Response[] 
- List of private endpoint connections associated with the account.
- publicNetwork stringAccess 
- Whether or not public network access is allowed for the account.
- sku string
- Device Update Sku
- {[key: string]: string}
- Resource tags.
- host_name str
- API host name.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- locations
Sequence[LocationResponse] 
- Device Update account primary and failover location details
- name str
- The name of the resource
- provisioning_state str
- Provisioning state.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- encryption
EncryptionResponse 
- CMK encryption at rest properties
- identity
ManagedService Identity Response 
- The type of identity used for the resource.
- private_endpoint_ Sequence[Privateconnections Endpoint Connection Response] 
- List of private endpoint connections associated with the account.
- public_network_ straccess 
- Whether or not public network access is allowed for the account.
- sku str
- Device Update Sku
- Mapping[str, str]
- Resource tags.
- hostName String
- API host name.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- locations List<Property Map>
- Device Update account primary and failover location details
- name String
- The name of the resource
- provisioningState String
- Provisioning state.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- encryption Property Map
- CMK encryption at rest properties
- identity Property Map
- The type of identity used for the resource.
- privateEndpoint List<Property Map>Connections 
- List of private endpoint connections associated with the account.
- publicNetwork StringAccess 
- Whether or not public network access is allowed for the account.
- sku String
- Device Update Sku
- Map<String>
- Resource tags.
Supporting Types
EncryptionResponse 
- KeyVault stringKey Uri 
- The URI of the key vault
- UserAssigned stringIdentity 
- The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
- KeyVault stringKey Uri 
- The URI of the key vault
- UserAssigned stringIdentity 
- The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
- keyVault StringKey Uri 
- The URI of the key vault
- userAssigned StringIdentity 
- The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
- keyVault stringKey Uri 
- The URI of the key vault
- userAssigned stringIdentity 
- The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
- key_vault_ strkey_ uri 
- The URI of the key vault
- user_assigned_ stridentity 
- The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
- keyVault StringKey Uri 
- The URI of the key vault
- userAssigned StringIdentity 
- The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account
LocationResponse 
ManagedServiceIdentityResponse   
- PrincipalId string
- The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId string
- The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Device Update. Inputs. User Assigned Identity Response> 
- The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- PrincipalId string
- The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId string
- The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- UserAssigned map[string]UserIdentities Assigned Identity Response 
- The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principalId String
- The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId String
- The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- userAssigned Map<String,UserIdentities Assigned Identity Response> 
- The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principalId string
- The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId string
- The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- userAssigned {[key: string]: UserIdentities Assigned Identity Response} 
- The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_id str
- The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_id str
- The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_assigned_ Mapping[str, Useridentities Assigned Identity Response] 
- The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principalId String
- The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId String
- The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- userAssigned Map<Property Map>Identities 
- The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
PrivateEndpointConnectionResponse   
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- PrivateLink Pulumi.Service Connection State Azure Native. Device Update. Inputs. Private Link Service Connection State Response 
- A collection of information about the state of the connection between service consumer and provider.
- ProvisioningState string
- The provisioning state of the private endpoint connection resource.
- SystemData Pulumi.Azure Native. Device Update. Inputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- GroupIds List<string>
- Array of group IDs.
- PrivateEndpoint Pulumi.Azure Native. Device Update. Inputs. Private Endpoint Response 
- The resource of private end point.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- PrivateLink PrivateService Connection State Link Service Connection State Response 
- A collection of information about the state of the connection between service consumer and provider.
- ProvisioningState string
- The provisioning state of the private endpoint connection resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- GroupIds []string
- Array of group IDs.
- PrivateEndpoint PrivateEndpoint Response 
- The resource of private end point.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- privateLink PrivateService Connection State Link Service Connection State Response 
- A collection of information about the state of the connection between service consumer and provider.
- provisioningState String
- The provisioning state of the private endpoint connection resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- groupIds List<String>
- Array of group IDs.
- privateEndpoint PrivateEndpoint Response 
- The resource of private end point.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- privateLink PrivateService Connection State Link Service Connection State Response 
- A collection of information about the state of the connection between service consumer and provider.
- provisioningState string
- The provisioning state of the private endpoint connection resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- groupIds string[]
- Array of group IDs.
- privateEndpoint PrivateEndpoint Response 
- The resource of private end point.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- private_link_ Privateservice_ connection_ state Link Service Connection State Response 
- A collection of information about the state of the connection between service consumer and provider.
- provisioning_state str
- The provisioning state of the private endpoint connection resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- group_ids Sequence[str]
- Array of group IDs.
- private_endpoint PrivateEndpoint Response 
- The resource of private end point.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- privateLink Property MapService Connection State 
- A collection of information about the state of the connection between service consumer and provider.
- provisioningState String
- The provisioning state of the private endpoint connection resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- groupIds List<String>
- Array of group IDs.
- privateEndpoint Property Map
- The resource of private end point.
PrivateEndpointResponse  
- Id string
- The ARM identifier for Private Endpoint
- Id string
- The ARM identifier for Private Endpoint
- id String
- The ARM identifier for Private Endpoint
- id string
- The ARM identifier for Private Endpoint
- id str
- The ARM identifier for Private Endpoint
- id String
- The ARM identifier for Private Endpoint
PrivateLinkServiceConnectionStateResponse     
- ActionsRequired string
- A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- ActionsRequired string
- A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actionsRequired String
- A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actionsRequired string
- A message indicating if changes on the service provider require any updates on the consumer.
- description string
- The reason for approval/rejection of the connection.
- status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions_required str
- A message indicating if changes on the service provider require any updates on the consumer.
- description str
- The reason for approval/rejection of the connection.
- status str
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actionsRequired String
- A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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 timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
UserAssignedIdentityResponse   
- ClientId string
- The client ID of the assigned identity.
- PrincipalId string
- The principal ID of the assigned identity.
- ClientId string
- The client ID of the assigned identity.
- PrincipalId string
- The principal ID of the assigned identity.
- clientId String
- The client ID of the assigned identity.
- principalId String
- The principal ID of the assigned identity.
- clientId string
- The client ID of the assigned identity.
- principalId string
- The principal ID of the assigned identity.
- client_id str
- The client ID of the assigned identity.
- principal_id str
- The principal ID of the assigned identity.
- clientId String
- The client ID of the assigned identity.
- principalId String
- The principal ID of the assigned identity.
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi