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.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.47.1 published on Monday, Jun 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:deviceupdate:getAccount
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - Account name.
- Resource
Group stringName - The resource group name.
- Account
Name string - Account name.
- Resource
Group stringName - The resource group name.
- account
Name String - Account name.
- resource
Group StringName - The resource group name.
- account
Name string - Account name.
- resource
Group stringName - The resource group name.
- account_
name str - Account name.
- resource_
group_ strname - The resource group name.
- account
Name String - Account name.
- resource
Group StringName - The resource group name.
getAccount Result
The following output properties are available:
- Host
Name 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
- Provisioning
State string - Provisioning state.
- System
Data 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.
- Private
Endpoint List<Pulumi.Connections Azure Native. Device Update. Outputs. Private Endpoint Connection Response> - List of private endpoint connections associated with the account.
- Public
Network stringAccess - Whether or not public network access is allowed for the account.
- Sku string
- Device Update Sku
- Dictionary<string, string>
- Resource tags.
- Host
Name 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
[]Location
Response - Device Update account primary and failover location details
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state.
- System
Data 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
Encryption
Response - CMK encryption at rest properties
- Identity
Managed
Service Identity Response - The type of identity used for the resource.
- Private
Endpoint []PrivateConnections Endpoint Connection Response - List of private endpoint connections associated with the account.
- Public
Network stringAccess - Whether or not public network access is allowed for the account.
- Sku string
- Device Update Sku
- map[string]string
- Resource tags.
- host
Name 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<Location
Response> - Device Update account primary and failover location details
- name String
- The name of the resource
- provisioning
State String - Provisioning state.
- system
Data 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
Encryption
Response - CMK encryption at rest properties
- identity
Managed
Service Identity Response - The type of identity used for the resource.
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - List of private endpoint connections associated with the account.
- public
Network StringAccess - Whether or not public network access is allowed for the account.
- sku String
- Device Update Sku
- Map<String,String>
- Resource tags.
- host
Name 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
Location
Response[] - Device Update account primary and failover location details
- name string
- The name of the resource
- provisioning
State string - Provisioning state.
- system
Data 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
Encryption
Response - CMK encryption at rest properties
- identity
Managed
Service Identity Response - The type of identity used for the resource.
- private
Endpoint PrivateConnections Endpoint Connection Response[] - List of private endpoint connections associated with the account.
- public
Network 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[Location
Response] - 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
Encryption
Response - CMK encryption at rest properties
- identity
Managed
Service 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.
- host
Name 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
- provisioning
State String - Provisioning state.
- system
Data 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.
- private
Endpoint List<Property Map>Connections - List of private endpoint connections associated with the account.
- public
Network StringAccess - Whether or not public network access is allowed for the account.
- sku String
- Device Update Sku
- Map<String>
- Resource tags.
Supporting Types
EncryptionResponse
- Key
Vault stringKey Uri - The URI of the key vault
- User
Assigned 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 stringKey Uri - The URI of the key vault
- User
Assigned 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 StringKey Uri - The URI of the key vault
- user
Assigned 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 stringKey Uri - The URI of the key vault
- user
Assigned 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
- key
Vault StringKey Uri - The URI of the key vault
- user
Assigned 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
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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).
- User
Assigned 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.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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).
- User
Assigned 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.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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).
- user
Assigned 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.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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).
- user
Assigned {[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.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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).
- user
Assigned 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
- Private
Link 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.
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- System
Data 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"
- Group
Ids List<string> - Array of group IDs.
- Private
Endpoint 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
- 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 string - The provisioning state of the private endpoint connection resource.
- System
Data 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"
- Group
Ids []string - 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
- 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 String - The provisioning state of the private endpoint connection resource.
- system
Data 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"
- group
Ids List<String> - 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
- 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 string - The provisioning state of the private endpoint connection resource.
- system
Data 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"
- group
Ids string[] - Array of group IDs.
- private
Endpoint 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
- private
Link Property MapService Connection State - A collection of information about the state of the connection between service consumer and provider.
- provisioning
State String - The provisioning state of the private endpoint connection resource.
- system
Data 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"
- group
Ids List<String> - Array of group IDs.
- private
Endpoint 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
- Actions
Required 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 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 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 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.
- actions
Required 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
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 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.
- 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 timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id 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.
- client
Id String - The client ID of the assigned identity.
- principal
Id 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.47.1 published on Monday, Jun 24, 2024 by Pulumi