OrchestratorIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.delegatednetwork.models.OrchestratorIdentity

Implements

public final class OrchestratorIdentity
implements JsonSerializable<OrchestratorIdentity>

The OrchestratorIdentity model.

Constructor Summary

Constructor Description
OrchestratorIdentity()

Creates an instance of OrchestratorIdentity class.

Method Summary

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

Reads an instance of OrchestratorIdentity from the JsonReader.

String principalId()

Get the principalId property: The principal id of the system assigned identity which is used by orchestrator.

String tenantId()

Get the tenantId property: The tenant id of the system assigned identity which is used by orchestrator.

JsonWriter toJson(JsonWriter jsonWriter)
ResourceIdentityType type()

Get the type property: The type of identity used for orchestrator cluster.

void validate()

Validates the instance.

OrchestratorIdentity withType(ResourceIdentityType type)

Set the type property: The type of identity used for orchestrator cluster.

Methods inherited from java.lang.Object

Constructor Details

OrchestratorIdentity

public OrchestratorIdentity()

Creates an instance of OrchestratorIdentity class.

Method Details

fromJson

public static OrchestratorIdentity fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OrchestratorIdentity 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 OrchestratorIdentity.

principalId

public String principalId()

Get the principalId property: The principal id of the system assigned identity which is used by orchestrator.

Returns:

the principalId value.

tenantId

public String tenantId()

Get the tenantId property: The tenant id of the system assigned identity which is used by orchestrator.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ResourceIdentityType type()

Get the type property: The type of identity used for orchestrator cluster. Type 'SystemAssigned' will use an implicitly created identity orchestrator clusters.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withType

public OrchestratorIdentity withType(ResourceIdentityType type)

Set the type property: The type of identity used for orchestrator cluster. Type 'SystemAssigned' will use an implicitly created identity orchestrator clusters.

Parameters:

type - the type value to set.

Returns:

the OrchestratorIdentity object itself.

Applies to