Class: Azure::Network::Mgmt::V2019_06_01::Models::ApplicationGatewayOnDemandProbe

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb

Overview

Details of on demand test probe request.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backend_address_poolSubResource

to which probe request will be sent.

Returns:

  • (SubResource)

    Reference of backend pool of application gateway


41
42
43
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 41

def backend_address_pool
  @backend_address_pool
end

#backend_http_settingsSubResource

gateway to be used for test probe.

Returns:

  • (SubResource)

    Reference of backend http setting of application


45
46
47
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 45

def backend_http_settings
  @backend_http_settings
end

#hostString

Returns Host name to send the probe to.

Returns:

  • (String)

    Host name to send the probe to.


20
21
22
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 20

def host
  @host
end

#matchApplicationGatewayProbeHealthResponseMatch

classifying a healthy probe response.

Returns:


37
38
39
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 37

def match
  @match
end

#pathString

Probe is sent to <Protocol>://<host>:<port><path>.

Returns:

  • (String)

    Relative path of probe. Valid path starts from '/'.


24
25
26
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 24

def path
  @path
end

#pick_host_name_from_backend_http_settingsBoolean

backend http settings. Default value is false.

Returns:

  • (Boolean)

    Whether the host header should be picked from the


33
34
35
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 33

def pick_host_name_from_backend_http_settings
  @pick_host_name_from_backend_http_settings
end

#protocolApplicationGatewayProtocol

Possible values include: 'Http', 'Https'

Returns:


17
18
19
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 17

def protocol
  @protocol
end

#timeoutInteger

if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds.

Returns:

  • (Integer)

    The probe timeout in seconds. Probe marked as failed


29
30
31
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 29

def timeout
  @timeout
end

Class Method Details

.mapperObject

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


52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb', line 52

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayOnDemandProbe',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayOnDemandProbe',
      model_properties: {
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocol',
          type: {
            name: 'String'
          }
        },
        host: {
          client_side_validation: true,
          required: false,
          serialized_name: 'host',
          type: {
            name: 'String'
          }
        },
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        timeout: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeout',
          type: {
            name: 'Number'
          }
        },
        pick_host_name_from_backend_http_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pickHostNameFromBackendHttpSettings',
          type: {
            name: 'Boolean'
          }
        },
        match: {
          client_side_validation: true,
          required: false,
          serialized_name: 'match',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayProbeHealthResponseMatch'
          }
        },
        backend_address_pool: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backendAddressPool',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        backend_http_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backendHttpSettings',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        }
      }
    }
  }
end