Bicep 資源定義
farmBeats 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立Microsoft.AgFoodPlatform/farmBeats 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.AgFoodPlatform/farmBeats@2021-09-01-preview' = {
identity: {
type: 'SystemAssigned'
}
location: 'string'
name: 'string'
properties: {
publicNetworkAccess: 'string'
sensorIntegration: {
enabled: 'string'
provisioningInfo: {
error: {}
}
}
}
tags: {
{customized property}: 'string'
}
}
屬性值
| 名字 |
描述 |
價值 |
| 身分識別 |
資源的身分識別。 |
身份 |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| 名字 |
資源名稱 |
字串 (必要) |
| 性能 |
FarmBeats ARM 資源屬性。 |
FarmBeatsProperties |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 請參閱 範本中的標記 |
錯誤詳細資訊
錯誤回應
FarmBeatsProperties
| 名字 |
描述 |
價值 |
| 公共網路存取 |
屬性,允許或封鎖 Azure FarmBeats 資源的公用流量。 |
“已啟用” “混合” |
| 感測器集成 |
感測器整合要求模型。 |
感測器集成 |
身份
感測器集成
| 名字 |
描述 |
價值 |
| 啟用 |
感測器整合啟用狀態。 允許的值為 True、無 |
字串 |
| provisioningInfo |
所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。 (這也遵循 OData 錯誤回應格式。)。 |
錯誤回應 |
ARM 樣本資源定義
farmBeats 資源類型可以使用目標作業來部署:
使用範例
若要建立 Microsoft.AgFoodPlatform/farmBeats 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.AgFoodPlatform/farmBeats",
"apiVersion": "2021-09-01-preview",
"name": "string",
"identity": {
"type": "SystemAssigned"
},
"location": "string",
"properties": {
"publicNetworkAccess": "string",
"sensorIntegration": {
"enabled": "string",
"provisioningInfo": {
"error": {
}
}
}
},
"tags": {
"{customized property}": "string"
}
}
屬性值
| 名字 |
描述 |
價值 |
| apiVersion |
API 版本 |
“2021-09-01-預覽” |
| 身分識別 |
資源的身分識別。 |
身份 |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| 名字 |
資源名稱 |
字串 (必要) |
| 性能 |
FarmBeats ARM 資源屬性。 |
FarmBeatsProperties |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 請參閱 範本中的標記 |
| 型別 |
資源類型 |
'Microsoft.AgFoodPlatform/farmBeats' |
錯誤詳細資訊
錯誤回應
FarmBeatsProperties
| 名字 |
描述 |
價值 |
| 公共網路存取 |
屬性,允許或封鎖 Azure FarmBeats 資源的公用流量。 |
“已啟用” “混合” |
| 感測器集成 |
感測器整合要求模型。 |
感測器集成 |
身份
感測器集成
| 名字 |
描述 |
價值 |
| 啟用 |
感測器整合啟用狀態。 允許的值為 True、無 |
字串 |
| provisioningInfo |
所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。 (這也遵循 OData 錯誤回應格式。)。 |
錯誤回應 |
farmBeats 資源類型可以使用目標作業來部署:
-
資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
若要建立 Microsoft.AgFoodPlatform/farmBeats 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AgFoodPlatform/farmBeats@2021-09-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
publicNetworkAccess = "string"
sensorIntegration = {
enabled = "string"
provisioningInfo = {
error = {
}
}
}
}
}
}
屬性值
| 名字 |
描述 |
價值 |
| 身分識別 |
資源的身分識別。 |
身份 |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| 名字 |
資源名稱 |
字串 (必要) |
| 性能 |
FarmBeats ARM 資源屬性。 |
FarmBeatsProperties |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 |
| 型別 |
資源類型 |
“Microsoft.AgFoodPlatform/farmBeats@2021-09-01-preview” |
錯誤詳細資訊
錯誤回應
FarmBeatsProperties
| 名字 |
描述 |
價值 |
| 公共網路存取 |
屬性,允許或封鎖 Azure FarmBeats 資源的公用流量。 |
“已啟用” “混合” |
| 感測器集成 |
感測器整合要求模型。 |
感測器集成 |
身份
感測器集成
| 名字 |
描述 |
價值 |
| 啟用 |
感測器整合啟用狀態。 允許的值為 True、無 |
字串 |
| provisioningInfo |
所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。 (這也遵循 OData 錯誤回應格式。)。 |
錯誤回應 |