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

Bicep resource definition

The workspaces/dataSources resource type can be deployed with operations that target:

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

Resource format

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

resource symbolicname 'Microsoft.OperationalInsights/workspaces/dataSources@2020-03-01-preview' = {
  name: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  kind: 'string'
  parent: resourceSymbolicName
  etag: 'string'
  properties: any()
}

Property values

workspaces/dataSources

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
kind The kind of the DataSource. 'ApplicationInsights'
'AzureActivityLog'
'AzureAuditLog'
'ChangeTrackingContentLocation'
'ChangeTrackingCustomPath'
'ChangeTrackingDataTypeConfiguration'
'ChangeTrackingDefaultRegistry'
'ChangeTrackingLinuxPath'
'ChangeTrackingPath'
'ChangeTrackingRegistry'
'ChangeTrackingServices'
'CustomLog'
'CustomLogCollection'
'DnsAnalytics'
'GenericDataSource'
'IISLogs'
'ImportComputerGroup'
'Itsm'
'LinuxChangeTrackingPath'
'LinuxPerformanceCollection'
'LinuxPerformanceObject'
'LinuxSyslog'
'LinuxSyslogCollection'
'NetworkMonitoring'
'Office365'
'SecurityCenterSecurityWindowsBaselineConfiguration'
'SecurityEventCollectionConfiguration'
'SecurityInsightsSecurityEventCollectionConfiguration'
'SecurityWindowsBaselineConfiguration'
'SqlDataClassification'
'WindowsEvent'
'WindowsPerformanceCounter'
'WindowsTelemetry' (required)
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 data source. string
properties The data source properties in raw json format, each kind of data source have it's own schema. For Bicep, you can use the any() function.(required)

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Deploy Solace PubSub+ message broker onto Azure Linux VM(s)

Deploy to Azure
This template allows you to deploy either a standalone Solace PubSub+ message broker or a three node High Availability cluster of Solace PubSub+ message brokers onto Azure Linux VM(s).
OMS ASR Solution

Deploy to Azure
Enables the ASR (v2) Solution in OMS
Connect to a Event Hubs namespace via private endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access a Event Hubs namespace via a private endpoint.
Log Analytics workspace with solutions and data sources

Deploy to Azure
Deploys a Log Analytics workspace with specified solutions and data sources
Connect to a Key Vault via private endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access Key Vault via private endpoint.
Use Azure Firewall as a DNS Proxy in a Hub & Spoke topology

Deploy to Azure
This sample show how to deploy a hub-spoke topology in Azure using the Azure Firewall. The hub virtual network acts as a central point of connectivity to many spoke virtual networks that are connected to hub virtual network via virtual network peering.
Connect to a Service Bus namespace via private endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access a Service Bus namespace via private endpoint.
Connect to a storage account from a VM via private endpoint

Deploy to Azure
This sample shows how to use connect a virtual network to access a blob storage account via private endpoint.
Connect to an Azure File Share via a Private Endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access an Azure File Share via a private endpoint.

ARM template resource definition

The workspaces/dataSources resource type can be deployed with operations that target:

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

Resource format

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

{
  "type": "Microsoft.OperationalInsights/workspaces/dataSources",
  "apiVersion": "2020-03-01-preview",
  "name": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "kind": "string",
  "etag": "string",
  "properties": {}
}

Property values

workspaces/dataSources

Name Description Value
type The resource type 'Microsoft.OperationalInsights/workspaces/dataSources'
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
kind The kind of the DataSource. 'ApplicationInsights'
'AzureActivityLog'
'AzureAuditLog'
'ChangeTrackingContentLocation'
'ChangeTrackingCustomPath'
'ChangeTrackingDataTypeConfiguration'
'ChangeTrackingDefaultRegistry'
'ChangeTrackingLinuxPath'
'ChangeTrackingPath'
'ChangeTrackingRegistry'
'ChangeTrackingServices'
'CustomLog'
'CustomLogCollection'
'DnsAnalytics'
'GenericDataSource'
'IISLogs'
'ImportComputerGroup'
'Itsm'
'LinuxChangeTrackingPath'
'LinuxPerformanceCollection'
'LinuxPerformanceObject'
'LinuxSyslog'
'LinuxSyslogCollection'
'NetworkMonitoring'
'Office365'
'SecurityCenterSecurityWindowsBaselineConfiguration'
'SecurityEventCollectionConfiguration'
'SecurityInsightsSecurityEventCollectionConfiguration'
'SecurityWindowsBaselineConfiguration'
'SqlDataClassification'
'WindowsEvent'
'WindowsPerformanceCounter'
'WindowsTelemetry' (required)
etag The ETag of the data source. string
properties The data source properties in raw json format, each kind of data source have it's own schema.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Deploy Solace PubSub+ message broker onto Azure Linux VM(s)

Deploy to Azure
This template allows you to deploy either a standalone Solace PubSub+ message broker or a three node High Availability cluster of Solace PubSub+ message brokers onto Azure Linux VM(s).
OMS ASR Solution

Deploy to Azure
Enables the ASR (v2) Solution in OMS
Connect to a Event Hubs namespace via private endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access a Event Hubs namespace via a private endpoint.
Log Analytics workspace with solutions and data sources

Deploy to Azure
Deploys a Log Analytics workspace with specified solutions and data sources
Connect to a Key Vault via private endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access Key Vault via private endpoint.
Use Azure Firewall as a DNS Proxy in a Hub & Spoke topology

Deploy to Azure
This sample show how to deploy a hub-spoke topology in Azure using the Azure Firewall. The hub virtual network acts as a central point of connectivity to many spoke virtual networks that are connected to hub virtual network via virtual network peering.
Connect to a Service Bus namespace via private endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access a Service Bus namespace via private endpoint.
Connect to a storage account from a VM via private endpoint

Deploy to Azure
This sample shows how to use connect a virtual network to access a blob storage account via private endpoint.
Connect to an Azure File Share via a Private Endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access an Azure File Share via a private endpoint.

Terraform (AzAPI provider) resource definition

The workspaces/dataSources 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.OperationalInsights/workspaces/dataSources resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.OperationalInsights/workspaces/dataSources@2020-03-01-preview"
  name = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    kind = "string"
    etag = "string"
  })
}

Property values

workspaces/dataSources

Name Description Value
type The resource type "Microsoft.OperationalInsights/workspaces/dataSources@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.
kind The kind of the DataSource. "ApplicationInsights"
"AzureActivityLog"
"AzureAuditLog"
"ChangeTrackingContentLocation"
"ChangeTrackingCustomPath"
"ChangeTrackingDataTypeConfiguration"
"ChangeTrackingDefaultRegistry"
"ChangeTrackingLinuxPath"
"ChangeTrackingPath"
"ChangeTrackingRegistry"
"ChangeTrackingServices"
"CustomLog"
"CustomLogCollection"
"DnsAnalytics"
"GenericDataSource"
"IISLogs"
"ImportComputerGroup"
"Itsm"
"LinuxChangeTrackingPath"
"LinuxPerformanceCollection"
"LinuxPerformanceObject"
"LinuxSyslog"
"LinuxSyslogCollection"
"NetworkMonitoring"
"Office365"
"SecurityCenterSecurityWindowsBaselineConfiguration"
"SecurityEventCollectionConfiguration"
"SecurityInsightsSecurityEventCollectionConfiguration"
"SecurityWindowsBaselineConfiguration"
"SqlDataClassification"
"WindowsEvent"
"WindowsPerformanceCounter"
"WindowsTelemetry" (required)
etag The ETag of the data source. string
properties The data source properties in raw json format, each kind of data source have it's own schema.