StorageAccountCreateParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>) |
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>)
Initializes a new instance of the StorageAccountCreateParameters class.
public StorageAccountCreateParameters (Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Sku sku, string kind, string location, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ExtendedLocation extendedLocation = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Identity identity = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.SasPolicy sasPolicy = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.KeyPolicy keyPolicy = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.CustomDomain customDomain = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Encryption encryption = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.NetworkRuleSet networkRuleSet = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.AccessTier? accessTier = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default, bool? enableHttpsTrafficOnly = default, bool? isHnsEnabled = default, string largeFileSharesState = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.RoutingPreference routingPreference = default, bool? allowBlobPublicAccess = default, string minimumTlsVersion = default, bool? allowSharedKeyAccess = default, bool? enableNfsV3 = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.StorageAccountCreateParameters : Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Sku * string * string * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ExtendedLocation * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Identity * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.SasPolicy * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.KeyPolicy * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.CustomDomain * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Encryption * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.NetworkRuleSet * Nullable<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.AccessTier> * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.AzureFilesIdentityBasedAuthentication * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.RoutingPreference * Nullable<bool> * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.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)
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.
- 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
- 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.
Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.
- 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
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'
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.