Class 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.
Inherited Members
Namespace: Pulumi.Azure.Lb
Assembly: Pulumi.Azure.dll
Syntax
public class OutboundRule : CustomResource
Constructors
View SourceOutboundRule(String, OutboundRuleArgs, CustomResourceOptions)
Create a OutboundRule resource with the given unique name, arguments, and options.
Declaration
public OutboundRule(string name, OutboundRuleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OutboundRuleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAllocatedOutboundPorts
The number of outbound ports to be used for NAT.
Declaration
public Output<int?> AllocatedOutboundPorts { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
BackendAddressPoolId
The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
Declaration
public Output<string> BackendAddressPoolId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EnableTcpReset
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.
Declaration
public Output<bool?> EnableTcpReset { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
FrontendIpConfigurations
One or more frontend_ip_configuration blocks as defined below.
Declaration
public Output<ImmutableArray<OutboundRuleFrontendIpConfiguration>> FrontendIpConfigurations { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<OutboundRuleFrontendIpConfiguration>> |
IdleTimeoutInMinutes
The timeout for the TCP idle connection
Declaration
public Output<int?> IdleTimeoutInMinutes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
LoadbalancerId
The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
Declaration
public Output<string> LoadbalancerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Protocol
The transport protocol for the external endpoint. Possible values are Udp, Tcp or All.
Declaration
public Output<string> Protocol { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, OutboundRuleState, CustomResourceOptions)
Get an existing OutboundRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static OutboundRule Get(string name, Input<string> id, OutboundRuleState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| OutboundRuleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| OutboundRule |