OutboundRule
Manages a Load Balancer Outbound Rule.
NOTE When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration and a Backend Address Pool Attached.
Create a OutboundRule Resource
new OutboundRule(name: string, args: OutboundRuleArgs, opts?: CustomResourceOptions);def OutboundRule(resource_name, opts=None, allocated_outbound_ports=None, backend_address_pool_id=None, enable_tcp_reset=None, frontend_ip_configurations=None, idle_timeout_in_minutes=None, loadbalancer_id=None, name=None, protocol=None, resource_group_name=None, __props__=None);func NewOutboundRule(ctx *Context, name string, args OutboundRuleArgs, opts ...ResourceOption) (*OutboundRule, error)public OutboundRule(string name, OutboundRuleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args OutboundRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OutboundRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OutboundRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
OutboundRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The OutboundRule resource accepts the following input properties:
- Backend
Address stringPool Id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- Loadbalancer
Id string The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- Protocol string
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- Resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- Allocated
Outbound intPorts The number of outbound ports to be used for NAT.
- Enable
Tcp boolReset 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.
- Frontend
Ip List<OutboundConfigurations Rule Frontend Ip Configuration Args> One or more
frontend_ip_configurationblocks as defined below.- Idle
Timeout intIn Minutes The timeout for the TCP idle connection
- Name string
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
- Backend
Address stringPool Id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- Loadbalancer
Id string The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- Protocol string
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- Resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- Allocated
Outbound intPorts The number of outbound ports to be used for NAT.
- Enable
Tcp boolReset 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.
- Frontend
Ip []OutboundConfigurations Rule Frontend Ip Configuration One or more
frontend_ip_configurationblocks as defined below.- Idle
Timeout intIn Minutes The timeout for the TCP idle connection
- Name string
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
- backend
Address stringPool Id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- loadbalancer
Id string The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- protocol string
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- allocated
Outbound numberPorts The number of outbound ports to be used for NAT.
- enable
Tcp booleanReset 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.
- frontend
Ip OutboundConfigurations Rule Frontend Ip Configuration[] One or more
frontend_ip_configurationblocks as defined below.- idle
Timeout numberIn Minutes The timeout for the TCP idle connection
- name string
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
- backend_
address_ strpool_ id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- loadbalancer_
id str The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- protocol str
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- resource_
group_ strname The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- allocated_
outbound_ floatports The number of outbound ports to be used for NAT.
- enable_
tcp_ boolreset 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.
- frontend_
ip_ List[Outboundconfigurations Rule Frontend Ip Configuration] One or more
frontend_ip_configurationblocks as defined below.- idle_
timeout_ floatin_ minutes The timeout for the TCP idle connection
- name str
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the OutboundRule resource produces the following output properties:
Look up an Existing OutboundRule Resource
Get an existing OutboundRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OutboundRuleState, opts?: CustomResourceOptions): OutboundRulestatic get(resource_name, id, opts=None, allocated_outbound_ports=None, backend_address_pool_id=None, enable_tcp_reset=None, frontend_ip_configurations=None, idle_timeout_in_minutes=None, loadbalancer_id=None, name=None, protocol=None, resource_group_name=None, __props__=None);func GetOutboundRule(ctx *Context, name string, id IDInput, state *OutboundRuleState, opts ...ResourceOption) (*OutboundRule, error)public static OutboundRule Get(string name, Input<string> id, OutboundRuleState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Allocated
Outbound intPorts The number of outbound ports to be used for NAT.
- Backend
Address stringPool Id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- Enable
Tcp boolReset 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.
- Frontend
Ip List<OutboundConfigurations Rule Frontend Ip Configuration Args> One or more
frontend_ip_configurationblocks as defined below.- Idle
Timeout intIn Minutes The timeout for the TCP idle connection
- Loadbalancer
Id string The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
- Protocol string
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- Resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- Allocated
Outbound intPorts The number of outbound ports to be used for NAT.
- Backend
Address stringPool Id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- Enable
Tcp boolReset 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.
- Frontend
Ip []OutboundConfigurations Rule Frontend Ip Configuration One or more
frontend_ip_configurationblocks as defined below.- Idle
Timeout intIn Minutes The timeout for the TCP idle connection
- Loadbalancer
Id string The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
- Protocol string
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- Resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- allocated
Outbound numberPorts The number of outbound ports to be used for NAT.
- backend
Address stringPool Id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- enable
Tcp booleanReset 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.
- frontend
Ip OutboundConfigurations Rule Frontend Ip Configuration[] One or more
frontend_ip_configurationblocks as defined below.- idle
Timeout numberIn Minutes The timeout for the TCP idle connection
- loadbalancer
Id string The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- name string
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
- protocol string
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- allocated_
outbound_ floatports The number of outbound ports to be used for NAT.
- backend_
address_ strpool_ id The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- enable_
tcp_ boolreset 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.
- frontend_
ip_ List[Outboundconfigurations Rule Frontend Ip Configuration] One or more
frontend_ip_configurationblocks as defined below.- idle_
timeout_ floatin_ minutes The timeout for the TCP idle connection
- loadbalancer_
id str The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
- name str
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
- protocol str
The transport protocol for the external endpoint. Possible values are
Udp,TcporAll.- resource_
group_ strname The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
Supporting Types
OutboundRuleFrontendIpConfiguration
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.