Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.F5BigIP.Ltm
Assembly: Pulumi.F5BigIP.dll
Syntax
public class SnatPool : CustomResource
Constructors
View SourceSnatPool(String, SnatPoolArgs, CustomResourceOptions)
Create a SnatPool resource with the given unique name, arguments, and options.
Declaration
public SnatPool(string name, SnatPoolArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SnatPoolArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceMembers
Specifies a translation address to add to or delete from a SNAT pool (at least one address is required)
Declaration
public Output<ImmutableArray<string>> Members { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Name
Name of the snatpool
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SnatPoolState, CustomResourceOptions)
Get an existing SnatPool resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SnatPool Get(string name, Input<string> id, SnatPoolState 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. |
| SnatPoolState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SnatPool |