Microsoft.Billing billingAccounts/billingProfiles

Bicep リソース定義

billingAccounts/billingProfiles リソースの種類は、次の場所にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Billing/billingAccounts/billingProfiles リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.Billing/billingAccounts/billingProfiles@2020-05-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    billTo: {
      addressLine1: 'string'
      addressLine2: 'string'
      addressLine3: 'string'
      city: 'string'
      companyName: 'string'
      country: 'string'
      district: 'string'
      email: 'string'
      firstName: 'string'
      lastName: 'string'
      middleName: 'string'
      phoneNumber: 'string'
      postalCode: 'string'
      region: 'string'
    }
    displayName: 'string'
    enabledAzurePlans: [
      {
        skuId: 'string'
      }
    ]
    invoiceEmailOptIn: bool
    invoiceSections: {
      value: [
        {
          properties: {
            displayName: 'string'
            labels: {}
            tags: {}
          }
        }
      ]
    }
    poNumber: 'string'
    tags: {}
  }
}

プロパティ値

billingAccounts/billingProfiles

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部の子リソース」を参照してください。
種類のリソースのシンボル名: billingAccounts
properties 課金プロファイルのプロパティ。 BillingProfileProperties

BillingProfileProperties

名前 説明
billTo 請求先住所。 AddressDetails
displayName 課金プロファイルの名前。 string
enabledAzurePlans 有効な Azure プランに関する情報。 AzurePlan[]
invoiceEmailOptIn 課金プロファイルの請求書を電子メールで送信するかどうかを制御するフラグ。 [bool]
invoiceSections 課金プロファイルに関連付けられている請求書セクション。 既定では、$expandで指定されていない限り、この値は設定されません。 InvoiceSectionsOnExpand
poNumber 課金プロファイルに対して生成された請求書に表示される発注書名。 string
tags 課金プロファイルのタグ。 object

AddressDetails

名前 説明
addressLine1 住所 1 行目。 string (必須)
addressLine2 住所 2 行目。 string
addressLine3 住所 3 行目。 string
city 住所の市区町村。 string
companyName 会社名 string
country 国コードでは、ISO2、2 桁の形式が使用されます。 string (必須)
district 住所地区。 string
email 電子メール アドレス。 string
firstName 名。 string
lastName 姓。 string
middleName ミドル ネーム。 string
phoneNumber 電話番号。 string
postalCode 郵便番号。 string
region アドレス領域。 string

AzurePlan

名前 説明
skuId SKU ID。 string

InvoiceSectionsOnExpand

名前 説明
value 課金プロファイルに関連付けられている請求書セクション。 InvoiceSection[]

InvoiceSection

名前 説明
properties 請求書セクションのプロパティ。 InvoiceSectionProperties

InvoiceSectionProperties

名前 説明
displayName 請求書セクションの名前。 string
labels 請求書セクションに関連付けられているメタデータのディクショナリ。 object
tags 請求書セクションに関連付けられているメタデータのディクショナリ。 256 文字でサポートされる最大キー/値の長さ。 キー/値は、値を空にしたり、null にしたりしないでください。 キーに { } % & \ を含めないようにしてください。 / object

ARM テンプレート リソース定義

billingAccounts/billingProfiles リソースの種類は、次の場所にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Billing/billingAccounts/billingProfiles リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.Billing/billingAccounts/billingProfiles",
  "apiVersion": "2020-05-01",
  "name": "string",
  "properties": {
    "billTo": {
      "addressLine1": "string",
      "addressLine2": "string",
      "addressLine3": "string",
      "city": "string",
      "companyName": "string",
      "country": "string",
      "district": "string",
      "email": "string",
      "firstName": "string",
      "lastName": "string",
      "middleName": "string",
      "phoneNumber": "string",
      "postalCode": "string",
      "region": "string"
    },
    "displayName": "string",
    "enabledAzurePlans": [
      {
        "skuId": "string"
      }
    ],
    "invoiceEmailOptIn": "bool",
    "invoiceSections": {
      "value": [
        {
          "properties": {
            "displayName": "string",
            "labels": {},
            "tags": {}
          }
        }
      ]
    },
    "poNumber": "string",
    "tags": {}
  }
}

プロパティ値

billingAccounts/billingProfiles

名前 説明
type リソースの種類 'Microsoft.Billing/billingAccounts/billingProfiles'
apiVersion リソース API のバージョン '2020-05-01'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)
properties 課金プロファイルのプロパティ。 BillingProfileProperties

BillingProfileProperties

名前 説明
billTo 請求先住所。 AddressDetails
displayName 課金プロファイルの名前。 string
enabledAzurePlans 有効な Azure プランに関する情報。 AzurePlan[]
invoiceEmailOptIn 課金プロファイルの請求書を電子メールで送信するかどうかを制御するフラグ。 [bool]
invoiceSections 課金プロファイルに関連付けられている請求書セクション。 既定では、$expandで指定されていない限り、この値は設定されません。 InvoiceSectionsOnExpand
poNumber 課金プロファイルに対して生成された請求書に表示される発注書の名前。 string
tags 課金プロファイルのタグ。 object

AddressDetails

名前 説明
addressLine1 住所 1 行目 string (必須)
addressLine2 住所 2 行目 string
addressLine3 住所 3 行目 string
city 住所の市区町村。 string
companyName 会社名 string
country 国コードでは、ISO2 の 2 桁の形式が使用されます。 string (必須)
district 住所地区。 string
email 電子メール アドレス。 string
firstName 名。 string
lastName 姓。 string
middleName ミドル ネーム。 string
phoneNumber 電話番号。 string
postalCode 郵便番号。 string
region アドレス領域。 string

AzurePlan

名前 説明
skuId SKU ID。 string

InvoiceSectionsOnExpand

名前 説明
value 課金プロファイルに関連付けられている請求書セクション。 InvoiceSection[]

InvoiceSection

名前 説明
properties 請求書セクションのプロパティ。 InvoiceSectionProperties

InvoiceSectionProperties

名前 説明
displayName 請求書セクションの名前。 string
labels 請求書セクションに関連付けられているメタデータのディクショナリ。 object
tags 請求書セクションに関連付けられているメタデータのディクショナリ。 256 文字でサポートされる最大キー/値の長さ。 キー/値は、値を空にしたり、null にしたりしないでください。 キーに { } % & \ を含めないようにしてください。 / object

Terraform (AzAPI プロバイダー) リソース定義

billingAccounts/billingProfiles リソースの種類は、次の場所にデプロイできます。

  • テナント

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Billing/billingAccounts/billingProfiles リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Billing/billingAccounts/billingProfiles@2020-05-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      billTo = {
        addressLine1 = "string"
        addressLine2 = "string"
        addressLine3 = "string"
        city = "string"
        companyName = "string"
        country = "string"
        district = "string"
        email = "string"
        firstName = "string"
        lastName = "string"
        middleName = "string"
        phoneNumber = "string"
        postalCode = "string"
        region = "string"
      }
      displayName = "string"
      enabledAzurePlans = [
        {
          skuId = "string"
        }
      ]
      invoiceEmailOptIn = bool
      invoiceSections = {
        value = [
          {
            properties = {
              displayName = "string"
              labels = {}
              tags = {}
            }
          }
        ]
      }
      poNumber = "string"
      tags = {}
    }
  })
}

プロパティ値

billingAccounts/billingProfiles

名前 説明
type リソースの種類 "Microsoft.Billing/billingAccounts/billingProfiles@2020-05-01"
name リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: billingAccounts
properties 課金プロファイルのプロパティ。 BillingProfileProperties

BillingProfileProperties

名前 説明
billTo 請求先住所。 AddressDetails
displayName 課金プロファイルの名前。 string
enabledAzurePlans 有効な Azure プランに関する情報。 AzurePlan[]
invoiceEmailOptIn 課金プロファイルの請求書を電子メールで送信するかどうかを制御するフラグ。 [bool]
invoiceSections 課金プロファイルに関連付けられている請求書セクション。 既定では、$expandで指定されていない限り、この値は設定されません。 InvoiceSectionsOnExpand
poNumber 課金プロファイルに対して生成された請求書に表示される発注書の名前。 string
tags 課金プロファイルのタグ。 object

AddressDetails

名前 説明
addressLine1 住所 1 行目 string (必須)
addressLine2 住所 2 行目 string
addressLine3 住所 3 行目 string
city 住所の市区町村。 string
companyName 会社名 string
country 国コードでは、ISO2 の 2 桁の形式が使用されます。 string (必須)
district 住所地区。 string
email 電子メール アドレス。 string
firstName 名。 string
lastName 姓。 string
middleName ミドル ネーム。 string
phoneNumber 電話番号。 string
postalCode 郵便番号。 string
region アドレス領域。 string

AzurePlan

名前 説明
skuId SKU ID。 string

InvoiceSectionsOnExpand

名前 説明
value 課金プロファイルに関連付けられている請求書セクション。 InvoiceSection[]

InvoiceSection

名前 説明
properties 請求書セクションのプロパティ。 InvoiceSectionProperties

InvoiceSectionProperties

名前 説明
displayName 請求書セクションの名前。 string
labels 請求書セクションに関連付けられているメタデータのディクショナリ。 object
tags 請求書セクションに関連付けられているメタデータのディクショナリ。 256 文字でサポートされる最大キーと値の長さ。 Keys/value は空の値でも null でもありません。 キーに { } % & \ を含められません。 / object