GetStorageAccountResult

data class GetStorageAccountResult(val accessTier: String, val accountMigrationInProgress: Boolean, val allowBlobPublicAccess: Boolean? = null, val allowCrossTenantReplication: Boolean? = null, val allowSharedKeyAccess: Boolean? = null, val allowedCopyScope: String? = null, val azureApiVersion: String, val azureFilesIdentityBasedAuthentication: AzureFilesIdentityBasedAuthenticationResponse? = null, val blobRestoreStatus: BlobRestoreStatusResponse, val creationTime: String, val customDomain: CustomDomainResponse, val defaultToOAuthAuthentication: Boolean? = null, val dnsEndpointType: String? = null, val enableExtendedGroups: Boolean? = null, val enableHttpsTrafficOnly: Boolean? = null, val enableNfsV3: Boolean? = null, val encryption: EncryptionResponse, val extendedLocation: ExtendedLocationResponse? = null, val failoverInProgress: Boolean, val geoReplicationStats: GeoReplicationStatsResponse, val id: String, val identity: IdentityResponse? = null, val immutableStorageWithVersioning: ImmutableStorageAccountResponse? = null, val isHnsEnabled: Boolean? = null, val isLocalUserEnabled: Boolean? = null, val isSftpEnabled: Boolean? = null, val isSkuConversionBlocked: Boolean, val keyCreationTime: KeyCreationTimeResponse, val keyPolicy: KeyPolicyResponse, val kind: String, val largeFileSharesState: String? = null, val lastGeoFailoverTime: String, val location: String, val minimumTlsVersion: String? = null, val name: String, val networkRuleSet: NetworkRuleSetResponse, val primaryEndpoints: EndpointsResponse, val primaryLocation: String, val privateEndpointConnections: List<PrivateEndpointConnectionResponse>, val provisioningState: String, val publicNetworkAccess: String? = null, val routingPreference: RoutingPreferenceResponse? = null, val sasPolicy: SasPolicyResponse, val secondaryEndpoints: EndpointsResponse, val secondaryLocation: String, val sku: SkuResponse, val statusOfPrimary: String, val statusOfSecondary: String, val storageAccountSkuConversionStatus: StorageAccountSkuConversionStatusResponse? = null, val tags: Map<String, String>? = null, val type: String)

The storage account.

Constructors

Link copied to clipboard
constructor(accessTier: String, accountMigrationInProgress: Boolean, allowBlobPublicAccess: Boolean? = null, allowCrossTenantReplication: Boolean? = null, allowSharedKeyAccess: Boolean? = null, allowedCopyScope: String? = null, azureApiVersion: String, azureFilesIdentityBasedAuthentication: AzureFilesIdentityBasedAuthenticationResponse? = null, blobRestoreStatus: BlobRestoreStatusResponse, creationTime: String, customDomain: CustomDomainResponse, defaultToOAuthAuthentication: Boolean? = null, dnsEndpointType: String? = null, enableExtendedGroups: Boolean? = null, enableHttpsTrafficOnly: Boolean? = null, enableNfsV3: Boolean? = null, encryption: EncryptionResponse, extendedLocation: ExtendedLocationResponse? = null, failoverInProgress: Boolean, geoReplicationStats: GeoReplicationStatsResponse, id: String, identity: IdentityResponse? = null, immutableStorageWithVersioning: ImmutableStorageAccountResponse? = null, isHnsEnabled: Boolean? = null, isLocalUserEnabled: Boolean? = null, isSftpEnabled: Boolean? = null, isSkuConversionBlocked: Boolean, keyCreationTime: KeyCreationTimeResponse, keyPolicy: KeyPolicyResponse, kind: String, largeFileSharesState: String? = null, lastGeoFailoverTime: String, location: String, minimumTlsVersion: String? = null, name: String, networkRuleSet: NetworkRuleSetResponse, primaryEndpoints: EndpointsResponse, primaryLocation: String, privateEndpointConnections: List<PrivateEndpointConnectionResponse>, provisioningState: String, publicNetworkAccess: String? = null, routingPreference: RoutingPreferenceResponse? = null, sasPolicy: SasPolicyResponse, secondaryEndpoints: EndpointsResponse, secondaryLocation: String, sku: SkuResponse, statusOfPrimary: String, statusOfSecondary: String, storageAccountSkuConversionStatus: StorageAccountSkuConversionStatusResponse? = null, tags: Map<String, String>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.

Link copied to clipboard

If customer initiated account migration is in progress, the value will be true else it will be null.

Link copied to clipboard

Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.

Link copied to clipboard

Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default.

Link copied to clipboard

Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.

Link copied to clipboard

Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

Provides the identity based authentication settings for Azure Files.

Link copied to clipboard
Link copied to clipboard

Gets the creation date and time of the storage account in UTC.

Link copied to clipboard

Gets the custom domain the user assigned to this storage account.

Link copied to clipboard

A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.

Link copied to clipboard
val dnsEndpointType: String? = null

Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.

Link copied to clipboard

Enables extended group support with local users feature, if set to true

Link copied to clipboard

Allows https traffic only to storage service if sets to true.

Link copied to clipboard
val enableNfsV3: Boolean? = null

NFS 3.0 protocol support enabled if set to true.

Link copied to clipboard

Encryption settings to be used for server-side encryption for the storage account.

Link copied to clipboard

The extendedLocation of the resource.

Link copied to clipboard

If the failover is in progress, the value will be true, otherwise, it will be null.

Link copied to clipboard
Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard

The identity of the resource.

Link copied to clipboard

The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.

Link copied to clipboard
val isHnsEnabled: Boolean? = null

Account HierarchicalNamespace enabled if sets to true.

Link copied to clipboard

Enables local users feature, if set to true

Link copied to clipboard
val isSftpEnabled: Boolean? = null

Enables Secure File Transfer Protocol, if set to true

Link copied to clipboard

This property will be set to true or false on an event of ongoing migration. Default value is null.

Link copied to clipboard

Storage account keys creation time.

Link copied to clipboard

KeyPolicy assigned to the storage account.

Link copied to clipboard

Gets the Kind.

Link copied to clipboard

Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.

Link copied to clipboard

Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard

Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.

Link copied to clipboard

The name of the resource

Link copied to clipboard
Link copied to clipboard

Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.

Link copied to clipboard

Gets the location of the primary data center for the storage account.

Link copied to clipboard

List of private endpoint connection associated with the specified storage account

Link copied to clipboard

Gets the status of the storage account at the time the operation was called.

Link copied to clipboard

Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.

Link copied to clipboard

Maintains information about the network routing choice opted by the user for data transfer

Link copied to clipboard

SasPolicy assigned to the storage account.

Link copied to clipboard

Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.

Link copied to clipboard

Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.

Link copied to clipboard

Gets the SKU.

Link copied to clipboard

Gets the status indicating whether the primary location of the storage account is available or unavailable.

Link copied to clipboard

Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.

Link copied to clipboard

This property is readOnly and is set by server during asynchronous storage account sku conversion operations.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"