BillingPropertyOperations interface

Interface representing a BillingPropertyOperations.

Methods

get(BillingPropertyGetOptionalParams)

Gets the billing properties for a subscription

update(BillingProperty, BillingPropertyUpdateOptionalParams)

Updates the billing property of a subscription. Currently, cost center can be updated for billing accounts with agreement type Microsoft Customer Agreement and subscription service usage address can be updated for billing accounts with agreement type Microsoft Online Service Program.

Method Details

get(BillingPropertyGetOptionalParams)

Gets the billing properties for a subscription

function get(options?: BillingPropertyGetOptionalParams): Promise<BillingProperty>

Parameters

options
BillingPropertyGetOptionalParams

The options parameters.

Returns

Promise<BillingProperty>

update(BillingProperty, BillingPropertyUpdateOptionalParams)

Updates the billing property of a subscription. Currently, cost center can be updated for billing accounts with agreement type Microsoft Customer Agreement and subscription service usage address can be updated for billing accounts with agreement type Microsoft Online Service Program.

function update(parameters: BillingProperty, options?: BillingPropertyUpdateOptionalParams): Promise<BillingProperty>

Parameters

parameters
BillingProperty

A billing property.

options
BillingPropertyUpdateOptionalParams

The options parameters.

Returns

Promise<BillingProperty>