次の方法で共有


ManagedServiceIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.ManagedServiceIdentity

public final class ManagedServiceIdentity

The properties of the managed service identities assigned to this resource.

Constructor Summary

Constructor Description
ManagedServiceIdentity()

Creates an instance of ManagedServiceIdentity class.

Method Summary

Modifier and Type Method and Description
String principalId()

Get the principalId property: The active directory identifier of this principal.

String tenantId()

Get the tenantId property: The Active Directory tenant id of the principal.

ManagedServiceIdentityType type()

Get the type property: The type of managed identity assigned to this resource.

Map<String,UserAssignedIdentity> userAssignedIdentities()

Get the userAssignedIdentities property: The identities assigned to this resource by the user.

void validate()

Validates the instance.

ManagedServiceIdentity withType(ManagedServiceIdentityType type)

Set the type property: The type of managed identity assigned to this resource.

ManagedServiceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

Set the userAssignedIdentities property: The identities assigned to this resource by the user.

Methods inherited from java.lang.Object

Constructor Details

ManagedServiceIdentity

public ManagedServiceIdentity()

Creates an instance of ManagedServiceIdentity class.

Method Details

principalId

public String principalId()

Get the principalId property: The active directory identifier of this principal.

Returns:

the principalId value.

tenantId

public String tenantId()

Get the tenantId property: The Active Directory tenant id of the principal.

Returns:

the tenantId value.

type

public ManagedServiceIdentityType type()

Get the type property: The type of managed identity assigned to this resource.

Returns:

the type value.

userAssignedIdentities

public Map<String,UserAssignedIdentity> userAssignedIdentities()

Get the userAssignedIdentities property: The identities assigned to this resource by the user.

Returns:

the userAssignedIdentities value.

validate

public void validate()

Validates the instance.

withType

public ManagedServiceIdentity withType(ManagedServiceIdentityType type)

Set the type property: The type of managed identity assigned to this resource.

Parameters:

type - the type value to set.

Returns:

the ManagedServiceIdentity object itself.

withUserAssignedIdentities

public ManagedServiceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

Set the userAssignedIdentities property: The identities assigned to this resource by the user.

Parameters:

userAssignedIdentities - the userAssignedIdentities value to set.

Returns:

the ManagedServiceIdentity object itself.

Applies to