Class Encryption
java.lang.Object
com.microsoft.azure.management.storage.Encryption
The encryption settings on the storage account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the encryption keySource (provider).Get properties provided by key vault.Get a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.services()
Get list of services which support encryption.withKeySource
(KeySource keySource) Set the encryption keySource (provider).withKeyVaultProperties
(KeyVaultProperties keyVaultProperties) Set properties provided by key vault.withRequireInfrastructureEncryption
(Boolean requireInfrastructureEncryption) Set a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.withServices
(EncryptionServices services) Set list of services which support encryption.
-
Constructor Details
-
Encryption
public Encryption()
-
-
Method Details
-
services
Get list of services which support encryption.- Returns:
- the services value
-
withServices
Set list of services which support encryption.- Parameters:
services
- the services value to set- Returns:
- the Encryption object itself.
-
keySource
Get the encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.- Returns:
- the keySource value
-
withKeySource
Set the encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.- Parameters:
keySource
- the keySource value to set- Returns:
- the Encryption object itself.
-
requireInfrastructureEncryption
Get a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.- Returns:
- the requireInfrastructureEncryption value
-
withRequireInfrastructureEncryption
Set a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.- Parameters:
requireInfrastructureEncryption
- the requireInfrastructureEncryption value to set- Returns:
- the Encryption object itself.
-
keyVaultProperties
Get properties provided by key vault.- Returns:
- the keyVaultProperties value
-
withKeyVaultProperties
Set properties provided by key vault.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set- Returns:
- the Encryption object itself.
-