Share via


StorageAccountCreateParameters Constructors

Definition

Overloads

StorageAccountCreateParameters()

Initializes a new instance of the StorageAccountCreateParameters class.

StorageAccountCreateParameters(SkuInner, Kind, String, IDictionary<String, String>, Identity, CustomDomain, Encryption, NetworkRuleSet, Nullable<AccessTier>, 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(SkuInner, Kind, String, IDictionary<String, String>, Identity, CustomDomain, Encryption, NetworkRuleSet, Nullable<AccessTier>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the StorageAccountCreateParameters class.

public StorageAccountCreateParameters (Microsoft.Azure.Management.Storage.Fluent.Models.SkuInner sku, Microsoft.Azure.Management.Storage.Fluent.Models.Kind kind, string location, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Storage.Fluent.Models.Identity identity = default, Microsoft.Azure.Management.Storage.Fluent.Models.CustomDomain customDomain = default, Microsoft.Azure.Management.Storage.Fluent.Models.Encryption encryption = default, Microsoft.Azure.Management.Storage.Fluent.Models.NetworkRuleSet networkRuleSet = default, Microsoft.Azure.Management.Storage.Fluent.Models.AccessTier? accessTier = default, bool? enableAzureFilesAadIntegration = default, bool? enableHttpsTrafficOnly = default, bool? isHnsEnabled = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountCreateParameters : Microsoft.Azure.Management.Storage.Fluent.Models.SkuInner * Microsoft.Azure.Management.Storage.Fluent.Models.Kind * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Fluent.Models.Identity * Microsoft.Azure.Management.Storage.Fluent.Models.CustomDomain * Microsoft.Azure.Management.Storage.Fluent.Models.Encryption * Microsoft.Azure.Management.Storage.Fluent.Models.NetworkRuleSet * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.AccessTier> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountCreateParameters
Public Sub New (sku As SkuInner, kind As Kind, location As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As Identity = Nothing, Optional customDomain As CustomDomain = Nothing, Optional encryption As Encryption = Nothing, Optional networkRuleSet As NetworkRuleSet = Nothing, Optional accessTier As Nullable(Of AccessTier) = Nothing, Optional enableAzureFilesAadIntegration As Nullable(Of Boolean) = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional isHnsEnabled As Nullable(Of Boolean) = Nothing)

Parameters

sku
SkuInner

Required. Gets or sets the SKU name.

kind
Kind

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

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

tags
IDictionary<String,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.

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

Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted.

networkRuleSet
NetworkRuleSet

Network rule set

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.

isHnsEnabled
Nullable<Boolean>

Account HierarchicalNamespace enabled if sets to true.

Applies to