ManagedClusterIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterIdentity
- com.
public final class 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 |
String |
principalId()
Get the principal |
String |
tenantId()
Get the tenant |
Resource |
type()
Get the type property: The type of identity used for the managed cluster. |
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: The type of identity used for the managed cluster. |
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:
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:
type
public ResourceIdentityType type()
Get the type property: The type of identity used for the managed cluster. 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: The type of identity used for the managed cluster. 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
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