Microsoft.OperationalInsights workspaces/dataExports

The workspaces/dataExports resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

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

resource symbolicname 'Microsoft.OperationalInsights/workspaces/dataExports@2020-08-01' = {
  name: 'string'
  properties: {
    createdDate: 'string'
    dataExportId: 'string'
    destination: {
      metaData: {
        eventHubName: 'string'
      }
      resourceId: 'string'
    }
    enable: bool
    lastModifiedDate: 'string'
    tableNames: [ 'string' ]
  }
}

Property values

workspaces/dataExports

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.OperationalInsights/workspaces/dataExports'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2020-08-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Data Export properties. DataExportProperties

DataExportProperties

Name Description Value
createdDate The latest data export rule modification time. string
dataExportId The data export rule ID. string
destination Destination properties. Destination
enable Active when enabled. bool
lastModifiedDate Date and time when the export was last modified. string
tableNames An array of tables to export, for example: [“Heartbeat, SecurityEvent”]. string[] (required)

Destination

Name Description Value
metaData Destination meta data. DestinationMetaData
resourceId The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure. string (required)

DestinationMetaData

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