SystemAssignedIdentityInner Class

public final class SystemAssignedIdentityInner
extends ProxyResource

Describes a system assigned identity resource.

Constructor Summary

Constructor Description
SystemAssignedIdentityInner()

Creates an instance of SystemAssignedIdentityInner class.

Method Summary

Modifier and Type Method and Description
UUID clientId()

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

String clientSecretUrl()

Get the clientSecretUrl property: The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials.

static SystemAssignedIdentityInner fromJson(JsonReader jsonReader)

Reads an instance of SystemAssignedIdentityInner from the JsonReader.

String id()

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

String location()

Get the location property: The geo-location where the resource lives.

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.

Map<String,String> tags()

Get the tags property: Resource tags.

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.

SystemAssignedIdentityInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

SystemAssignedIdentityInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SystemAssignedIdentityInner

public SystemAssignedIdentityInner()

Creates an instance of SystemAssignedIdentityInner 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.

clientSecretUrl

public String clientSecretUrl()

Get the clientSecretUrl property: The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials.

Returns:

the clientSecretUrl value.

fromJson

public static SystemAssignedIdentityInner fromJson(JsonReader jsonReader)

Reads an instance of SystemAssignedIdentityInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SystemAssignedIdentityInner 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:

SystemAssignedIdentityInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SystemAssignedIdentityInner.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.

tags

public Map tags()

Get the tags property: Resource tags.

Returns:

the tags 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:

SystemAssignedIdentityInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SystemAssignedIdentityInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public SystemAssignedIdentityInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

Parameters:

location - the location value to set.

Returns:

the SystemAssignedIdentityInner object itself.

withTags

public SystemAssignedIdentityInner withTags(Map tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the SystemAssignedIdentityInner object itself.

Applies to