Microsoft.OperationalInsights workspaces/dataExports 2019-08-01-preview

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@2019-08-01-preview' = {
  name: 'string'
  parent: parentSymbolicName
  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.
'2019-08-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
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.
parentSymbolicName
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