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

Properties

AccessTier

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

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.

AllowCrossTenantReplication

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

AllowedCopyScope

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

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.

DefaultToOAuthAuthentication

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

DnsEndpointType

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

EnableHttpsTrafficOnly

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

Encryption

Gets or sets not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled.

Identity

Gets or sets the identity of the resource.

ImmutableStorageWithVersioning

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

IsLocalUserEnabled

Gets or sets enables local users feature, if set to true

IsSftpEnabled

Gets or sets enables Secure File Transfer Protocol, if set to true

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

PublicNetworkAccess

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

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