BillingSubscriptionsAliases interface
Interface representing a BillingSubscriptionsAliases.
Methods
begin |
Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions. |
begin |
Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions. |
get(string, string, Billing |
Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions. |
list |
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.
The options parameters.
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.
The options parameters.
Returns
Promise<BillingSubscriptionAlias>
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.
The options parameters.
Returns
Promise<BillingSubscriptionAlias>
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.
The options parameters.