Class ClusterPrincipalProperties
java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.ClusterPrincipalProperties
A class representing cluster principal property.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aadObjectId property: The service principal object id in AAD (Azure active directory).Get the principalId property: The principal ID assigned to the cluster principal.Get the principalName property: The principal name.Get the principalType property: Principal type.Get the provisioningState property: The provisioned state of the resource.role()
Get the role property: Cluster principal role.tenantId()
Get the tenantId property: The tenant id of the principal.Get the tenantName property: The tenant name of the principal.void
validate()
Validates the instance.withPrincipalId
(String principalId) Set the principalId property: The principal ID assigned to the cluster principal.withPrincipalType
(PrincipalType principalType) Set the principalType property: Principal type.withRole
(ClusterPrincipalRole role) Set the role property: Cluster principal role.withTenantId
(String tenantId) Set the tenantId property: The tenant id of the principal.
-
Constructor Details
-
ClusterPrincipalProperties
public ClusterPrincipalProperties()
-
-
Method Details
-
principalId
Get the principalId property: The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.- Returns:
- the principalId value.
-
withPrincipalId
Set the principalId property: The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.- Parameters:
principalId
- the principalId value to set.- Returns:
- the ClusterPrincipalProperties object itself.
-
role
Get the role property: Cluster principal role.- Returns:
- the role value.
-
withRole
Set the role property: Cluster principal role.- Parameters:
role
- the role value to set.- Returns:
- the ClusterPrincipalProperties object itself.
-
tenantId
Get the tenantId property: The tenant id of the principal.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The tenant id of the principal.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the ClusterPrincipalProperties object itself.
-
principalType
Get the principalType property: Principal type.- Returns:
- the principalType value.
-
withPrincipalType
Set the principalType property: Principal type.- Parameters:
principalType
- the principalType value to set.- Returns:
- the ClusterPrincipalProperties object itself.
-
tenantName
Get the tenantName property: The tenant name of the principal.- Returns:
- the tenantName value.
-
principalName
Get the principalName property: The principal name.- Returns:
- the principalName value.
-
provisioningState
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
aadObjectId
Get the aadObjectId property: The service principal object id in AAD (Azure active directory).- Returns:
- the aadObjectId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-