StorageAccountProperties Class

Definition

Details about a storage account.

public class StorageAccountProperties
type StorageAccountProperties = class
Public Class StorageAccountProperties
Inheritance
StorageAccountProperties

Constructors

StorageAccountProperties()

Initializes a new instance of the StorageAccountProperties class.

Properties

AccountType

Optional. Specifies whether the account supports locally-redundant storage, geo-redundant storage, zone-redundant storage, or read access geo-redundant storage. Possible values are:'Standard_LRS', 'Standard_ZRS', 'Standard_GRS', and 'Standard_RAGRS'.

AffinityGroup

Optional. The affinity group with which this storage account is associated.

Description

Optional. The user-supplied description of the storage account.

Endpoints

Optional. The URLs that are used to perform a retrieval of a public blob, queue, or table object.

GeoPrimaryRegion

Optional. Indicates the primary geographical region in which the storage account exists at this time.

GeoSecondaryRegion

Optional. Indicates the geographical region in which the storage account is being replicated. The GeoSecondaryRegion element is not returned if geo-replication is "off" for this account.

Label

Optional. The user-supplied name of the storage account, returned as a base-64 encoded string. This name can be used identify the storage account for your tracking purposes.

LastGeoFailoverTime

Optional. A timestamp that indicates the most recent instance of a failover to the secondary region. In the case of multiple failovers, only the latest failover date and time is maintained. The format of the returned timestamp is: [4DigitYear]-[2DigitMonth]-[2DigitDay]T[2DigitMinute]:[2DigitSecond]:[7DigitsOfPrecision]Z. LastGeoFailoverTime is not returned if there has not been an instance of a failover.

Location

Optional. The geo-location specified when the storage account was created. This property is only returned if the storage account is not associated with an affinity group.

Status

Optional. The status of the storage account at the time the operation was called.

StatusOfGeoPrimaryRegion

Optional. Indicates whether the primary storage region is available.

StatusOfGeoSecondaryRegion

Optional. Indicates whether the secondary storage region is available.

Applies to