共用方式為


ArmBillingModelFactory.BillingProfileProperties Method

Definition

Initializes a new instance of BillingProfileProperties.

public static Azure.ResourceManager.Billing.Models.BillingProfileProperties BillingProfileProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, Azure.ResourceManager.Billing.Models.BillingRelationshipType? billingRelationshipType = default, Azure.ResourceManager.Billing.Models.BillingAddressDetails billTo = default, string currency = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAzurePlan> enabledAzurePlans = default, bool? hasReadAccess = default, Azure.ResourceManager.Billing.Models.IndirectRelationshipInfo indirectRelationshipInfo = default, int? invoiceDay = default, bool? isInvoiceEmailOptIn = default, System.Collections.Generic.IEnumerable<string> invoiceRecipients = default, string poNumber = default, Azure.ResourceManager.Billing.Models.BillingAddressDetails shipTo = default, Azure.ResourceManager.Billing.Models.BillingAddressDetails soldTo = default, Azure.ResourceManager.Billing.Models.BillingSpendingLimit? spendingLimit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.SpendingLimitDetails> spendingLimitDetails = default, Azure.ResourceManager.Billing.Models.BillingProfileStatus? status = default, Azure.ResourceManager.Billing.Models.BillingProfileStatusReasonCode? statusReasonCode = default, string systemId = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IEnumerable<string> targetClouds = default, Azure.ResourceManager.Billing.Models.BillingPaymentTerm currentPaymentTerm = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> otherPaymentTerms = default);
static member BillingProfileProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * Nullable<Azure.ResourceManager.Billing.Models.BillingRelationshipType> * Azure.ResourceManager.Billing.Models.BillingAddressDetails * string * string * seq<Azure.ResourceManager.Billing.Models.BillingAzurePlan> * Nullable<bool> * Azure.ResourceManager.Billing.Models.IndirectRelationshipInfo * Nullable<int> * Nullable<bool> * seq<string> * string * Azure.ResourceManager.Billing.Models.BillingAddressDetails * Azure.ResourceManager.Billing.Models.BillingAddressDetails * Nullable<Azure.ResourceManager.Billing.Models.BillingSpendingLimit> * seq<Azure.ResourceManager.Billing.Models.SpendingLimitDetails> * Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatus> * Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatusReasonCode> * string * System.Collections.Generic.IDictionary<string, string> * seq<string> * Azure.ResourceManager.Billing.Models.BillingPaymentTerm * seq<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> -> Azure.ResourceManager.Billing.Models.BillingProfileProperties
Public Shared Function BillingProfileProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional billingRelationshipType As Nullable(Of BillingRelationshipType) = Nothing, Optional billTo As BillingAddressDetails = Nothing, Optional currency As String = Nothing, Optional displayName As String = Nothing, Optional enabledAzurePlans As IEnumerable(Of BillingAzurePlan) = Nothing, Optional hasReadAccess As Nullable(Of Boolean) = Nothing, Optional indirectRelationshipInfo As IndirectRelationshipInfo = Nothing, Optional invoiceDay As Nullable(Of Integer) = Nothing, Optional isInvoiceEmailOptIn As Nullable(Of Boolean) = Nothing, Optional invoiceRecipients As IEnumerable(Of String) = Nothing, Optional poNumber As String = Nothing, Optional shipTo As BillingAddressDetails = Nothing, Optional soldTo As BillingAddressDetails = Nothing, Optional spendingLimit As Nullable(Of BillingSpendingLimit) = Nothing, Optional spendingLimitDetails As IEnumerable(Of SpendingLimitDetails) = Nothing, Optional status As Nullable(Of BillingProfileStatus) = Nothing, Optional statusReasonCode As Nullable(Of BillingProfileStatusReasonCode) = Nothing, Optional systemId As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional targetClouds As IEnumerable(Of String) = Nothing, Optional currentPaymentTerm As BillingPaymentTerm = Nothing, Optional otherPaymentTerms As IEnumerable(Of BillingPaymentTerm) = Nothing) As BillingProfileProperties

Parameters

provisioningState
Nullable<BillingProvisioningState>

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

billingRelationshipType
Nullable<BillingRelationshipType>

Identifies the billing relationship represented by the billing profile. The billing relationship may be between Microsoft, the customer, and/or a third-party.

billTo
BillingAddressDetails

Billing address.

currency
String

The currency in which the charges for the billing profile are billed.

displayName
String

The name of the billing profile.

enabledAzurePlans
IEnumerable<BillingAzurePlan>

Information about the enabled azure plans.

hasReadAccess
Nullable<Boolean>

Indicates whether user has read access to the billing profile.

indirectRelationshipInfo
IndirectRelationshipInfo

Identifies the billing profile that is linked to another billing profile in indirect purchase motion.

invoiceDay
Nullable<Int32>

The day of the month when the invoice for the billing profile is generated.

isInvoiceEmailOptIn
Nullable<Boolean>

Flag controlling whether the invoices for the billing profile are sent through email.

invoiceRecipients
IEnumerable<String>

The list of email addresses to receive invoices by email for the billing profile.

poNumber
String

The default purchase order number that will appear on the invoices generated for the billing profile.

shipTo
BillingAddressDetails

The default address where the products are shipped, or the services are being used. If a ship to is not specified for a product or a subscription, then this address will be used.

soldTo
BillingAddressDetails

The address of the individual or organization that is responsible for the billing account.

spendingLimit
Nullable<BillingSpendingLimit>

The billing profile spending limit.

spendingLimitDetails
IEnumerable<SpendingLimitDetails>

The details of billing profile spending limit.

status
Nullable<BillingProfileStatus>

The status of the billing profile.

statusReasonCode
Nullable<BillingProfileStatusReasonCode>

Reason for the specified billing profile status.

systemId
String

The system generated unique identifier for a billing profile.

tags
IDictionary<String,String>

Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.

targetClouds
IEnumerable<String>

Identifies the cloud environments that are associated with a billing profile. This is a system managed optional field and gets updated as the billing profile gets associated with accounts in various clouds.

currentPaymentTerm
BillingPaymentTerm

The current payment term of the billing profile.

otherPaymentTerms
IEnumerable<BillingPaymentTerm>

The other payment terms of the billing profile.

Returns

A new BillingProfileProperties instance for mocking.

Applies to