共用方式為


ArmBillingBenefitsModelFactory.BillingBenefitsRoleAssignmentEntity Method

Definition

Initializes a new instance of BillingBenefitsRoleAssignmentEntity.

public static Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsRoleAssignmentEntity BillingBenefitsRoleAssignmentEntity (Azure.Core.ResourceIdentifier id = default, string name = default, string principalId = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, Azure.Core.ResourceIdentifier scope = default);
static member BillingBenefitsRoleAssignmentEntity : Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsRoleAssignmentEntity
Public Shared Function BillingBenefitsRoleAssignmentEntity (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional principalId As String = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional scope As ResourceIdentifier = Nothing) As BillingBenefitsRoleAssignmentEntity

Parameters

id
ResourceIdentifier

Role assignment entity id.

name
String

Role assignment entity name.

principalId
String

Principal Id.

roleDefinitionId
ResourceIdentifier

Role definition id.

scope
ResourceIdentifier

Scope of the role assignment entity.

Returns

A new BillingBenefitsRoleAssignmentEntity instance for mocking.

Applies to