InvoiceSectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.InvoiceSection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Billing.IInvoiceSectionsOperations operations, string billingAccountName, string billingProfileName, string invoiceSectionName, Microsoft.Azure.Management.Billing.Models.InvoiceSection parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Billing.IInvoiceSectionsOperations * string * string * string * Microsoft.Azure.Management.Billing.Models.InvoiceSection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.InvoiceSection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IInvoiceSectionsOperations, billingAccountName As String, billingProfileName As String, invoiceSectionName As String, parameters As InvoiceSection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of InvoiceSection)

Parameters

operations
IInvoiceSectionsOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingProfileName
String

The ID that uniquely identifies a billing profile.

invoiceSectionName
String

The ID that uniquely identifies an invoice section.

parameters
InvoiceSection

The new or updated invoice section.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to