StorageAccountCreateParameters Constructors

Definition

Overloads

StorageAccountCreateParameters()

Initializes a new instance of the StorageAccountCreateParameters class.

StorageAccountCreateParameters(Sku, String, String, ExtendedLocation, IDictionary<String,String>, Identity, SasPolicy, KeyPolicy, CustomDomain, Encryption, NetworkRuleSet, Nullable<AccessTier>, AzureFilesIdentityBasedAuthentication, Nullable<Boolean>, Nullable<Boolean>, String, RoutingPreference, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the StorageAccountCreateParameters class.

StorageAccountCreateParameters()

Initializes a new instance of the StorageAccountCreateParameters class.

public StorageAccountCreateParameters ();
Public Sub New ()

Applies to

StorageAccountCreateParameters(Sku, String, String, ExtendedLocation, IDictionary<String,String>, Identity, SasPolicy, KeyPolicy, CustomDomain, Encryption, NetworkRuleSet, Nullable<AccessTier>, AzureFilesIdentityBasedAuthentication, Nullable<Boolean>, Nullable<Boolean>, String, RoutingPreference, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the StorageAccountCreateParameters class.

public StorageAccountCreateParameters (Microsoft.Azure.Management.Storage.Models.Sku sku, string kind, string location, Microsoft.Azure.Management.Storage.Models.ExtendedLocation extendedLocation = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Storage.Models.Identity identity = default, Microsoft.Azure.Management.Storage.Models.SasPolicy sasPolicy = default, Microsoft.Azure.Management.Storage.Models.KeyPolicy keyPolicy = default, Microsoft.Azure.Management.Storage.Models.CustomDomain customDomain = default, Microsoft.Azure.Management.Storage.Models.Encryption encryption = default, Microsoft.Azure.Management.Storage.Models.NetworkRuleSet networkRuleSet = default, Microsoft.Azure.Management.Storage.Models.AccessTier? accessTier = default, Microsoft.Azure.Management.Storage.Models.AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default, bool? enableHttpsTrafficOnly = default, bool? isHnsEnabled = default, string largeFileSharesState = default, Microsoft.Azure.Management.Storage.Models.RoutingPreference routingPreference = default, bool? allowBlobPublicAccess = default, string minimumTlsVersion = default, bool? allowSharedKeyAccess = default, bool? enableNfsV3 = default, bool? allowCrossTenantReplication = default);
new Microsoft.Azure.Management.Storage.Models.StorageAccountCreateParameters : Microsoft.Azure.Management.Storage.Models.Sku * string * string * Microsoft.Azure.Management.Storage.Models.ExtendedLocation * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Models.Identity * Microsoft.Azure.Management.Storage.Models.SasPolicy * Microsoft.Azure.Management.Storage.Models.KeyPolicy * Microsoft.Azure.Management.Storage.Models.CustomDomain * Microsoft.Azure.Management.Storage.Models.Encryption * Microsoft.Azure.Management.Storage.Models.NetworkRuleSet * Nullable<Microsoft.Azure.Management.Storage.Models.AccessTier> * Microsoft.Azure.Management.Storage.Models.AzureFilesIdentityBasedAuthentication * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Storage.Models.RoutingPreference * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Models.StorageAccountCreateParameters
Public Sub New (sku As Sku, kind As String, location As String, Optional extendedLocation As ExtendedLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As Identity = Nothing, Optional sasPolicy As SasPolicy = Nothing, Optional keyPolicy As KeyPolicy = Nothing, Optional customDomain As CustomDomain = Nothing, Optional encryption As Encryption = Nothing, Optional networkRuleSet As NetworkRuleSet = Nothing, Optional accessTier As Nullable(Of AccessTier) = Nothing, Optional azureFilesIdentityBasedAuthentication As AzureFilesIdentityBasedAuthentication = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional isHnsEnabled As Nullable(Of Boolean) = Nothing, Optional largeFileSharesState As String = Nothing, Optional routingPreference As RoutingPreference = Nothing, Optional allowBlobPublicAccess As Nullable(Of Boolean) = Nothing, Optional minimumTlsVersion As String = Nothing, Optional allowSharedKeyAccess As Nullable(Of Boolean) = Nothing, Optional enableNfsV3 As Nullable(Of Boolean) = Nothing, Optional allowCrossTenantReplication As Nullable(Of Boolean) = Nothing)

Parameters

sku
Sku

Required. Gets or sets the SKU name.

kind
System.String

Required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'

location
System.String

Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed.

extendedLocation
ExtendedLocation

Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location

tags
System.Collections.Generic.IDictionary<System.String,System.String>

Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.

identity
Identity

The identity of the resource.

sasPolicy
SasPolicy

SasPolicy assigned to the storage account.

keyPolicy
KeyPolicy

KeyPolicy assigned to the storage account.

customDomain
CustomDomain

User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.

encryption
Encryption

Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled.

networkRuleSet
NetworkRuleSet

Network rule set

accessTier
System.Nullable<AccessTier>

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

azureFilesIdentityBasedAuthentication
AzureFilesIdentityBasedAuthentication

Provides the identity based authentication settings for Azure Files.

enableHttpsTrafficOnly
System.Nullable<System.Boolean>

Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.

isHnsEnabled
System.Nullable<System.Boolean>

Account HierarchicalNamespace enabled if sets to true.

largeFileSharesState
System.String

Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: 'Disabled', 'Enabled'

routingPreference
RoutingPreference

Maintains information about the network routing choice opted by the user for data transfer

allowBlobPublicAccess
System.Nullable<System.Boolean>

Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.

minimumTlsVersion
System.String

Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'

allowSharedKeyAccess
System.Nullable<System.Boolean>

Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.

enableNfsV3
System.Nullable<System.Boolean>

NFS 3.0 protocol support enabled if set to true.

allowCrossTenantReplication
System.Nullable<System.Boolean>

Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property.

Applies to