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 workspaces/dataSources 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.OperationalInsights/workspaces/dataSources resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.OperationalInsights/workspaces/dataSources@2015-11-01-preview' = {
parent: resourceSymbolicName
eTag: 'string'
kind: 'string'
name: 'string'
properties: any(...)
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.OperationalInsights/workspaces/dataSources
Name | Description | Value |
---|---|---|
eTag | The ETag of the data source. | string |
kind | The kind of the DataSource. | 'AzureActivityLog' 'ChangeTrackingCustomRegistry' 'ChangeTrackingDefaultPath' 'ChangeTrackingDefaultRegistry' 'ChangeTrackingPath' 'CustomLog' 'CustomLogCollection' 'GenericDataSource' 'IISLogs' 'LinuxPerformanceCollection' 'LinuxPerformanceObject' 'LinuxSyslog' 'LinuxSyslogCollection' 'WindowsEvent' 'WindowsPerformanceCounter' (required) |
name | The resource name | string (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 |
properties | The data source properties in raw json format, each kind of data source have it's own schema. | any (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ProxyResourceTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Log Analytics workspace with solutions and data sources | Deploys a Log Analytics workspace with specified solutions and data sources |
Use Azure Firewall as a DNS Proxy in a Hub & Spoke topology | 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. |
ARM template resource definition
The workspaces/dataSources 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.OperationalInsights/workspaces/dataSources resource, add the following JSON to your template.
{
"type": "Microsoft.OperationalInsights/workspaces/dataSources",
"apiVersion": "2015-11-01-preview",
"name": "string",
"eTag": "string",
"kind": "string",
"properties": {},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.OperationalInsights/workspaces/dataSources
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2015-11-01-preview' |
eTag | The ETag of the data source. | string |
kind | The kind of the DataSource. | 'AzureActivityLog' 'ChangeTrackingCustomRegistry' 'ChangeTrackingDefaultPath' 'ChangeTrackingDefaultRegistry' 'ChangeTrackingPath' 'CustomLog' 'CustomLogCollection' 'GenericDataSource' 'IISLogs' 'LinuxPerformanceCollection' 'LinuxPerformanceObject' 'LinuxSyslog' 'LinuxSyslogCollection' 'WindowsEvent' 'WindowsPerformanceCounter' (required) |
name | The resource name | string (required) |
properties | The data source properties in raw json format, each kind of data source have it's own schema. | any (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.OperationalInsights/workspaces/dataSources' |
ProxyResourceTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Deploy Solace PubSub+ message broker onto Azure Linux VM(s) |
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). |
Log Analytics workspace with solutions and data sources |
Deploys a Log Analytics workspace with specified solutions and data sources |
Use Azure Firewall as a DNS Proxy in a Hub & Spoke topology |
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. |
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@2015-11-01-preview"
name = "string"
parent_id = "string"
tags = {
{customized property} = "string"
}
body = {
eTag = "string"
kind = "string"
properties = ?
}
}
Property Values
Microsoft.OperationalInsights/workspaces/dataSources
Name | Description | Value |
---|---|---|
eTag | The ETag of the data source. | string |
kind | The kind of the DataSource. | 'AzureActivityLog' 'ChangeTrackingCustomRegistry' 'ChangeTrackingDefaultPath' 'ChangeTrackingDefaultRegistry' 'ChangeTrackingPath' 'CustomLog' 'CustomLogCollection' 'GenericDataSource' 'IISLogs' 'LinuxPerformanceCollection' 'LinuxPerformanceObject' 'LinuxSyslog' 'LinuxSyslogCollection' 'WindowsEvent' 'WindowsPerformanceCounter' (required) |
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 |
properties | The data source properties in raw json format, each kind of data source have it's own schema. | any (required) |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.OperationalInsights/workspaces/dataSources@2015-11-01-preview" |
ProxyResourceTags
Name | Description | Value |
---|