class Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::AvailableServiceTier

Service Tier details.

Attributes

capacity_reservation_level[RW]

@return [Integer] The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier.

default_retention[RW]

@return [Integer] The default retention for the Service Tier, in days.

enabled[RW]

@return [Boolean] True if the Service Tier is enabled for the workspace.

last_sku_update[RW]

@return [String] Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier.

maximum_retention[RW]

@return [Integer] The maximum retention for the Service Tier, in days.

minimum_retention[RW]

@return [Integer] The minimum retention for the Service Tier, in days.

service_tier[RW]

@return [SkuNameEnum] The name of the Service Tier. Possible values include: 'Free', 'Standard', 'Premium', 'PerNode', 'PerGB2018', 'Standalone', 'CapacityReservation'

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/available_service_tier.rb, line 46
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AvailableServiceTier',
    type: {
      name: 'Composite',
      class_name: 'AvailableServiceTier',
      model_properties: {
        service_tier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'serviceTier',
          type: {
            name: 'String'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        minimum_retention: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'minimumRetention',
          type: {
            name: 'Number'
          }
        },
        maximum_retention: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'maximumRetention',
          type: {
            name: 'Number'
          }
        },
        default_retention: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'defaultRetention',
          type: {
            name: 'Number'
          }
        },
        capacity_reservation_level: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'capacityReservationLevel',
          type: {
            name: 'Number'
          }
        },
        last_sku_update: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastSkuUpdate',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end