Class: Azure::Network::Mgmt::V2015_05_01_preview::Models::LoadBalancingRule
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2015_05_01_preview::Models::LoadBalancingRule
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb
Overview
Rules of the load balancer
Instance Attribute Summary collapse
-
#backend_address_pool ⇒ SubResource
Inbound traffic is randomly load balanced across IPs in the backend IPs.
-
#backend_port ⇒ Integer
the endpoint.
-
#enable_floating_ip ⇒ Boolean
floating IP capability required to configure a SQL AlwaysOn availability Group.
-
#etag ⇒ String
resource is updated.
-
#frontend_ipconfiguration ⇒ SubResource
Gets or sets a reference to frontend IP Addresses.
-
#frontend_port ⇒ Integer
can specify any port number you choose, but the port numbers specified for each role in the service must be unique.
-
#idle_timeout_in_minutes ⇒ Integer
The value can be set between 4 and 30 minutes.
-
#load_distribution ⇒ LoadDistribution
for this rule.
-
#name ⇒ String
resource group.
-
#probe ⇒ SubResource
probe used by the Load Balancing rule.
-
#protocol ⇒ TransportProtocol
external endpoint.
-
#provisioning_state ⇒ String
resource Updating/Deleting/Failed.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LoadBalancingRule class as Ruby Hash.
Instance Attribute Details
#backend_address_pool ⇒ SubResource
Inbound traffic is randomly load balanced across IPs in the backend IPs
20 21 22 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 20 def backend_address_pool @backend_address_pool end |
#backend_port ⇒ Integer
the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal compotnent on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ‘*’ to automatically assign an unallocated port that is discoverable using the runtime API
50 51 52 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 50 def backend_port @backend_port end |
#enable_floating_ip ⇒ Boolean
floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can’t be changed after you create the endpoint
62 63 64 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 62 def enable_floating_ip @enable_floating_ip end |
#etag ⇒ String
resource is updated
74 75 76 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 74 def etag @etag end |
#frontend_ipconfiguration ⇒ SubResource
Returns Gets or sets a reference to frontend IP Addresses.
16 17 18 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 16 def frontend_ipconfiguration @frontend_ipconfiguration end |
#frontend_port ⇒ Integer
can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive
40 41 42 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 40 def frontend_port @frontend_port end |
#idle_timeout_in_minutes ⇒ Integer
The value can be set between 4 and 30 minutes. The default value is 4 minutes. This emlement is only used when the protocol is set to Tcp
55 56 57 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 55 def idle_timeout_in_minutes @idle_timeout_in_minutes end |
#load_distribution ⇒ LoadDistribution
for this rule. Possible values include: ‘Default’, ‘SourceIP’, ‘SourceIPProtocol’
34 35 36 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 34 def load_distribution @load_distribution end |
#name ⇒ String
resource group. This name can be used to access the resource
70 71 72 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 70 def name @name end |
#probe ⇒ SubResource
probe used by the Load Balancing rule.
24 25 26 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 24 def probe @probe end |
#protocol ⇒ TransportProtocol
external endpoint. Possible values are Udp or Tcp. Possible values include: ‘Udp’, ‘Tcp’
29 30 31 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 29 def protocol @protocol end |
#provisioning_state ⇒ String
resource Updating/Deleting/Failed
66 67 68 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 66 def provisioning_state @provisioning_state end |
Class Method Details
.mapper ⇒ Object
Mapper for LoadBalancingRule class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb', line 81 def self.mapper() { required: false, serialized_name: 'LoadBalancingRule', type: { name: 'Composite', class_name: 'LoadBalancingRule', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, frontend_ipconfiguration: { required: false, serialized_name: 'properties.frontendIPConfiguration', type: { name: 'Composite', class_name: 'SubResource' } }, backend_address_pool: { required: true, serialized_name: 'properties.backendAddressPool', type: { name: 'Composite', class_name: 'SubResource' } }, probe: { required: false, serialized_name: 'properties.probe', type: { name: 'Composite', class_name: 'SubResource' } }, protocol: { required: true, serialized_name: 'properties.protocol', type: { name: 'String' } }, load_distribution: { required: false, serialized_name: 'properties.loadDistribution', type: { name: 'String' } }, frontend_port: { required: true, serialized_name: 'properties.frontendPort', type: { name: 'Number' } }, backend_port: { required: false, serialized_name: 'properties.backendPort', type: { name: 'Number' } }, idle_timeout_in_minutes: { required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { name: 'Number' } }, enable_floating_ip: { required: true, serialized_name: 'properties.enableFloatingIP', type: { name: 'Boolean' } }, 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 |