ManagedClusterIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterIdentity
- com.
Implements
public final class ManagedClusterIdentity
implements JsonSerializable<ManagedClusterIdentity>
Identity for the managed cluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterIdentity() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Delegated |
delegatedResources()
Get the delegated |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
principalId()
Get the principal |
String |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
Resource |
type()
Get the type property: For more information see [use managed identities in AKS](https://docs. |
Map<String,Managed |
userAssignedIdentities()
Get the user |
void |
validate()
Validates the instance. |
Managed |
withDelegatedResources(Map<String,DelegatedResource> delegatedResources)
Set the delegated |
Managed |
withType(ResourceIdentityType type)
Set the type property: For more information see [use managed identities in AKS](https://docs. |
Managed |
withUserAssignedIdentities(Map<String,ManagedServiceIdentityUserAssignedIdentitiesValue> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterIdentity
public ManagedClusterIdentity()
Creates an instance of ManagedClusterIdentity class.
Method Details
delegatedResources
public Map
Get the delegatedResources property: The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
Returns:
fromJson
public static ManagedClusterIdentity fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterIdentity from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The principal id of the system assigned identity which is used by master components.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant id of the system assigned identity which is used by master components.
Returns:
toJson
type
public ResourceIdentityType type()
Get the type property: For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity).
Returns:
userAssignedIdentities
public Map
Get the userAssignedIdentities property: The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Returns:
validate
public void validate()
Validates the instance.
withDelegatedResources
public ManagedClusterIdentity withDelegatedResources(Map
Set the delegatedResources property: The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
Parameters:
Returns:
withType
public ManagedClusterIdentity withType(ResourceIdentityType type)
Set the type property: For more information see [use managed identities in AKS](https://docs.microsoft.com/azure/aks/use-managed-identity).
Parameters:
Returns:
withUserAssignedIdentities
public ManagedClusterIdentity withUserAssignedIdentities(Map
Set the userAssignedIdentities property: The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Parameters:
Returns:
Applies to
Azure SDK for Java