你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BillingAccountResource.ValidatePaymentTerms 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.
Validates payment terms on a billing account with agreement type 'Microsoft Customer Agreement' and account type 'Enterprise'.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/validatePaymentTerms
- Operation Id: BillingAccounts_ValidatePaymentTerms
- Default Api Version: 2024-04-01
- Resource: BillingAccountResource
public virtual Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult> ValidatePaymentTerms (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> arrayOfPaymentTerm, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidatePaymentTerms : seq<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult>
override this.ValidatePaymentTerms : seq<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult>
Public Overridable Function ValidatePaymentTerms (arrayOfPaymentTerm As IEnumerable(Of BillingPaymentTerm), Optional cancellationToken As CancellationToken = Nothing) As Response(Of PaymentTermsEligibilityResult)
Parameters
- arrayOfPaymentTerm
- IEnumerable<BillingPaymentTerm>
The properties of payment term.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
arrayOfPaymentTerm
is null.