Microsoft.Insights myWorkbooks 2020-10-20
Bicep 資源定義
myWorkbooks 資源類型是 延伸模組資源,這表示您可以將它套用至另一個資源。
scope
使用此資源上的 屬性來設定此資源的範圍。 請參閱 在 Bicep 中設定擴充功能資源的範圍。
myWorkbooks 資源的有效部署範圍如下:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.Insights/myWorkbooks 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.Insights/myWorkbooks@2020-10-20' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
kind: 'string'
scope: resourceSymbolicName
etag: {}
identity: {
type: 'string'
userAssignedIdentities: {}
}
properties: {
category: 'string'
displayName: 'string'
serializedData: 'string'
sourceId: 'string'
storageUri: 'string'
tags: [
'string'
]
version: 'string'
}
}
屬性值
myWorkbooks
名稱 | 描述 | 值 |
---|---|---|
NAME | 資源名稱 | 字串 (必要) |
location | 資源位置 | 字串 |
tags | 資源標籤 | 標記名稱和值的字典。 請參閱 範本中的標記 |
kind | 活頁簿的類型。 選擇是使用者和共用。 | 'shared' 'user' |
scope | 在與部署範圍不同的範圍建立擴充資源時,請使用 。 | 目標資源 針對 Bicep,請將此屬性設定為資源的符號名稱,以套用 延伸模組資源。 |
etag | 資源 etag | object |
身分識別 | 用於 BYOS 的身分識別 | MyWorkbookManagedIdentity |
properties | 描述 Azure 資源的活頁簿的中繼資料。 | MyWorkbookProperties |
MyWorkbookManagedIdentity
名稱 | 描述 | 值 |
---|---|---|
type | 識別類型。 | 'None' 'UserAssigned' |
userAssignedIdentities | 客戶受控識別 | MyWorkbookUserAssignedIdentities |
MyWorkbookUserAssignedIdentities
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
MyWorkbookProperties
名稱 | 描述 | 值 |
---|---|---|
category | 活頁簿類別,如使用者在建立時所定義。 | 字串 (必要) |
displayName | 私人活頁簿的使用者定義名稱。 | 字串 (必要) |
serializedData | 此特定私人活頁簿的設定。 組態資料是包含有效 JSON 的字串 | 字串 (必要) |
sourceId | 來源資源的選擇性 resourceId。 | 字串 |
storageUri | BYOS 儲存體帳戶 URI | 字串 |
tags | 與此私人活頁簿定義相關聯的 0 個或多個標籤清單 | string[] |
version | 這個實例的資料模型版本。 這可能會隨著新增可標示為私人活頁簿的新功能而變更。 | 字串 |
ARM 範本資源定義
myWorkbooks 資源類型是 延伸模組資源,這表示您可以將它套用至另一個資源。
scope
使用此資源上的 屬性來設定此資源的範圍。 請參閱 在 ARM 範本中設定擴充功能資源的範圍。
myWorkbooks 資源的有效部署範圍如下:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.Insights/myWorkbooks 資源,請將下列 JSON 新增至您的範本。
{
"type": "Microsoft.Insights/myWorkbooks",
"apiVersion": "2020-10-20",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"kind": "string",
"scope": "string",
"etag": {},
"identity": {
"type": "string",
"userAssignedIdentities": {}
},
"properties": {
"category": "string",
"displayName": "string",
"serializedData": "string",
"sourceId": "string",
"storageUri": "string",
"tags": [ "string" ],
"version": "string"
}
}
屬性值
myWorkbooks
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 'Microsoft.Insights/myWorkbooks' |
apiVersion | 資源 API 版本 | '2020-10-20' |
NAME | 資源名稱 | 字串 (必要) |
location | 資源位置 | 字串 |
tags | 資源標籤 | 標記名稱和值的字典。 請參閱 範本中的標記 |
kind | 活頁簿的類型。 選擇是使用者和共用。 | 'shared' 'user' |
scope | 在與部署範圍不同的範圍建立擴充資源時,請使用 。 | 目標資源 針對 JSON,請將值設定為要套用 擴充資源 的資源完整名稱。 |
etag | 資源 etag | object |
身分識別 | 用於 BYOS 的身分識別 | MyWorkbookManagedIdentity |
properties | 描述 Azure 資源的活頁簿的中繼資料。 | MyWorkbookProperties |
MyWorkbookManagedIdentity
名稱 | 描述 | 值 |
---|---|---|
type | 識別類型。 | 'None' 'UserAssigned' |
userAssignedIdentities | 客戶受控識別 | MyWorkbookUserAssignedIdentities |
MyWorkbookUserAssignedIdentities
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
MyWorkbookProperties
名稱 | 描述 | 值 |
---|---|---|
category | 活頁簿類別,如使用者在建立時所定義。 | 字串 (必要) |
displayName | 私人活頁簿的使用者定義名稱。 | 字串 (必要) |
serializedData | 此特定私人活頁簿的設定。 組態資料是包含有效 JSON 的字串 | 字串 (必要) |
sourceId | 來源資源的選擇性 resourceId。 | 字串 |
storageUri | BYOS 儲存體帳戶 URI | 字串 |
tags | 與此私人活頁簿定義相關聯的 0 個或多個標籤清單 | string[] |
version | 這個實例的資料模型版本。 這可能會隨著新增可標示為私人活頁簿的新功能而變更。 | 字串 |
Terraform (AzAPI 提供者) 資源定義
myWorkbooks 資源類型是 延伸模組資源,這表示您可以將它套用至另一個資源。
parent_id
使用此資源上的 屬性來設定此資源的範圍。
myWorkbooks 資源的有效部署範圍如下:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.Insights/myWorkbooks 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Insights/myWorkbooks@2020-10-20"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
identity {
identity_ids = []
body = jsonencode({
properties = {
category = "string"
displayName = "string"
serializedData = "string"
sourceId = "string"
storageUri = "string"
tags = [
"string"
]
version = "string"
}
kind = "string"
etag = {}
type = "UserAssigned"
}
})
}
屬性值
myWorkbooks
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 「Microsoft.Insights/myWorkbooks@2020-10-20」 |
NAME | 資源名稱 | 字串 (必要) |
location | 資源位置 | 字串 |
parent_id | 要套用此延伸模組資源的資源識別碼。 | 字串 (必要) |
tags | 資源標籤 | 標記名稱和值的字典。 |
kind | 活頁簿的類型。 選擇是使用者和共用。 | 「shared」 「使用者」 |
etag | 資源 etag | object |
身分識別 | 用於 BYOS 的身分識別 | MyWorkbookManagedIdentity |
properties | 描述 Azure 資源的活頁簿的中繼資料。 | MyWorkbookProperties |
MyWorkbookManagedIdentity
名稱 | 描述 | 值 |
---|---|---|
type | 識別類型。 | 「UserAssigned」 |
identity_ids | 客戶受控識別 | 使用者身分識別識別碼的陣列。 |
MyWorkbookUserAssignedIdentities
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
MyWorkbookProperties
名稱 | 描述 | 值 |
---|---|---|
category | 活頁簿類別,如使用者在建立時所定義。 | 字串 (必要) |
displayName | 私人活頁簿的使用者定義名稱。 | 字串 (必要) |
serializedData | 此特定私人活頁簿的設定。 組態資料是包含有效 JSON 的字串 | 字串 (必要) |
sourceId | 來源資源的選擇性 resourceId。 | 字串 |
storageUri | BYOS 儲存體帳戶 URI | 字串 |
tags | 與此私人活頁簿定義相關聯的 0 個或多個標籤清單 | string[] |
version | 這個實例的資料模型版本。 這可能會隨著新增可標示為私人活頁簿的新功能而變更。 | 字串 |