Sha256: 6730872770f21a46241623df7f4cbfb36093a97286af57b5817b81210bf88ddf

Contents?: true

Size: 1.76 KB

Versions: 33

Compression:

Stored size: 1.76 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::Network::Mgmt::V2018_01_01
  module Models
    #
    # Availability of the metric.
    #
    class Availability

      include MsRestAzure

      # @return [String] The time grain of the availability.
      attr_accessor :time_grain

      # @return [String] The retention of the availability.
      attr_accessor :retention

      # @return [String] Duration of the availability blob.
      attr_accessor :blob_duration


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

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
azure_mgmt_network2-0.27.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network2-0.26.1 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.26.1 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.26.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.25.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.24.1 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.24.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.23.4 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.23.3 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.23.2 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.23.1 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.23.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.22.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.21.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.20.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.19.1 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.19.0 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.18.9 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.18.8 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb
azure_mgmt_network-0.18.7 lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb