Class: Azure::ARM::Network::Models::ApplicationGatewayProbe

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

Overview

Probe of the application gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#etagString

resource is updated.



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

def etag
  @etag
end

#hostString



21
22
23
# File 'lib/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/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/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/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 48

def min_servers
  @min_servers
end

#nameString

group. This name can be used to access the resource.



60
61
62
# File 'lib/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/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/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

‘Http’, ‘Https’



18
19
20
# File 'lib/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/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/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 35

def timeout
  @timeout
end

#typeString



67
68
69
# File 'lib/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/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
# File 'lib/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 74

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