AssociatedTenants interface

Interface representing a AssociatedTenants.

Methods

beginCreateOrUpdate(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

Create or update an associated tenant for the billing account.

beginCreateOrUpdateAndWait(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

Create or update an associated tenant for the billing account.

beginDelete(string, string, AssociatedTenantsDeleteOptionalParams)

Deletes an associated tenant for a billing account.

beginDeleteAndWait(string, string, AssociatedTenantsDeleteOptionalParams)

Deletes an associated tenant for a billing account.

get(string, string, AssociatedTenantsGetOptionalParams)

Gets an associated tenant by ID.

listByBillingAccount(string, AssociatedTenantsListByBillingAccountOptionalParams)

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(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

Create or update an associated tenant for the billing account.

function beginCreateOrUpdate(billingAccountName: string, associatedTenantName: string, parameters: AssociatedTenant, options?: AssociatedTenantsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AssociatedTenant>, AssociatedTenant>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

associatedTenantName

string

The ID that uniquely identifies a tenant.

parameters
AssociatedTenant

An associated tenant.

options
AssociatedTenantsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

Create or update an associated tenant for the billing account.

function beginCreateOrUpdateAndWait(billingAccountName: string, associatedTenantName: string, parameters: AssociatedTenant, options?: AssociatedTenantsCreateOrUpdateOptionalParams): Promise<AssociatedTenant>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

associatedTenantName

string

The ID that uniquely identifies a tenant.

parameters
AssociatedTenant

An associated tenant.

options
AssociatedTenantsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<AssociatedTenant>

beginDelete(string, string, AssociatedTenantsDeleteOptionalParams)

Deletes an associated tenant for a billing account.

function beginDelete(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AssociatedTenantsDeleteHeaders>, AssociatedTenantsDeleteHeaders>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

associatedTenantName

string

The ID that uniquely identifies a tenant.

options
AssociatedTenantsDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, AssociatedTenantsDeleteOptionalParams)

Deletes an associated tenant for a billing account.

function beginDeleteAndWait(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams): Promise<AssociatedTenantsDeleteHeaders>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

associatedTenantName

string

The ID that uniquely identifies a tenant.

options
AssociatedTenantsDeleteOptionalParams

The options parameters.

Returns

get(string, string, AssociatedTenantsGetOptionalParams)

Gets an associated tenant by ID.

function get(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsGetOptionalParams): Promise<AssociatedTenant>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

associatedTenantName

string

The ID that uniquely identifies a tenant.

options
AssociatedTenantsGetOptionalParams

The options parameters.

Returns

Promise<AssociatedTenant>

listByBillingAccount(string, AssociatedTenantsListByBillingAccountOptionalParams)

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.

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

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

options
AssociatedTenantsListByBillingAccountOptionalParams

The options parameters.

Returns