Class KeyForDiskEncryptionSet

java.lang.Object
com.microsoft.azure.management.compute.KeyForDiskEncryptionSet

public class KeyForDiskEncryptionSet extends Object
Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots.
  • Constructor Details

    • KeyForDiskEncryptionSet

      public KeyForDiskEncryptionSet()
  • Method Details

    • sourceVault

      public SourceVault 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

      public KeyForDiskEncryptionSet withSourceVault(SourceVault sourceVault)
      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

      public String keyUrl()
      Get fully versioned Key Url pointing to a key in KeyVault.
      Returns:
      the keyUrl value
    • withKeyUrl

      public KeyForDiskEncryptionSet withKeyUrl(String keyUrl)
      Set fully versioned Key Url pointing to a key in KeyVault.
      Parameters:
      keyUrl - the keyUrl value to set
      Returns:
      the KeyForDiskEncryptionSet object itself.