Bicep 資源定義
reservationOrderAliases 資源類型可以使用目標作業來部署:
- 租使用者 - 請參閱 租使用者部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.BillingBenefits/reservationOrderAliases 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.BillingBenefits/reservationOrderAliases@2024-11-01-preview' = {
location: 'string'
name: 'string'
properties: {
appliedScopeProperties: {
displayName: 'string'
managementGroupId: 'string'
resourceGroupId: 'string'
subscriptionId: 'string'
tenantId: 'string'
}
appliedScopeType: 'string'
billingPlan: 'string'
billingScopeId: 'string'
displayName: 'string'
quantity: int
renew: bool
reservedResourceProperties: {
instanceFlexibility: 'string'
}
reservedResourceType: 'string'
reviewDateTime: 'string'
term: 'string'
}
sku: {
name: 'string'
}
}
屬性值
Microsoft.BillingBenefits/reservationOrderAliases
| 名字 | 描述 | 價值 |
|---|---|---|
| 位置 | 套用保留權益的 Azure 區域。 | 字串 |
| 名字 | 資源名稱 | 字串 約束: 模式 = ^[a-zA-Z0-9_\-\.]+$ (必要) |
| 性能 | 保留訂單別名要求屬性 | ReservationOrderAliasRequestPropertiesOrReservationOrderAliasResponseProperties |
| SKU | 保留訂單 SKU | ResourceSku (必要) |
AppliedScopeProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 顯示名稱 | 顯示名稱 | 字串 |
| managementGroupId (管理群組ID) | 必須套用權益之管理群組的完整標識符。 | 字串 |
| 資源群組識別碼 (resourceGroupId) | 資源群組的完整標識碼。 | 字串 |
| subscriptionId (訂閱ID) | 訂用帳戶的完整標識碼。 | 字串 |
| 租戶ID | 套用權益的租用戶標識碼。 | 字串 |
ReservationOrderAliasRequestPropertiesOrReservationOrderAliasResponseProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| appliedScope屬性 | 套用範圍類型的特定屬性。 如果不適用,則不需要。 | AppliedScopeProperties |
| appliedScopeType | 套用範圍的類型。 | “管理組” “共用” '單身' |
| 計費計劃 | 表示 ISO 8601 格式的計費方案。 僅適用於每月計費方案。 | 'P1M' |
| billingScopeId | 購買權益的費用訂用帳戶 | 字串 |
| 顯示名稱 | 顯示名稱 | 字串 |
| 數量 | 在保留中購買的 SKU 總數。 | int 約束: 最小值 = 1 |
| 更新 | 將此設定為 true 會自動在到期日期時間購買新的權益。 | 布爾 (bool) |
| reservedResourceProperties | 每個保留資源類型特有的屬性。 如果不適用,則不需要。 | ReservationOrderAliasRequestPropertiesReservedResourcePropertiesOrReservationOrderAliasResponsePropertiesReservedResourceProperties |
| reservedResourceType (保留資源類型) | 正在保留的資源類型。 | “AppService” “AVS” “AzureDataExplorer” “AzureFiles” 'BlockBlob' 'CosmosDb' “Databricks” “數據工廠” “DedicatedHost” “ManagedDisk” 'MariaDb' 'MySql' “NetAppStorage” 'PostgreSql' 紅帽” 'RedHatOsa' “RedisCache” 'SapHana' “SqlAzureHybridBenefit” 'Sql資料庫' 'SqlDataWarehouse' “SqlEdge” 'SuseLinux' “虛擬機” 'VirtualMachineSoftware' 虛擬機軟體 “VMwareCloudSimple” |
| reviewDate時間 | 這是需要檢閱 Azure Hybrid Benefit 的日期時間。 | 字串 |
| 術語 | 以 ISO 8601 格式表示權益字詞。 | 'P1Y' 'P3Y' 'P5Y' |
ReservationOrderAliasRequestPropertiesReservedResourcePropertiesOrReservationOrderAliasResponsePropertiesReservedResourceProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| instanceFlexibility (實例靈活性) | 開啟此選項會將保留折扣套用至相同 VM 大小群組中的其他 VM。 | “關閉” “開” |
資源Sku
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 字串 |
ARM 樣本資源定義
reservationOrderAliases 資源類型可以使用目標作業來部署:
使用範例
資源格式
若要建立 Microsoft.BillingBenefits/reservationOrderAliases 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.BillingBenefits/reservationOrderAliases",
"apiVersion": "2024-11-01-preview",
"name": "string",
"location": "string",
"properties": {
"appliedScopeProperties": {
"displayName": "string",
"managementGroupId": "string",
"resourceGroupId": "string",
"subscriptionId": "string",
"tenantId": "string"
},
"appliedScopeType": "string",
"billingPlan": "string",
"billingScopeId": "string",
"displayName": "string",
"quantity": "int",
"renew": "bool",
"reservedResourceProperties": {
"instanceFlexibility": "string"
},
"reservedResourceType": "string",
"reviewDateTime": "string",
"term": "string"
},
"sku": {
"name": "string"
}
}
屬性值
Microsoft.BillingBenefits/reservationOrderAliases
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | “2024-11-01-預覽” |
| 位置 | 套用保留權益的 Azure 區域。 | 字串 |
| 名字 | 資源名稱 | 字串 約束: 模式 = ^[a-zA-Z0-9_\-\.]+$ (必要) |
| 性能 | 保留訂單別名要求屬性 | ReservationOrderAliasRequestPropertiesOrReservationOrderAliasResponseProperties |
| SKU | 保留訂單 SKU | ResourceSku (必要) |
| 型別 | 資源類型 | “Microsoft.BillingBenefits/reservationOrderAliases” |
AppliedScopeProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 顯示名稱 | 顯示名稱 | 字串 |
| managementGroupId (管理群組ID) | 必須套用權益之管理群組的完整標識符。 | 字串 |
| 資源群組識別碼 (resourceGroupId) | 資源群組的完整標識碼。 | 字串 |
| subscriptionId (訂閱ID) | 訂用帳戶的完整標識碼。 | 字串 |
| 租戶ID | 套用權益的租用戶標識碼。 | 字串 |
ReservationOrderAliasRequestPropertiesOrReservationOrderAliasResponseProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| appliedScope屬性 | 套用範圍類型的特定屬性。 如果不適用,則不需要。 | AppliedScopeProperties |
| appliedScopeType | 套用範圍的類型。 | “管理組” “共用” '單身' |
| 計費計劃 | 表示 ISO 8601 格式的計費方案。 僅適用於每月計費方案。 | 'P1M' |
| billingScopeId | 購買權益的費用訂用帳戶 | 字串 |
| 顯示名稱 | 顯示名稱 | 字串 |
| 數量 | 在保留中購買的 SKU 總數。 | int 約束: 最小值 = 1 |
| 更新 | 將此設定為 true 會自動在到期日期時間購買新的權益。 | 布爾 (bool) |
| reservedResourceProperties | 每個保留資源類型特有的屬性。 如果不適用,則不需要。 | ReservationOrderAliasRequestPropertiesReservedResourcePropertiesOrReservationOrderAliasResponsePropertiesReservedResourceProperties |
| reservedResourceType (保留資源類型) | 正在保留的資源類型。 | “AppService” “AVS” “AzureDataExplorer” “AzureFiles” 'BlockBlob' 'CosmosDb' “Databricks” “數據工廠” “DedicatedHost” “ManagedDisk” 'MariaDb' 'MySql' “NetAppStorage” 'PostgreSql' 紅帽” 'RedHatOsa' “RedisCache” 'SapHana' “SqlAzureHybridBenefit” 'Sql資料庫' 'SqlDataWarehouse' “SqlEdge” 'SuseLinux' “虛擬機” 'VirtualMachineSoftware' 虛擬機軟體 “VMwareCloudSimple” |
| reviewDate時間 | 這是需要檢閱 Azure Hybrid Benefit 的日期時間。 | 字串 |
| 術語 | 以 ISO 8601 格式表示權益字詞。 | 'P1Y' 'P3Y' 'P5Y' |
ReservationOrderAliasRequestPropertiesReservedResourcePropertiesOrReservationOrderAliasResponsePropertiesReservedResourceProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| instanceFlexibility (實例靈活性) | 開啟此選項會將保留折扣套用至相同 VM 大小群組中的其他 VM。 | “關閉” “開” |
資源Sku
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 字串 |
Terraform (AzAPI 提供者) 資源定義
reservationOrderAliases 資源類型可以使用目標作業來部署:
- 租戶 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
若要建立 Microsoft.BillingBenefits/reservationOrderAliases 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.BillingBenefits/reservationOrderAliases@2024-11-01-preview"
name = "string"
parent_id = "string"
location = "string"
body = {
properties = {
appliedScopeProperties = {
displayName = "string"
managementGroupId = "string"
resourceGroupId = "string"
subscriptionId = "string"
tenantId = "string"
}
appliedScopeType = "string"
billingPlan = "string"
billingScopeId = "string"
displayName = "string"
quantity = int
renew = bool
reservedResourceProperties = {
instanceFlexibility = "string"
}
reservedResourceType = "string"
reviewDateTime = "string"
term = "string"
}
sku = {
name = "string"
}
}
}
屬性值
Microsoft.BillingBenefits/reservationOrderAliases
| 名字 | 描述 | 價值 |
|---|---|---|
| 位置 | 套用保留權益的 Azure 區域。 | 字串 |
| 名字 | 資源名稱 | 字串 約束: 模式 = ^[a-zA-Z0-9_\-\.]+$ (必要) |
| 性能 | 保留訂單別名要求屬性 | ReservationOrderAliasRequestPropertiesOrReservationOrderAliasResponseProperties |
| SKU | 保留訂單 SKU | ResourceSku (必要) |
| 型別 | 資源類型 | “Microsoft.BillingBenefits/reservationOrderAliases@2024-11-01-preview” |
AppliedScopeProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 顯示名稱 | 顯示名稱 | 字串 |
| managementGroupId (管理群組ID) | 必須套用權益之管理群組的完整標識符。 | 字串 |
| 資源群組識別碼 (resourceGroupId) | 資源群組的完整標識碼。 | 字串 |
| subscriptionId (訂閱ID) | 訂用帳戶的完整標識碼。 | 字串 |
| 租戶ID | 套用權益的租用戶標識碼。 | 字串 |
ReservationOrderAliasRequestPropertiesOrReservationOrderAliasResponseProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| appliedScope屬性 | 套用範圍類型的特定屬性。 如果不適用,則不需要。 | AppliedScopeProperties |
| appliedScopeType | 套用範圍的類型。 | “管理組” “共用” '單身' |
| 計費計劃 | 表示 ISO 8601 格式的計費方案。 僅適用於每月計費方案。 | 'P1M' |
| billingScopeId | 購買權益的費用訂用帳戶 | 字串 |
| 顯示名稱 | 顯示名稱 | 字串 |
| 數量 | 在保留中購買的 SKU 總數。 | int 約束: 最小值 = 1 |
| 更新 | 將此設定為 true 會自動在到期日期時間購買新的權益。 | 布爾 (bool) |
| reservedResourceProperties | 每個保留資源類型特有的屬性。 如果不適用,則不需要。 | ReservationOrderAliasRequestPropertiesReservedResourcePropertiesOrReservationOrderAliasResponsePropertiesReservedResourceProperties |
| reservedResourceType (保留資源類型) | 正在保留的資源類型。 | “AppService” “AVS” “AzureDataExplorer” “AzureFiles” 'BlockBlob' 'CosmosDb' “Databricks” “數據工廠” “DedicatedHost” “ManagedDisk” 'MariaDb' 'MySql' “NetAppStorage” 'PostgreSql' 紅帽” 'RedHatOsa' “RedisCache” 'SapHana' “SqlAzureHybridBenefit” 'Sql資料庫' 'SqlDataWarehouse' “SqlEdge” 'SuseLinux' “虛擬機” 'VirtualMachineSoftware' 虛擬機軟體 “VMwareCloudSimple” |
| reviewDate時間 | 這是需要檢閱 Azure Hybrid Benefit 的日期時間。 | 字串 |
| 術語 | 以 ISO 8601 格式表示權益字詞。 | 'P1Y' 'P3Y' 'P5Y' |
ReservationOrderAliasRequestPropertiesReservedResourcePropertiesOrReservationOrderAliasResponsePropertiesReservedResourceProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| instanceFlexibility (實例靈活性) | 開啟此選項會將保留折扣套用至相同 VM 大小群組中的其他 VM。 | “關閉” “開” |
資源Sku
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 字串 |