public class StorageAccountCreateParameters extends Object
| Constructor and Description |
|---|
StorageAccountCreateParameters() |
| Modifier and Type | Method and Description |
|---|---|
AccessTier |
accessTier()
Get the accessTier property: Required for storage accounts where kind = BlobStorage.
|
Boolean |
allowBlobPublicAccess()
Get the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage
account.
|
Boolean |
allowSharedKeyAccess()
Get the allowSharedKeyAccess property: Indicates whether the storage account permits requests to be authorized
with the account access key via Shared Key.
|
AzureFilesIdentityBasedAuthentication |
azureFilesIdentityBasedAuthentication()
Get the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for
Azure Files.
|
CustomDomain |
customDomain()
Get the customDomain property: User domain assigned to the storage account.
|
Boolean |
enableHttpsTrafficOnly()
Get the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.
|
Boolean |
enableNfsV3()
Get the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.
|
Encryption |
encryption()
Get the encryption property: Not applicable.
|
ExtendedLocation |
extendedLocation()
Get the extendedLocation property: Optional.
|
Identity |
identity()
Get the identity property: The identity of the resource.
|
Boolean |
isHnsEnabled()
Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.
|
KeyPolicy |
keyPolicy()
Get the keyPolicy property: KeyPolicy assigned to the storage account.
|
Kind |
kind()
Get the kind property: Required.
|
LargeFileSharesState |
largeFileSharesState()
Get the largeFileSharesState property: Allow large file shares if sets to Enabled.
|
String |
location()
Get the location property: Required.
|
MinimumTlsVersion |
minimumTlsVersion()
Get the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage.
|
NetworkRuleSet |
networkRuleSet()
Get the networkRuleSet property: Network rule set.
|
RoutingPreference |
routingPreference()
Get the routingPreference property: Maintains information about the network routing choice opted by the user for
data transfer.
|
SasPolicy |
sasPolicy()
Get the sasPolicy property: SasPolicy assigned to the storage account.
|
Sku |
sku()
Get the sku property: Required.
|
Map<String,String> |
tags()
Get the tags property: Gets or sets a list of key value pairs that describe the resource.
|
void |
validate()
Validates the instance.
|
StorageAccountCreateParameters |
withAccessTier(AccessTier accessTier)
Set the accessTier property: Required for storage accounts where kind = BlobStorage.
|
StorageAccountCreateParameters |
withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)
Set the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage
account.
|
StorageAccountCreateParameters |
withAllowSharedKeyAccess(Boolean allowSharedKeyAccess)
Set the allowSharedKeyAccess property: Indicates whether the storage account permits requests to be authorized
with the account access key via Shared Key.
|
StorageAccountCreateParameters |
withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication)
Set the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for
Azure Files.
|
StorageAccountCreateParameters |
withCustomDomain(CustomDomain customDomain)
Set the customDomain property: User domain assigned to the storage account.
|
StorageAccountCreateParameters |
withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)
Set the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.
|
StorageAccountCreateParameters |
withEnableNfsV3(Boolean enableNfsV3)
Set the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.
|
StorageAccountCreateParameters |
withEncryption(Encryption encryption)
Set the encryption property: Not applicable.
|
StorageAccountCreateParameters |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Optional.
|
StorageAccountCreateParameters |
withIdentity(Identity identity)
Set the identity property: The identity of the resource.
|
StorageAccountCreateParameters |
withIsHnsEnabled(Boolean isHnsEnabled)
Set the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.
|
StorageAccountCreateParameters |
withKeyPolicy(KeyPolicy keyPolicy)
Set the keyPolicy property: KeyPolicy assigned to the storage account.
|
StorageAccountCreateParameters |
withKind(Kind kind)
Set the kind property: Required.
|
StorageAccountCreateParameters |
withLargeFileSharesState(LargeFileSharesState largeFileSharesState)
Set the largeFileSharesState property: Allow large file shares if sets to Enabled.
|
StorageAccountCreateParameters |
withLocation(String location)
Set the location property: Required.
|
StorageAccountCreateParameters |
withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage.
|
StorageAccountCreateParameters |
withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the networkRuleSet property: Network rule set.
|
StorageAccountCreateParameters |
withRoutingPreference(RoutingPreference routingPreference)
Set the routingPreference property: Maintains information about the network routing choice opted by the user for
data transfer.
|
StorageAccountCreateParameters |
withSasPolicy(SasPolicy sasPolicy)
Set the sasPolicy property: SasPolicy assigned to the storage account.
|
StorageAccountCreateParameters |
withSku(Sku sku)
Set the sku property: Required.
|
StorageAccountCreateParameters |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets a list of key value pairs that describe the resource.
|
public Sku sku()
public StorageAccountCreateParameters withSku(Sku sku)
sku - the sku value to set.public Kind kind()
public StorageAccountCreateParameters withKind(Kind kind)
kind - the kind value to set.public String location()
public StorageAccountCreateParameters withLocation(String location)
location - the location value to set.public ExtendedLocation extendedLocation()
public StorageAccountCreateParameters withExtendedLocation(ExtendedLocation extendedLocation)
extendedLocation - the extendedLocation value to set.public Map<String,String> tags()
public StorageAccountCreateParameters withTags(Map<String,String> tags)
tags - the tags value to set.public Identity identity()
public StorageAccountCreateParameters withIdentity(Identity identity)
identity - the identity value to set.public SasPolicy sasPolicy()
public StorageAccountCreateParameters withSasPolicy(SasPolicy sasPolicy)
sasPolicy - the sasPolicy value to set.public KeyPolicy keyPolicy()
public StorageAccountCreateParameters withKeyPolicy(KeyPolicy keyPolicy)
keyPolicy - the keyPolicy value to set.public CustomDomain customDomain()
public StorageAccountCreateParameters withCustomDomain(CustomDomain customDomain)
customDomain - the customDomain value to set.public Encryption encryption()
public StorageAccountCreateParameters withEncryption(Encryption encryption)
encryption - the encryption value to set.public NetworkRuleSet networkRuleSet()
public StorageAccountCreateParameters withNetworkRuleSet(NetworkRuleSet networkRuleSet)
networkRuleSet - the networkRuleSet value to set.public AccessTier accessTier()
public StorageAccountCreateParameters withAccessTier(AccessTier accessTier)
accessTier - the accessTier value to set.public AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication()
public StorageAccountCreateParameters withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication)
azureFilesIdentityBasedAuthentication - the azureFilesIdentityBasedAuthentication value to set.public Boolean enableHttpsTrafficOnly()
public StorageAccountCreateParameters withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)
enableHttpsTrafficOnly - the enableHttpsTrafficOnly value to set.public Boolean isHnsEnabled()
public StorageAccountCreateParameters withIsHnsEnabled(Boolean isHnsEnabled)
isHnsEnabled - the isHnsEnabled value to set.public LargeFileSharesState largeFileSharesState()
public StorageAccountCreateParameters withLargeFileSharesState(LargeFileSharesState largeFileSharesState)
largeFileSharesState - the largeFileSharesState value to set.public RoutingPreference routingPreference()
public StorageAccountCreateParameters withRoutingPreference(RoutingPreference routingPreference)
routingPreference - the routingPreference value to set.public Boolean allowBlobPublicAccess()
public StorageAccountCreateParameters withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)
allowBlobPublicAccess - the allowBlobPublicAccess value to set.public MinimumTlsVersion minimumTlsVersion()
public StorageAccountCreateParameters withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
minimumTlsVersion - the minimumTlsVersion value to set.public Boolean allowSharedKeyAccess()
public StorageAccountCreateParameters withAllowSharedKeyAccess(Boolean allowSharedKeyAccess)
allowSharedKeyAccess - the allowSharedKeyAccess value to set.public Boolean enableNfsV3()
public StorageAccountCreateParameters withEnableNfsV3(Boolean enableNfsV3)
enableNfsV3 - the enableNfsV3 value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.