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.

Constructor Summary

Constructor Description
EncryptionProperties()

Method Summary

Modifier and Type Method and Description
KeySource keySource()

Get type of the key source.

KeyVaultProperties keyVaultProperties()

Get additional details when using Microsoft.KeyVault.

EncryptionProperties withKeySource(KeySource keySource)

Set type of the key source.

EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set additional details when using Microsoft.KeyVault.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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

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