共用方式為


Microsoft.Billing billingAccounts/billingProfiles

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.Billing/billingAccounts/billingProfiles@2024-04-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    billTo: {
      addressLine1: 'string'
      addressLine2: 'string'
      addressLine3: 'string'
      city: 'string'
      companyName: 'string'
      country: 'string'
      district: 'string'
      email: 'string'
      firstName: 'string'
      isValidAddress: bool
      lastName: 'string'
      middleName: 'string'
      phoneNumber: 'string'
      postalCode: 'string'
      region: 'string'
    }
    currentPaymentTerm: {
      endDate: 'string'
      startDate: 'string'
      term: 'string'
    }
    displayName: 'string'
    enabledAzurePlans: [
      {
        productId: 'string'
        skuDescription: 'string'
        skuId: 'string'
      }
    ]
    indirectRelationshipInfo: {
      billingAccountName: 'string'
      billingProfileName: 'string'
      displayName: 'string'
    }
    invoiceEmailOptIn: bool
    invoiceRecipients: [
      'string'
    ]
    poNumber: 'string'
    shipTo: {
      addressLine1: 'string'
      addressLine2: 'string'
      addressLine3: 'string'
      city: 'string'
      companyName: 'string'
      country: 'string'
      district: 'string'
      email: 'string'
      firstName: 'string'
      isValidAddress: bool
      lastName: 'string'
      middleName: 'string'
      phoneNumber: 'string'
      postalCode: 'string'
      region: 'string'
    }
    soldTo: {
      addressLine1: 'string'
      addressLine2: 'string'
      addressLine3: 'string'
      city: 'string'
      companyName: 'string'
      country: 'string'
      district: 'string'
      email: 'string'
      firstName: 'string'
      isValidAddress: bool
      lastName: 'string'
      middleName: 'string'
      phoneNumber: 'string'
      postalCode: 'string'
      region: 'string'
    }
    tags: {
      {customized property}: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

AzurePlan

名字 描述 價值
productId 可唯一識別產品的標識碼。 字串
skuDescription SKU 描述。 字串
skuId 可唯一識別 SKU 的識別碼。 字串

BillingProfileProperties

名字 描述 價值
billTo 帳單位址。 BillingProfilePropertiesBillTo
currentPaymentTerm 帳單配置檔的目前付款期限。 BillingProfilePropertiesCurrentPaymentTerm
displayName 帳單配置檔的名稱。 字串
enabledAzurePlans 已啟用 Azure 方案的相關信息。 AzurePlan[]
indirectRelationshipInfo 識別與間接購買動作中另一個帳單配置文件連結的計費配置檔。 BillingProfilePropertiesIndirectRelationshipInfo
invoiceEmailOptIn 旗標,控制帳單配置檔的發票是否透過電子郵件傳送。 bool
invoiceRecipients 要透過電子郵件接收帳單配置檔發票的電子郵件地址清單。 string[]
poNumber 默認的採購單號碼會出現在針對帳單配置檔產生的發票上。 字串
shipTo 產品出貨的預設位址,或正在使用服務。 如果未針對產品或訂用帳戶指定寄送至 ,則會使用此位址。 BillingProfilePropertiesShipTo
soldTo 負責計費帳戶的個人或組織位址。 BillingProfilePropertiesSoldTo
標籤 與資源相關聯的元數據字典。 支援的索引鍵/值長度上限為 256 個字元。 索引鍵/值不應空白值或 Null。 索引鍵不能包含 <> % & \ ? / BillingProfilePropertiesTags

BillingProfilePropertiesBillTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesCurrentPaymentTerm

名字 描述 價值
endDate 定義之「付款期限」結束且一律為 UTC 的日期。 字串
startDate 定義之「付款期限」的日期將會生效,且一律為UTC。 字串
術語 表示 netXX 格式的持續時間。 一律以天為單位。 字串

BillingProfilePropertiesIndirectRelationshipInfo

名字 描述 價值
billingAccountName 合作夥伴或客戶的計費帳戶名稱,以取得間接動作。 字串
billingProfileName 合作夥伴或客戶的帳單配置檔名稱,以取得間接動作。 字串
displayName 間接動作之合作夥伴或客戶的顯示名稱。 字串

BillingProfilePropertiesShipTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesSoldTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesTags

名字 描述 價值

Microsoft.Billing/billingAccounts/billingProfiles

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

約束:
模式 = ^[a-zA-Z\d-_]{1,128}$ (必要)
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型資源的符號名稱:billingAccounts
性能 帳單配置檔。 BillingProfileProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ProxyResourceWithTags

名字 描述 價值

ARM 樣本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.Billing/billingAccounts/billingProfiles",
  "apiVersion": "2024-04-01",
  "name": "string",
  "properties": {
    "billTo": {
      "addressLine1": "string",
      "addressLine2": "string",
      "addressLine3": "string",
      "city": "string",
      "companyName": "string",
      "country": "string",
      "district": "string",
      "email": "string",
      "firstName": "string",
      "isValidAddress": "bool",
      "lastName": "string",
      "middleName": "string",
      "phoneNumber": "string",
      "postalCode": "string",
      "region": "string"
    },
    "currentPaymentTerm": {
      "endDate": "string",
      "startDate": "string",
      "term": "string"
    },
    "displayName": "string",
    "enabledAzurePlans": [
      {
        "productId": "string",
        "skuDescription": "string",
        "skuId": "string"
      }
    ],
    "indirectRelationshipInfo": {
      "billingAccountName": "string",
      "billingProfileName": "string",
      "displayName": "string"
    },
    "invoiceEmailOptIn": "bool",
    "invoiceRecipients": [ "string" ],
    "poNumber": "string",
    "shipTo": {
      "addressLine1": "string",
      "addressLine2": "string",
      "addressLine3": "string",
      "city": "string",
      "companyName": "string",
      "country": "string",
      "district": "string",
      "email": "string",
      "firstName": "string",
      "isValidAddress": "bool",
      "lastName": "string",
      "middleName": "string",
      "phoneNumber": "string",
      "postalCode": "string",
      "region": "string"
    },
    "soldTo": {
      "addressLine1": "string",
      "addressLine2": "string",
      "addressLine3": "string",
      "city": "string",
      "companyName": "string",
      "country": "string",
      "district": "string",
      "email": "string",
      "firstName": "string",
      "isValidAddress": "bool",
      "lastName": "string",
      "middleName": "string",
      "phoneNumber": "string",
      "postalCode": "string",
      "region": "string"
    },
    "tags": {
      "{customized property}": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

AzurePlan

名字 描述 價值
productId 可唯一識別產品的標識碼。 字串
skuDescription SKU 描述。 字串
skuId 可唯一識別 SKU 的識別碼。 字串

BillingProfileProperties

名字 描述 價值
billTo 帳單位址。 BillingProfilePropertiesBillTo
currentPaymentTerm 帳單配置檔的目前付款期限。 BillingProfilePropertiesCurrentPaymentTerm
displayName 帳單配置檔的名稱。 字串
enabledAzurePlans 已啟用 Azure 方案的相關信息。 AzurePlan[]
indirectRelationshipInfo 識別與間接購買動作中另一個帳單配置文件連結的計費配置檔。 BillingProfilePropertiesIndirectRelationshipInfo
invoiceEmailOptIn 旗標,控制帳單配置檔的發票是否透過電子郵件傳送。 bool
invoiceRecipients 要透過電子郵件接收帳單配置檔發票的電子郵件地址清單。 string[]
poNumber 默認的採購單號碼會出現在針對帳單配置檔產生的發票上。 字串
shipTo 產品出貨的預設位址,或正在使用服務。 如果未針對產品或訂用帳戶指定寄送至 ,則會使用此位址。 BillingProfilePropertiesShipTo
soldTo 負責計費帳戶的個人或組織位址。 BillingProfilePropertiesSoldTo
標籤 與資源相關聯的元數據字典。 支援的索引鍵/值長度上限為 256 個字元。 索引鍵/值不應空白值或 Null。 索引鍵不能包含 <> % & \ ? / BillingProfilePropertiesTags

BillingProfilePropertiesBillTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesCurrentPaymentTerm

名字 描述 價值
endDate 定義之「付款期限」結束且一律為 UTC 的日期。 字串
startDate 定義之「付款期限」的日期將會生效,且一律為UTC。 字串
術語 表示 netXX 格式的持續時間。 一律以天為單位。 字串

BillingProfilePropertiesIndirectRelationshipInfo

名字 描述 價值
billingAccountName 合作夥伴或客戶的計費帳戶名稱,以取得間接動作。 字串
billingProfileName 合作夥伴或客戶的帳單配置檔名稱,以取得間接動作。 字串
displayName 間接動作之合作夥伴或客戶的顯示名稱。 字串

BillingProfilePropertiesShipTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesSoldTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesTags

名字 描述 價值

Microsoft.Billing/billingAccounts/billingProfiles

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

約束:
模式 = ^[a-zA-Z\d-_]{1,128}$ (必要)
性能 帳單配置檔。 BillingProfileProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.Billing/billingAccounts/billingProfiles'

ProxyResourceWithTags

名字 描述 價值

Terraform (AzAPI 提供者) 資源定義

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

  • 租使用者

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Billing/billingAccounts/billingProfiles@2024-04-01"
  name = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      billTo = {
        addressLine1 = "string"
        addressLine2 = "string"
        addressLine3 = "string"
        city = "string"
        companyName = "string"
        country = "string"
        district = "string"
        email = "string"
        firstName = "string"
        isValidAddress = bool
        lastName = "string"
        middleName = "string"
        phoneNumber = "string"
        postalCode = "string"
        region = "string"
      }
      currentPaymentTerm = {
        endDate = "string"
        startDate = "string"
        term = "string"
      }
      displayName = "string"
      enabledAzurePlans = [
        {
          productId = "string"
          skuDescription = "string"
          skuId = "string"
        }
      ]
      indirectRelationshipInfo = {
        billingAccountName = "string"
        billingProfileName = "string"
        displayName = "string"
      }
      invoiceEmailOptIn = bool
      invoiceRecipients = [
        "string"
      ]
      poNumber = "string"
      shipTo = {
        addressLine1 = "string"
        addressLine2 = "string"
        addressLine3 = "string"
        city = "string"
        companyName = "string"
        country = "string"
        district = "string"
        email = "string"
        firstName = "string"
        isValidAddress = bool
        lastName = "string"
        middleName = "string"
        phoneNumber = "string"
        postalCode = "string"
        region = "string"
      }
      soldTo = {
        addressLine1 = "string"
        addressLine2 = "string"
        addressLine3 = "string"
        city = "string"
        companyName = "string"
        country = "string"
        district = "string"
        email = "string"
        firstName = "string"
        isValidAddress = bool
        lastName = "string"
        middleName = "string"
        phoneNumber = "string"
        postalCode = "string"
        region = "string"
      }
      tags = {
        {customized property} = "string"
      }
    }
  })
}

屬性值

AzurePlan

名字 描述 價值
productId 可唯一識別產品的標識碼。 字串
skuDescription SKU 描述。 字串
skuId 可唯一識別 SKU 的識別碼。 字串

BillingProfileProperties

名字 描述 價值
billTo 帳單位址。 BillingProfilePropertiesBillTo
currentPaymentTerm 帳單配置檔的目前付款期限。 BillingProfilePropertiesCurrentPaymentTerm
displayName 帳單配置檔的名稱。 字串
enabledAzurePlans 已啟用 Azure 方案的相關信息。 AzurePlan[]
indirectRelationshipInfo 識別與間接購買動作中另一個帳單配置文件連結的計費配置檔。 BillingProfilePropertiesIndirectRelationshipInfo
invoiceEmailOptIn 旗標,控制帳單配置檔的發票是否透過電子郵件傳送。 bool
invoiceRecipients 要透過電子郵件接收帳單配置檔發票的電子郵件地址清單。 string[]
poNumber 默認的採購單號碼會出現在針對帳單配置檔產生的發票上。 字串
shipTo 產品出貨的預設位址,或正在使用服務。 如果未針對產品或訂用帳戶指定寄送至 ,則會使用此位址。 BillingProfilePropertiesShipTo
soldTo 負責計費帳戶的個人或組織位址。 BillingProfilePropertiesSoldTo
標籤 與資源相關聯的元數據字典。 支援的索引鍵/值長度上限為 256 個字元。 索引鍵/值不應空白值或 Null。 索引鍵不能包含 <> % & \ ? / BillingProfilePropertiesTags

BillingProfilePropertiesBillTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesCurrentPaymentTerm

名字 描述 價值
endDate 定義之「付款期限」結束且一律為 UTC 的日期。 字串
startDate 定義之「付款期限」的日期將會生效,且一律為UTC。 字串
術語 表示 netXX 格式的持續時間。 一律以天為單位。 字串

BillingProfilePropertiesIndirectRelationshipInfo

名字 描述 價值
billingAccountName 合作夥伴或客戶的計費帳戶名稱,以取得間接動作。 字串
billingProfileName 合作夥伴或客戶的帳單配置檔名稱,以取得間接動作。 字串
displayName 間接動作之合作夥伴或客戶的顯示名稱。 字串

BillingProfilePropertiesShipTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesSoldTo

名字 描述 價值
addressLine1 位址行 1。 字串

約束:
最小長度 = 1 (必要)
addressLine2 位址行 2。 字串
addressLine3 位址行 3。 字串
城市 位址城市。 字串
companyName 公司名稱。 MCA 個人(隨用隨付)的選用專案。 字串
國家 國家/地區代碼使用 ISO 3166-1 Alpha-2 格式。 字串

約束:
最小長度 = 1 (必要)
位址區域。 字串
電子郵件 電子郵件位址。 字串
firstName 名字。 MCA Enterprise 的選用專案。 字串
isValidAddress 指出位址是否不完整。 bool
lastName 姓。 MCA Enterprise 的選用專案。 字串
middleName 中間名。 字串
phoneNumber 電話號碼。 字串
postalCode 郵遞區號。 字串
地區 位址區域。 字串

BillingProfilePropertiesTags

名字 描述 價值

Microsoft.Billing/billingAccounts/billingProfiles

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

約束:
模式 = ^[a-zA-Z\d-_]{1,128}$ (必要)
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:billingAccounts
性能 帳單配置檔。 BillingProfileProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.Billing/billingAccounts/billingProfiles@2024-04-01”

ProxyResourceWithTags

名字 描述 價值