Sha256: a5f56c12126f982097e9e3b25f6c3d7bc1e2f6dade694d0e5f2a64fe5751bfea

Contents?: true

Size: 1.96 KB

Versions: 24

Compression:

Stored size: 1.96 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_11_01
  module Models
    #
    # Application gateway probe health response match
    #
    class ApplicationGatewayProbeHealthResponseMatch

      include MsRestAzure

      # @return [String] Body that must be contained in the health response.
      # Default value is empty.
      attr_accessor :body

      # @return [Array<String>] Allowed ranges of healthy status codes. Default
      # range of healthy status codes is 200-399.
      attr_accessor :status_codes


      #
      # Mapper for ApplicationGatewayProbeHealthResponseMatch class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationGatewayProbeHealthResponseMatch',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayProbeHealthResponseMatch',
            model_properties: {
              body: {
                client_side_validation: true,
                required: false,
                serialized_name: 'body',
                type: {
                  name: 'String'
                }
              },
              status_codes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'statusCodes',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb
azure_mgmt_network-0.18.5 lib/2018-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb
azure_mgmt_network-0.18.4 lib/2018-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb
azure_mgmt_network-0.18.3 lib/2018-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb