Sha256: 1c88ab434f3dd8c5d771b036c2754e76e2a7fa23267aecf2940eccaecd08b0be

Contents?: true

Size: 1.53 KB

Versions: 9

Compression:

Stored size: 1.53 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::V2018_02_01
  module Models
    #
    # Metrics availability and retention.
    #
    class ResourceMetricAvailability

      include MsRestAzure

      # @return [String] Time grain .
      attr_accessor :time_grain

      # @return [String] Retention period for the current time grain.
      attr_accessor :retention


      #
      # Mapper for ResourceMetricAvailability class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ResourceMetricAvailability',
          type: {
            name: 'Composite',
            class_name: 'ResourceMetricAvailability',
            model_properties: {
              time_grain: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'timeGrain',
                type: {
                  name: 'String'
                }
              },
              retention: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'retention',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.18.0 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.17.6 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.17.5 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.17.4 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.17.3 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.17.2 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.17.1 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
azure_mgmt_web-0.17.0 lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb