Class ProvisionedClusterIdentity
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClusterIdentity
Identity for the Provisioned cluster.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ProvisionedClusterIdentity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The principal id of provisioned cluster identity.tenantId()
Get the tenantId property: The tenant id associated with the provisioned cluster.type()
Get the type property: The type of identity used for the provisioned cluster.void
validate()
Validates the instance.withType
(ResourceIdentityType type) Set the type property: The type of identity used for the provisioned cluster.
-
Constructor Details
-
ProvisionedClusterIdentity
public ProvisionedClusterIdentity()Creates an instance of ProvisionedClusterIdentity class.
-
-
Method Details
-
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
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
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.
-