Class CmkIdentityDefinition

java.lang.Object
com.azure.resourcemanager.datafactory.models.CmkIdentityDefinition

public final class CmkIdentityDefinition extends Object
Managed Identity used for CMK.
  • Constructor Details

    • CmkIdentityDefinition

      public CmkIdentityDefinition()
      Creates an instance of CmkIdentityDefinition class.
  • Method Details

    • userAssignedIdentity

      public String userAssignedIdentity()
      Get the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.
      Returns:
      the userAssignedIdentity value.
    • withUserAssignedIdentity

      public CmkIdentityDefinition withUserAssignedIdentity(String userAssignedIdentity)
      Set the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.
      Parameters:
      userAssignedIdentity - the userAssignedIdentity value to set.
      Returns:
      the CmkIdentityDefinition object itself.
    • validate

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