Sdílet prostřednictvím


StorageAccountCreateParameters Constructors

Definition

Overloads

StorageAccountCreateParameters()

Initializes a new instance of the StorageAccountCreateParameters class.

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

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, String, String, SasPolicy, KeyPolicy, CustomDomain, Encryption, NetworkRuleSet, Nullable<AccessTier>, AzureFilesIdentityBasedAuthentication, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, RoutingPreference, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, ImmutableStorageAccount, String)

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, string allowedCopyScope = default, string publicNetworkAccess = 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? isSftpEnabled = default, bool? isLocalUserEnabled = 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, bool? defaultToOAuthAuthentication = default, Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount immutableStorageWithVersioning = default, string dnsEndpointType = 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 * string * string * 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> * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Storage.Models.RoutingPreference * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount * string -> 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 allowedCopyScope As String = Nothing, Optional publicNetworkAccess As String = 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 isSftpEnabled As Nullable(Of Boolean) = Nothing, Optional isLocalUserEnabled 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, Optional defaultToOAuthAuthentication As Nullable(Of Boolean) = Nothing, Optional immutableStorageWithVersioning As ImmutableStorageAccount = Nothing, Optional dnsEndpointType As String = Nothing)

Parameters

sku
Sku

Required. Gets or sets the SKU name.

kind
String

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.

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

allowedCopyScope
String

Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. Possible values include: 'PrivateLink', 'AAD'

publicNetworkAccess
String

Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'

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

Encryption settings to be used for server-side encryption for the storage account.

networkRuleSet
NetworkRuleSet

Network rule set

accessTier
Nullable<AccessTier>

Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. Possible values include: 'Hot', 'Cool', 'Premium'

azureFilesIdentityBasedAuthentication
AzureFilesIdentityBasedAuthentication

Provides the identity based authentication settings for Azure Files.

enableHttpsTrafficOnly
Nullable<Boolean>

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

isSftpEnabled
Nullable<Boolean>

Enables Secure File Transfer Protocol, if set to true

isLocalUserEnabled
Nullable<Boolean>

Enables local users feature, if set to true

isHnsEnabled
Nullable<Boolean>

Account HierarchicalNamespace enabled if sets to true.

largeFileSharesState
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
Nullable<Boolean>

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

minimumTlsVersion
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
Nullable<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
Nullable<Boolean>

NFS 3.0 protocol support enabled if set to true.

allowCrossTenantReplication
Nullable<Boolean>

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

defaultToOAuthAuthentication
Nullable<Boolean>

A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.

immutableStorageWithVersioning
ImmutableStorageAccount

The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default.

dnsEndpointType
String

Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Possible values include: 'Standard', 'AzureDnsZone'

Applies to