Class EncryptionPropertiesIdentity

java.lang.Object
com.azure.resourcemanager.automation.models.EncryptionPropertiesIdentity

public class EncryptionPropertiesIdentity extends Object
User identity used for CMK.
  • Constructor Details

    • EncryptionPropertiesIdentity

      public EncryptionPropertiesIdentity()
  • Method Details

    • userAssignedIdentity

      public Object userAssignedIdentity()
      Get the userAssignedIdentity property: The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
      Returns:
      the userAssignedIdentity value.
    • withUserAssignedIdentity

      public EncryptionPropertiesIdentity withUserAssignedIdentity(Object userAssignedIdentity)
      Set the userAssignedIdentity property: The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
      Parameters:
      userAssignedIdentity - the userAssignedIdentity value to set.
      Returns:
      the EncryptionPropertiesIdentity object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.