EncryptionProperties Class

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

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
KeySource keySource()

Get type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'.

KeyVaultProperties keyVaultProperties()

Get additional details when using Microsoft.KeyVault.

EncryptionProperties withKeySource(KeySource keySource)

Set type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'.

EncryptionProperties 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:

the keySource value

keyVaultProperties

public KeyVaultProperties keyVaultProperties()

Get additional details when using Microsoft.KeyVault.

Returns:

the keyVaultProperties 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.

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.

Applies to