class Azure::Network::Mgmt::V2017_09_01::Models::ApplicationGatewayProbeHealthResponseMatch

Application gateway probe health response match

Attributes

body[RW]

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

status_codes[RW]

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

Public Class Methods

mapper() click to toggle source

Mapper for ApplicationGatewayProbeHealthResponseMatch class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb, line 29
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