RoleAssignmentsAsyncClient.createRoleAssignment Method

Definition

Overloads

createRoleAssignment(String roleAssignmentId, UUID roleId, UUID principalId, String scope)

Create role assignment.

createRoleAssignment(String roleAssignmentId, UUID roleId, UUID principalId, String scope, String principalType)

Create role assignment.

createRoleAssignment(String roleAssignmentId, UUID roleId, UUID principalId, String scope)

Create role assignment.

public Mono<RoleAssignmentDetails> createRoleAssignment(String roleAssignmentId, UUID roleId, UUID principalId, String scope)

Parameters

roleAssignmentId
java.lang.String

The ID of the role assignment.

roleId
java.util.UUID

Role ID of the Synapse Built-In Role.

principalId
java.util.UUID

Object ID of the AAD principal or security-group.

scope
java.lang.String

Scope at which the role assignment is created.

Returns

reactor.core.publisher.Mono<RoleAssignmentDetails>

role Assignment response details.

createRoleAssignment(String roleAssignmentId, UUID roleId, UUID principalId, String scope, String principalType)

Create role assignment.

public Mono<RoleAssignmentDetails> createRoleAssignment(String roleAssignmentId, UUID roleId, UUID principalId, String scope, String principalType)

Parameters

roleAssignmentId
java.lang.String

The ID of the role assignment.

roleId
java.util.UUID

Role ID of the Synapse Built-In Role.

principalId
java.util.UUID

Object ID of the AAD principal or security-group.

scope
java.lang.String

Scope at which the role assignment is created.

principalType
java.lang.String

Type of the principal Id: User, Group or ServicePrincipal.

Returns

reactor.core.publisher.Mono<RoleAssignmentDetails>

role Assignment response details.

Applies to