SystemAssignedIdentityInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. msi. fluent. models. SystemAssignedIdentityInner
- com.
- com.
public final class SystemAssignedIdentityInner
extends ProxyResource
Describes a system assigned identity resource.
Constructor Summary
Constructor | Description |
---|---|
SystemAssignedIdentityInner() |
Creates an instance of System |
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
clientId()
Get the client |
String |
clientSecretUrl()
Get the client |
static
System |
fromJson(JsonReader jsonReader)
Reads an instance of System |
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 principal |
System |
systemData()
Get the system |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
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. |
System |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
System |
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:
clientSecretUrl
public String clientSecretUrl()
Get the clientSecretUrl property: The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials.
Returns:
fromJson
public static SystemAssignedIdentityInner fromJson(JsonReader jsonReader)
Reads an instance of SystemAssignedIdentityInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SystemAssignedIdentityInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SystemAssignedIdentityInner.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:
tags
public Map
Get the tags property: Resource tags.
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:
SystemAssignedIdentityInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SystemAssignedIdentityInner.type()Returns:
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:
Returns:
withTags
public SystemAssignedIdentityInner withTags(Map
Set the tags property: Resource tags.
Parameters:
Returns:
Applies to
Azure SDK for Java