Class: Azure::Network::Mgmt::V2016_09_01::Models::ApplicationGatewayProbe

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-09-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.

Returns:

  • (String)

    A unique read-only string that changes whenever the



51
52
53
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 51

def etag
  @etag
end

#hostString

Returns Host name to send the probe to.

Returns:

  • (String)

    Host name to send the probe to.



20
21
22
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 20

def host
  @host
end

#intervalInteger

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

Returns:

  • (Integer)

    The probing interval in seconds. This is the time



29
30
31
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 29

def interval
  @interval
end

#nameString

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

Returns:

  • (String)

    Name of the resource that is unique within a resource



47
48
49
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 47

def name
  @name
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/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 24

def path
  @path
end

#protocolApplicationGatewayProtocol

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

Returns:



17
18
19
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 17

def protocol
  @protocol
end

#provisioning_stateString

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

Returns:

  • (String)

    Provisioning state of the backend http settings



43
44
45
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 43

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.

Returns:

  • (Integer)

    the probe timeout in seconds. Probe marked as failed



34
35
36
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 34

def timeout
  @timeout
end

#unhealthy_thresholdInteger

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

Returns:

  • (Integer)

    The probe retry count. Backend server is marked down



39
40
41
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 39

def unhealthy_threshold
  @unhealthy_threshold
end

Class Method Details

.mapperObject

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



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
132
133
134
135
136
137
138
139
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb', line 58

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'
          }
        },
        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'
          }
        }
      }
    }
  }
end