EncryptionProperties Class
- java.
lang. Object - com.
microsoft. azure. management. batch. EncryptionProperties
- com.
public class EncryptionProperties
Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.
Method Summary
Modifier and Type | Method and Description |
---|---|
Key |
keySource()
Get type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'. |
Key |
keyVaultProperties()
Get additional details when using Microsoft.KeyVault. |
Encryption |
withKeySource(KeySource keySource)
Set type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'. |
Encryption |
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set additional details when using Microsoft.KeyVault. |
Method Details
keySource
public KeySource keySource()
Get type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'.
Returns:
keyVaultProperties
public KeyVaultProperties keyVaultProperties()
Get additional details when using Microsoft.KeyVault.
Returns:
withKeySource
public EncryptionProperties withKeySource(KeySource keySource)
Set type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'.
Parameters:
Returns:
withKeyVaultProperties
public EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set additional details when using Microsoft.KeyVault.
Parameters:
Returns:
Applies to
Azure SDK for Java