共用方式為


ArmBillingModelFactory.BillingRequestProperties Method

Definition

Initializes a new instance of BillingRequestProperties.

public static Azure.ResourceManager.Billing.Models.BillingRequestProperties BillingRequestProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, System.Collections.Generic.IDictionary<string,string> additionalInformation = default, Azure.ResourceManager.Billing.Models.BillingPrincipal reviewedBy = default, DateTimeOffset? reviewalOn = default, Azure.Core.ResourceIdentifier billingAccountId = default, string billingAccountName = default, string billingAccountDisplayName = default, Guid? billingAccountPrimaryBillingTenantId = default, Azure.Core.ResourceIdentifier billingProfileId = default, string billingProfileName = default, string billingProfileDisplayName = default, Azure.ResourceManager.Billing.Models.BillingPrincipal createdBy = default, DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, string decisionReason = default, Azure.Core.ResourceIdentifier invoiceSectionId = default, string invoiceSectionName = default, string invoiceSectionDisplayName = default, Azure.Core.ResourceIdentifier customerId = default, string customerName = default, string customerDisplayName = default, string subscriptionId = default, string subscriptionName = default, string subscriptionDisplayName = default, string justification = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPrincipal> recipients = default, string requestScope = default, string billingScope = default, Azure.ResourceManager.Billing.Models.BillingRequestStatus? status = default, Azure.ResourceManager.Billing.Models.BillingRequestType? requestType = default, Azure.ResourceManager.Billing.Models.BillingPrincipal lastUpdatedBy = default, DateTimeOffset? lastUpdatedOn = default);
static member BillingRequestProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Billing.Models.BillingPrincipal * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * string * Nullable<Guid> * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.Billing.Models.BillingPrincipal * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * string * string * string * string * string * string * seq<Azure.ResourceManager.Billing.Models.BillingPrincipal> * string * string * Nullable<Azure.ResourceManager.Billing.Models.BillingRequestStatus> * Nullable<Azure.ResourceManager.Billing.Models.BillingRequestType> * Azure.ResourceManager.Billing.Models.BillingPrincipal * Nullable<DateTimeOffset> -> Azure.ResourceManager.Billing.Models.BillingRequestProperties
Public Shared Function BillingRequestProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional additionalInformation As IDictionary(Of String, String) = Nothing, Optional reviewedBy As BillingPrincipal = Nothing, Optional reviewalOn As Nullable(Of DateTimeOffset) = Nothing, Optional billingAccountId As ResourceIdentifier = Nothing, Optional billingAccountName As String = Nothing, Optional billingAccountDisplayName As String = Nothing, Optional billingAccountPrimaryBillingTenantId As Nullable(Of Guid) = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingProfileName As String = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional createdBy As BillingPrincipal = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional decisionReason As String = Nothing, Optional invoiceSectionId As ResourceIdentifier = Nothing, Optional invoiceSectionName As String = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional customerId As ResourceIdentifier = Nothing, Optional customerName As String = Nothing, Optional customerDisplayName As String = Nothing, Optional subscriptionId As String = Nothing, Optional subscriptionName As String = Nothing, Optional subscriptionDisplayName As String = Nothing, Optional justification As String = Nothing, Optional recipients As IEnumerable(Of BillingPrincipal) = Nothing, Optional requestScope As String = Nothing, Optional billingScope As String = Nothing, Optional status As Nullable(Of BillingRequestStatus) = Nothing, Optional requestType As Nullable(Of BillingRequestType) = Nothing, Optional lastUpdatedBy As BillingPrincipal = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As BillingRequestProperties

Parameters

provisioningState
Nullable<BillingProvisioningState>

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

additionalInformation
IDictionary<String,String>

Additional information for the billing request.

reviewedBy
BillingPrincipal

The principal of the request reviewer. Will only be set if request is approved.

reviewalOn
Nullable<DateTimeOffset>

The date and time when the request was reviewed.

billingAccountId
ResourceIdentifier

The fully qualified ID that uniquely identifies a billing account.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingAccountDisplayName
String

The name of the billing account.

billingAccountPrimaryBillingTenantId
Nullable<Guid>

The primary tenant ID of the billing account for which the billing request was submitted.

billingProfileId
ResourceIdentifier

The fully qualified ID that uniquely identifies a billing profile.

billingProfileName
String

The ID that uniquely identifies a billing profile.

billingProfileDisplayName
String

The name of the billing profile.

createdBy
BillingPrincipal

The principal of the entity who created the request.

createdOn
Nullable<DateTimeOffset>

The date and time when the request was created.

expireOn
Nullable<DateTimeOffset>

The date and time when the request expires.

decisionReason
String

The reason to approve or decline the request.

invoiceSectionId
ResourceIdentifier

The fully qualified ID that uniquely identifies an invoice section.

invoiceSectionName
String

The 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.

customerName
String

The ID that uniquely identifies a customer.

customerDisplayName
String

The name of the customer.

subscriptionId
String

The fully qualified ID that uniquely identifies a billing subscription.

subscriptionName
String

The ID that uniquely identifies a billing subscription.

subscriptionDisplayName
String

The name of the billing subscription.

justification
String

Justification for submitting request.

recipients
IEnumerable<BillingPrincipal>

The recipients of the billing request.

requestScope
String

The billing scope for which the request was submitted (ex. '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}').

billingScope
String

The billing scope for which the request will be applied. This is a read only property derived by the service.

status
Nullable<BillingRequestStatus>

Status of billing request.

requestType
Nullable<BillingRequestType>

Type of billing request.

lastUpdatedBy
BillingPrincipal

The principal of the entity who last updated the request.

lastUpdatedOn
Nullable<DateTimeOffset>

Date and time of last update.

Returns

A new BillingRequestProperties instance for mocking.

Applies to