Show / Hide Table of Contents

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.

Inheritance
System.Object
Resource
CustomResource
OutboundRule
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Lb
Assembly: Pulumi.Azure.dll
Syntax
public class OutboundRule : CustomResource

Constructors

View Source

OutboundRule(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 Source

AllocatedOutboundPorts

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>>
View Source

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>
View Source

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>>
View Source

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>>
View Source

IdleTimeoutInMinutes

The timeout for the TCP idle connection

Declaration
public Output<int?> IdleTimeoutInMinutes { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

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>
View Source

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>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.