Class ProvisionedClusterIdentity

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClusterIdentity

public class ProvisionedClusterIdentity extends Object
Identity for the Provisioned cluster.
  • Constructor Details

    • ProvisionedClusterIdentity

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

    • principalId

      public String principalId()
      Get the principalId property: The principal id of provisioned cluster identity. This property will only be provided for a system assigned identity.
      Returns:
      the principalId value.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenant id associated with the provisioned cluster. This property will only be provided for a system assigned identity.
      Returns:
      the tenantId value.
    • type

      public ResourceIdentityType type()
      Get the type property: The type of identity used for the provisioned cluster. The type SystemAssigned, includes a system created identity. The type None means no identity is assigned to the provisioned cluster.
      Returns:
      the type value.
    • withType

      Set the type property: The type of identity used for the provisioned cluster. The type SystemAssigned, includes a system created identity. The type None means no identity is assigned to the provisioned cluster.
      Parameters:
      type - the type value to set.
      Returns:
      the ProvisionedClusterIdentity object itself.
    • validate

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