ManagedClusterAddonProfileIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. UserAssignedIdentity - com.
azure. resourcemanager. containerservice. models. ManagedClusterAddonProfileIdentity
- com.
- com.
public final class ManagedClusterAddonProfileIdentity
extends UserAssignedIdentity
Information of user assigned identity used by this add-on.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterAddonProfileIdentity() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withClientId(String clientId)
Set the client |
Managed |
withObjectId(String objectId)
Set the object |
Managed |
withResourceId(String resourceId)
Set the resource |
Methods inherited from UserAssignedIdentity
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterAddonProfileIdentity
public ManagedClusterAddonProfileIdentity()
Creates an instance of ManagedClusterAddonProfileIdentity class.
Method Details
fromJson
public static ManagedClusterAddonProfileIdentity fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterAddonProfileIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedClusterAddonProfileIdentity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ManagedClusterAddonProfileIdentity.validate()withClientId
public ManagedClusterAddonProfileIdentity withClientId(String clientId)
Set the clientId property: The client ID of the user assigned identity.
Overrides:
ManagedClusterAddonProfileIdentity.withClientId(String clientId)Parameters:
withObjectId
public ManagedClusterAddonProfileIdentity withObjectId(String objectId)
Set the objectId property: The object ID of the user assigned identity.
Overrides:
ManagedClusterAddonProfileIdentity.withObjectId(String objectId)Parameters:
withResourceId
public ManagedClusterAddonProfileIdentity withResourceId(String resourceId)
Set the resourceId property: The resource ID of the user assigned identity.
Overrides:
ManagedClusterAddonProfileIdentity.withResourceId(String resourceId)Parameters:
Applies to
Azure SDK for Java