Class StorageAccountUpdateParameters

java.lang.Object
com.microsoft.azure.management.storage.StorageAccountUpdateParameters

public class StorageAccountUpdateParameters extends Object
The parameters that can be provided when updating the storage account properties.
  • 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

      public Map<String,String> 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

      public Identity identity()
      Get the identity of the resource.
      Returns:
      the identity value
    • withIdentity

      public StorageAccountUpdateParameters withIdentity(Identity identity)
      Set the identity of the resource.
      Parameters:
      identity - the identity value to set
      Returns:
      the StorageAccountUpdateParameters object itself.
    • customDomain

      public CustomDomain 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

      public StorageAccountUpdateParameters withCustomDomain(CustomDomain customDomain)
      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

      public Encryption encryption()
      Get provides the encryption settings on the account. The default setting is unencrypted.
      Returns:
      the encryption value
    • withEncryption

      public StorageAccountUpdateParameters withEncryption(Encryption encryption)
      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

      public AccessTier 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

      public StorageAccountUpdateParameters withAccessTier(AccessTier accessTier)
      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

      public AzureFilesIdentityBasedAuthentication 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

      public Boolean enableHttpsTrafficOnly()
      Get allows https traffic only to storage service if sets to true.
      Returns:
      the enableHttpsTrafficOnly value
    • withEnableHttpsTrafficOnly

      public StorageAccountUpdateParameters withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)
      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

      public NetworkRuleSet networkRuleSet()
      Get network rule set.
      Returns:
      the networkRuleSet value
    • withNetworkRuleSet

      public StorageAccountUpdateParameters withNetworkRuleSet(NetworkRuleSet networkRuleSet)
      Set network rule set.
      Parameters:
      networkRuleSet - the networkRuleSet value to set
      Returns:
      the StorageAccountUpdateParameters object itself.
    • largeFileSharesState

      public LargeFileSharesState largeFileSharesState()
      Get allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: 'Disabled', 'Enabled'.
      Returns:
      the largeFileSharesState value
    • withLargeFileSharesState

      public StorageAccountUpdateParameters withLargeFileSharesState(LargeFileSharesState largeFileSharesState)
      Set allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: 'Disabled', 'Enabled'.
      Parameters:
      largeFileSharesState - the largeFileSharesState value to set
      Returns:
      the StorageAccountUpdateParameters object itself.
    • routingPreference

      public RoutingPreference routingPreference()
      Get maintains information about the network routing choice opted by the user for data transfer.
      Returns:
      the routingPreference value
    • withRoutingPreference

      public StorageAccountUpdateParameters withRoutingPreference(RoutingPreference routingPreference)
      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

      public Boolean 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

      public StorageAccountUpdateParameters withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)
      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

      public MinimumTlsVersion 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

      public StorageAccountUpdateParameters withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
      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

      public Kind 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

      public StorageAccountUpdateParameters withKind(Kind kind)
      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.