Udostępnij za pośrednictwem


StorageAccountInner Class

Definition

The storage account.

[Microsoft.Rest.Serialization.JsonTransformation]
public class StorageAccountInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type StorageAccountInner = class
    inherit Resource
Public Class StorageAccountInner
Inherits Resource
Inheritance
StorageAccountInner
Attributes

Constructors

StorageAccountInner()

Initializes a new instance of the StorageAccountInner class.

StorageAccountInner(String, String, String, String, IDictionary<String, String>, SkuInner, Nullable<Kind>, Identity, Nullable<ProvisioningState>, Endpoints, String, Nullable<AccountStatus>, Nullable<DateTime>, String, Nullable<AccountStatus>, Nullable<DateTime>, CustomDomain, Endpoints, Encryption, Nullable<AccessTier>, Nullable<Boolean>, Nullable<Boolean>, NetworkRuleSet, Nullable<Boolean>, GeoReplicationStats, Nullable<Boolean>)

Initializes a new instance of the StorageAccountInner class.

Properties

AccessTier

Gets required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool'

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.

EnableAzureFilesAadIntegration

Gets or sets enables Azure Files AAD Integration for SMB if sets to true.

EnableHttpsTrafficOnly

Gets or sets 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

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

GeoReplicationStats

Gets geo Replication Stats

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Identity

Gets or sets the identity of the resource.

IsHnsEnabled

Gets or sets account HierarchicalNamespace enabled if sets to true.

Kind

Gets the Kind. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'

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

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
NetworkRuleSet

Gets 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.

ProvisioningState

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

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. Possible values include: 'available', '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. Possible values include: 'available', 'unavailable'

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object.

Applies to