Microsoft.Insights 活頁簿 2021-03-08
Bicep 資源定義
活頁簿資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Insights/workbooks 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.Insights/workbooks@2021-03-08' = {
etag: {
{customized property}: 'string'
}
identity: {
type: 'string'
userAssignedIdentities: {}
}
kind: 'string'
location: 'string'
name: 'string'
properties: {
category: 'string'
description: 'string'
displayName: 'string'
revision: 'string'
serializedData: 'string'
sourceId: 'string'
storageUri: 'string'
tags: [
'string'
]
version: 'string'
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft.Insights/workbooks
ResourceEtag
WorkbookManagedIdentity
WorkbookProperties
名字 |
描述 |
價值 |
類別 |
活頁簿類別,如使用者在建立時所定義。 |
字串 (必要) |
描述 |
活頁簿的描述。 |
字串 |
displayName |
活頁簿的使用者定義名稱(顯示名稱)。 |
字串 (必要) |
校訂 |
此活頁簿定義的唯一修訂標識符 |
字串 |
serializedData |
此特定活頁簿的設定。 設定數據是包含有效 JSON 的字串 |
字串 (必要) |
sourceId |
來源資源的 ResourceId。 |
字串 |
storageUri |
BYOS 記憶體帳戶 URI |
字串 |
標籤 |
與此活頁簿定義相關聯的 0 個或多個標籤清單 |
string[] |
版本 |
活頁簿版本 |
字串 |
WorkbookUserAssignedIdentities
使用範例
Azure 快速入門範例
下列 Azure 快速入門範本 包含用於部署此資源類型的 Bicep 範例。
Bicep 檔案 |
描述 |
成本優化活頁簿 |
此範本會建立新的 Azure 監視器活頁簿,以根據 Well-Architected Framework 進行成本優化。 |
FinOps 工具組活頁簿 |
此範本會建立新的 Azure 監視器活頁簿以進行治理。 |
ARM 樣本資源定義
活頁簿資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Insights/workbooks 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.Insights/workbooks",
"apiVersion": "2021-03-08",
"name": "string",
"etag": {
"{customized property}": "string"
},
"identity": {
"type": "string",
"userAssignedIdentities": {
}
},
"kind": "string",
"location": "string",
"properties": {
"category": "string",
"description": "string",
"displayName": "string",
"revision": "string",
"serializedData": "string",
"sourceId": "string",
"storageUri": "string",
"tags": [ "string" ],
"version": "string"
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft.Insights/workbooks
名字 |
描述 |
價值 |
apiVersion |
API 版本 |
'2021-03-08' |
etag |
資源 etag |
ResourceEtag |
身份 |
用於 BYOS 的身分識別 |
WorkbookManagedIdentity |
類 |
活頁簿的種類。 選擇是用戶和共用。 |
'shared' 'user' |
位置 |
資源位置 |
字串 |
名字 |
資源名稱 |
字串 (必要) |
性能 |
描述 Azure 資源的活頁簿的元數據。 |
WorkbookProperties |
標籤 |
資源標籤 |
標記名稱和值的字典。 請參閱範本中的 標籤 |
類型 |
資源類型 |
'Microsoft.Insights/workbooks' |
ResourceEtag
WorkbookManagedIdentity
WorkbookProperties
名字 |
描述 |
價值 |
類別 |
活頁簿類別,如使用者在建立時所定義。 |
字串 (必要) |
描述 |
活頁簿的描述。 |
字串 |
displayName |
活頁簿的使用者定義名稱(顯示名稱)。 |
字串 (必要) |
校訂 |
此活頁簿定義的唯一修訂標識符 |
字串 |
serializedData |
此特定活頁簿的設定。 設定數據是包含有效 JSON 的字串 |
字串 (必要) |
sourceId |
來源資源的 ResourceId。 |
字串 |
storageUri |
BYOS 記憶體帳戶 URI |
字串 |
標籤 |
與此活頁簿定義相關聯的 0 個或多個標籤清單 |
string[] |
版本 |
活頁簿版本 |
字串 |
WorkbookUserAssignedIdentities
使用範例
Azure 快速入門範本
下列 Azure 快速入門範本 部署此資源類型。
範本 |
描述 |
成本優化活頁簿
|
此範本會建立新的 Azure 監視器活頁簿,以根據 Well-Architected Framework 進行成本優化。 |
FinOps 工具組活頁簿
|
此範本會建立新的 Azure 監視器活頁簿以進行治理。 |
活頁簿資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Insights/workbooks 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Insights/workbooks@2021-03-08"
name = "string"
etag = {
{customized property} = "string"
}
identity = {
type = "string"
userAssignedIdentities = {
}
}
kind = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
category = "string"
description = "string"
displayName = "string"
revision = "string"
serializedData = "string"
sourceId = "string"
storageUri = "string"
tags = [
"string"
]
version = "string"
}
})
}
屬性值
Microsoft.Insights/workbooks
ResourceEtag
WorkbookManagedIdentity
WorkbookProperties
名字 |
描述 |
價值 |
類別 |
活頁簿類別,如使用者在建立時所定義。 |
字串 (必要) |
描述 |
活頁簿的描述。 |
字串 |
displayName |
活頁簿的使用者定義名稱(顯示名稱)。 |
字串 (必要) |
校訂 |
此活頁簿定義的唯一修訂標識符 |
字串 |
serializedData |
此特定活頁簿的設定。 設定數據是包含有效 JSON 的字串 |
字串 (必要) |
sourceId |
來源資源的 ResourceId。 |
字串 |
storageUri |
BYOS 記憶體帳戶 URI |
字串 |
標籤 |
與此活頁簿定義相關聯的 0 個或多個標籤清單 |
string[] |
版本 |
活頁簿版本 |
字串 |
WorkbookUserAssignedIdentities