BillingSubscriptionsAliases interface

Interface representing a BillingSubscriptionsAliases.

Methods

beginCreateOrUpdate(string, string, BillingSubscriptionAlias, BillingSubscriptionsAliasesCreateOrUpdateOptionalParams)

Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.

beginCreateOrUpdateAndWait(string, string, BillingSubscriptionAlias, BillingSubscriptionsAliasesCreateOrUpdateOptionalParams)

Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.

get(string, string, BillingSubscriptionsAliasesGetOptionalParams)

Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.

listByBillingAccount(string, BillingSubscriptionsAliasesListByBillingAccountOptionalParams)

Lists the subscription aliases for a billing account. The operation is supported for seat based billing subscriptions.

Method Details

beginCreateOrUpdate(string, string, BillingSubscriptionAlias, BillingSubscriptionsAliasesCreateOrUpdateOptionalParams)

Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.

function beginCreateOrUpdate(billingAccountName: string, aliasName: string, parameters: BillingSubscriptionAlias, options?: BillingSubscriptionsAliasesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BillingSubscriptionAlias>, BillingSubscriptionAlias>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

aliasName

string

The ID that uniquely identifies a subscription alias.

parameters
BillingSubscriptionAlias

A billing subscription alias.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingSubscriptionAlias>, BillingSubscriptionAlias>>

beginCreateOrUpdateAndWait(string, string, BillingSubscriptionAlias, BillingSubscriptionsAliasesCreateOrUpdateOptionalParams)

Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.

function beginCreateOrUpdateAndWait(billingAccountName: string, aliasName: string, parameters: BillingSubscriptionAlias, options?: BillingSubscriptionsAliasesCreateOrUpdateOptionalParams): Promise<BillingSubscriptionAlias>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

aliasName

string

The ID that uniquely identifies a subscription alias.

parameters
BillingSubscriptionAlias

A billing subscription alias.

Returns

get(string, string, BillingSubscriptionsAliasesGetOptionalParams)

Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.

function get(billingAccountName: string, aliasName: string, options?: BillingSubscriptionsAliasesGetOptionalParams): Promise<BillingSubscriptionAlias>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

aliasName

string

The ID that uniquely identifies a subscription alias.

options
BillingSubscriptionsAliasesGetOptionalParams

The options parameters.

Returns

listByBillingAccount(string, BillingSubscriptionsAliasesListByBillingAccountOptionalParams)

Lists the subscription aliases for a billing account. The operation is supported for seat based billing subscriptions.

function listByBillingAccount(billingAccountName: string, options?: BillingSubscriptionsAliasesListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingSubscriptionAlias, BillingSubscriptionAlias[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

Returns