Class StorageAccountUpdateParameters
java.lang.Object
com.microsoft.azure.management.storage.StorageAccountUpdateParameters
The parameters that can be provided when updating the storage account
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet required for storage accounts where kind = BlobStorage.Get allow or disallow public access to all blobs or containers in the storage account.Get provides the identity based authentication settings for Azure Files.Get custom domain assigned to the storage account by the user.Get allows https traffic only to storage service if sets to true.Get provides the encryption settings on the account.identity()
Get the identity of the resource.kind()
Get optional.Get allow large file shares if sets to Enabled.Get set the minimum TLS version to be permitted on requests to storage.Get network rule set.Get maintains information about the network routing choice opted by the user for data transfer.com.microsoft.azure.management.storage.implementation.SkuInner
sku()
Get gets or sets the SKU name.tags()
Get gets or sets a list of key value pairs that describe the resource.withAccessTier
(AccessTier accessTier) Set required for storage accounts where kind = BlobStorage.withAllowBlobPublicAccess
(Boolean allowBlobPublicAccess) Set allow or disallow public access to all blobs or containers in the storage account.withAzureFilesIdentityBasedAuthentication
(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication) Set provides the identity based authentication settings for Azure Files.withCustomDomain
(CustomDomain customDomain) Set custom domain assigned to the storage account by the user.withEnableHttpsTrafficOnly
(Boolean enableHttpsTrafficOnly) Set allows https traffic only to storage service if sets to true.withEncryption
(Encryption encryption) Set provides the encryption settings on the account.withIdentity
(Identity identity) Set the identity of the resource.Set optional.withLargeFileSharesState
(LargeFileSharesState largeFileSharesState) Set allow large file shares if sets to Enabled.withMinimumTlsVersion
(MinimumTlsVersion minimumTlsVersion) Set set the minimum TLS version to be permitted on requests to storage.withNetworkRuleSet
(NetworkRuleSet networkRuleSet) Set network rule set.withRoutingPreference
(RoutingPreference routingPreference) Set maintains information about the network routing choice opted by the user for data transfer.withSku
(com.microsoft.azure.management.storage.implementation.SkuInner sku) Set gets or sets the SKU name.Set gets or sets a list of key value pairs that describe the resource.
-
Constructor Details
-
StorageAccountUpdateParameters
public StorageAccountUpdateParameters()
-
-
Method Details
-
sku
public com.microsoft.azure.management.storage.implementation.SkuInner sku()Get 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.- Returns:
- the sku value
-
withSku
public StorageAccountUpdateParameters withSku(com.microsoft.azure.management.storage.implementation.SkuInner sku) Set 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.- Parameters:
sku
- the sku value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
tags
Get 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.- Returns:
- the tags value
-
withTags
Set 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.- Parameters:
tags
- the tags value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
identity
Get the identity of the resource.- Returns:
- the identity value
-
withIdentity
Set the identity of the resource.- Parameters:
identity
- the identity value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
customDomain
Get 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.- Returns:
- the customDomain value
-
withCustomDomain
Set 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.- Parameters:
customDomain
- the customDomain value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
encryption
Get provides the encryption settings on the account. The default setting is unencrypted.- Returns:
- the encryption value
-
withEncryption
Set provides the encryption settings on the account. The default setting is unencrypted.- Parameters:
encryption
- the encryption value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
accessTier
Get required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool'.- Returns:
- the accessTier value
-
withAccessTier
Set required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool'.- Parameters:
accessTier
- the accessTier value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
azureFilesIdentityBasedAuthentication
Get provides the identity based authentication settings for Azure Files.- Returns:
- the azureFilesIdentityBasedAuthentication value
-
withAzureFilesIdentityBasedAuthentication
public StorageAccountUpdateParameters withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication) Set provides the identity based authentication settings for Azure Files.- Parameters:
azureFilesIdentityBasedAuthentication
- the azureFilesIdentityBasedAuthentication value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
enableHttpsTrafficOnly
Get allows https traffic only to storage service if sets to true.- Returns:
- the enableHttpsTrafficOnly value
-
withEnableHttpsTrafficOnly
Set allows https traffic only to storage service if sets to true.- Parameters:
enableHttpsTrafficOnly
- the enableHttpsTrafficOnly value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
networkRuleSet
Get network rule set.- Returns:
- the networkRuleSet value
-
withNetworkRuleSet
Set network rule set.- Parameters:
networkRuleSet
- the networkRuleSet value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
routingPreference
Get maintains information about the network routing choice opted by the user for data transfer.- Returns:
- the routingPreference value
-
withRoutingPreference
Set maintains information about the network routing choice opted by the user for data transfer.- Parameters:
routingPreference
- the routingPreference value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
allowBlobPublicAccess
Get allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.- Returns:
- the allowBlobPublicAccess value
-
withAllowBlobPublicAccess
Set allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.- Parameters:
allowBlobPublicAccess
- the allowBlobPublicAccess value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
minimumTlsVersion
Get 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'.- Returns:
- the minimumTlsVersion value
-
withMinimumTlsVersion
Set 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'.- Parameters:
minimumTlsVersion
- the minimumTlsVersion value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-
kind
Get optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'.- Returns:
- the kind value
-
withKind
Set optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'.- Parameters:
kind
- the kind value to set- Returns:
- the StorageAccountUpdateParameters object itself.
-