Class EncryptionProperties

java.lang.Object
com.microsoft.azure.management.batch.EncryptionProperties

public class EncryptionProperties extends Object
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.
  • Constructor Details

    • EncryptionProperties

      public EncryptionProperties()
  • Method Details

    • keySource

      public KeySource keySource()
      Get type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'.
      Returns:
      the keySource value
    • withKeySource

      public EncryptionProperties withKeySource(KeySource keySource)
      Set type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'.
      Parameters:
      keySource - the keySource value to set
      Returns:
      the EncryptionProperties object itself.
    • keyVaultProperties

      public KeyVaultProperties keyVaultProperties()
      Get additional details when using Microsoft.KeyVault.
      Returns:
      the keyVaultProperties value
    • withKeyVaultProperties

      public EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
      Set additional details when using Microsoft.KeyVault.
      Parameters:
      keyVaultProperties - the keyVaultProperties value to set
      Returns:
      the EncryptionProperties object itself.