다음을 통해 공유


IdentityInner Class

public final class IdentityInner
extends Resource

Describes an identity resource.

Constructor Summary

Constructor Description
IdentityInner()

Creates an instance of IdentityInner class.

Method Summary

Modifier and Type Method and Description
UUID clientId()

Get the clientId property: The id of the app associated with the identity.

static IdentityInner fromJson(JsonReader jsonReader)

Reads an instance of IdentityInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

UUID principalId()

Get the principalId property: The id of the service principal object associated with the created identity.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

UUID tenantId()

Get the tenantId property: The id of the tenant which the identity belongs to.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

IdentityInner withLocation(String location)
IdentityInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

IdentityInner

public IdentityInner()

Creates an instance of IdentityInner class.

Method Details

clientId

public UUID clientId()

Get the clientId property: The id of the app associated with the identity. This is a random generated UUID by MSI.

Returns:

the clientId value.

fromJson

public static IdentityInner fromJson(JsonReader jsonReader)

Reads an instance of IdentityInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

IdentityInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

IdentityInner.name()

Returns:

the name value.

principalId

public UUID principalId()

Get the principalId property: The id of the service principal object associated with the created identity.

Returns:

the principalId value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tenantId

public UUID tenantId()

Get the tenantId property: The id of the tenant which the identity belongs to.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

IdentityInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

IdentityInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public IdentityInner withLocation(String location)

Overrides:

IdentityInner.withLocation(String location)

Parameters:

location

withTags

public IdentityInner withTags(Map tags)

Overrides:

IdentityInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to