Class: Azure::Network::Mgmt::V2016_03_30::Models::InboundNatPool
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2016_03_30::Models::InboundNatPool
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb
Overview
Inbound NAT pool of the loadbalancer
Instance Attribute Summary collapse
-
#backend_port ⇒ Integer
the endpoint.
-
#etag ⇒ String
resource is updated.
-
#frontend_ipconfiguration ⇒ SubResource
Gets or sets a reference to frontend IP Addresses.
-
#frontend_port_range_end ⇒ Integer
You can spcify any port number you choose, but the port numbers specified for each role in the service must be unique.
-
#frontend_port_range_start ⇒ Integer
pool.
-
#name ⇒ String
resource group.
-
#protocol ⇒ TransportProtocol
external endpoint.
-
#provisioning_state ⇒ String
resource Updating/Deleting/Failed.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InboundNatPool class as Ruby Hash.
Instance Attribute Details
#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
43 44 45 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 43 def backend_port @backend_port end |
#etag ⇒ String
resource is updated
55 56 57 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 55 def etag @etag end |
#frontend_ipconfiguration ⇒ SubResource
Returns Gets or sets a reference to frontend IP Addresses.
16 17 18 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 16 def frontend_ipconfiguration @frontend_ipconfiguration end |
#frontend_port_range_end ⇒ Integer
You can spcify 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
33 34 35 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 33 def frontend_port_range_end @frontend_port_range_end end |
#frontend_port_range_start ⇒ Integer
pool. You can spcify 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
27 28 29 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 27 def frontend_port_range_start @frontend_port_range_start end |
#name ⇒ String
resource group. This name can be used to access the resource
51 52 53 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 51 def name @name end |
#protocol ⇒ TransportProtocol
external endpoint. Possible values are Udp or Tcp. Possible values include: ‘Udp’, ‘Tcp’
21 22 23 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 21 def protocol @protocol end |
#provisioning_state ⇒ String
resource Updating/Deleting/Failed
47 48 49 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 47 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.
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 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb', line 62 def self.mapper() { required: false, serialized_name: 'InboundNatPool', type: { name: 'Composite', class_name: 'InboundNatPool', 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' } }, protocol: { required: true, serialized_name: 'properties.protocol', type: { name: 'String' } }, frontend_port_range_start: { required: true, serialized_name: 'properties.frontendPortRangeStart', type: { name: 'Number' } }, frontend_port_range_end: { required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { name: 'Number' } }, backend_port: { required: true, serialized_name: 'properties.backendPort', 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 |