Class SystemAssignedServiceIdentity
- java.lang.Object
-
- com.azure.resourcemanager.iotcentral.models.SystemAssignedServiceIdentity
-
public class SystemAssignedServiceIdentity extends Object
Managed service identity (either system assigned, or none).
-
-
Constructor Summary
Constructors Constructor Description SystemAssignedServiceIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
principalId()
Get the principalId property: The service principal ID of the system assigned identity.UUID
tenantId()
Get the tenantId property: The tenant ID of the system assigned identity.SystemAssignedServiceIdentityType
type()
Get the type property: Type of managed service identity (either system assigned, or none).void
validate()
Validates the instance.SystemAssignedServiceIdentity
withType(SystemAssignedServiceIdentityType type)
Set the type property: Type of managed service identity (either system assigned, or none).
-
-
-
Method Detail
-
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:
- the principalId value.
-
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:
- the tenantId value.
-
type
public SystemAssignedServiceIdentityType type()
Get the type property: Type of managed service identity (either system assigned, or none).- Returns:
- the type value.
-
withType
public SystemAssignedServiceIdentity withType(SystemAssignedServiceIdentityType type)
Set the type property: Type of managed service identity (either system assigned, or none).- Parameters:
type
- the type value to set.- Returns:
- the SystemAssignedServiceIdentity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-