閱讀英文

共用方式為


Microsoft.Billing billingAccounts/associatedTenants

選擇部署語言

Bicep 資源定義

billingAccounts/associatedTenants 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Billing/billingAccounts/associatedTenants 資源,請將下列 Bicep 新增至範本。

Bicep
resource symbolicname 'Microsoft.Billing/billingAccounts/associatedTenants@2024-04-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    billingManagementState: 'string'
    displayName: 'string'
    provisioningManagementState: 'string'
    tenantId: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

AssociatedTenantProperties

名字 描述 價值
billingManagementState 狀態會決定是否可以為來自相關聯租用戶的使用者指派商務活動的角色,例如檢視和下載發票、管理付款,以及進行購買。 'Active'
'NotAllowed'
'Other'
'Revoked'
displayName 相關聯租用戶的名稱。 字串
provisioningManagementState 狀態會決定是否可以在相關聯的租使用者中布建訂用帳戶和授權。 它可以設定為 [擱置] 以起始計費要求。 'Active'
'BillingRequestDeclined'
'BillingRequestExpired'
'NotRequested'
'Other'
'Pending'
'Revoked'
tenantId 可唯一識別租用戶的標識碼。 字串

Microsoft.Billing/billingAccounts/associatedTenants

名字 描述 價值
名字 資源名稱 字串

約束:
模式 = ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ (必要)
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型資源的符號名稱:billingAccounts
性能 相關聯的租使用者。 AssociatedTenantProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ProxyResourceWithTags

名字 描述 價值

ARM 樣本資源定義

billingAccounts/associatedTenants 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Billing/billingAccounts/associatedTenants 資源,請將下列 JSON 新增至範本。

JSON
{
  "type": "Microsoft.Billing/billingAccounts/associatedTenants",
  "apiVersion": "2024-04-01",
  "name": "string",
  "properties": {
    "billingManagementState": "string",
    "displayName": "string",
    "provisioningManagementState": "string",
    "tenantId": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

AssociatedTenantProperties

名字 描述 價值
billingManagementState 狀態會決定是否可以為來自相關聯租用戶的使用者指派商務活動的角色,例如檢視和下載發票、管理付款,以及進行購買。 'Active'
'NotAllowed'
'Other'
'Revoked'
displayName 相關聯租用戶的名稱。 字串
provisioningManagementState 狀態會決定是否可以在相關聯的租使用者中布建訂用帳戶和授權。 它可以設定為 [擱置] 以起始計費要求。 'Active'
'BillingRequestDeclined'
'BillingRequestExpired'
'NotRequested'
'Other'
'Pending'
'Revoked'
tenantId 可唯一識別租用戶的標識碼。 字串

Microsoft.Billing/billingAccounts/associatedTenants

名字 描述 價值
apiVersion API 版本 '2024-04-01'
名字 資源名稱 字串

約束:
模式 = ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ (必要)
性能 相關聯的租使用者。 AssociatedTenantProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.Billing/billingAccounts/associatedTenants'

ProxyResourceWithTags

名字 描述 價值

使用範例

Terraform (AzAPI 提供者) 資源定義

billingAccounts/associatedTenants 資源類型可以使用目標作業來部署:

  • 租使用者

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Billing/billingAccounts/associatedTenants 資源,請將下列 Terraform 新增至範本。

Terraform
resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Billing/billingAccounts/associatedTenants@2024-04-01"
  name = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      billingManagementState = "string"
      displayName = "string"
      provisioningManagementState = "string"
      tenantId = "string"
    }
  })
}

屬性值

AssociatedTenantProperties

名字 描述 價值
billingManagementState 狀態會決定是否可以為來自相關聯租用戶的使用者指派商務活動的角色,例如檢視和下載發票、管理付款,以及進行購買。 'Active'
'NotAllowed'
'Other'
'Revoked'
displayName 相關聯租用戶的名稱。 字串
provisioningManagementState 狀態會決定是否可以在相關聯的租使用者中布建訂用帳戶和授權。 它可以設定為 [擱置] 以起始計費要求。 'Active'
'BillingRequestDeclined'
'BillingRequestExpired'
'NotRequested'
'Other'
'Pending'
'Revoked'
tenantId 可唯一識別租用戶的標識碼。 字串

Microsoft.Billing/billingAccounts/associatedTenants

名字 描述 價值
名字 資源名稱 字串

約束:
模式 = ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ (必要)
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:billingAccounts
性能 相關聯的租使用者。 AssociatedTenantProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.Billing/billingAccounts/associatedTenants@2024-04-01”

ProxyResourceWithTags

名字 描述 價值