Bicep 資源定義
energyServices 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.OpenEnergyPlatform/energyServices 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.OpenEnergyPlatform/energyServices@2021-06-01-preview' = {
location: 'string'
name: 'string'
properties: {
authAppId: 'string'
dataPartitionNames: [
{
name: 'string'
}
]
}
tags: {
{customized property}: 'string'
}
}
屬性值
DataPartitionNames 數據分區名稱
EnergyServiceProperties
ARM 樣本資源定義
energyServices 資源類型可以使用目標作業來部署:
使用範例
若要建立 Microsoft.OpenEnergyPlatform/energyServices 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.OpenEnergyPlatform/energyServices",
"apiVersion": "2021-06-01-preview",
"name": "string",
"location": "string",
"properties": {
"authAppId": "string",
"dataPartitionNames": [
{
"name": "string"
}
]
},
"tags": {
"{customized property}": "string"
}
}
屬性值
| 名字 |
描述 |
價值 |
| apiVersion |
API 版本 |
“2021-06-01-預覽” |
| 位置 |
資源所在的地理位置。 |
字串 (必要) |
| 名字 |
資源名稱 |
字串 (必要) |
| 性能 |
|
EnergyServiceProperties |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 |
資源類型 |
“Microsoft.OpenEnergyPlatform/energyServices” |
DataPartitionNames 數據分區名稱
EnergyServiceProperties
energyServices 資源類型可以使用目標作業來部署:
-
資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
若要建立 Microsoft.OpenEnergyPlatform/energyServices 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.OpenEnergyPlatform/energyServices@2021-06-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
authAppId = "string"
dataPartitionNames = [
{
name = "string"
}
]
}
}
}
屬性值
| 名字 |
描述 |
價值 |
| 位置 |
資源所在的地理位置。 |
字串 (必要) |
| 名字 |
資源名稱 |
字串 (必要) |
| 性能 |
|
EnergyServiceProperties |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 |
| 型別 |
資源類型 |
“Microsoft.OpenEnergyPlatform/energyServices@2021-06-01-preview” |
DataPartitionNames 數據分區名稱
EnergyServiceProperties