java.lang.Object
com.azure.resourcemanager.mysqlflexibleserver.models.Identity

public class Identity extends Object
Properties to configure Identity for Bring your Own Keys.
  • Constructor Details

    • Identity

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

    • principalId

      public String principalId()
      Get the principalId property: ObjectId from the KeyVault.
      Returns:
      the principalId value.
    • tenantId

      public String tenantId()
      Get the tenantId property: TenantId from the KeyVault.
      Returns:
      the tenantId value.
    • type

      Get the type property: Type of managed service identity.
      Returns:
      the type value.
    • withType

      public Identity withType(ManagedServiceIdentityType type)
      Set the type property: Type of managed service identity.
      Parameters:
      type - the type value to set.
      Returns:
      the Identity object itself.
    • userAssignedIdentities

      public Map<String,Object> userAssignedIdentities()
      Get the userAssignedIdentities property: Metadata of user assigned identity.
      Returns:
      the userAssignedIdentities value.
    • withUserAssignedIdentities

      public Identity withUserAssignedIdentities(Map<String,Object> userAssignedIdentities)
      Set the userAssignedIdentities property: Metadata of user assigned identity.
      Parameters:
      userAssignedIdentities - the userAssignedIdentities value to set.
      Returns:
      the Identity object itself.
    • validate

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