你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AssociatedTenants interface

表示 AssociatedTenants 的接口。

方法

beginCreateOrUpdate(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

为计费帐户创建或更新关联的租户。

beginCreateOrUpdateAndWait(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

为计费帐户创建或更新关联的租户。

beginDelete(string, string, AssociatedTenantsDeleteOptionalParams)

删除计费帐户的关联租户。

beginDeleteAndWait(string, string, AssociatedTenantsDeleteOptionalParams)

删除计费帐户的关联租户。

get(string, string, AssociatedTenantsGetOptionalParams)

按 ID 获取关联的租户。

listByBillingAccount(string, AssociatedTenantsListByBillingAccountOptionalParams)

列出可与计费帐户协作的关联租户,这些租户可以协作处理商务活动,例如查看和下载发票、管理付款、进行购买以及管理或预配许可证。

方法详细信息

beginCreateOrUpdate(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

为计费帐户创建或更新关联的租户。

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

参数

billingAccountName

string

唯一标识计费帐户的 ID。

associatedTenantName

string

唯一标识租户的 ID。

parameters
AssociatedTenant

关联的租户。

返回

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

beginCreateOrUpdateAndWait(string, string, AssociatedTenant, AssociatedTenantsCreateOrUpdateOptionalParams)

为计费帐户创建或更新关联的租户。

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

参数

billingAccountName

string

唯一标识计费帐户的 ID。

associatedTenantName

string

唯一标识租户的 ID。

parameters
AssociatedTenant

关联的租户。

返回

Promise<AssociatedTenant>

beginDelete(string, string, AssociatedTenantsDeleteOptionalParams)

删除计费帐户的关联租户。

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

参数

billingAccountName

string

唯一标识计费帐户的 ID。

associatedTenantName

string

唯一标识租户的 ID。

options
AssociatedTenantsDeleteOptionalParams

选项参数。

返回

beginDeleteAndWait(string, string, AssociatedTenantsDeleteOptionalParams)

删除计费帐户的关联租户。

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

参数

billingAccountName

string

唯一标识计费帐户的 ID。

associatedTenantName

string

唯一标识租户的 ID。

options
AssociatedTenantsDeleteOptionalParams

选项参数。

返回

get(string, string, AssociatedTenantsGetOptionalParams)

按 ID 获取关联的租户。

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

参数

billingAccountName

string

唯一标识计费帐户的 ID。

associatedTenantName

string

唯一标识租户的 ID。

options
AssociatedTenantsGetOptionalParams

选项参数。

返回

Promise<AssociatedTenant>

listByBillingAccount(string, AssociatedTenantsListByBillingAccountOptionalParams)

列出可与计费帐户协作的关联租户,这些租户可以协作处理商务活动,例如查看和下载发票、管理付款、进行购买以及管理或预配许可证。

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

参数

billingAccountName

string

唯一标识计费帐户的 ID。

返回