閱讀英文

共用方式為


Microsoft.BillingRequests

選擇部署語言

Bicep 資源定義

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

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

資源格式

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

Bicep
resource symbolicname 'Microsoft.Billing/billingRequests@2024-04-01' = {
  name: 'string'
  properties: {
    additionalInformation: {
      {customized property}: 'string'
    }
    createdBy: {
      objectId: 'string'
      tenantId: 'string'
      upn: 'string'
    }
    decisionReason: 'string'
    justification: 'string'
    lastUpdatedBy: {
      objectId: 'string'
      tenantId: 'string'
      upn: 'string'
    }
    recipients: [
      {
        objectId: 'string'
        tenantId: 'string'
        upn: 'string'
      }
    ]
    requestScope: 'string'
    reviewedBy: {
      objectId: 'string'
      tenantId: 'string'
      upn: 'string'
    }
    status: 'string'
    type: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

BillingRequestProperties

名字 描述 價值
additionalInformation 計費要求的其他資訊。 BillingRequestPropertiesAdditionalInformation
createdBy 建立要求之實體的主體。 BillingRequestPropertiesCreatedBy
decisionReason 核准或拒絕要求的原因。 字串
理由 提交要求的理由。 字串
lastUpdatedBy 上次更新要求之實體的主體。 BillingRequestPropertiesLastUpdatedBy
收件者 帳單要求的收件者。 主體[]
requestScope 提交要求的計費範圍(例如 '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}')。 字串
reviewedBy 要求檢閱者的主體。 只有在已核准要求時,才會設定 。 BillingRequestPropertiesReviewedBy
地位 計費要求的狀態。 「已核准」
'Cancelled'
'Completed'
'拒絕'
'Expired'
'Other'
'Pending'
類型 計費要求的類型。 'InvoiceAccess'
'Other'
'ProvisioningAccess'
'RoleAssignment'
'UpdateBillingPolicy'

BillingRequestPropertiesAdditionalInformation

名字 描述 價值

BillingRequestPropertiesCreatedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

BillingRequestPropertiesLastUpdatedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

BillingRequestPropertiesReviewedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

Microsoft.Billing/billingRequests

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

約束:
模式 = ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ (必要)
性能 使用者提交來管理帳單的要求。 具有範圍擁有者角色的使用者可以核准或拒絕這些要求。 BillingRequestProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

主要

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

ProxyResourceWithTags

名字 描述 價值

ARM 樣本資源定義

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

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

資源格式

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

JSON
{
  "type": "Microsoft.Billing/billingRequests",
  "apiVersion": "2024-04-01",
  "name": "string",
  "properties": {
    "additionalInformation": {
      "{customized property}": "string"
    },
    "createdBy": {
      "objectId": "string",
      "tenantId": "string",
      "upn": "string"
    },
    "decisionReason": "string",
    "justification": "string",
    "lastUpdatedBy": {
      "objectId": "string",
      "tenantId": "string",
      "upn": "string"
    },
    "recipients": [
      {
        "objectId": "string",
        "tenantId": "string",
        "upn": "string"
      }
    ],
    "requestScope": "string",
    "reviewedBy": {
      "objectId": "string",
      "tenantId": "string",
      "upn": "string"
    },
    "status": "string",
    "type": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

BillingRequestProperties

名字 描述 價值
additionalInformation 計費要求的其他資訊。 BillingRequestPropertiesAdditionalInformation
createdBy 建立要求之實體的主體。 BillingRequestPropertiesCreatedBy
decisionReason 核准或拒絕要求的原因。 字串
理由 提交要求的理由。 字串
lastUpdatedBy 上次更新要求之實體的主體。 BillingRequestPropertiesLastUpdatedBy
收件者 帳單要求的收件者。 主體[]
requestScope 提交要求的計費範圍(例如 '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}')。 字串
reviewedBy 要求檢閱者的主體。 只有在已核准要求時,才會設定 。 BillingRequestPropertiesReviewedBy
地位 計費要求的狀態。 「已核准」
'Cancelled'
'Completed'
'拒絕'
'Expired'
'Other'
'Pending'
類型 計費要求的類型。 'InvoiceAccess'
'Other'
'ProvisioningAccess'
'RoleAssignment'
'UpdateBillingPolicy'

BillingRequestPropertiesAdditionalInformation

名字 描述 價值

BillingRequestPropertiesCreatedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

BillingRequestPropertiesLastUpdatedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

BillingRequestPropertiesReviewedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

Microsoft.Billing/billingRequests

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

約束:
模式 = ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ (必要)
性能 使用者提交來管理帳單的要求。 具有範圍擁有者角色的使用者可以核准或拒絕這些要求。 BillingRequestProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.Billing/billingRequests'

主要

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

ProxyResourceWithTags

名字 描述 價值

使用範例

Terraform (AzAPI 提供者) 資源定義

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

  • 租使用者

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

資源格式

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

Terraform
resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Billing/billingRequests@2024-04-01"
  name = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      additionalInformation = {
        {customized property} = "string"
      }
      createdBy = {
        objectId = "string"
        tenantId = "string"
        upn = "string"
      }
      decisionReason = "string"
      justification = "string"
      lastUpdatedBy = {
        objectId = "string"
        tenantId = "string"
        upn = "string"
      }
      recipients = [
        {
          objectId = "string"
          tenantId = "string"
          upn = "string"
        }
      ]
      requestScope = "string"
      reviewedBy = {
        objectId = "string"
        tenantId = "string"
        upn = "string"
      }
      status = "string"
      type = "string"
    }
  })
}

屬性值

BillingRequestProperties

名字 描述 價值
additionalInformation 計費要求的其他資訊。 BillingRequestPropertiesAdditionalInformation
createdBy 建立要求之實體的主體。 BillingRequestPropertiesCreatedBy
decisionReason 核准或拒絕要求的原因。 字串
理由 提交要求的理由。 字串
lastUpdatedBy 上次更新要求之實體的主體。 BillingRequestPropertiesLastUpdatedBy
收件者 帳單要求的收件者。 主體[]
requestScope 提交要求的計費範圍(例如 '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}')。 字串
reviewedBy 要求檢閱者的主體。 只有在已核准要求時,才會設定 。 BillingRequestPropertiesReviewedBy
地位 計費要求的狀態。 「已核准」
'Cancelled'
'Completed'
'拒絕'
'Expired'
'Other'
'Pending'
類型 計費要求的類型。 'InvoiceAccess'
'Other'
'ProvisioningAccess'
'RoleAssignment'
'UpdateBillingPolicy'

BillingRequestPropertiesAdditionalInformation

名字 描述 價值

BillingRequestPropertiesCreatedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

BillingRequestPropertiesLastUpdatedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

BillingRequestPropertiesReviewedBy

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

Microsoft.Billing/billingRequests

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

約束:
模式 = ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ (必要)
性能 使用者提交來管理帳單的要求。 具有範圍擁有者角色的使用者可以核准或拒絕這些要求。 BillingRequestProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.Billing/billingRequests@2024-04-01”

主要

名字 描述 價值
objectId 與計費實體互動之主體的物件標識符。 字串
tenantId 與計費實體互動之主體的租用戶標識碼。 字串
upn 與計費實體互動之主體的用戶主體名稱。 字串

ProxyResourceWithTags

名字 描述 價值