SystemAssignedServiceIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. iotcentral. models. SystemAssignedServiceIdentity
- com.
Implements
public final class SystemAssignedServiceIdentity
implements JsonSerializable<SystemAssignedServiceIdentity>
Managed service identity (either system assigned, or none).
Constructor Summary
| Constructor | Description |
|---|---|
| SystemAssignedServiceIdentity() |
Creates an instance of System |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
System |
fromJson(JsonReader jsonReader)
Reads an instance of System |
| UUID |
principalId()
Get the principal |
| UUID |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
|
System |
type()
Get the type property: Type of managed service identity (either system assigned, or none). |
| void |
validate()
Validates the instance. |
|
System |
withType(SystemAssignedServiceIdentityType type)
Set the type property: Type of managed service identity (either system assigned, or none). |
Methods inherited from java.lang.Object
Constructor Details
SystemAssignedServiceIdentity
public SystemAssignedServiceIdentity()
Creates an instance of SystemAssignedServiceIdentity class.
Method Details
fromJson
public static SystemAssignedServiceIdentity fromJson(JsonReader jsonReader)
Reads an instance of SystemAssignedServiceIdentity from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public UUID principalId()
Get the principalId property: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Returns:
toJson
type
public SystemAssignedServiceIdentityType type()
Get the type property: Type of managed service identity (either system assigned, or none).
Returns:
validate
public void validate()
Validates the instance.
withType
public SystemAssignedServiceIdentity withType(SystemAssignedServiceIdentityType type)
Set the type property: Type of managed service identity (either system assigned, or none).
Parameters:
Returns: