Sha256: 9d1e17d2933ccc2faa8263560dc5379198ead26d1f9516cfbb372ba654c25ed0

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 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::ARM::Web
  module Models
    #
    # Performance monitor sample in a set.
    #
    class PerfMonSample

      include MsRestAzure

      include MsRest::JSONable
      # @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

      # @return [Integer] Core Count of worker. Not a data member
      attr_accessor :core_count


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.13.0 lib/generated/azure_mgmt_web/models/perf_mon_sample.rb