AssociatedTenants interface
Interface representing a AssociatedTenants.
Methods
begin |
Create or update an associated tenant for the billing account. |
begin |
Create or update an associated tenant for the billing account. |
begin |
Deletes an associated tenant for a billing account. |
begin |
Deletes an associated tenant for a billing account. |
get(string, string, Associated |
Gets an associated tenant by ID. |
list |
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.
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.
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AssociatedTenantsDeleteHeaders>, AssociatedTenantsDeleteHeaders>>
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.
The options parameters.
Returns
Promise<AssociatedTenantsDeleteHeaders>
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.
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.
The options parameters.