Microsoft.OperationalInsights workspaces/storageInsightConfigs 2020-03-01-preview

Bicep resource definition

The workspaces/storageInsightConfigs resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.OperationalInsights/workspaces/storageInsightConfigs resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.OperationalInsights/workspaces/storageInsightConfigs@2020-03-01-preview' = {
  name: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  eTag: 'string'
  properties: {
    containers: [
      'string'
    ]
    storageAccount: {
      id: 'string'
      key: 'string'
    }
    tables: [
      'string'
    ]
  }
}

Property values

workspaces/storageInsightConfigs

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: workspaces
eTag The ETag of the storage insight. string
properties Storage insight properties. StorageInsightProperties

StorageInsightProperties

Name Description Value
containers The names of the blob containers that the workspace should read string[]
storageAccount The storage account connection details StorageAccount (required)
tables The names of the Azure tables that the workspace should read string[]

StorageAccount

Name Description Value
id The Azure Resource Manager ID of the storage account resource. string (required)
key The storage account key. string (required)

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Add an existing storage account to OMS

Deploy to Azure
This template adds a storage account into OMS Log Analytics and select multiple tables for ingestion.

ARM template resource definition

The workspaces/storageInsightConfigs resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.OperationalInsights/workspaces/storageInsightConfigs resource, add the following JSON to your template.

{
  "type": "Microsoft.OperationalInsights/workspaces/storageInsightConfigs",
  "apiVersion": "2020-03-01-preview",
  "name": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "eTag": "string",
  "properties": {
    "containers": [ "string" ],
    "storageAccount": {
      "id": "string",
      "key": "string"
    },
    "tables": [ "string" ]
  }
}

Property values

workspaces/storageInsightConfigs

Name Description Value
type The resource type 'Microsoft.OperationalInsights/workspaces/storageInsightConfigs'
apiVersion The resource api version '2020-03-01-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
eTag The ETag of the storage insight. string
properties Storage insight properties. StorageInsightProperties

StorageInsightProperties

Name Description Value
containers The names of the blob containers that the workspace should read string[]
storageAccount The storage account connection details StorageAccount (required)
tables The names of the Azure tables that the workspace should read string[]

StorageAccount

Name Description Value
id The Azure Resource Manager ID of the storage account resource. string (required)
key The storage account key. string (required)

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Add an existing storage account to OMS

Deploy to Azure
This template adds a storage account into OMS Log Analytics and select multiple tables for ingestion.

Terraform (AzAPI provider) resource definition

The workspaces/storageInsightConfigs resource type can be deployed to:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.OperationalInsights/workspaces/storageInsightConfigs resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.OperationalInsights/workspaces/storageInsightConfigs@2020-03-01-preview"
  name = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      containers = [
        "string"
      ]
      storageAccount = {
        id = "string"
        key = "string"
      }
      tables = [
        "string"
      ]
    }
    eTag = "string"
  })
}

Property values

workspaces/storageInsightConfigs

Name Description Value
type The resource type "Microsoft.OperationalInsights/workspaces/storageInsightConfigs@2020-03-01-preview"
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: workspaces
tags Resource tags. Dictionary of tag names and values.
eTag The ETag of the storage insight. string
properties Storage insight properties. StorageInsightProperties

StorageInsightProperties

Name Description Value
containers The names of the blob containers that the workspace should read string[]
storageAccount The storage account connection details StorageAccount (required)
tables The names of the Azure tables that the workspace should read string[]

StorageAccount

Name Description Value
id The Azure Resource Manager ID of the storage account resource. string (required)
key The storage account key. string (required)