ClusterPrincipalAssignmentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. kusto. fluent. models. ClusterPrincipalAssignmentInner
- com.
- com.
public final class ClusterPrincipalAssignmentInner
extends ProxyResource
Class representing a cluster principal assignment.
Constructor Summary
Constructor | Description |
---|---|
ClusterPrincipalAssignmentInner() |
Creates an instance of Cluster |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
aadObjectId()
Get the aad |
String |
principalId()
Get the principal |
String |
principalName()
Get the principal |
Principal |
principalType()
Get the principal |
Provisioning |
provisioningState()
Get the provisioning |
Cluster |
role()
Get the role property: Cluster principal role. |
String |
tenantId()
Get the tenant |
String |
tenantName()
Get the tenant |
void |
validate()
Validates the instance. |
Cluster |
withPrincipalId(String principalId)
Set the principal |
Cluster |
withPrincipalType(PrincipalType principalType)
Set the principal |
Cluster |
withRole(ClusterPrincipalRole role)
Set the role property: Cluster principal role. |
Cluster |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ClusterPrincipalAssignmentInner
public ClusterPrincipalAssignmentInner()
Creates an instance of ClusterPrincipalAssignmentInner class.
Method Details
aadObjectId
public String aadObjectId()
Get the aadObjectId property: The service principal object id in AAD (Azure active directory).
Returns:
principalId
public String 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:
principalName
public String principalName()
Get the principalName property: The principal name.
Returns:
principalType
public PrincipalType principalType()
Get the principalType property: Principal type.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioned state of the resource.
Returns:
role
public ClusterPrincipalRole role()
Get the role property: Cluster principal role.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant id of the principal.
Returns:
tenantName
public String tenantName()
Get the tenantName property: The tenant name of the principal.
Returns:
validate
public void validate()
Validates the instance.
withPrincipalId
public ClusterPrincipalAssignmentInner withPrincipalId(String principalId)
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:
Returns:
withPrincipalType
public ClusterPrincipalAssignmentInner withPrincipalType(PrincipalType principalType)
Set the principalType property: Principal type.
Parameters:
Returns:
withRole
public ClusterPrincipalAssignmentInner withRole(ClusterPrincipalRole role)
Set the role property: Cluster principal role.
Parameters:
Returns:
withTenantId
public ClusterPrincipalAssignmentInner withTenantId(String tenantId)
Set the tenantId property: The tenant id of the principal.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for