Show / Hide Table of Contents

Class Snat

f5bigip.ltm.Snat Manages a snat configuration

For resources should be named with their "full path". The full path is the combination of the partition + name of the resource. For example /Common/my-pool.

Example Usage

using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
public MyStack()
{
    var test_snat = new F5BigIP.Ltm.Snat("test-snat", new F5BigIP.Ltm.SnatArgs
    {
        Autolasthop = "default",
        FullPath = "/Common/test-snat",
        Mirror = "disabled",
        Name = "TEST_SNAT_NAME",
        Origins = 
        {
            new F5BigIP.Ltm.Inputs.SnatOriginArgs
            {
                Name = "2.2.2.2",
            },
            new F5BigIP.Ltm.Inputs.SnatOriginArgs
            {
                Name = "3.3.3.3",
            },
        },
        Partition = "Common",
        Translation = "/Common/136.1.1.1",
        Vlansdisabled = true,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Snat
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.F5BigIP.Ltm
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Snat : CustomResource

Constructors

View Source

Snat(String, SnatArgs, CustomResourceOptions)

Create a Snat resource with the given unique name, arguments, and options.

Declaration
public Snat(string name, SnatArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SnatArgs 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

Autolasthop

-(Optional) Specifies whether to automatically map last hop for pools or not. The default is to use next level's default.

Declaration
public Output<string> Autolasthop { get; }
Property Value
Type Description
Output<System.String>
View Source

FullPath

Fullpath

Declaration
public Output<string> FullPath { get; }
Property Value
Type Description
Output<System.String>
View Source

Mirror

Enables or disables mirroring of SNAT connections.

Declaration
public Output<string> Mirror { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Name of the snat

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Origins

IP or hostname of the snat

Declaration
public Output<ImmutableArray<SnatOrigin>> Origins { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<SnatOrigin>>
View Source

Partition

Displays the administrative partition within which this profile resides

Declaration
public Output<string> Partition { get; }
Property Value
Type Description
Output<System.String>
View Source

Snatpool

Specifies the name of a SNAT pool. You can only use this option when automap and translation are not used.

Declaration
public Output<string> Snatpool { get; }
Property Value
Type Description
Output<System.String>
View Source

Sourceport

Specifies whether the system preserves the source port of the connection. The default is preserve. Use of the preserve-strict setting should be restricted to UDP only under very special circumstances such as nPath or transparent (that is, no translation of any other L3/L4 field), where there is a 1:1 relationship between virtual IP addresses and node addresses, or when clustered multi-processing (CMP) is disabled. The change setting is useful for obfuscating internal network addresses.

Declaration
public Output<string> Sourceport { get; }
Property Value
Type Description
Output<System.String>
View Source

Translation

Specifies the name of a translated IP address. Note that translated addresses are outside the traffic management system. You can only use this option when automap and snatpool are not used.

Declaration
public Output<string> Translation { get; }
Property Value
Type Description
Output<System.String>
View Source

Vlans

Specifies the name of the VLAN to which you want to assign the SNAT. The default is vlans-enabled.

Declaration
public Output<ImmutableArray<string>> Vlans { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Vlansdisabled

Disables the SNAT on all VLANs.

Declaration
public Output<bool?> Vlansdisabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>

Methods

View Source

Get(String, Input<String>, SnatState, CustomResourceOptions)

Get an existing Snat resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Snat Get(string name, Input<string> id, SnatState 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.

SnatState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Snat
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.