SystemAssignedServiceIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.iotcentral.models.SystemAssignedServiceIdentity

public class SystemAssignedServiceIdentity

Managed service identity (either system assigned, or none).

Constructor Summary

Constructor Description
SystemAssignedServiceIdentity()

Method Summary

Modifier and Type Method and 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).

Methods inherited from java.lang.Object

Constructor Details

SystemAssignedServiceIdentity

public SystemAssignedServiceIdentity()

Method Details

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.

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:

type - the type value to set.

Returns:

the SystemAssignedServiceIdentity object itself.

Applies to