Show / Hide Table of Contents

Class SnatEntry

Provides a snat resource.

Inheritance
System.Object
Resource
CustomResource
SnatEntry
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.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public class SnatEntry : CustomResource

Constructors

View Source

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

SnatEntryId

The id of the snat entry on the server.

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

SnatEntryName

The name of snat entry.

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

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

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

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

SourceVswitchId

The vswitch ID.

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

Methods

View Source

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