Class SnatEntry
Provides a snat resource.
Inherited Members
Namespace: Pulumi.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public class SnatEntry : CustomResource
Constructors
View SourceSnatEntry(String, SnatEntryArgs, CustomResourceOptions)
Create a SnatEntry resource with the given unique name, arguments, and options.
Declaration
public SnatEntry(string name, SnatEntryArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SnatEntryArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceSnatEntryId
The id of the snat entry on the server.
Declaration
public Output<string> SnatEntryId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SnatEntryName
The name of snat entry.
Declaration
public Output<string> SnatEntryName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SnatIp
The SNAT ip address, the ip must along bandwidth package public ip which alicloud.vpc.NatGateway argument bandwidth_packages.
Declaration
public Output<string> SnatIp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SnatTableId
The value can get from alicloud.vpc.NatGateway Attributes "snat_table_ids".
Declaration
public Output<string> SnatTableId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SourceCidr
The private network segment of Ecs. This parameter and the source_vswitch_id parameter are mutually exclusive and cannot appear at the same time.
Declaration
public Output<string> SourceCidr { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SourceVswitchId
The vswitch ID.
Declaration
public Output<string> SourceVswitchId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SnatEntryState, CustomResourceOptions)
Get an existing SnatEntry resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SnatEntry Get(string name, Input<string> id, SnatEntryState 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. |
| SnatEntryState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SnatEntry |