Partager via


StorageAccountUpdateParameters Class

Definition

The parameters that can be provided when updating the storage account properties.

[Microsoft.Rest.Serialization.JsonTransformation]
public class StorageAccountUpdateParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type StorageAccountUpdateParameters = class
Public Class StorageAccountUpdateParameters
Inheritance
StorageAccountUpdateParameters
Attributes

Constructors

StorageAccountUpdateParameters()

Initializes a new instance of the StorageAccountUpdateParameters class.

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

Initializes a new instance of the StorageAccountUpdateParameters class.

Properties

AccessTier

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

AllowBlobPublicAccess

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

AllowSharedKeyAccess

Gets or sets 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.

AzureFilesIdentityBasedAuthentication

Gets or sets provides the identity based authentication settings for Azure Files.

CustomDomain

Gets or sets 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.

EnableHttpsTrafficOnly

Gets or sets allows https traffic only to storage service if sets to true.

Encryption

Gets or sets provides the encryption settings on the account. The default setting is unencrypted.

Identity

Gets or sets the identity of the resource.

KeyPolicy

Gets or sets keyPolicy assigned to the storage account.

Kind

Gets or sets optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'

LargeFileSharesState

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

MinimumTlsVersion

Gets or sets 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'

NetworkRuleSet

Gets or sets network rule set

RoutingPreference

Gets or sets maintains information about the network routing choice opted by the user for data transfer

SasPolicy

Gets or sets sasPolicy assigned to the storage account.

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

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.

Methods

Validate()

Validate the object.

Applies to