SnatPool

f5bigip.ltm.SnatPool Collections of SNAT translation addresses

Resource should be named with their “full path”. The full path is the combination of the partition + name of the resource, for example /Common/my-snatpool.

Example Usage

using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
    public MyStack()
    {
        var snatpoolSanjose = new F5BigIP.Ltm.SnatPool("snatpoolSanjose", new F5BigIP.Ltm.SnatPoolArgs
        {
            Members = 
            {
                "191.1.1.1",
                "194.2.2.2",
            },
            Name = "/Common/snatpool_sanjose",
        });
    }

}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

snatpool_sanjose = f5bigip.ltm.SnatPool("snatpoolSanjose",
    members=[
        "191.1.1.1",
        "194.2.2.2",
    ],
    name="/Common/snatpool_sanjose")
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";

const snatpoolSanjose = new f5bigip.ltm.SnatPool("snatpool_sanjose", {
    members: [
        "191.1.1.1",
        "194.2.2.2",
    ],
    name: "/Common/snatpool_sanjose",
});

Create a SnatPool Resource

def SnatPool(resource_name, opts=None, members=None, name=None, __props__=None);
func NewSnatPool(ctx *Context, name string, args SnatPoolArgs, opts ...ResourceOption) (*SnatPool, error)
public SnatPool(string name, SnatPoolArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SnatPoolArgs
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 SnatPoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SnatPoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SnatPool Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SnatPool resource accepts the following input properties:

Members List<string>

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

Name string

Name of the snatpool

Members []string

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

Name string

Name of the snatpool

members string[]

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

name string

Name of the snatpool

members List[str]

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

name str

Name of the snatpool

Outputs

All input properties are implicitly available as output properties. Additionally, the SnatPool resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing SnatPool Resource

Get an existing SnatPool 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?: SnatPoolState, opts?: CustomResourceOptions): SnatPool
static get(resource_name, id, opts=None, members=None, name=None, __props__=None);
func GetSnatPool(ctx *Context, name string, id IDInput, state *SnatPoolState, opts ...ResourceOption) (*SnatPool, error)
public static SnatPool Get(string name, Input<string> id, SnatPoolState? 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:

Members List<string>

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

Name string

Name of the snatpool

Members []string

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

Name string

Name of the snatpool

members string[]

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

name string

Name of the snatpool

members List[str]

Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)

name str

Name of the snatpool

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes
This Pulumi package is based on the bigip Terraform Provider.