共用方式為


ArmBillingModelFactory.BillingRoleAssignmentProperties Method

Definition

Initializes a new instance of BillingRoleAssignmentProperties.

public static Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties BillingRoleAssignmentProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, DateTimeOffset? createdOn = default, Guid? createdByPrincipalTenantId = default, string createdByPrincipalId = default, string createdByPrincipalPuid = default, string createdByUserEmailAddress = default, DateTimeOffset? modifiedOn = default, string modifiedByPrincipalPuid = default, string modifiedByUserEmailAddress = default, string modifiedByPrincipalId = default, Guid? modifiedByPrincipalTenantId = default, string principalPuid = default, string principalId = default, Guid? principalTenantId = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, string scope = default, string userAuthenticationType = default, string userEmailAddress = default, string principalTenantName = default, string principalDisplayName = default, Azure.ResourceManager.Billing.Models.BillingPrincipalType? principalType = default, Azure.Core.ResourceIdentifier billingRequestId = default, Azure.Core.ResourceIdentifier billingAccountId = default, string billingAccountDisplayName = default, Azure.Core.ResourceIdentifier billingProfileId = default, string billingProfileDisplayName = default, Azure.Core.ResourceIdentifier invoiceSectionId = default, string invoiceSectionDisplayName = default, Azure.Core.ResourceIdentifier customerId = default, string customerDisplayName = default);
static member BillingRoleAssignmentProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * Nullable<DateTimeOffset> * Nullable<Guid> * string * string * string * Nullable<DateTimeOffset> * string * string * string * Nullable<Guid> * string * string * Nullable<Guid> * Azure.Core.ResourceIdentifier * string * string * string * string * string * Nullable<Azure.ResourceManager.Billing.Models.BillingPrincipalType> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties
Public Shared Function BillingRoleAssignmentProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdByPrincipalTenantId As Nullable(Of Guid) = Nothing, Optional createdByPrincipalId As String = Nothing, Optional createdByPrincipalPuid As String = Nothing, Optional createdByUserEmailAddress As String = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedByPrincipalPuid As String = Nothing, Optional modifiedByUserEmailAddress As String = Nothing, Optional modifiedByPrincipalId As String = Nothing, Optional modifiedByPrincipalTenantId As Nullable(Of Guid) = Nothing, Optional principalPuid As String = Nothing, Optional principalId As String = Nothing, Optional principalTenantId As Nullable(Of Guid) = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional scope As String = Nothing, Optional userAuthenticationType As String = Nothing, Optional userEmailAddress As String = Nothing, Optional principalTenantName As String = Nothing, Optional principalDisplayName As String = Nothing, Optional principalType As Nullable(Of BillingPrincipalType) = Nothing, Optional billingRequestId As ResourceIdentifier = Nothing, Optional billingAccountId As ResourceIdentifier = Nothing, Optional billingAccountDisplayName As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional invoiceSectionId As ResourceIdentifier = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional customerId As ResourceIdentifier = Nothing, Optional customerDisplayName As String = Nothing) As BillingRoleAssignmentProperties

Parameters

provisioningState
Nullable<BillingProvisioningState>

The provisioning state of the resource during a long-running operation.

createdOn
Nullable<DateTimeOffset>

The date the role assignment was created.

createdByPrincipalTenantId
Nullable<Guid>

The tenant Id of the user who created the role assignment.

createdByPrincipalId
String

The object ID of the user who created the role assignment.

createdByPrincipalPuid
String

The principal PUID of the user who created the role assignment.

createdByUserEmailAddress
String

The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.

modifiedOn
Nullable<DateTimeOffset>

The date the role assignment was modified.

modifiedByPrincipalPuid
String

The principal PUID of the user who modified the role assignment.

modifiedByUserEmailAddress
String

The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.

modifiedByPrincipalId
String

The principal PUID of the user who modified the role assignment.

modifiedByPrincipalTenantId
Nullable<Guid>

The tenant Id of the user who modified the role assignment.

principalPuid
String

The principal PUID of the user to whom the role was assigned.

principalId
String

The object id of the user to whom the role was assigned.

principalTenantId
Nullable<Guid>

The principal tenant id of the user to whom the role was assigned.

roleDefinitionId
ResourceIdentifier

The ID of the role definition.

scope
String

The scope at which the role was assigned.

userAuthenticationType
String

The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.

userEmailAddress
String

The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.

principalTenantName
String

The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.

principalDisplayName
String

The display name of the principal to whom the role was assigned.

principalType
Nullable<BillingPrincipalType>

The type of a role Assignment.

billingRequestId
ResourceIdentifier

The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.

billingAccountId
ResourceIdentifier

The fully qualified ID that uniquely identifies a billing account.

billingAccountDisplayName
String

The name of the billing account.

billingProfileId
ResourceIdentifier

The fully qualified ID that uniquely identifies a billing profile.

billingProfileDisplayName
String

The name of the billing profile.

invoiceSectionId
ResourceIdentifier

The fully qualified ID that uniquely identifies an invoice section.

invoiceSectionDisplayName
String

The name of the invoice section.

customerId
ResourceIdentifier

The fully qualified ID that uniquely identifies a customer.

customerDisplayName
String

The name of the customer.

Returns

A new BillingRoleAssignmentProperties instance for mocking.

Applies to