azure-native.deviceupdate.getAccount

Explore with Pulumi AI

Returns account details for the given account name. API Version: 2020-03-01-preview.

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:

AccountName string

Account name.

ResourceGroupName string

The resource group name.

AccountName string

Account name.

ResourceGroupName string

The resource group name.

accountName String

Account name.

resourceGroupName String

The resource group name.

accountName string

Account name.

resourceGroupName string

The resource group name.

account_name str

Account name.

resource_group_name str

The resource group name.

accountName String

Account name.

resourceGroupName String

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

Name string

The name of the resource

ProvisioningState string

Provisioning state.

SystemData Pulumi.AzureNative.DeviceUpdate.Outputs.SystemDataResponse

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"

Identity Pulumi.AzureNative.DeviceUpdate.Outputs.ManagedServiceIdentityResponse

The type of identity used for the resource.

PrivateEndpointConnections List<Pulumi.AzureNative.DeviceUpdate.Outputs.PrivateEndpointConnectionResponse>

List of private endpoint connections associated with the account.

PublicNetworkAccess string

Whether or not public network access is allowed for the account.

Tags 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

Name string

The name of the resource

ProvisioningState string

Provisioning state.

SystemData SystemDataResponse

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"

Identity ManagedServiceIdentityResponse

The type of identity used for the resource.

PrivateEndpointConnections []PrivateEndpointConnectionResponse

List of private endpoint connections associated with the account.

PublicNetworkAccess string

Whether or not public network access is allowed for the account.

Tags 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

name String

The name of the resource

provisioningState String

Provisioning state.

systemData SystemDataResponse

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"

identity ManagedServiceIdentityResponse

The type of identity used for the resource.

privateEndpointConnections List<PrivateEndpointConnectionResponse>

List of private endpoint connections associated with the account.

publicNetworkAccess String

Whether or not public network access is allowed for the account.

tags 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

name string

The name of the resource

provisioningState string

Provisioning state.

systemData SystemDataResponse

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"

identity ManagedServiceIdentityResponse

The type of identity used for the resource.

privateEndpointConnections PrivateEndpointConnectionResponse[]

List of private endpoint connections associated with the account.

publicNetworkAccess string

Whether or not public network access is allowed for the account.

tags {[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

name str

The name of the resource

provisioning_state str

Provisioning state.

system_data SystemDataResponse

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"

identity ManagedServiceIdentityResponse

The type of identity used for the resource.

private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]

List of private endpoint connections associated with the account.

public_network_access str

Whether or not public network access is allowed for the account.

tags 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

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"

identity Property Map

The type of identity used for the resource.

privateEndpointConnections List<Property Map>

List of private endpoint connections associated with the account.

publicNetworkAccess String

Whether or not public network access is allowed for the account.

tags Map<String>

Resource tags.

Supporting Types

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).

UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DeviceUpdate.Inputs.UserAssignedIdentityResponse>

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).

UserAssignedIdentities map[string]UserAssignedIdentityResponse

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).

userAssignedIdentities Map<String,UserAssignedIdentityResponse>

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).

userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}

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_identities Mapping[str, UserAssignedIdentityResponse]

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).

userAssignedIdentities Map<Property Map>

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

PrivateLinkServiceConnectionState Pulumi.AzureNative.DeviceUpdate.Inputs.PrivateLinkServiceConnectionStateResponse

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.AzureNative.DeviceUpdate.Inputs.SystemDataResponse

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.AzureNative.DeviceUpdate.Inputs.PrivateEndpointResponse

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

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

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 SystemDataResponse

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 PrivateEndpointResponse

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

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

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 SystemDataResponse

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 PrivateEndpointResponse

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

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

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 SystemDataResponse

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 PrivateEndpointResponse

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_service_connection_state PrivateLinkServiceConnectionStateResponse

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 SystemDataResponse

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 PrivateEndpointResponse

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

privateLinkServiceConnectionState Property Map

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.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

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 timestamp of resource last modification (UTC)

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 timestamp of resource last modification (UTC)

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 timestamp of resource last modification (UTC)

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 timestamp of resource last modification (UTC)

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 timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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