BillingSubscriptionsAliasesClient Interface

public interface BillingSubscriptionsAliasesClient

An instance of this class provides access to all the operations defined in BillingSubscriptionsAliasesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<BillingSubscriptionAliasInner>,BillingSubscriptionAliasInner> beginCreateOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters)

Creates or updates a billing subscription by its alias ID.

abstract SyncPoller<PollResult<BillingSubscriptionAliasInner>,BillingSubscriptionAliasInner> beginCreateOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters, Context context)

Creates or updates a billing subscription by its alias ID.

abstract BillingSubscriptionAliasInner createOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters)

Creates or updates a billing subscription by its alias ID.

abstract BillingSubscriptionAliasInner createOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters, Context context)

Creates or updates a billing subscription by its alias ID.

abstract BillingSubscriptionAliasInner get(String billingAccountName, String aliasName)

Gets a subscription by its alias ID.

abstract Response<BillingSubscriptionAliasInner> getWithResponse(String billingAccountName, String aliasName, Context context)

Gets a subscription by its alias ID.

abstract PagedIterable<BillingSubscriptionAliasInner> listByBillingAccount(String billingAccountName)

Lists the subscription aliases for a billing account.

abstract PagedIterable<BillingSubscriptionAliasInner> listByBillingAccount(String billingAccountName, Boolean includeDeleted, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the subscription aliases for a billing account.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<BillingSubscriptionAliasInner>,BillingSubscriptionAliasInner> beginCreateOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
aliasName - The ID that uniquely identifies a subscription alias.
parameters - A billing subscription alias.

Returns:

the SyncPoller<T,U> for polling of a billing subscription alias.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<BillingSubscriptionAliasInner>,BillingSubscriptionAliasInner> beginCreateOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
aliasName - The ID that uniquely identifies a subscription alias.
parameters - A billing subscription alias.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a billing subscription alias.

createOrUpdate

public abstract BillingSubscriptionAliasInner createOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
aliasName - The ID that uniquely identifies a subscription alias.
parameters - A billing subscription alias.

Returns:

a billing subscription alias.

createOrUpdate

public abstract BillingSubscriptionAliasInner createOrUpdate(String billingAccountName, String aliasName, BillingSubscriptionAliasInner parameters, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
aliasName - The ID that uniquely identifies a subscription alias.
parameters - A billing subscription alias.
context - The context to associate with this operation.

Returns:

a billing subscription alias.

get

public abstract BillingSubscriptionAliasInner get(String billingAccountName, String aliasName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
aliasName - The ID that uniquely identifies a subscription alias.

Returns:

a subscription by its alias ID.

getWithResponse

public abstract Response<BillingSubscriptionAliasInner> getWithResponse(String billingAccountName, String aliasName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
aliasName - The ID that uniquely identifies a subscription alias.
context - The context to associate with this operation.

Returns:

a subscription by its alias ID along with Response<T>.

listByBillingAccount

public abstract PagedIterable<BillingSubscriptionAliasInner> listByBillingAccount(String billingAccountName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingAccount

public abstract PagedIterable<BillingSubscriptionAliasInner> listByBillingAccount(String billingAccountName, Boolean includeDeleted, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
includeDeleted - Can be used to get deleted billing subscriptions.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

Applies to