Sha256: 5bf7184a950851517849115a6f3e79274c6afa8cbeb4823046eb9ffbc694d990

Contents?: true

Size: 1.76 KB

Versions: 6

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::ContainerInstance::Mgmt::V2018_09_01
  module Models
    #
    # The container Http Get settings, for liveness or readiness probe
    #
    class ContainerHttpGet

      include MsRestAzure

      # @return [String] The path to probe.
      attr_accessor :path

      # @return [Integer] The port number to probe.
      attr_accessor :port

      # @return [Enum] The scheme. Possible values include: 'http', 'https'
      attr_accessor :scheme


      #
      # Mapper for ContainerHttpGet class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerHttpGet',
          type: {
            name: 'Composite',
            class_name: 'ContainerHttpGet',
            model_properties: {
              path: {
                client_side_validation: true,
                required: false,
                serialized_name: 'path',
                type: {
                  name: 'String'
                }
              },
              port: {
                client_side_validation: true,
                required: true,
                serialized_name: 'port',
                type: {
                  name: 'Number'
                }
              },
              scheme: {
                client_side_validation: true,
                required: false,
                serialized_name: 'scheme',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_container_instance-0.18.0 lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb
azure_mgmt_container_instance-0.17.6 lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb
azure_mgmt_container_instance-0.17.5 lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb
azure_mgmt_container_instance-0.17.4 lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb
azure_mgmt_container_instance-0.17.3 lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb
azure_mgmt_container_instance-0.17.2 lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb