Class AksClusterProfileAksClusterAgentPoolIdentityProfile
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.IdentityProfile
com.azure.resourcemanager.hdinsight.containers.models.AksClusterProfileAksClusterAgentPoolIdentityProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IdentityProfile>
Identity properties of the AKS cluster agentpool MSI.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AksClusterProfileAksClusterAgentPoolIdentityProfile class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AksClusterProfileAksClusterAgentPoolIdentityProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withMsiClientId(String msiClientId) Set the msiClientId property: ClientId of the MSI.withMsiObjectId(String msiObjectId) Set the msiObjectId property: ObjectId of the MSI.withMsiResourceId(String msiResourceId) Set the msiResourceId property: ResourceId of the MSI.Methods inherited from class IdentityProfile
msiClientId, msiObjectId, msiResourceIdMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AksClusterProfileAksClusterAgentPoolIdentityProfile
public AksClusterProfileAksClusterAgentPoolIdentityProfile()Creates an instance of AksClusterProfileAksClusterAgentPoolIdentityProfile class.
-
-
Method Details
-
withMsiResourceId
Set the msiResourceId property: ResourceId of the MSI.- Overrides:
withMsiResourceIdin classIdentityProfile- Parameters:
msiResourceId- the msiResourceId value to set.- Returns:
- the IdentityProfile object itself.
-
withMsiClientId
Set the msiClientId property: ClientId of the MSI.- Overrides:
withMsiClientIdin classIdentityProfile- Parameters:
msiClientId- the msiClientId value to set.- Returns:
- the IdentityProfile object itself.
-
withMsiObjectId
Set the msiObjectId property: ObjectId of the MSI.- Overrides:
withMsiObjectIdin classIdentityProfile- Parameters:
msiObjectId- the msiObjectId value to set.- Returns:
- the IdentityProfile object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classIdentityProfile- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IdentityProfile>- Overrides:
toJsonin classIdentityProfile- Throws:
IOException
-
fromJson
public static AksClusterProfileAksClusterAgentPoolIdentityProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AksClusterProfileAksClusterAgentPoolIdentityProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AksClusterProfileAksClusterAgentPoolIdentityProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AksClusterProfileAksClusterAgentPoolIdentityProfile.
-