IStorageAccount Interface

Definition

An immutable client-side representation of an Azure storage account.

public interface IStorageAccount : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Storage.Fluent.IStorageManager,Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Storage.Fluent.IStorageManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Storage.Fluent.IStorageAccount>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Update.IUpdate>
type IStorageAccount = interface
    interface IGroupableResource<IStorageManager, StorageAccountInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<IStorageManager>
    interface IHasInner<StorageAccountInner>
    interface IRefreshable<IStorageAccount>
    interface IUpdatable<IUpdate>
Public Interface IStorageAccount
Implements IGroupableResource(Of IStorageManager, StorageAccountInner), IHasInner(Of StorageAccountInner), IHasManager(Of IStorageManager), IRefreshable(Of IStorageAccount), IUpdatable(Of IUpdate)
Implements

Properties

AccessTier

Gets access tier used for billing. Access tier cannot be changed more than once every 7 days (168 hours). Access tier cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types. Possible values include: 'Hot', 'Cool'.

AccountStatuses

Gets the status indicating whether the primary and secondary location of the storage account is available or unavailable. Possible values include: 'Available', 'Unavailable'.

CreationTime

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

CustomDomain

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

Encryption

Gets the encryption settings on the account. If unspecified the account is unencrypted.

EncryptionKeySource
EncryptionStatuses
EndPoints

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

Inner (Inherited from IHasInner<T>)
Kind

Gets the kind of the storage account. Possible values are 'Storage', 'BlobStorage'.

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 StandardGRS or StandardRAGRS.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
ProvisioningState

Gets the status of the storage account at the time the operation was called. Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded'.

Sku

Gets the sku of this storage account. Possible names include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS', 'Standard_RAGRS', 'Premium_LRS'. Possible tiers include: 'Standard', 'Premium'.

Methods

GetKeys()

Fetch the up-to-date access keys from Azure for this storage account.

GetKeysAsync(CancellationToken)

Fetch the up-to-date access keys from Azure for this storage account asynchronously.

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RegenerateKey(String)

Regenerates the access keys for this storage account.

RegenerateKeyAsync(String, CancellationToken)

Regenerates the access keys for this storage account asynchronously.

Update() (Inherited from IUpdatable<T>)

Applies to