class Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeBodyFilters

User-defined filters to return data which will be purged from the table.

Attributes

column[RW]

@return [String] The column of the table over which the given query should run

key[RW]

@return [String] When filtering over custom dimensions, this key will be used as the name of the custom dimension.

operator[RW]

@return [String] A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.

value[RW]

@return the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WorkspacePurgeBodyFilters',
    type: {
      name: 'Composite',
      class_name: 'WorkspacePurgeBodyFilters',
      model_properties: {
        column: {
          client_side_validation: true,
          required: false,
          serialized_name: 'column',
          type: {
            name: 'String'
          }
        },
        operator: {
          client_side_validation: true,
          required: false,
          serialized_name: 'operator',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'Object'
          }
        },
        key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'key',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end