AssociatedTenantsClient Interface

public interface AssociatedTenantsClient

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

Method Summary

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

Create or update an associated tenant for the billing account.

abstract SyncPoller<PollResult<AssociatedTenantInner>,AssociatedTenantInner> beginCreateOrUpdate(String billingAccountName, String associatedTenantName, AssociatedTenantInner parameters, Context context)

Create or update an associated tenant for the billing account.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String associatedTenantName)

Deletes an associated tenant for a billing account.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String associatedTenantName, Context context)

Deletes an associated tenant for a billing account.

abstract AssociatedTenantInner createOrUpdate(String billingAccountName, String associatedTenantName, AssociatedTenantInner parameters)

Create or update an associated tenant for the billing account.

abstract AssociatedTenantInner createOrUpdate(String billingAccountName, String associatedTenantName, AssociatedTenantInner parameters, Context context)

Create or update an associated tenant for the billing account.

abstract void delete(String billingAccountName, String associatedTenantName)

Deletes an associated tenant for a billing account.

abstract void delete(String billingAccountName, String associatedTenantName, Context context)

Deletes an associated tenant for a billing account.

abstract AssociatedTenantInner get(String billingAccountName, String associatedTenantName)

Gets an associated tenant by ID.

abstract Response<AssociatedTenantInner> getWithResponse(String billingAccountName, String associatedTenantName, Context context)

Gets an associated tenant by ID.

abstract PagedIterable<AssociatedTenantInner> listByBillingAccount(String billingAccountName)

Lists the associated tenants that can collaborate with the billing account on commerce activities like viewing and downloading invoices, managing payments, making purchases, and managing or provisioning licenses.

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

Lists the associated tenants that can collaborate with the billing account on commerce activities like viewing and downloading invoices, managing payments, making purchases, and managing or provisioning licenses.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<AssociatedTenantInner>,AssociatedTenantInner> beginCreateOrUpdate(String billingAccountName, String associatedTenantName, AssociatedTenantInner parameters)

Create or update an associated tenant for the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.
parameters - An associated tenant.

Returns:

the SyncPoller<T,U> for polling of an associated tenant.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<AssociatedTenantInner>,AssociatedTenantInner> beginCreateOrUpdate(String billingAccountName, String associatedTenantName, AssociatedTenantInner parameters, Context context)

Create or update an associated tenant for the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.
parameters - An associated tenant.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an associated tenant.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String associatedTenantName)

Deletes an associated tenant for a billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String associatedTenantName, Context context)

Deletes an associated tenant for a billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

createOrUpdate

public abstract AssociatedTenantInner createOrUpdate(String billingAccountName, String associatedTenantName, AssociatedTenantInner parameters)

Create or update an associated tenant for the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.
parameters - An associated tenant.

Returns:

an associated tenant.

createOrUpdate

public abstract AssociatedTenantInner createOrUpdate(String billingAccountName, String associatedTenantName, AssociatedTenantInner parameters, Context context)

Create or update an associated tenant for the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.
parameters - An associated tenant.
context - The context to associate with this operation.

Returns:

an associated tenant.

delete

public abstract void delete(String billingAccountName, String associatedTenantName)

Deletes an associated tenant for a billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.

delete

public abstract void delete(String billingAccountName, String associatedTenantName, Context context)

Deletes an associated tenant for a billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.
context - The context to associate with this operation.

get

public abstract AssociatedTenantInner get(String billingAccountName, String associatedTenantName)

Gets an associated tenant by ID.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.

Returns:

an associated tenant by ID.

getWithResponse

public abstract Response<AssociatedTenantInner> getWithResponse(String billingAccountName, String associatedTenantName, Context context)

Gets an associated tenant by ID.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
associatedTenantName - The ID that uniquely identifies a tenant.
context - The context to associate with this operation.

Returns:

an associated tenant by ID along with Response<T>.

listByBillingAccount

public abstract PagedIterable<AssociatedTenantInner> listByBillingAccount(String billingAccountName)

Lists the associated tenants that can collaborate with the billing account on commerce activities like viewing and downloading invoices, managing payments, making purchases, and managing or provisioning licenses.

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<AssociatedTenantInner> listByBillingAccount(String billingAccountName, Boolean includeRevoked, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the associated tenants that can collaborate with the billing account on commerce activities like viewing and downloading invoices, managing payments, making purchases, and managing or provisioning licenses.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
includeRevoked - Can be used to get revoked associated tenants.
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