Microsoft.Billing billingAccounts/billingProfiles/instructions

Bicep リソース定義

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

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

リソース形式

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

resource symbolicname 'Microsoft.Billing/billingAccounts/billingProfiles/instructions@2020-05-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    amount: int
    creationDate: 'string'
    endDate: 'string'
    startDate: 'string'
  }
}

プロパティの値

billingAccounts/billingProfiles/instructions

名前 説明
name リソース名

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

詳細については、「 親リソースの外部にある子リソース」を参照してください。
種類のリソースのシンボル名: billingProfiles
properties 請求書の生成中に使用される課金命令。 InstructionProperties

InstructionProperties

名前 説明
合計 この請求指示に対して予算化された金額。 int (必須)
creationDate この請求指示が作成された日付。 string
endDate この請求指示が無効になった日付。 string (必須)
startDate この請求指示が有効になる日付。 string (必須)

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

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

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

リソース形式

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

{
  "type": "Microsoft.Billing/billingAccounts/billingProfiles/instructions",
  "apiVersion": "2020-05-01",
  "name": "string",
  "properties": {
    "amount": "int",
    "creationDate": "string",
    "endDate": "string",
    "startDate": "string"
  }
}

プロパティの値

billingAccounts/billingProfiles/instructions

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

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)
properties 請求書の生成中に使用される課金命令。 InstructionProperties

InstructionProperties

名前 説明
合計 この請求指示に対して予算化された金額。 int (必須)
creationDate この請求指示が作成された日付。 string
endDate この請求指示が無効になった日付。 string (必須)
startDate この請求指示が有効になる日付。 string (必須)

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

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

  • テナント

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Billing/billingAccounts/billingProfiles/instructions@2020-05-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      amount = int
      creationDate = "string"
      endDate = "string"
      startDate = "string"
    }
  })
}

プロパティの値

billingAccounts/billingProfiles/instructions

名前 説明
type リソースの種類 "Microsoft.Billing/billingAccounts/billingProfiles/instructions@2020-05-01"
name リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: billingProfiles
properties 請求書の生成中に使用される課金命令。 InstructionProperties

InstructionProperties

名前 説明
合計 この請求指示に対して予算化された金額。 int (必須)
creationDate この請求指示が作成された日付。 string
endDate この請求指示が無効になった日付。 string (必須)
startDate この請求指示が有効になる日付。 string (必須)