Show / Hide Table of Contents

Class Connection

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

Constructors

View Source

Connection(String, ConnectionArgs, CustomResourceOptions)

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

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

The unique name of the resource

ConnectionArgs 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

CustomerGatewayId

The ID of the customer gateway.

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

EffectImmediately

Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.

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

IkeConfigs

The configurations of phase-one negotiation.

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

IpsecConfigs

The configurations of phase-two negotiation.

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

LocalSubnets

The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.

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

Name

The name of the IPsec connection.

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

RemoteSubnets

The CIDR block of the local data center. This parameter is used for phase-two negotiation.

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

Status

The status of VPN connection.

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

VpnGatewayId

The ID of the VPN gateway.

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

Methods

View Source

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

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

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

ConnectionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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