Class: Azure::Network::Mgmt::V2018_06_01::Models::InboundNatPool
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2018_06_01::Models::InboundNatPool
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb
Overview
Inbound NAT pool of the load balancer.
Instance Attribute Summary collapse
-
#backend_port ⇒ Integer
endpoint.
-
#enable_floating_ip ⇒ Boolean
floating IP capability required to configure a SQL AlwaysOn Availability Group.
-
#etag ⇒ String
resource is updated.
-
#frontend_ipconfiguration ⇒ SubResource
A reference to frontend IP addresses.
-
#frontend_port_range_end ⇒ Integer
that will be used to provide Inbound Nat to NICs associated with a load balancer.
-
#frontend_port_range_start ⇒ Integer
that will be used to provide Inbound Nat to NICs associated with a load balancer.
-
#idle_timeout_in_minutes ⇒ Integer
can be set between 4 and 30 minutes.
-
#name ⇒ String
resource group.
-
#protocol ⇒ TransportProtocol
'All'.
-
#provisioning_state ⇒ String
Possible values are: 'Updating', 'Deleting', and 'Failed'.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InboundNatPool class as Ruby Hash.
Instance Attribute Details
#backend_port ⇒ Integer
endpoint. Acceptable values are between 1 and 65535.
34 35 36 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 34 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 AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
46 47 48 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 46 def enable_floating_ip @enable_floating_ip end |
#etag ⇒ String
resource is updated.
58 59 60 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 58 def etag @etag end |
#frontend_ipconfiguration ⇒ SubResource
Returns A reference to frontend IP addresses.
16 17 18 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 16 def frontend_ipconfiguration @frontend_ipconfiguration end |
#frontend_port_range_end ⇒ Integer
that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
30 31 32 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 30 def frontend_port_range_end @frontend_port_range_end end |
#frontend_port_range_start ⇒ Integer
that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
25 26 27 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 25 def frontend_port_range_start @frontend_port_range_start end |
#idle_timeout_in_minutes ⇒ Integer
can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
39 40 41 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 39 def idle_timeout_in_minutes @idle_timeout_in_minutes end |
#name ⇒ String
resource group. This name can be used to access the resource.
54 55 56 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 54 def name @name end |
#protocol ⇒ TransportProtocol
'All'
20 21 22 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 20 def protocol @protocol end |
#provisioning_state ⇒ String
Possible values are: 'Updating', 'Deleting', and 'Failed'.
50 51 52 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 50 def provisioning_state @provisioning_state end |
Class Method Details
.mapper ⇒ Object
Mapper for InboundNatPool 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 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 65 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { name: 'Composite', class_name: 'InboundNatPool', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, frontend_ipconfiguration: { client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { name: 'Composite', class_name: 'SubResource' } }, protocol: { client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { name: 'String' } }, frontend_port_range_start: { client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { name: 'Number' } }, frontend_port_range_end: { client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { name: 'Number' } }, backend_port: { client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { name: 'Number' } }, idle_timeout_in_minutes: { client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { name: 'Number' } }, enable_floating_ip: { client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { name: 'Boolean' } }, 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' } } } } } end |