你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OutboundRule Class

Outbound rule of the load balancer.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

OutboundRule(*, id: str | None = None, name: str | None = None, allocated_outbound_ports: int | None = None, frontend_ip_configurations: List[_models.SubResource] | None = None, backend_address_pool: _models.SubResource | None = None, protocol: str | _models.LoadBalancerOutboundRuleProtocol | None = None, enable_tcp_reset: bool | None = None, idle_timeout_in_minutes: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

Default value: None
name
str

The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.

Default value: None
allocated_outbound_ports
int

The number of outbound ports to be used for NAT.

Default value: None
frontend_ip_configurations

The Frontend IP addresses of the load balancer.

Default value: None
backend_address_pool

A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.

Default value: None
protocol

The protocol for the outbound rule in load balancer. Known values are: "Tcp", "Udp", and "All".

Default value: None
enable_tcp_reset

Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

Default value: None
idle_timeout_in_minutes
int

The timeout for the TCP idle connection.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.

etag
str

A unique read-only string that changes whenever the resource is updated.

type
str

Type of the resource.

allocated_outbound_ports
int

The number of outbound ports to be used for NAT.

frontend_ip_configurations

The Frontend IP addresses of the load balancer.

backend_address_pool

A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.

provisioning_state

The provisioning state of the outbound rule resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".

protocol

The protocol for the outbound rule in load balancer. Known values are: "Tcp", "Udp", and "All".

enable_tcp_reset

Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

idle_timeout_in_minutes
int

The timeout for the TCP idle connection.