AssociatedTenantsOperations interface

Interface representing a AssociatedTenants operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Create or update an associated tenant for the billing account.

delete

Deletes an associated tenant for a billing account.

get

Gets an associated tenant by ID.

listByBillingAccount

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.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams) => Promise<void>

Property Value

(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams) => Promise<void>

createOrUpdate

Create or update an associated tenant for the billing account.

createOrUpdate: (billingAccountName: string, associatedTenantName: string, parameters: AssociatedTenant, options?: AssociatedTenantsCreateOrUpdateOptionalParams) => PollerLike<OperationState<AssociatedTenant>, AssociatedTenant>

Property Value

(billingAccountName: string, associatedTenantName: string, parameters: AssociatedTenant, options?: AssociatedTenantsCreateOrUpdateOptionalParams) => PollerLike<OperationState<AssociatedTenant>, AssociatedTenant>

delete

Deletes an associated tenant for a billing account.

delete: (billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets an associated tenant by ID.

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

Property Value

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

listByBillingAccount

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.

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

Property Value

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