Class KeyForDiskEncryptionSet
java.lang.Object
com.microsoft.azure.management.compute.KeyForDiskEncryptionSet
Key Vault Key Url to be used for server side encryption of Managed Disks and
Snapshots.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyUrl()
Get fully versioned Key Url pointing to a key in KeyVault.Get resource id of the KeyVault containing the key or secret.withKeyUrl
(String keyUrl) Set fully versioned Key Url pointing to a key in KeyVault.withSourceVault
(SourceVault sourceVault) Set resource id of the KeyVault containing the key or secret.
-
Constructor Details
-
KeyForDiskEncryptionSet
public KeyForDiskEncryptionSet()
-
-
Method Details
-
sourceVault
Get resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.- Returns:
- the sourceVault value
-
withSourceVault
Set resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.- Parameters:
sourceVault
- the sourceVault value to set- Returns:
- the KeyForDiskEncryptionSet object itself.
-
keyUrl
Get fully versioned Key Url pointing to a key in KeyVault.- Returns:
- the keyUrl value
-
withKeyUrl
Set fully versioned Key Url pointing to a key in KeyVault.- Parameters:
keyUrl
- the keyUrl value to set- Returns:
- the KeyForDiskEncryptionSet object itself.
-