Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The workbooks resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Insights/workbooks resource, add the following Bicep to your template.
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'
}
}
Property Values
Microsoft.Insights/workbooks
Name | Description | Value |
---|---|---|
etag | Resource etag | ResourceEtag |
identity | Identity used for BYOS | WorkbookManagedIdentity |
kind | The kind of workbook. Choices are user and shared. | 'shared' 'user' |
location | Resource location | string |
name | The resource name | string (required) |
properties | Metadata describing a workbook for an Azure resource. | WorkbookProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ResourceEtag
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
WorkbookManagedIdentity
Name | Description | Value |
---|---|---|
type | The identity type. | 'None' 'UserAssigned' |
userAssignedIdentities | Customer Managed Identity | WorkbookUserAssignedIdentities |
WorkbookProperties
Name | Description | Value |
---|---|---|
category | Workbook category, as defined by the user at creation time. | string (required) |
description | The description of the workbook. | string |
displayName | The user-defined name (display name) of the workbook. | string (required) |
revision | The unique revision id for this workbook definition | string |
serializedData | Configuration of this particular workbook. Configuration data is a string containing valid JSON | string (required) |
sourceId | ResourceId for a source resource. | string |
storageUri | BYOS Storage Account URI | string |
tags | A list of 0 or more tags that are associated with this workbook definition | string[] |
version | Workbook version | string |
WorkbookUserAssignedIdentities
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Cost optimization workbook | This template creates a new Azure Monitor workbook for cost optimization based on the Well-Architected Framework. |
FinOps toolkit workbook | This template creates a new Azure Monitor workbook for governance. |
ARM template resource definition
The workbooks resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Insights/workbooks resource, add the following JSON to your template.
{
"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"
}
}
Property Values
Microsoft.Insights/workbooks
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-03-08' |
etag | Resource etag | ResourceEtag |
identity | Identity used for BYOS | WorkbookManagedIdentity |
kind | The kind of workbook. Choices are user and shared. | 'shared' 'user' |
location | Resource location | string |
name | The resource name | string (required) |
properties | Metadata describing a workbook for an Azure resource. | WorkbookProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Insights/workbooks' |
ResourceEtag
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
WorkbookManagedIdentity
Name | Description | Value |
---|---|---|
type | The identity type. | 'None' 'UserAssigned' |
userAssignedIdentities | Customer Managed Identity | WorkbookUserAssignedIdentities |
WorkbookProperties
Name | Description | Value |
---|---|---|
category | Workbook category, as defined by the user at creation time. | string (required) |
description | The description of the workbook. | string |
displayName | The user-defined name (display name) of the workbook. | string (required) |
revision | The unique revision id for this workbook definition | string |
serializedData | Configuration of this particular workbook. Configuration data is a string containing valid JSON | string (required) |
sourceId | ResourceId for a source resource. | string |
storageUri | BYOS Storage Account URI | string |
tags | A list of 0 or more tags that are associated with this workbook definition | string[] |
version | Workbook version | string |
WorkbookUserAssignedIdentities
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Cost optimization workbook |
This template creates a new Azure Monitor workbook for cost optimization based on the Well-Architected Framework. |
FinOps toolkit workbook |
This template creates a new Azure Monitor workbook for governance. |
Terraform (AzAPI provider) resource definition
The workbooks resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Insights/workbooks resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Insights/workbooks@2021-03-08"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
etag = {
{customized property} = "string"
}
kind = "string"
properties = {
category = "string"
description = "string"
displayName = "string"
revision = "string"
serializedData = "string"
sourceId = "string"
storageUri = "string"
tags = [
"string"
]
version = "string"
}
}
}
Property Values
Microsoft.Insights/workbooks
Name | Description | Value |
---|---|---|
etag | Resource etag | ResourceEtag |
identity | Identity used for BYOS | WorkbookManagedIdentity |
kind | The kind of workbook. Choices are user and shared. | 'shared' 'user' |
location | Resource location | string |
name | The resource name | string (required) |
properties | Metadata describing a workbook for an Azure resource. | WorkbookProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Insights/workbooks@2021-03-08" |
ResourceEtag
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
WorkbookManagedIdentity
Name | Description | Value |
---|---|---|
type | The identity type. | 'None' 'UserAssigned' |
userAssignedIdentities | Customer Managed Identity | WorkbookUserAssignedIdentities |
WorkbookProperties
Name | Description | Value |
---|---|---|
category | Workbook category, as defined by the user at creation time. | string (required) |
description | The description of the workbook. | string |
displayName | The user-defined name (display name) of the workbook. | string (required) |
revision | The unique revision id for this workbook definition | string |
serializedData | Configuration of this particular workbook. Configuration data is a string containing valid JSON | string (required) |
sourceId | ResourceId for a source resource. | string |
storageUri | BYOS Storage Account URI | string |
tags | A list of 0 or more tags that are associated with this workbook definition | string[] |
version | Workbook version | string |
WorkbookUserAssignedIdentities
Name | Description | Value |
---|