InboundNatRule Class
Inbound NAT rule of the load balancer.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.network.v2018_02_01.models._models_py3.SubResourceInboundNatRule
Constructor
InboundNatRule(*, id: typing.Union[str, NoneType] = None, name: typing.Union[str, NoneType] = None, etag: typing.Union[str, NoneType] = None, frontend_ip_configuration: typing.Union[_ForwardRef('SubResource'), NoneType] = None, protocol: typing.Union[str, _ForwardRef('TransportProtocol'), NoneType] = None, frontend_port: typing.Union[int, NoneType] = None, backend_port: typing.Union[int, NoneType] = None, idle_timeout_in_minutes: typing.Union[int, NoneType] = None, enable_floating_ip: typing.Union[bool, NoneType] = None, provisioning_state: typing.Union[str, NoneType] = None, **kwargs)
Parameters
- id
- str
Resource ID.
- name
- str
Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
- str
A unique read-only string that changes whenever the resource is updated.
- frontend_ip_configuration
- SubResource
A reference to frontend IP addresses.
- protocol
- str or TransportProtocol
The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. Possible values include: "Udp", "Tcp", "All".
- frontend_port
- int
The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
- backend_port
- int
The port used for the internal endpoint. Acceptable values range from 1 to 65535.
- idle_timeout_in_minutes
- int
The timeout for the TCP idle connection. The value 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.
- enable_floating_ip
- bool
Configures a virtual machine's endpoint for the 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.
- provisioning_state
- str
Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
Variables
- backend_ip_configuration
- NetworkInterfaceIPConfiguration
A reference to a private IP 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.
Feedback
Submit and view feedback for