Interface StorageAccount.DefinitionStages.WithEncryption
-
- All Known Subinterfaces:
StorageAccount.Definition,StorageAccount.DefinitionStages.WithCreate,StorageAccount.DefinitionStages.WithCreateAndAccessTier
- Enclosing interface:
- StorageAccount.DefinitionStages
public static interface StorageAccount.DefinitionStages.WithEncryptionThe stage of a storage account definition allowing to specify encryption settings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StorageAccount.DefinitionStages.WithCreatewithBlobEncryption()Deprecated.Azure Storage encryption cannot be disabled.StorageAccount.DefinitionStages.WithCreatewithEncryptionKeyFromKeyVault(String keyVaultUri, String keyName, String keyVersion)Specifies the KeyVault key to be used as encryption key.StorageAccount.DefinitionStages.WithCreatewithFileEncryption()Deprecated.Azure Storage encryption cannot be disabled.StorageAccount.DefinitionStages.WithCreatewithInfrastructureEncryption()Enables the infrastructure encryption for double encryption of Azure Storage data.StorageAccount.DefinitionStages.WithCreatewithoutBlobEncryption()Deprecated.Azure Storage encryption cannot be disabled.StorageAccount.DefinitionStages.WithCreatewithoutFileEncryption()Deprecated.Azure Storage encryption cannot be disabled.StorageAccount.DefinitionStages.WithCreatewithQueueAccountScopedEncryptionKey()Specifies that queue service uses an encryption key that is scoped to the account.StorageAccount.DefinitionStages.WithCreatewithTableAccountScopedEncryptionKey()Specifies that table service uses an encryption key that is scoped to the account.
-
-
-
Method Detail
-
withInfrastructureEncryption
StorageAccount.DefinitionStages.WithCreate withInfrastructureEncryption()
Enables the infrastructure encryption for double encryption of Azure Storage data.- Returns:
- the next stage of storage account definition
-
withBlobEncryption
@Deprecated StorageAccount.DefinitionStages.WithCreate withBlobEncryption()
Deprecated.Azure Storage encryption cannot be disabled.Specifies that encryption needs be enabled for blob service.- Returns:
- the next stage of storage account definition
-
withoutBlobEncryption
@Deprecated StorageAccount.DefinitionStages.WithCreate withoutBlobEncryption()
Deprecated.Azure Storage encryption cannot be disabled.Disables encryption for blob service.- Returns:
- the next stage of storage account definition
-
withFileEncryption
@Deprecated StorageAccount.DefinitionStages.WithCreate withFileEncryption()
Deprecated.Azure Storage encryption cannot be disabled.Specifies that encryption needs be enabled for file service.- Returns:
- the next stage of storage account definition
-
withoutFileEncryption
@Deprecated StorageAccount.DefinitionStages.WithCreate withoutFileEncryption()
Deprecated.Azure Storage encryption cannot be disabled.Disables encryption for file service.- Returns:
- he next stage of storage account definition
-
withTableAccountScopedEncryptionKey
StorageAccount.DefinitionStages.WithCreate withTableAccountScopedEncryptionKey()
Specifies that table service uses an encryption key that is scoped to the account. Customer-managed key can then be enabled for table service. Refer toStorageAccount.UpdateStages.WithEncryption.withEncryptionKeyFromKeyVault(String, String, String)to enable customer-managed key.- Returns:
- the next stage of storage account definition
-
withQueueAccountScopedEncryptionKey
StorageAccount.DefinitionStages.WithCreate withQueueAccountScopedEncryptionKey()
Specifies that queue service uses an encryption key that is scoped to the account. Customer-managed key can then be enabled for queue service. Refer toStorageAccount.UpdateStages.WithEncryption.withEncryptionKeyFromKeyVault(String, String, String)to enable customer-managed key.- Returns:
- the next stage of storage account definition
-
withEncryptionKeyFromKeyVault
StorageAccount.DefinitionStages.WithCreate withEncryptionKeyFromKeyVault(String keyVaultUri, String keyName, String keyVersion)
Specifies the KeyVault key to be used as encryption key. This requires managed service identity on storage account and GET, WRAP_KEY, UNWRAP_KEY access policy on key vault for the managed service identity.- Parameters:
keyVaultUri- the uri to KeyVaultkeyName- the KeyVault key namekeyVersion- the KeyVault key version- Returns:
- the next stage of storage account definition
-
-