class Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Table

Workspace data table definition.

Attributes

retention_in_days[RW]

@return [Integer] The data table data retention in days, between 30 and

  1. Setting this property to null will default to the workspace

retention.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/table.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Table',
    type: {
      name: 'Composite',
      class_name: 'Table',
      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'
          }
        },
        retention_in_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.retentionInDays',
          constraints: {
            InclusiveMaximum: 730,
            InclusiveMinimum: 30
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end