class Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataExport

The top level data export resource container.

Attributes

created_date[RW]

@return [String] The latest data export rule modification time.

data_export_id[RW]

@return [String] The data export rule ID.

data_export_type[RW]

@return [Type] The type of the destination resource. Possible values include: 'StorageAccount', 'EventHub'

enable[RW]

@return [Boolean] Active when enabled.

event_hub_name[RW]

@return [String] Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.

last_modified_date[RW]

@return [String] Date and time when the export was last modified.

resource_id[RW]

@return [String] The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.

table_names[RW]

@return [Array<String>] An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

Public Class Methods

mapper() click to toggle source

Mapper for DataExport class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb, line 48
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataExport',
    type: {
      name: 'Composite',
      class_name: 'DataExport',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        data_export_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataExportId',
          type: {
            name: 'String'
          }
        },
        table_names: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.tableNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.destination.resourceId',
          type: {
            name: 'String'
          }
        },
        data_export_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.destination.type',
          type: {
            name: 'String'
          }
        },
        event_hub_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.destination.metaData.eventHubName',
          type: {
            name: 'String'
          }
        },
        enable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enable',
          type: {
            name: 'Boolean'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'String'
          }
        },
        last_modified_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastModifiedDate',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end