BillingProfilesOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.

public static Microsoft.Azure.Management.Billing.Models.BillingProfile CreateOrUpdate (this Microsoft.Azure.Management.Billing.IBillingProfilesOperations operations, string billingAccountName, string billingProfileName, Microsoft.Azure.Management.Billing.Models.BillingProfile parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Billing.IBillingProfilesOperations * string * string * Microsoft.Azure.Management.Billing.Models.BillingProfile -> Microsoft.Azure.Management.Billing.Models.BillingProfile
<Extension()>
Public Function CreateOrUpdate (operations As IBillingProfilesOperations, billingAccountName As String, billingProfileName As String, parameters As BillingProfile) As BillingProfile

Parameters

operations
IBillingProfilesOperations

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.

parameters
BillingProfile

The new or updated billing profile.

Returns

Applies to