Interface StorageAccount.UpdateStages.WithEncryption
- All Known Subinterfaces:
StorageAccount.Update
- Enclosing interface:
- StorageAccount.UpdateStages
public static interface StorageAccount.UpdateStages.WithEncryption
The stage of the storage account update allowing to configure encryption settings.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Azure Storage encryption cannot be disabled.withEncryptionKeyFromKeyVault(String keyVaultUri, String keyName, String keyVersion) Specifies the KeyVault key to be used as key for encryption.Deprecated.Azure Storage encryption cannot be disabled.Deprecated.Azure Storage encryption cannot be disabled.Deprecated.Azure Storage encryption cannot be disabled.
-
Method Details
-
withBlobEncryption
Deprecated.Azure Storage encryption cannot be disabled.Enables encryption for blob service.- Returns:
- the next stage of storage account update
-
withFileEncryption
Deprecated.Azure Storage encryption cannot be disabled.Enables encryption for file service.- Returns:
- he next stage of storage account update
-
withoutBlobEncryption
Deprecated.Azure Storage encryption cannot be disabled.Disables encryption for blob service.- Returns:
- the next stage of storage account update
-
withoutFileEncryption
Deprecated.Azure Storage encryption cannot be disabled.Disables encryption for file service.- Returns:
- he next stage of storage account update
-
withEncryptionKeyFromKeyVault
StorageAccount.Update withEncryptionKeyFromKeyVault(String keyVaultUri, String keyName, String keyVersion) Specifies the KeyVault key to be used as key for encryption. This requires managed service identity on storage account (viaStorageAccount.UpdateStages.WithManagedServiceIdentity.withSystemAssignedManagedServiceIdentity()), 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 update
-