StorageAccountUpdateParameters 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
StorageAccountUpdateParameters() |
Initializes a new instance of the StorageAccountUpdateParameters class. |
StorageAccountUpdateParameters(Sku, IDictionary<String,String>, Identity, CustomDomain, Encryption, SasPolicy, KeyPolicy, Nullable<AccessTier>, AzureFilesIdentityBasedAuthentication, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, NetworkRuleSet, String, RoutingPreference, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, ImmutableStorageAccount, String, String, String) |
Initializes a new instance of the StorageAccountUpdateParameters class. |
StorageAccountUpdateParameters()
Initializes a new instance of the StorageAccountUpdateParameters class.
public StorageAccountUpdateParameters ();
Public Sub New ()
Applies to
StorageAccountUpdateParameters(Sku, IDictionary<String,String>, Identity, CustomDomain, Encryption, SasPolicy, KeyPolicy, Nullable<AccessTier>, AzureFilesIdentityBasedAuthentication, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, NetworkRuleSet, String, RoutingPreference, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, ImmutableStorageAccount, String, String, String)
Initializes a new instance of the StorageAccountUpdateParameters class.
public StorageAccountUpdateParameters (Microsoft.Azure.Management.Storage.Models.Sku sku = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Storage.Models.Identity identity = default, Microsoft.Azure.Management.Storage.Models.CustomDomain customDomain = default, Microsoft.Azure.Management.Storage.Models.Encryption encryption = default, Microsoft.Azure.Management.Storage.Models.SasPolicy sasPolicy = default, Microsoft.Azure.Management.Storage.Models.KeyPolicy keyPolicy = 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, Microsoft.Azure.Management.Storage.Models.NetworkRuleSet networkRuleSet = default, string largeFileSharesState = default, Microsoft.Azure.Management.Storage.Models.RoutingPreference routingPreference = default, bool? allowBlobPublicAccess = default, string minimumTlsVersion = default, bool? allowSharedKeyAccess = default, bool? allowCrossTenantReplication = default, bool? defaultToOAuthAuthentication = default, string publicNetworkAccess = default, Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount immutableStorageWithVersioning = default, string allowedCopyScope = default, string dnsEndpointType = default, string kind = default);
new Microsoft.Azure.Management.Storage.Models.StorageAccountUpdateParameters : Microsoft.Azure.Management.Storage.Models.Sku * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Models.Identity * Microsoft.Azure.Management.Storage.Models.CustomDomain * Microsoft.Azure.Management.Storage.Models.Encryption * Microsoft.Azure.Management.Storage.Models.SasPolicy * Microsoft.Azure.Management.Storage.Models.KeyPolicy * Nullable<Microsoft.Azure.Management.Storage.Models.AccessTier> * Microsoft.Azure.Management.Storage.Models.AzureFilesIdentityBasedAuthentication * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.NetworkRuleSet * string * Microsoft.Azure.Management.Storage.Models.RoutingPreference * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount * string * string * string -> Microsoft.Azure.Management.Storage.Models.StorageAccountUpdateParameters
Public Sub New (Optional sku As Sku = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As Identity = Nothing, Optional customDomain As CustomDomain = Nothing, Optional encryption As Encryption = Nothing, Optional sasPolicy As SasPolicy = Nothing, Optional keyPolicy As KeyPolicy = 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 networkRuleSet As NetworkRuleSet = 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 allowCrossTenantReplication As Nullable(Of Boolean) = Nothing, Optional defaultToOAuthAuthentication As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional immutableStorageWithVersioning As ImmutableStorageAccount = Nothing, Optional allowedCopyScope As String = Nothing, Optional dnsEndpointType As String = Nothing, Optional kind As String = Nothing)
Parameters
- sku
- Sku
Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value.
- tags
- IDictionary<String,String>
Gets or sets a list of key value pairs that describe the resource. These tags can be used in 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 no greater in length than 128 characters and a value no greater in length than 256 characters.
- identity
- Identity
The identity of the resource.
- customDomain
- CustomDomain
Custom domain assigned to the storage account by the user. 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 at rest is enabled by default for all storage accounts and cannot be disabled.
- sasPolicy
- SasPolicy
SasPolicy assigned to the storage account.
- keyPolicy
- KeyPolicy
KeyPolicy assigned to the storage account.
- 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.
Allows https traffic only to storage service if sets to true.
- networkRuleSet
- NetworkRuleSet
Network rule set
- 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.
Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property.
A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.
- 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'
- 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 containers in the account by default.
- 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'
- 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'
- kind
- String
Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
Applies to
Azure SDK for .NET