Sha256: 8009dcd7c1d890b67ca855c169774d382039eefab97d6dd0fbba49d74cef26f3

Contents?: true

Size: 1.77 KB

Versions: 2

Compression:

Stored size: 1.77 KB

Contents

# 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::Web::Mgmt::V2020_09_01
  module Models
    #
    # Performance monitor sample in a set.
    #
    class PerfMonSample

      include MsRestAzure

      # @return [DateTime] Point in time for which counter was measured.
      attr_accessor :time

      # @return [String] Name of the server on which the measurement is made.
      attr_accessor :instance_name

      # @return [Float] Value of counter at a certain time.
      attr_accessor :value


      #
      # Mapper for PerfMonSample class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PerfMonSample',
          type: {
            name: 'Composite',
            class_name: 'PerfMonSample',
            model_properties: {
              time: {
                client_side_validation: true,
                required: false,
                serialized_name: 'time',
                type: {
                  name: 'DateTime'
                }
              },
              instance_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'instanceName',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_sample.rb
azure_mgmt_web-0.18.0 lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_sample.rb