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

Template format

To create a Microsoft.OperationalInsights/workspaces/dataExports resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.OperationalInsights/workspaces/dataExports",
  "apiVersion": "2020-03-01-preview",
  "properties": {
    "dataExportId": "string",
    "tableNames": [
    "destination": {
      "resourceId": "string",
      "metaData": {
        "eventHubName": "string"
    "enable": "boolean",
    "lastModifiedDate": "string"

Property values

The following tables describe the values you need to set in the schema.

Microsoft.OperationalInsights/workspaces/dataExports object

Name Type Required Value
name string Yes The data export rule name.
Min length: 4
Max length: 63
type enum Yes dataExports

See Set name and type for child resources.
apiVersion enum Yes 2020-03-01-preview
properties object Yes data export properties. - DataExportProperties object

DataExportProperties object

Name Type Required Value
dataExportId string No The data export rule ID.
tableNames array No An array of tables to export, for example: [“Heartbeat, SecurityEvent”]. - string
destination object No destination properties. - Destination object
enable boolean No Active when enabled.
lastModifiedDate string No Date and time when the export was last modified.

Destination object

Name Type Required Value
resourceId string Yes The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.
metaData object No destination meta data. - DestinationMetaData object

DestinationMetaData object

Name Type Required Value
eventHubName string No Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.