StorageAccount interface

The storage account.

Extends

Properties

accessTier

Required for storage accounts where kind = BlobStorage. The access tier used for billing. NOTE: This property will not be serialized. It can only be populated by the server.

allowBlobPublicAccess

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

allowSharedKeyAccess

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.

azureFilesIdentityBasedAuthentication

Provides the identity based authentication settings for Azure Files.

blobRestoreStatus

Blob restore status NOTE: This property will not be serialized. It can only be populated by the server.

creationTime

Gets the creation date and time of the storage account in UTC. NOTE: This property will not be serialized. It can only be populated by the server.

customDomain

Gets the custom domain the user assigned to this storage account. NOTE: This property will not be serialized. It can only be populated by the server.

enableHttpsTrafficOnly

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

encryption

Gets the encryption settings on the account. If unspecified, the account is unencrypted. NOTE: This property will not be serialized. It can only be populated by the server.

failoverInProgress

If the failover is in progress, the value will be true, otherwise, it will be null. NOTE: This property will not be serialized. It can only be populated by the server.

geoReplicationStats

Geo Replication Stats NOTE: This property will not be serialized. It can only be populated by the server.

identity

The identity of the resource.

isHnsEnabled

Account HierarchicalNamespace enabled if sets to true.

kind

Gets the Kind. NOTE: This property will not be serialized. It can only be populated by the server.

largeFileSharesState

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

lastGeoFailoverTime

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. NOTE: This property will not be serialized. It can only be populated by the server.

minimumTlsVersion

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

networkRuleSet

Network rule set NOTE: This property will not be serialized. It can only be populated by the server.

primaryEndpoints

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. NOTE: This property will not be serialized. It can only be populated by the server.

primaryLocation

Gets the location of the primary data center for the storage account. NOTE: This property will not be serialized. It can only be populated by the server.

privateEndpointConnections

List of private endpoint connection associated with the specified storage account NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState

Gets the status of the storage account at the time the operation was called. NOTE: This property will not be serialized. It can only be populated by the server.

routingPreference

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

secondaryEndpoints

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. NOTE: This property will not be serialized. It can only be populated by the server.

secondaryLocation

Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. NOTE: This property will not be serialized. It can only be populated by the server.

sku

Gets the SKU. NOTE: This property will not be serialized. It can only be populated by the server.

statusOfPrimary

Gets the status indicating whether the primary location of the storage account is available or unavailable. NOTE: This property will not be serialized. It can only be populated by the server.

statusOfSecondary

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. NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

location

The geo-location where the resource lives

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

accessTier

Required for storage accounts where kind = BlobStorage. The access tier used for billing. NOTE: This property will not be serialized. It can only be populated by the server.

accessTier?: AccessTier

Property Value

allowBlobPublicAccess

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

allowBlobPublicAccess?: boolean

Property Value

boolean

allowSharedKeyAccess

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.

allowSharedKeyAccess?: boolean

Property Value

boolean

azureFilesIdentityBasedAuthentication

Provides the identity based authentication settings for Azure Files.

azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication

Property Value

blobRestoreStatus

Blob restore status NOTE: This property will not be serialized. It can only be populated by the server.

blobRestoreStatus?: BlobRestoreStatus

Property Value

creationTime

Gets the creation date and time of the storage account in UTC. NOTE: This property will not be serialized. It can only be populated by the server.

creationTime?: Date

Property Value

Date

customDomain

Gets the custom domain the user assigned to this storage account. NOTE: This property will not be serialized. It can only be populated by the server.

customDomain?: CustomDomain

Property Value

enableHttpsTrafficOnly

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

enableHttpsTrafficOnly?: boolean

Property Value

boolean

encryption

Gets the encryption settings on the account. If unspecified, the account is unencrypted. NOTE: This property will not be serialized. It can only be populated by the server.

encryption?: Encryption

Property Value

failoverInProgress

If the failover is in progress, the value will be true, otherwise, it will be null. NOTE: This property will not be serialized. It can only be populated by the server.

failoverInProgress?: boolean

Property Value

boolean

geoReplicationStats

Geo Replication Stats NOTE: This property will not be serialized. It can only be populated by the server.

geoReplicationStats?: GeoReplicationStats

Property Value

identity

The identity of the resource.

identity?: Identity

Property Value

isHnsEnabled

Account HierarchicalNamespace enabled if sets to true.

isHnsEnabled?: boolean

Property Value

boolean

kind

Gets the Kind. NOTE: This property will not be serialized. It can only be populated by the server.

kind?: string

Property Value

string

largeFileSharesState

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

largeFileSharesState?: string

Property Value

string

lastGeoFailoverTime

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. NOTE: This property will not be serialized. It can only be populated by the server.

lastGeoFailoverTime?: Date

Property Value

Date

minimumTlsVersion

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

minimumTlsVersion?: string

Property Value

string

networkRuleSet

Network rule set NOTE: This property will not be serialized. It can only be populated by the server.

networkRuleSet?: NetworkRuleSet

Property Value

primaryEndpoints

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. NOTE: This property will not be serialized. It can only be populated by the server.

primaryEndpoints?: Endpoints

Property Value

primaryLocation

Gets the location of the primary data center for the storage account. NOTE: This property will not be serialized. It can only be populated by the server.

primaryLocation?: string

Property Value

string

privateEndpointConnections

List of private endpoint connection associated with the specified storage account NOTE: This property will not be serialized. It can only be populated by the server.

privateEndpointConnections?: PrivateEndpointConnection[]

Property Value

provisioningState

Gets the status of the storage account at the time the operation was called. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: ProvisioningState

Property Value

routingPreference

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

routingPreference?: RoutingPreference

Property Value

secondaryEndpoints

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. NOTE: This property will not be serialized. It can only be populated by the server.

secondaryEndpoints?: Endpoints

Property Value

secondaryLocation

Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. NOTE: This property will not be serialized. It can only be populated by the server.

secondaryLocation?: string

Property Value

string

sku

Gets the SKU. NOTE: This property will not be serialized. It can only be populated by the server.

sku?: Sku

Property Value

Sku

statusOfPrimary

Gets the status indicating whether the primary location of the storage account is available or unavailable. NOTE: This property will not be serialized. It can only be populated by the server.

statusOfPrimary?: AccountStatus

Property Value

statusOfSecondary

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. NOTE: This property will not be serialized. It can only be populated by the server.

statusOfSecondary?: AccountStatus

Property Value

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From TrackedResource.id

location

The geo-location where the resource lives

location: string

Property Value

string

Inherited From TrackedResource.location

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From TrackedResource.name

tags

Resource tags.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From TrackedResource.tags

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From TrackedResource.type