Class IdentityProperties

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.IdentityProperties

public final class IdentityProperties extends Object
Properties of a managed identity.
  • Constructor Details

    • IdentityProperties

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

    • type

      public ManagedIdentityType type()
      Get the type property: Managed identity.
      Returns:
      the type value.
    • withType

      public IdentityProperties withType(ManagedIdentityType type)
      Set the type property: Managed identity.
      Parameters:
      type - the type value to set.
      Returns:
      the IdentityProperties object itself.
    • principalId

      public String principalId()
      Get the principalId property: The principal id of resource identity.
      Returns:
      the principalId value.
    • withPrincipalId

      public IdentityProperties withPrincipalId(String principalId)
      Set the principalId property: The principal id of resource identity.
      Parameters:
      principalId - the principalId value to set.
      Returns:
      the IdentityProperties object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenant identifier of resource.
      Returns:
      the tenantId value.
    • withTenantId

      public IdentityProperties withTenantId(String tenantId)
      Set the tenantId property: The tenant identifier of resource.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the IdentityProperties object itself.
    • clientSecretUrl

      public String clientSecretUrl()
      Get the clientSecretUrl property: The client secret URL of the identity.
      Returns:
      the clientSecretUrl value.
    • withClientSecretUrl

      public IdentityProperties withClientSecretUrl(String clientSecretUrl)
      Set the clientSecretUrl property: The client secret URL of the identity.
      Parameters:
      clientSecretUrl - the clientSecretUrl value to set.
      Returns:
      the IdentityProperties object itself.
    • validate

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