Class: Azure::Network::Mgmt::V2017_03_01::Models::Probe
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2017_03_01::Models::Probe
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb
Overview
A load balancer probe.
Instance Attribute Summary collapse
-
#etag ⇒ String
resource is updated.
-
#interval_in_seconds ⇒ Integer
the endpoint for health status.
-
#load_balancing_rules ⇒ Array<SubResource>
probe.
-
#name ⇒ String
resource group.
-
#number_of_probes ⇒ Integer
result in stopping further traffic from being delivered to the endpoint.
-
#port ⇒ Integer
range from 1 to 65535, inclusive.
-
#protocol ⇒ ProbeProtocol
are: ‘Http’ or ‘Tcp’.
-
#provisioning_state ⇒ String
Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.
-
#request_path ⇒ String
Path is required if a protocol is set to http.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Probe class as Ruby Hash.
Instance Attribute Details
#etag ⇒ String
resource is updated.
58 59 60 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 58 def etag @etag end |
#interval_in_seconds ⇒ Integer
the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
35 36 37 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 35 def interval_in_seconds @interval_in_seconds end |
#load_balancing_rules ⇒ Array<SubResource>
probe.
17 18 19 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 17 def load_balancing_rules @load_balancing_rules end |
#name ⇒ String
resource group. This name can be used to access the resource.
54 55 56 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 54 def name @name end |
#number_of_probes ⇒ Integer
result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
41 42 43 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 41 def number_of_probes @number_of_probes end |
#port ⇒ Integer
range from 1 to 65535, inclusive.
28 29 30 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 28 def port @port end |
#protocol ⇒ ProbeProtocol
are: ‘Http’ or ‘Tcp’. If ‘Tcp’ is specified, a received ACK is required for the probe to be successful. If ‘Http’ is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: ‘Http’, ‘Tcp’
24 25 26 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 24 def protocol @protocol end |
#provisioning_state ⇒ String
Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.
50 51 52 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 50 def provisioning_state @provisioning_state end |
#request_path ⇒ String
Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
46 47 48 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 46 def request_path @request_path end |
Class Method Details
.mapper ⇒ Object
Mapper for Probe class as Ruby Hash. This will be used for serialization/deserialization.
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 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb', line 65 def self.mapper() { required: false, serialized_name: 'Probe', type: { name: 'Composite', class_name: 'Probe', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, load_balancing_rules: { required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { required: false, serialized_name: 'SubResourceElementType', type: { name: 'Composite', class_name: 'SubResource' } } } }, protocol: { required: true, serialized_name: 'properties.protocol', type: { name: 'String' } }, port: { required: true, serialized_name: 'properties.port', type: { name: 'Number' } }, interval_in_seconds: { required: false, serialized_name: 'properties.intervalInSeconds', type: { name: 'Number' } }, number_of_probes: { required: false, serialized_name: 'properties.numberOfProbes', type: { name: 'Number' } }, request_path: { required: false, serialized_name: 'properties.requestPath', type: { name: 'String' } }, 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 |