ArmBillingBenefitsModelFactory.BillingBenefitsRoleAssignmentEntity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.