Class: Azure::Network::Mgmt::V2018_12_01::Models::ApplicationGatewayProbe

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb

Overview

Probe of the application gateway.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#etagString

resource is updated.



64
65
66
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 64

def etag
  @etag
end

#hostString



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

def host
  @host
end

#intervalInteger

interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.



30
31
32
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 30

def interval
  @interval
end

#matchApplicationGatewayProbeHealthResponseMatch

classifying a healthy probe response.



52
53
54
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 52

def match
  @match
end

#min_serversInteger

healthy. Default value is 0.



48
49
50
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 48

def min_servers
  @min_servers
end

#nameString

Gateway.



60
61
62
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 60

def name
  @name
end

#pathString

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



25
26
27
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 25

def path
  @path
end

#pick_host_name_from_backend_http_settingsBoolean

backend http settings. Default value is false.



44
45
46
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 44

def pick_host_name_from_backend_http_settings
  @pick_host_name_from_backend_http_settings
end

#protocolApplicationGatewayProtocol

Possible values are ‘Http’ and ‘Https’. Possible values include: ‘Http’, ‘Https’



18
19
20
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 18

def protocol
  @protocol
end

#provisioning_stateString

resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.



56
57
58
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 56

def provisioning_state
  @provisioning_state
end

#timeoutInteger

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



35
36
37
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 35

def timeout
  @timeout
end

#typeString



67
68
69
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 67

def type
  @type
end

#unhealthy_thresholdInteger

after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.



40
41
42
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 40

def unhealthy_threshold
  @unhealthy_threshold
end

Class Method Details

.mapperObject

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



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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 74

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayProbe',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayProbe',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.protocol',
          type: {
            name: 'String'
          }
        },
        host: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.host',
          type: {
            name: 'String'
          }
        },
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.path',
          type: {
            name: 'String'
          }
        },
        interval: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.interval',
          type: {
            name: 'Number'
          }
        },
        timeout: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timeout',
          type: {
            name: 'Number'
          }
        },
        unhealthy_threshold: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.unhealthyThreshold',
          type: {
            name: 'Number'
          }
        },
        pick_host_name_from_backend_http_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.pickHostNameFromBackendHttpSettings',
          type: {
            name: 'Boolean'
          }
        },
        min_servers: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.minServers',
          type: {
            name: 'Number'
          }
        },
        match: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.match',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayProbeHealthResponseMatch'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end