ExtensionPropertiesAksAssignedIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.kubernetesconfiguration.models.ExtensionPropertiesAksAssignedIdentity

Implements

public final class ExtensionPropertiesAksAssignedIdentity
implements JsonSerializable<ExtensionPropertiesAksAssignedIdentity>

Identity of the Extension resource in an AKS cluster.

Constructor Summary

Constructor Description
ExtensionPropertiesAksAssignedIdentity()

Creates an instance of ExtensionPropertiesAksAssignedIdentity class.

Method Summary

Modifier and Type Method and Description
static ExtensionPropertiesAksAssignedIdentity fromJson(JsonReader jsonReader)

Reads an instance of ExtensionPropertiesAksAssignedIdentity from the JsonReader.

String principalId()

Get the principalId property: The principal ID of resource identity.

String tenantId()

Get the tenantId property: The tenant ID of resource.

JsonWriter toJson(JsonWriter jsonWriter)
AksIdentityType type()

Get the type property: The identity type.

void validate()

Validates the instance.

ExtensionPropertiesAksAssignedIdentity withType(AksIdentityType type)

Set the type property: The identity type.

Methods inherited from java.lang.Object

Constructor Details

ExtensionPropertiesAksAssignedIdentity

public ExtensionPropertiesAksAssignedIdentity()

Creates an instance of ExtensionPropertiesAksAssignedIdentity class.

Method Details

fromJson

public static ExtensionPropertiesAksAssignedIdentity fromJson(JsonReader jsonReader)

Reads an instance of ExtensionPropertiesAksAssignedIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExtensionPropertiesAksAssignedIdentity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExtensionPropertiesAksAssignedIdentity.

principalId

public String principalId()

Get the principalId property: The principal ID of resource identity.

Returns:

the principalId value.

tenantId

public String tenantId()

Get the tenantId property: The tenant ID of resource.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public AksIdentityType type()

Get the type property: The identity type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withType

public ExtensionPropertiesAksAssignedIdentity withType(AksIdentityType type)

Set the type property: The identity type.

Parameters:

type - the type value to set.

Returns:

the ExtensionPropertiesAksAssignedIdentity object itself.

Applies to