# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::OperationalInsights::Mgmt::V2020_03_01_preview module Models # # Workspace data table definition. # class Table < ProxyResource include MsRestAzure # @return [Integer] The data table data retention in days, between 30 and # 730. Setting this property to null will default to the workspace # retention. attr_accessor :retention_in_days # # Mapper for Table class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end