共用方式為


RoleAssignmentCreateOrUpdateContent(ResourceIdentifier, Guid) Constructor

Definition

Initializes a new instance of RoleAssignmentCreateOrUpdateContent.

public RoleAssignmentCreateOrUpdateContent (Azure.Core.ResourceIdentifier roleDefinitionId, Guid principalId);
new Azure.ResourceManager.Authorization.Models.RoleAssignmentCreateOrUpdateContent : Azure.Core.ResourceIdentifier * Guid -> Azure.ResourceManager.Authorization.Models.RoleAssignmentCreateOrUpdateContent
Public Sub New (roleDefinitionId As ResourceIdentifier, principalId As Guid)

Parameters

roleDefinitionId
ResourceIdentifier

The role definition ID.

principalId
Guid

The principal ID.

Exceptions

roleDefinitionId is null.

Applies to