Class StorageAccountCreateParameters
java.lang.Object
com.microsoft.azure.management.storage.StorageAccountCreateParameters
The parameters used when creating a storage account.
-
Constructor Summary
-
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 user domain assigned to the storage account.Get allows https traffic only to storage service if sets to true.Get not applicable.identity()
Get the identity of the resource.Get account HierarchicalNamespace enabled if sets to true.kind()
Get required.Get allow large file shares if sets to Enabled.location()
Get required.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 required.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 user domain assigned to the storage account.withEnableHttpsTrafficOnly
(Boolean enableHttpsTrafficOnly) Set allows https traffic only to storage service if sets to true.withEncryption
(Encryption encryption) Set not applicable.withIdentity
(Identity identity) Set the identity of the resource.withIsHnsEnabled
(Boolean isHnsEnabled) Set account HierarchicalNamespace enabled if sets to true.Set required.withLargeFileSharesState
(LargeFileSharesState largeFileSharesState) Set allow large file shares if sets to Enabled.withLocation
(String location) Set required.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 required.Set gets or sets a list of key value pairs that describe the resource.
-
Constructor Details
-
StorageAccountCreateParameters
public StorageAccountCreateParameters()
-
-
Method Details
-
sku
public com.microsoft.azure.management.storage.implementation.SkuInner sku()Get required. Gets or sets the SKU name.- Returns:
- the sku value
-
withSku
public StorageAccountCreateParameters withSku(com.microsoft.azure.management.storage.implementation.SkuInner sku) Set required. Gets or sets the SKU name.- Parameters:
sku
- the sku value to set- Returns:
- the StorageAccountCreateParameters object itself.
-
kind
Get required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'.- Returns:
- the kind value
-
withKind
Set required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'.- Parameters:
kind
- the kind value to set- Returns:
- the StorageAccountCreateParameters object itself.
-
location
Get required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed.- Returns:
- the location value
-
withLocation
Set required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed.- Parameters:
location
- the location value to set- Returns:
- the StorageAccountCreateParameters object itself.
-
tags
Get gets or sets a list of key value pairs that describe the resource. These tags can be used for 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 with a length no greater than 128 characters and a value with a length no greater 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 for 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 with a length no greater than 128 characters and a value with a length no greater than 256 characters.- Parameters:
tags
- the tags value to set- Returns:
- the StorageAccountCreateParameters 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 StorageAccountCreateParameters object itself.
-
customDomain
Get user domain assigned to the storage account. 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 user domain assigned to the storage account. 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 StorageAccountCreateParameters object itself.
-
encryption
Get not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled.- Returns:
- the encryption value
-
withEncryption
Set not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled.- Parameters:
encryption
- the encryption value to set- Returns:
- the StorageAccountCreateParameters 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 StorageAccountCreateParameters 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 StorageAccountCreateParameters object itself.
-
azureFilesIdentityBasedAuthentication
Get provides the identity based authentication settings for Azure Files.- Returns:
- the azureFilesIdentityBasedAuthentication value
-
withAzureFilesIdentityBasedAuthentication
public StorageAccountCreateParameters withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication) Set provides the identity based authentication settings for Azure Files.- Parameters:
azureFilesIdentityBasedAuthentication
- the azureFilesIdentityBasedAuthentication value to set- Returns:
- the StorageAccountCreateParameters object itself.
-
enableHttpsTrafficOnly
Get allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.- Returns:
- the enableHttpsTrafficOnly value
-
withEnableHttpsTrafficOnly
Set allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.- Parameters:
enableHttpsTrafficOnly
- the enableHttpsTrafficOnly value to set- Returns:
- the StorageAccountCreateParameters object itself.
-
isHnsEnabled
Get account HierarchicalNamespace enabled if sets to true.- Returns:
- the isHnsEnabled value
-
withIsHnsEnabled
Set account HierarchicalNamespace enabled if sets to true.- Parameters:
isHnsEnabled
- the isHnsEnabled value to set- Returns:
- the StorageAccountCreateParameters 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 StorageAccountCreateParameters 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 StorageAccountCreateParameters 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 StorageAccountCreateParameters object itself.
-