Class: Azure::ARM::Network::Models::InboundNatRule
- Inherits:
-
MsRestAzure::SubResource
- Object
- MsRestAzure::SubResource
- Azure::ARM::Network::Models::InboundNatRule
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb
Overview
Inbound NAT rule of the load balancer.
Instance Attribute Summary collapse
-
#backend_ipconfiguration ⇒ NetworkInterfaceIPConfiguration
address defined on a network interface of a VM.
-
#backend_port ⇒ Integer
values range from 1 to 65535.
-
#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 ⇒ Integer
each Rule must be unique within the Load Balancer.
-
#idle_timeout_in_minutes ⇒ Integer
can be set between 4 and 30 minutes.
-
#name ⇒ String
resource group.
-
#protocol ⇒ TransportProtocol
Possible values are: ‘Udp’ or ‘Tcp’.
-
#provisioning_state ⇒ String
Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InboundNatRule class as Ruby Hash.
Instance Attribute Details
#backend_ipconfiguration ⇒ NetworkInterfaceIPConfiguration
address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 23 def backend_ipconfiguration @backend_ipconfiguration end |
#backend_port ⇒ Integer
values range from 1 to 65535.
37 38 39 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 37 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.
49 50 51 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 49 def enable_floating_ip @enable_floating_ip end |
#etag ⇒ String
resource is updated.
61 62 63 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 61 def etag @etag end |
#frontend_ipconfiguration ⇒ SubResource
Returns A reference to frontend IP addresses.
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 17 def frontend_ipconfiguration @frontend_ipconfiguration end |
#frontend_port ⇒ Integer
each Rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
33 34 35 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 33 def frontend_port @frontend_port 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.
42 43 44 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 42 def idle_timeout_in_minutes @idle_timeout_in_minutes end |
#name ⇒ String
resource group. This name can be used to access the resource.
57 58 59 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 57 def name @name end |
#protocol ⇒ TransportProtocol
Possible values are: ‘Udp’ or ‘Tcp’. Possible values include: ‘Udp’, ‘Tcp’
28 29 30 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 28 def protocol @protocol end |
#provisioning_state ⇒ String
Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.
53 54 55 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 53 def provisioning_state @provisioning_state end |
Class Method Details
.mapper ⇒ Object
Mapper for InboundNatRule class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb', line 68 def self.mapper() { required: false, serialized_name: 'InboundNatRule', type: { name: 'Composite', class_name: 'InboundNatRule', 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_ipconfiguration: { required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', type: { name: 'Composite', class_name: 'NetworkInterfaceIPConfiguration' } }, protocol: { required: false, serialized_name: 'properties.protocol', type: { name: 'String' } }, frontend_port: { required: false, 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: false, 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 |