Class: Azure::ARM::Network::Models::ApplicationGatewayProbeHealthResponseMatch

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb

Overview

Application gateway probe health response match

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#bodyString

Default value is empty.

Returns:

  • (String)

    Body that must be contained in the health response.



18
19
20
# File 'lib/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb', line 18

def body
  @body
end

#status_codesArray<String>

range of healthy status codes is 200-399.

Returns:

  • (Array<String>)

    Allowed ranges of healthy status codes. Default



22
23
24
# File 'lib/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb', line 22

def status_codes
  @status_codes
end

Class Method Details

.mapperObject

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



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb', line 30

def self.mapper()
  {
    required: false,
    serialized_name: 'ApplicationGatewayProbeHealthResponseMatch',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayProbeHealthResponseMatch',
      model_properties: {
        body: {
          required: false,
          serialized_name: 'body',
          type: {
            name: 'String'
          }
        },
        status_codes: {
          required: false,
          serialized_name: 'statusCodes',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end