Dela via


IStorageAccount Interface

Definition

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

public interface IStorageAccount : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, 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>, Microsoft.Azure.Management.Storage.Fluent.IStorageAccountBeta
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>
    interface IStorageAccountBeta
    interface IBeta
Public Interface IStorageAccount
Implements IBeta, IGroupableResource(Of IStorageManager, StorageAccountInner), IHasInner(Of StorageAccountInner), IHasManager(Of IStorageManager), IRefreshable(Of IStorageAccount), IStorageAccountBeta, 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'.

AzureFilesAadIntegration

Gets whether Azure files AAD integration is enabled on the storage account.

CanAccessFromAzureServices

Gets Checks storage account can be accessed from applications running on azure.

(Inherited from IStorageAccountBeta)
CanReadLogEntriesFromAnyNetwork

Gets Checks storage log entries can be read from any network.

(Inherited from IStorageAccountBeta)
CanReadMetricsFromAnyNetwork

Gets Checks storage metrics can be read from any network.

(Inherited from IStorageAccountBeta)
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
Obsolete.

Deprecated use StorageAccount.EncryptionKeySource, StorageAccount.encryptionStatuses instead.

EncryptionKeySource

Gets the source of the key used for encryption.

EncryptionStatuses

Gets the encryption statuses indexed by storage service type.

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.

HnsEnabled

Gets whether Hns is enabled on the storage account.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
IPAddressesWithAccess

Gets the list of ip addresses having access to the storage account.

(Inherited from IStorageAccountBeta)
IPAddressRangesWithAccess

Gets the list of ip address ranges having access to the storage account.

(Inherited from IStorageAccountBeta)
IsAccessAllowedFromAllNetworks

Gets true if authenticated application from any network is allowed to access the storage account, false if only application from whitelisted network (subnet, ip address, ip address range) can access the storage account.

(Inherited from IStorageAccountBeta)
Key (Inherited from IIndexable)
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>)
Name

Gets the name of the resource

(Inherited from IHasName)
NetworkSubnetsWithAccess

Gets the list of resource id of virtual network subnet having access to the storage account.

(Inherited from IStorageAccountBeta)
ProvisioningState

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

Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
SkuType

Gets the sku of this storage account.

(Inherited from IStorageAccountBeta)
SystemAssignedManagedServiceIdentityPrincipalId

Gets the Managed Service Identity specific Active Directory service principal ID assigned to the storage account.

(Inherited from IStorageAccountBeta)
SystemAssignedManagedServiceIdentityTenantId

Gets the Managed Service Identity specific Active Directory tenant ID assigned to the storage account.

(Inherited from IStorageAccountBeta)
Tags (Inherited from IResource)
Type (Inherited from IResource)

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