IdentityInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. msi. fluent. models. IdentityInner
- com.
- com.
- com.
public final class IdentityInner
extends Resource
Describes an identity resource.
Constructor Summary
Constructor | Description |
---|---|
IdentityInner() |
Creates an instance of Identity |
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
clientId()
Get the client |
static
Identity |
fromJson(JsonReader jsonReader)
Reads an instance of Identity |
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 principal |
System |
systemData()
Get the system |
UUID |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Identity |
withLocation(String location) |
Identity |
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:
fromJson
public static IdentityInner fromJson(JsonReader jsonReader)
Reads an instance of IdentityInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
IdentityInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
IdentityInner.name()Returns:
principalId
public UUID principalId()
Get the principalId property: The id of the service principal object associated with the created identity.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The id of the tenant which the identity belongs to.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
IdentityInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
IdentityInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public IdentityInner withLocation(String location)
Overrides:
IdentityInner.withLocation(String location)Parameters:
withTags
public IdentityInner withTags(Map
Overrides:
IdentityInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java