StorageAccountInner Constructors

Definition

Overloads

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.

StorageAccountInner()

Initializes a new instance of the StorageAccountInner class.

public StorageAccountInner ();
Public Sub New ()

Applies to

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.

public StorageAccountInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Storage.Fluent.Models.SkuInner sku = default, Microsoft.Azure.Management.Storage.Fluent.Models.Kind? kind = default, Microsoft.Azure.Management.Storage.Fluent.Models.Identity identity = default, Microsoft.Azure.Management.Storage.Fluent.Models.ProvisioningState? provisioningState = default, Microsoft.Azure.Management.Storage.Fluent.Models.Endpoints primaryEndpoints = default, string primaryLocation = default, Microsoft.Azure.Management.Storage.Fluent.Models.AccountStatus? statusOfPrimary = default, DateTime? lastGeoFailoverTime = default, string secondaryLocation = default, Microsoft.Azure.Management.Storage.Fluent.Models.AccountStatus? statusOfSecondary = default, DateTime? creationTime = default, Microsoft.Azure.Management.Storage.Fluent.Models.CustomDomain customDomain = default, Microsoft.Azure.Management.Storage.Fluent.Models.Endpoints secondaryEndpoints = default, Microsoft.Azure.Management.Storage.Fluent.Models.Encryption encryption = default, Microsoft.Azure.Management.Storage.Fluent.Models.AccessTier? accessTier = default, bool? enableAzureFilesAadIntegration = default, bool? enableHttpsTrafficOnly = default, Microsoft.Azure.Management.Storage.Fluent.Models.NetworkRuleSet networkRuleSet = default, bool? isHnsEnabled = default, Microsoft.Azure.Management.Storage.Fluent.Models.GeoReplicationStats geoReplicationStats = default, bool? failoverInProgress = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Fluent.Models.SkuInner * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.Kind> * Microsoft.Azure.Management.Storage.Fluent.Models.Identity * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.ProvisioningState> * Microsoft.Azure.Management.Storage.Fluent.Models.Endpoints * string * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.AccountStatus> * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.AccountStatus> * Nullable<DateTime> * Microsoft.Azure.Management.Storage.Fluent.Models.CustomDomain * Microsoft.Azure.Management.Storage.Fluent.Models.Endpoints * Microsoft.Azure.Management.Storage.Fluent.Models.Encryption * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.AccessTier> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Fluent.Models.NetworkRuleSet * Nullable<bool> * Microsoft.Azure.Management.Storage.Fluent.Models.GeoReplicationStats * Nullable<bool> -> Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountInner
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As SkuInner = Nothing, Optional kind As Nullable(Of Kind) = Nothing, Optional identity As Identity = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional primaryEndpoints As Endpoints = Nothing, Optional primaryLocation As String = Nothing, Optional statusOfPrimary As Nullable(Of AccountStatus) = Nothing, Optional lastGeoFailoverTime As Nullable(Of DateTime) = Nothing, Optional secondaryLocation As String = Nothing, Optional statusOfSecondary As Nullable(Of AccountStatus) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional customDomain As CustomDomain = Nothing, Optional secondaryEndpoints As Endpoints = Nothing, Optional encryption As Encryption = Nothing, Optional accessTier As Nullable(Of AccessTier) = Nothing, Optional enableAzureFilesAadIntegration As Nullable(Of Boolean) = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As NetworkRuleSet = Nothing, Optional isHnsEnabled As Nullable(Of Boolean) = Nothing, Optional geoReplicationStats As GeoReplicationStats = Nothing, Optional failoverInProgress As Nullable(Of Boolean) = Nothing)

Parameters

location
String

The geo-location where the resource lives

id
String
name
String
type
String
tags
IDictionary<String,String>

Resource tags.

sku
SkuInner

Gets the SKU.

kind
Nullable<Kind>

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

identity
Identity

The identity of the resource.

provisioningState
Nullable<ProvisioningState>

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

primaryEndpoints
Endpoints

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
String

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

statusOfPrimary
Nullable<AccountStatus>

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

lastGeoFailoverTime
Nullable<DateTime>

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.

secondaryLocation
String

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

statusOfSecondary
Nullable<AccountStatus>

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'

creationTime
Nullable<DateTime>

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

customDomain
CustomDomain

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

secondaryEndpoints
Endpoints

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.

encryption
Encryption

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

accessTier
Nullable<AccessTier>

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

enableAzureFilesAadIntegration
Nullable<Boolean>

Enables Azure Files AAD Integration for SMB if sets to true.

enableHttpsTrafficOnly
Nullable<Boolean>

Allows https traffic only to storage service if sets to true.

networkRuleSet
NetworkRuleSet

Network rule set

isHnsEnabled
Nullable<Boolean>

Account HierarchicalNamespace enabled if sets to true.

geoReplicationStats
GeoReplicationStats

Geo Replication Stats

failoverInProgress
Nullable<Boolean>

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

Applies to