StorageAccount Class

Definition

The storage account.

public class StorageAccount : Azure.ResourceManager.Storage.Models.TrackedResource
type StorageAccount = class
    inherit TrackedResource
Public Class StorageAccount
Inherits TrackedResource
Inheritance
System.Object
StorageAccount

Constructors

StorageAccount(String)

Initializes a new instance of StorageAccount.

Properties

AccessTier

Required for storage accounts where kind = BlobStorage. The access tier used for billing.

AzureFilesIdentityBasedAuthentication

Provides the identity based authentication settings for Azure Files.

BlobRestoreStatus

Blob restore status.

CreationTime

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

CustomDomain

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

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.

FailoverInProgress

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

GeoReplicationStats

Geo Replication Stats.

Id

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

(Inherited from Resource)
Identity

The identity of the resource.

IsHnsEnabled

Account HierarchicalNamespace enabled if sets to true.

Kind

Gets the Kind.

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.

Location

The geo-location where the resource lives.

(Inherited from TrackedResource)
Name

The name of the resource.

(Inherited from Resource)
NetworkRuleSet

Network rule set.

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.

PrimaryLocation

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

PrivateEndpointConnections

List of private endpoint connection associated with the specified storage account.

ProvisioningState

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

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.

SecondaryLocation

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

Sku

Gets the SKU.

StatusOfPrimary

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

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.

Tags

Resource tags.

(Inherited from TrackedResource)
Type

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

(Inherited from Resource)

Applies to