AssociatedTenants interface
表示 AssociatedTenants 的接口。
方法
| begin |
为计费帐户创建或更新关联的租户。 |
| begin |
为计费帐户创建或更新关联的租户。 |
| begin |
删除计费帐户的关联租户。 |
| begin |
删除计费帐户的关联租户。 |
| get(string, string, Associated |
按 ID 获取关联的租户。 |
| list |
列出可与计费帐户协作的关联租户,这些租户可以协作处理商务活动,例如查看和下载发票、管理付款、进行购买以及管理或预配许可证。 |
方法详细信息
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。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<AssociatedTenantsDeleteHeaders>, AssociatedTenantsDeleteHeaders>>
beginDeleteAndWait(string, string, AssociatedTenantsDeleteOptionalParams)
删除计费帐户的关联租户。
function beginDeleteAndWait(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsDeleteOptionalParams): Promise<AssociatedTenantsDeleteHeaders>
参数
- billingAccountName
-
string
唯一标识计费帐户的 ID。
- associatedTenantName
-
string
唯一标识租户的 ID。
选项参数。
返回
Promise<AssociatedTenantsDeleteHeaders>
get(string, string, AssociatedTenantsGetOptionalParams)
按 ID 获取关联的租户。
function get(billingAccountName: string, associatedTenantName: string, options?: AssociatedTenantsGetOptionalParams): Promise<AssociatedTenant>
参数
- billingAccountName
-
string
唯一标识计费帐户的 ID。
- associatedTenantName
-
string
唯一标识租户的 ID。
选项参数。
返回
Promise<AssociatedTenant>
listByBillingAccount(string, AssociatedTenantsListByBillingAccountOptionalParams)
列出可与计费帐户协作的关联租户,这些租户可以协作处理商务活动,例如查看和下载发票、管理付款、进行购买以及管理或预配许可证。
function listByBillingAccount(billingAccountName: string, options?: AssociatedTenantsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<AssociatedTenant, AssociatedTenant[], PageSettings>
参数
- billingAccountName
-
string
唯一标识计费帐户的 ID。
选项参数。