public class ManagedClusterIdentity extends Object
| Constructor and Description |
|---|
ManagedClusterIdentity() |
| Modifier and Type | Method and Description |
|---|---|
String |
principalId()
Get the principalId property: The principal id of the system assigned identity which is used by master
components.
|
String |
tenantId()
Get the tenantId property: The tenant id of the system assigned identity which is used by master components.
|
ResourceIdentityType |
type()
Get the type property: The type of identity used for the managed cluster.
|
Map<String,ManagedClusterIdentityUserAssignedIdentities> |
userAssignedIdentities()
Get the userAssignedIdentities property: The user identity associated with the managed cluster.
|
void |
validate()
Validates the instance.
|
ManagedClusterIdentity |
withType(ResourceIdentityType type)
Set the type property: The type of identity used for the managed cluster.
|
ManagedClusterIdentity |
withUserAssignedIdentities(Map<String,ManagedClusterIdentityUserAssignedIdentities> userAssignedIdentities)
Set the userAssignedIdentities property: The user identity associated with the managed cluster.
|
public String principalId()
public String tenantId()
public ResourceIdentityType type()
public ManagedClusterIdentity withType(ResourceIdentityType type)
type - the type value to set.public Map<String,ManagedClusterIdentityUserAssignedIdentities> userAssignedIdentities()
public ManagedClusterIdentity withUserAssignedIdentities(Map<String,ManagedClusterIdentityUserAssignedIdentities> userAssignedIdentities)
userAssignedIdentities - the userAssignedIdentities value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.