Class: Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbeHealthResponseMatch

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/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.


17
18
19
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb', line 17

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


21
22
23
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb', line 21

def status_codes
  @status_codes
end

Class Method Details

.mapperObject

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


29
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
63
64
65
# File 'lib/2018-08-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