vpn

package
v2.35.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringOutput `pulumi:"customerGatewayId"`
	// Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.
	EffectImmediately pulumi.BoolPtrOutput `pulumi:"effectImmediately"`
	// The configurations of phase-one negotiation.
	IkeConfigs ConnectionIkeConfigArrayOutput `pulumi:"ikeConfigs"`
	// The configurations of phase-two negotiation.
	IpsecConfigs ConnectionIpsecConfigArrayOutput `pulumi:"ipsecConfigs"`
	// The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
	LocalSubnets pulumi.StringArrayOutput `pulumi:"localSubnets"`
	// The name of the IPsec connection.
	Name pulumi.StringOutput `pulumi:"name"`
	// The CIDR block of the local data center. This parameter is used for phase-two negotiation.
	RemoteSubnets pulumi.StringArrayOutput `pulumi:"remoteSubnets"`
	// The status of VPN connection.
	Status pulumi.StringOutput `pulumi:"status"`
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
}

## Import

VPN connection can be imported using the id, e.g.

```sh

$ pulumi import alicloud:vpn/connection:Connection example vco-abc123456

```

func GetConnection

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConnection

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

NewConnection registers a new resource with the given unique name, arguments, and options.

func (*Connection) ElementType added in v2.25.1

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput added in v2.25.1

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext added in v2.25.1

func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

func (*Connection) ToConnectionPtrOutput added in v2.35.1

func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput

func (*Connection) ToConnectionPtrOutputWithContext added in v2.35.1

func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

type ConnectionArgs

type ConnectionArgs struct {
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringInput
	// Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.
	EffectImmediately pulumi.BoolPtrInput
	// The configurations of phase-one negotiation.
	IkeConfigs ConnectionIkeConfigArrayInput
	// The configurations of phase-two negotiation.
	IpsecConfigs ConnectionIpsecConfigArrayInput
	// The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
	LocalSubnets pulumi.StringArrayInput
	// The name of the IPsec connection.
	Name pulumi.StringPtrInput
	// The CIDR block of the local data center. This parameter is used for phase-two negotiation.
	RemoteSubnets pulumi.StringArrayInput
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray added in v2.35.1

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType added in v2.35.1

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput added in v2.35.1

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext added in v2.35.1

func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionArrayInput added in v2.35.1

type ConnectionArrayInput interface {
	pulumi.Input

	ToConnectionArrayOutput() ConnectionArrayOutput
	ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput
}

ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput added in v2.35.1

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType added in v2.35.1

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index added in v2.35.1

func (ConnectionArrayOutput) ToConnectionArrayOutput added in v2.35.1

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext added in v2.35.1

func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionIkeConfig

type ConnectionIkeConfig struct {
	// The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
	IkeAuthAlg *string `pulumi:"ikeAuthAlg"`
	// The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes
	IkeEncAlg *string `pulumi:"ikeEncAlg"`
	// The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400.
	IkeLifetime *int `pulumi:"ikeLifetime"`
	// The identification of the VPN gateway.
	IkeLocalId *string `pulumi:"ikeLocalId"`
	// The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: main
	IkeMode *string `pulumi:"ikeMode"`
	// The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2
	IkePfs *string `pulumi:"ikePfs"`
	// The identification of the customer gateway.
	IkeRemoteId *string `pulumi:"ikeRemoteId"`
	// The version of the IKE protocol. Valid value: ikev1 | ikev2. Default value: ikev1
	IkeVersion *string `pulumi:"ikeVersion"`
	// Used for authentication between the IPsec VPN gateway and the customer gateway.
	Psk *string `pulumi:"psk"`
}

type ConnectionIkeConfigArgs

type ConnectionIkeConfigArgs struct {
	// The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
	IkeAuthAlg pulumi.StringPtrInput `pulumi:"ikeAuthAlg"`
	// The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes
	IkeEncAlg pulumi.StringPtrInput `pulumi:"ikeEncAlg"`
	// The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400.
	IkeLifetime pulumi.IntPtrInput `pulumi:"ikeLifetime"`
	// The identification of the VPN gateway.
	IkeLocalId pulumi.StringPtrInput `pulumi:"ikeLocalId"`
	// The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: main
	IkeMode pulumi.StringPtrInput `pulumi:"ikeMode"`
	// The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2
	IkePfs pulumi.StringPtrInput `pulumi:"ikePfs"`
	// The identification of the customer gateway.
	IkeRemoteId pulumi.StringPtrInput `pulumi:"ikeRemoteId"`
	// The version of the IKE protocol. Valid value: ikev1 | ikev2. Default value: ikev1
	IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"`
	// Used for authentication between the IPsec VPN gateway and the customer gateway.
	Psk pulumi.StringPtrInput `pulumi:"psk"`
}

func (ConnectionIkeConfigArgs) ElementType

func (ConnectionIkeConfigArgs) ElementType() reflect.Type

func (ConnectionIkeConfigArgs) ToConnectionIkeConfigOutput

func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput

func (ConnectionIkeConfigArgs) ToConnectionIkeConfigOutputWithContext

func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigOutputWithContext(ctx context.Context) ConnectionIkeConfigOutput

type ConnectionIkeConfigArray

type ConnectionIkeConfigArray []ConnectionIkeConfigInput

func (ConnectionIkeConfigArray) ElementType

func (ConnectionIkeConfigArray) ElementType() reflect.Type

func (ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutput

func (i ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutput() ConnectionIkeConfigArrayOutput

func (ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutputWithContext

func (i ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutputWithContext(ctx context.Context) ConnectionIkeConfigArrayOutput

type ConnectionIkeConfigArrayInput

type ConnectionIkeConfigArrayInput interface {
	pulumi.Input

	ToConnectionIkeConfigArrayOutput() ConnectionIkeConfigArrayOutput
	ToConnectionIkeConfigArrayOutputWithContext(context.Context) ConnectionIkeConfigArrayOutput
}

ConnectionIkeConfigArrayInput is an input type that accepts ConnectionIkeConfigArray and ConnectionIkeConfigArrayOutput values. You can construct a concrete instance of `ConnectionIkeConfigArrayInput` via:

ConnectionIkeConfigArray{ ConnectionIkeConfigArgs{...} }

type ConnectionIkeConfigArrayOutput

type ConnectionIkeConfigArrayOutput struct{ *pulumi.OutputState }

func (ConnectionIkeConfigArrayOutput) ElementType

func (ConnectionIkeConfigArrayOutput) Index

func (ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutput

func (o ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutput() ConnectionIkeConfigArrayOutput

func (ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutputWithContext

func (o ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutputWithContext(ctx context.Context) ConnectionIkeConfigArrayOutput

type ConnectionIkeConfigInput

type ConnectionIkeConfigInput interface {
	pulumi.Input

	ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput
	ToConnectionIkeConfigOutputWithContext(context.Context) ConnectionIkeConfigOutput
}

ConnectionIkeConfigInput is an input type that accepts ConnectionIkeConfigArgs and ConnectionIkeConfigOutput values. You can construct a concrete instance of `ConnectionIkeConfigInput` via:

ConnectionIkeConfigArgs{...}

type ConnectionIkeConfigOutput

type ConnectionIkeConfigOutput struct{ *pulumi.OutputState }

func (ConnectionIkeConfigOutput) ElementType

func (ConnectionIkeConfigOutput) ElementType() reflect.Type

func (ConnectionIkeConfigOutput) IkeAuthAlg

The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1

func (ConnectionIkeConfigOutput) IkeEncAlg

The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes

func (ConnectionIkeConfigOutput) IkeLifetime

The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400.

func (ConnectionIkeConfigOutput) IkeLocalId

The identification of the VPN gateway.

func (ConnectionIkeConfigOutput) IkeMode

The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: main

func (ConnectionIkeConfigOutput) IkePfs

The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2

func (ConnectionIkeConfigOutput) IkeRemoteId

The identification of the customer gateway.

func (ConnectionIkeConfigOutput) IkeVersion

The version of the IKE protocol. Valid value: ikev1 | ikev2. Default value: ikev1

func (ConnectionIkeConfigOutput) Psk

Used for authentication between the IPsec VPN gateway and the customer gateway.

func (ConnectionIkeConfigOutput) ToConnectionIkeConfigOutput

func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput

func (ConnectionIkeConfigOutput) ToConnectionIkeConfigOutputWithContext

func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigOutputWithContext(ctx context.Context) ConnectionIkeConfigOutput

type ConnectionInput added in v2.25.1

type ConnectionInput interface {
	pulumi.Input

	ToConnectionOutput() ConnectionOutput
	ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
}

type ConnectionIpsecConfig

type ConnectionIpsecConfig struct {
	// The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
	IpsecAuthAlg *string `pulumi:"ipsecAuthAlg"`
	// The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes
	IpsecEncAlg *string `pulumi:"ipsecEncAlg"`
	// The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.
	IpsecLifetime *int `pulumi:"ipsecLifetime"`
	// The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2
	IpsecPfs *string `pulumi:"ipsecPfs"`
}

type ConnectionIpsecConfigArgs

type ConnectionIpsecConfigArgs struct {
	// The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
	IpsecAuthAlg pulumi.StringPtrInput `pulumi:"ipsecAuthAlg"`
	// The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes
	IpsecEncAlg pulumi.StringPtrInput `pulumi:"ipsecEncAlg"`
	// The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.
	IpsecLifetime pulumi.IntPtrInput `pulumi:"ipsecLifetime"`
	// The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2
	IpsecPfs pulumi.StringPtrInput `pulumi:"ipsecPfs"`
}

func (ConnectionIpsecConfigArgs) ElementType

func (ConnectionIpsecConfigArgs) ElementType() reflect.Type

func (ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutput

func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput

func (ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutputWithContext

func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutputWithContext(ctx context.Context) ConnectionIpsecConfigOutput

type ConnectionIpsecConfigArray

type ConnectionIpsecConfigArray []ConnectionIpsecConfigInput

func (ConnectionIpsecConfigArray) ElementType

func (ConnectionIpsecConfigArray) ElementType() reflect.Type

func (ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutput

func (i ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput

func (ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutputWithContext

func (i ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) ConnectionIpsecConfigArrayOutput

type ConnectionIpsecConfigArrayInput

type ConnectionIpsecConfigArrayInput interface {
	pulumi.Input

	ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput
	ToConnectionIpsecConfigArrayOutputWithContext(context.Context) ConnectionIpsecConfigArrayOutput
}

ConnectionIpsecConfigArrayInput is an input type that accepts ConnectionIpsecConfigArray and ConnectionIpsecConfigArrayOutput values. You can construct a concrete instance of `ConnectionIpsecConfigArrayInput` via:

ConnectionIpsecConfigArray{ ConnectionIpsecConfigArgs{...} }

type ConnectionIpsecConfigArrayOutput

type ConnectionIpsecConfigArrayOutput struct{ *pulumi.OutputState }

func (ConnectionIpsecConfigArrayOutput) ElementType

func (ConnectionIpsecConfigArrayOutput) Index

func (ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutput

func (o ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput

func (ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutputWithContext

func (o ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) ConnectionIpsecConfigArrayOutput

type ConnectionIpsecConfigInput

type ConnectionIpsecConfigInput interface {
	pulumi.Input

	ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput
	ToConnectionIpsecConfigOutputWithContext(context.Context) ConnectionIpsecConfigOutput
}

ConnectionIpsecConfigInput is an input type that accepts ConnectionIpsecConfigArgs and ConnectionIpsecConfigOutput values. You can construct a concrete instance of `ConnectionIpsecConfigInput` via:

ConnectionIpsecConfigArgs{...}

type ConnectionIpsecConfigOutput

type ConnectionIpsecConfigOutput struct{ *pulumi.OutputState }

func (ConnectionIpsecConfigOutput) ElementType

func (ConnectionIpsecConfigOutput) IpsecAuthAlg

The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1

func (ConnectionIpsecConfigOutput) IpsecEncAlg

The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes

func (ConnectionIpsecConfigOutput) IpsecLifetime

The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.

func (ConnectionIpsecConfigOutput) IpsecPfs

The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2

func (ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutput

func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput

func (ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutputWithContext

func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutputWithContext(ctx context.Context) ConnectionIpsecConfigOutput

type ConnectionMap added in v2.35.1

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType added in v2.35.1

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput added in v2.35.1

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext added in v2.35.1

func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionMapInput added in v2.35.1

type ConnectionMapInput interface {
	pulumi.Input

	ToConnectionMapOutput() ConnectionMapOutput
	ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput
}

ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:

ConnectionMap{ "key": ConnectionArgs{...} }

type ConnectionMapOutput added in v2.35.1

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType added in v2.35.1

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex added in v2.35.1

func (ConnectionMapOutput) ToConnectionMapOutput added in v2.35.1

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext added in v2.35.1

func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionOutput added in v2.25.1

type ConnectionOutput struct {
	*pulumi.OutputState
}

func (ConnectionOutput) ElementType added in v2.25.1

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) ToConnectionOutput added in v2.25.1

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext added in v2.25.1

func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

func (ConnectionOutput) ToConnectionPtrOutput added in v2.35.1

func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput

func (ConnectionOutput) ToConnectionPtrOutputWithContext added in v2.35.1

func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

type ConnectionPtrInput added in v2.35.1

type ConnectionPtrInput interface {
	pulumi.Input

	ToConnectionPtrOutput() ConnectionPtrOutput
	ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
}

type ConnectionPtrOutput added in v2.35.1

type ConnectionPtrOutput struct {
	*pulumi.OutputState
}

func (ConnectionPtrOutput) ElementType added in v2.35.1

func (ConnectionPtrOutput) ElementType() reflect.Type

func (ConnectionPtrOutput) ToConnectionPtrOutput added in v2.35.1

func (o ConnectionPtrOutput) ToConnectionPtrOutput() ConnectionPtrOutput

func (ConnectionPtrOutput) ToConnectionPtrOutputWithContext added in v2.35.1

func (o ConnectionPtrOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

type ConnectionState

type ConnectionState struct {
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringPtrInput
	// Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.
	EffectImmediately pulumi.BoolPtrInput
	// The configurations of phase-one negotiation.
	IkeConfigs ConnectionIkeConfigArrayInput
	// The configurations of phase-two negotiation.
	IpsecConfigs ConnectionIpsecConfigArrayInput
	// The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
	LocalSubnets pulumi.StringArrayInput
	// The name of the IPsec connection.
	Name pulumi.StringPtrInput
	// The CIDR block of the local data center. This parameter is used for phase-two negotiation.
	RemoteSubnets pulumi.StringArrayInput
	// The status of VPN connection.
	Status pulumi.StringPtrInput
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringPtrInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type CustomerGateway

type CustomerGateway struct {
	pulumi.CustomResourceState

	// The description of the VPN customer gateway instance.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The IP address of the customer gateway.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The name of the VPN customer gateway. Defaults to null.
	Name pulumi.StringOutput `pulumi:"name"`
}

## Import

VPN customer gateway can be imported using the id, e.g.

```sh

$ pulumi import alicloud:vpn/customerGateway:CustomerGateway example cgw-abc123456

```

func GetCustomerGateway

func GetCustomerGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomerGatewayState, opts ...pulumi.ResourceOption) (*CustomerGateway, error)

GetCustomerGateway gets an existing CustomerGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomerGateway

func NewCustomerGateway(ctx *pulumi.Context,
	name string, args *CustomerGatewayArgs, opts ...pulumi.ResourceOption) (*CustomerGateway, error)

NewCustomerGateway registers a new resource with the given unique name, arguments, and options.

func (*CustomerGateway) ElementType added in v2.25.1

func (*CustomerGateway) ElementType() reflect.Type

func (*CustomerGateway) ToCustomerGatewayOutput added in v2.25.1

func (i *CustomerGateway) ToCustomerGatewayOutput() CustomerGatewayOutput

func (*CustomerGateway) ToCustomerGatewayOutputWithContext added in v2.25.1

func (i *CustomerGateway) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput

func (*CustomerGateway) ToCustomerGatewayPtrOutput added in v2.35.1

func (i *CustomerGateway) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput

func (*CustomerGateway) ToCustomerGatewayPtrOutputWithContext added in v2.35.1

func (i *CustomerGateway) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput

type CustomerGatewayArgs

type CustomerGatewayArgs struct {
	// The description of the VPN customer gateway instance.
	Description pulumi.StringPtrInput
	// The IP address of the customer gateway.
	IpAddress pulumi.StringInput
	// The name of the VPN customer gateway. Defaults to null.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a CustomerGateway resource.

func (CustomerGatewayArgs) ElementType

func (CustomerGatewayArgs) ElementType() reflect.Type

type CustomerGatewayArray added in v2.35.1

type CustomerGatewayArray []CustomerGatewayInput

func (CustomerGatewayArray) ElementType added in v2.35.1

func (CustomerGatewayArray) ElementType() reflect.Type

func (CustomerGatewayArray) ToCustomerGatewayArrayOutput added in v2.35.1

func (i CustomerGatewayArray) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput

func (CustomerGatewayArray) ToCustomerGatewayArrayOutputWithContext added in v2.35.1

func (i CustomerGatewayArray) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput

type CustomerGatewayArrayInput added in v2.35.1

type CustomerGatewayArrayInput interface {
	pulumi.Input

	ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
	ToCustomerGatewayArrayOutputWithContext(context.Context) CustomerGatewayArrayOutput
}

CustomerGatewayArrayInput is an input type that accepts CustomerGatewayArray and CustomerGatewayArrayOutput values. You can construct a concrete instance of `CustomerGatewayArrayInput` via:

CustomerGatewayArray{ CustomerGatewayArgs{...} }

type CustomerGatewayArrayOutput added in v2.35.1

type CustomerGatewayArrayOutput struct{ *pulumi.OutputState }

func (CustomerGatewayArrayOutput) ElementType added in v2.35.1

func (CustomerGatewayArrayOutput) ElementType() reflect.Type

func (CustomerGatewayArrayOutput) Index added in v2.35.1

func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput added in v2.35.1

func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput

func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext added in v2.35.1

func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput

type CustomerGatewayInput added in v2.25.1

type CustomerGatewayInput interface {
	pulumi.Input

	ToCustomerGatewayOutput() CustomerGatewayOutput
	ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
}

type CustomerGatewayMap added in v2.35.1

type CustomerGatewayMap map[string]CustomerGatewayInput

func (CustomerGatewayMap) ElementType added in v2.35.1

func (CustomerGatewayMap) ElementType() reflect.Type

func (CustomerGatewayMap) ToCustomerGatewayMapOutput added in v2.35.1

func (i CustomerGatewayMap) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput

func (CustomerGatewayMap) ToCustomerGatewayMapOutputWithContext added in v2.35.1

func (i CustomerGatewayMap) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput

type CustomerGatewayMapInput added in v2.35.1

type CustomerGatewayMapInput interface {
	pulumi.Input

	ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
	ToCustomerGatewayMapOutputWithContext(context.Context) CustomerGatewayMapOutput
}

CustomerGatewayMapInput is an input type that accepts CustomerGatewayMap and CustomerGatewayMapOutput values. You can construct a concrete instance of `CustomerGatewayMapInput` via:

CustomerGatewayMap{ "key": CustomerGatewayArgs{...} }

type CustomerGatewayMapOutput added in v2.35.1

type CustomerGatewayMapOutput struct{ *pulumi.OutputState }

func (CustomerGatewayMapOutput) ElementType added in v2.35.1

func (CustomerGatewayMapOutput) ElementType() reflect.Type

func (CustomerGatewayMapOutput) MapIndex added in v2.35.1

func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutput added in v2.35.1

func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput

func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext added in v2.35.1

func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput

type CustomerGatewayOutput added in v2.25.1

type CustomerGatewayOutput struct {
	*pulumi.OutputState
}

func (CustomerGatewayOutput) ElementType added in v2.25.1

func (CustomerGatewayOutput) ElementType() reflect.Type

func (CustomerGatewayOutput) ToCustomerGatewayOutput added in v2.25.1

func (o CustomerGatewayOutput) ToCustomerGatewayOutput() CustomerGatewayOutput

func (CustomerGatewayOutput) ToCustomerGatewayOutputWithContext added in v2.25.1

func (o CustomerGatewayOutput) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput

func (CustomerGatewayOutput) ToCustomerGatewayPtrOutput added in v2.35.1

func (o CustomerGatewayOutput) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput

func (CustomerGatewayOutput) ToCustomerGatewayPtrOutputWithContext added in v2.35.1

func (o CustomerGatewayOutput) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput

type CustomerGatewayPtrInput added in v2.35.1

type CustomerGatewayPtrInput interface {
	pulumi.Input

	ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput
	ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput
}

type CustomerGatewayPtrOutput added in v2.35.1

type CustomerGatewayPtrOutput struct {
	*pulumi.OutputState
}

func (CustomerGatewayPtrOutput) ElementType added in v2.35.1

func (CustomerGatewayPtrOutput) ElementType() reflect.Type

func (CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutput added in v2.35.1

func (o CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput

func (CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutputWithContext added in v2.35.1

func (o CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput

type CustomerGatewayState

type CustomerGatewayState struct {
	// The description of the VPN customer gateway instance.
	Description pulumi.StringPtrInput
	// The IP address of the customer gateway.
	IpAddress pulumi.StringPtrInput
	// The name of the VPN customer gateway. Defaults to null.
	Name pulumi.StringPtrInput
}

func (CustomerGatewayState) ElementType

func (CustomerGatewayState) ElementType() reflect.Type

type Gateway

type Gateway struct {
	pulumi.CustomResourceState

	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The business status of the VPN gateway.
	BusinessStatus pulumi.StringOutput `pulumi:"businessStatus"`
	// The description of the VPN instance.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
	EnableIpsec pulumi.BoolPtrOutput `pulumi:"enableIpsec"`
	// Enable or Disable SSL VPN.  At least one type of VPN should be enabled.
	EnableSsl pulumi.BoolPtrOutput `pulumi:"enableSsl"`
	// The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
	// Default to PostPaid.
	InstanceChargeType pulumi.StringPtrOutput `pulumi:"instanceChargeType"`
	// The internet ip of the VPN.
	InternetIp pulumi.StringOutput `pulumi:"internetIp"`
	// The name of the VPN. Defaults to null.
	Name pulumi.StringOutput `pulumi:"name"`
	// The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
	// This field is ignored when enableSsl is false.
	SslConnections pulumi.IntPtrOutput `pulumi:"sslConnections"`
	// The status of the VPN gateway.
	Status pulumi.StringOutput `pulumi:"status"`
	// The VPN belongs the vpc_id, the field can't be changed.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The VPN belongs the vswitch_id, the field can't be changed.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
}

## Import

VPN gateway can be imported using the id, e.g.

```sh

$ pulumi import alicloud:vpn/gateway:Gateway example vpn-abc123456

```

func GetGateway

func GetGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)

GetGateway gets an existing Gateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGateway

func NewGateway(ctx *pulumi.Context,
	name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)

NewGateway registers a new resource with the given unique name, arguments, and options.

func (*Gateway) ElementType added in v2.25.1

func (*Gateway) ElementType() reflect.Type

func (*Gateway) ToGatewayOutput added in v2.25.1

func (i *Gateway) ToGatewayOutput() GatewayOutput

func (*Gateway) ToGatewayOutputWithContext added in v2.25.1

func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput

func (*Gateway) ToGatewayPtrOutput added in v2.35.1

func (i *Gateway) ToGatewayPtrOutput() GatewayPtrOutput

func (*Gateway) ToGatewayPtrOutputWithContext added in v2.35.1

func (i *Gateway) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput

type GatewayArgs

type GatewayArgs struct {
	Bandwidth pulumi.IntInput
	// The description of the VPN instance.
	Description pulumi.StringPtrInput
	// Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
	EnableIpsec pulumi.BoolPtrInput
	// Enable or Disable SSL VPN.  At least one type of VPN should be enabled.
	EnableSsl pulumi.BoolPtrInput
	// The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
	// Default to PostPaid.
	InstanceChargeType pulumi.StringPtrInput
	// The name of the VPN. Defaults to null.
	Name pulumi.StringPtrInput
	// The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
	Period pulumi.IntPtrInput
	// The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
	// This field is ignored when enableSsl is false.
	SslConnections pulumi.IntPtrInput
	// The VPN belongs the vpc_id, the field can't be changed.
	VpcId pulumi.StringInput
	// The VPN belongs the vswitch_id, the field can't be changed.
	VswitchId pulumi.StringPtrInput
}

The set of arguments for constructing a Gateway resource.

func (GatewayArgs) ElementType

func (GatewayArgs) ElementType() reflect.Type

type GatewayArray added in v2.35.1

type GatewayArray []GatewayInput

func (GatewayArray) ElementType added in v2.35.1

func (GatewayArray) ElementType() reflect.Type

func (GatewayArray) ToGatewayArrayOutput added in v2.35.1

func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArray) ToGatewayArrayOutputWithContext added in v2.35.1

func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput

type GatewayArrayInput added in v2.35.1

type GatewayArrayInput interface {
	pulumi.Input

	ToGatewayArrayOutput() GatewayArrayOutput
	ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput
}

GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:

GatewayArray{ GatewayArgs{...} }

type GatewayArrayOutput added in v2.35.1

type GatewayArrayOutput struct{ *pulumi.OutputState }

func (GatewayArrayOutput) ElementType added in v2.35.1

func (GatewayArrayOutput) ElementType() reflect.Type

func (GatewayArrayOutput) Index added in v2.35.1

func (GatewayArrayOutput) ToGatewayArrayOutput added in v2.35.1

func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArrayOutput) ToGatewayArrayOutputWithContext added in v2.35.1

func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput

type GatewayInput added in v2.25.1

type GatewayInput interface {
	pulumi.Input

	ToGatewayOutput() GatewayOutput
	ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
}

type GatewayMap added in v2.35.1

type GatewayMap map[string]GatewayInput

func (GatewayMap) ElementType added in v2.35.1

func (GatewayMap) ElementType() reflect.Type

func (GatewayMap) ToGatewayMapOutput added in v2.35.1

func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMap) ToGatewayMapOutputWithContext added in v2.35.1

func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput

type GatewayMapInput added in v2.35.1

type GatewayMapInput interface {
	pulumi.Input

	ToGatewayMapOutput() GatewayMapOutput
	ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput
}

GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:

GatewayMap{ "key": GatewayArgs{...} }

type GatewayMapOutput added in v2.35.1

type GatewayMapOutput struct{ *pulumi.OutputState }

func (GatewayMapOutput) ElementType added in v2.35.1

func (GatewayMapOutput) ElementType() reflect.Type

func (GatewayMapOutput) MapIndex added in v2.35.1

func (GatewayMapOutput) ToGatewayMapOutput added in v2.35.1

func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMapOutput) ToGatewayMapOutputWithContext added in v2.35.1

func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput

type GatewayOutput added in v2.25.1

type GatewayOutput struct {
	*pulumi.OutputState
}

func (GatewayOutput) ElementType added in v2.25.1

func (GatewayOutput) ElementType() reflect.Type

func (GatewayOutput) ToGatewayOutput added in v2.25.1

func (o GatewayOutput) ToGatewayOutput() GatewayOutput

func (GatewayOutput) ToGatewayOutputWithContext added in v2.25.1

func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput

func (GatewayOutput) ToGatewayPtrOutput added in v2.35.1

func (o GatewayOutput) ToGatewayPtrOutput() GatewayPtrOutput

func (GatewayOutput) ToGatewayPtrOutputWithContext added in v2.35.1

func (o GatewayOutput) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput

type GatewayPtrInput added in v2.35.1

type GatewayPtrInput interface {
	pulumi.Input

	ToGatewayPtrOutput() GatewayPtrOutput
	ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput
}

type GatewayPtrOutput added in v2.35.1

type GatewayPtrOutput struct {
	*pulumi.OutputState
}

func (GatewayPtrOutput) ElementType added in v2.35.1

func (GatewayPtrOutput) ElementType() reflect.Type

func (GatewayPtrOutput) ToGatewayPtrOutput added in v2.35.1

func (o GatewayPtrOutput) ToGatewayPtrOutput() GatewayPtrOutput

func (GatewayPtrOutput) ToGatewayPtrOutputWithContext added in v2.35.1

func (o GatewayPtrOutput) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput

type GatewayState

type GatewayState struct {
	Bandwidth pulumi.IntPtrInput
	// The business status of the VPN gateway.
	BusinessStatus pulumi.StringPtrInput
	// The description of the VPN instance.
	Description pulumi.StringPtrInput
	// Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
	EnableIpsec pulumi.BoolPtrInput
	// Enable or Disable SSL VPN.  At least one type of VPN should be enabled.
	EnableSsl pulumi.BoolPtrInput
	// The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid.
	// Default to PostPaid.
	InstanceChargeType pulumi.StringPtrInput
	// The internet ip of the VPN.
	InternetIp pulumi.StringPtrInput
	// The name of the VPN. Defaults to null.
	Name pulumi.StringPtrInput
	// The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
	Period pulumi.IntPtrInput
	// The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different.
	// This field is ignored when enableSsl is false.
	SslConnections pulumi.IntPtrInput
	// The status of the VPN gateway.
	Status pulumi.StringPtrInput
	// The VPN belongs the vpc_id, the field can't be changed.
	VpcId pulumi.StringPtrInput
	// The VPN belongs the vswitch_id, the field can't be changed.
	VswitchId pulumi.StringPtrInput
}

func (GatewayState) ElementType

func (GatewayState) ElementType() reflect.Type

type GetConnectionsArgs

type GetConnectionsArgs struct {
	// Use the VPN customer gateway ID as the search key.
	CustomerGatewayId *string `pulumi:"customerGatewayId"`
	// IDs of the VPN connections.
	Ids []string `pulumi:"ids"`
	// A regex string of VPN connection name.
	NameRegex *string `pulumi:"nameRegex"`
	// Save the result to the file.
	OutputFile *string `pulumi:"outputFile"`
	// Use the VPN gateway ID as the search key.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
}

A collection of arguments for invoking getConnections.

type GetConnectionsConnection

type GetConnectionsConnection struct {
	CreateTime string `pulumi:"createTime"`
	// Use the VPN customer gateway ID as the search key.
	CustomerGatewayId string `pulumi:"customerGatewayId"`
	EffectImmediately bool   `pulumi:"effectImmediately"`
	// ID of the VPN connection.
	Id string `pulumi:"id"`
	// The configurations of phase-one negotiation.
	IkeConfigs []GetConnectionsConnectionIkeConfig `pulumi:"ikeConfigs"`
	// The configurations of phase-two negotiation.
	IpsecConfigs []GetConnectionsConnectionIpsecConfig `pulumi:"ipsecConfigs"`
	// The local subnet of the VPN connection.
	LocalSubnet string `pulumi:"localSubnet"`
	// The name of the VPN connection.
	Name string `pulumi:"name"`
	// The remote subnet of the VPN connection.
	RemoteSubnet string `pulumi:"remoteSubnet"`
	// The status of the VPN connection, valid value:ike_sa_not_established, ike_sa_established, ipsec_sa_not_established, ipsec_sa_established.
	Status string `pulumi:"status"`
	// Use the VPN gateway ID as the search key.
	VpnGatewayId string `pulumi:"vpnGatewayId"`
}

type GetConnectionsConnectionArgs

type GetConnectionsConnectionArgs struct {
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Use the VPN customer gateway ID as the search key.
	CustomerGatewayId pulumi.StringInput `pulumi:"customerGatewayId"`
	EffectImmediately pulumi.BoolInput   `pulumi:"effectImmediately"`
	// ID of the VPN connection.
	Id pulumi.StringInput `pulumi:"id"`
	// The configurations of phase-one negotiation.
	IkeConfigs GetConnectionsConnectionIkeConfigArrayInput `pulumi:"ikeConfigs"`
	// The configurations of phase-two negotiation.
	IpsecConfigs GetConnectionsConnectionIpsecConfigArrayInput `pulumi:"ipsecConfigs"`
	// The local subnet of the VPN connection.
	LocalSubnet pulumi.StringInput `pulumi:"localSubnet"`
	// The name of the VPN connection.
	Name pulumi.StringInput `pulumi:"name"`
	// The remote subnet of the VPN connection.
	RemoteSubnet pulumi.StringInput `pulumi:"remoteSubnet"`
	// The status of the VPN connection, valid value:ike_sa_not_established, ike_sa_established, ipsec_sa_not_established, ipsec_sa_established.
	Status pulumi.StringInput `pulumi:"status"`
	// Use the VPN gateway ID as the search key.
	VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"`
}

func (GetConnectionsConnectionArgs) ElementType

func (GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutput

func (i GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput

func (GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutputWithContext

func (i GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutputWithContext(ctx context.Context) GetConnectionsConnectionOutput

type GetConnectionsConnectionArray

type GetConnectionsConnectionArray []GetConnectionsConnectionInput

func (GetConnectionsConnectionArray) ElementType

func (GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutput

func (i GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput

func (GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutputWithContext

func (i GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionArrayOutput

type GetConnectionsConnectionArrayInput

type GetConnectionsConnectionArrayInput interface {
	pulumi.Input

	ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput
	ToGetConnectionsConnectionArrayOutputWithContext(context.Context) GetConnectionsConnectionArrayOutput
}

GetConnectionsConnectionArrayInput is an input type that accepts GetConnectionsConnectionArray and GetConnectionsConnectionArrayOutput values. You can construct a concrete instance of `GetConnectionsConnectionArrayInput` via:

GetConnectionsConnectionArray{ GetConnectionsConnectionArgs{...} }

type GetConnectionsConnectionArrayOutput

type GetConnectionsConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetConnectionsConnectionArrayOutput) ElementType

func (GetConnectionsConnectionArrayOutput) Index

func (GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutput

func (o GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput

func (GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutputWithContext

func (o GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionArrayOutput

type GetConnectionsConnectionIkeConfig

type GetConnectionsConnectionIkeConfig struct {
	// The authentication algorithm of phase-one negotiation.
	IkeAuthAlg *string `pulumi:"ikeAuthAlg"`
	// The encryption algorithm of phase-one negotiation.
	IkeEncAlg *string `pulumi:"ikeEncAlg"`
	// The SA lifecycle as the result of phase-one negotiation.
	IkeLifetime *int `pulumi:"ikeLifetime"`
	// The identification of the VPN gateway.
	IkeLocalId *string `pulumi:"ikeLocalId"`
	// The negotiation mode of IKE phase-one.
	IkeMode *string `pulumi:"ikeMode"`
	// The Diffie-Hellman key exchange algorithm used by phase-one negotiation.
	IkePfs *string `pulumi:"ikePfs"`
	// The identification of the customer gateway.
	IkeRemoteId *string `pulumi:"ikeRemoteId"`
	// The version of the IKE protocol.
	IkeVersion *string `pulumi:"ikeVersion"`
	// Used for authentication between the IPsec VPN gateway and the customer gateway.
	Psk *string `pulumi:"psk"`
}

type GetConnectionsConnectionIkeConfigArgs

type GetConnectionsConnectionIkeConfigArgs struct {
	// The authentication algorithm of phase-one negotiation.
	IkeAuthAlg pulumi.StringPtrInput `pulumi:"ikeAuthAlg"`
	// The encryption algorithm of phase-one negotiation.
	IkeEncAlg pulumi.StringPtrInput `pulumi:"ikeEncAlg"`
	// The SA lifecycle as the result of phase-one negotiation.
	IkeLifetime pulumi.IntPtrInput `pulumi:"ikeLifetime"`
	// The identification of the VPN gateway.
	IkeLocalId pulumi.StringPtrInput `pulumi:"ikeLocalId"`
	// The negotiation mode of IKE phase-one.
	IkeMode pulumi.StringPtrInput `pulumi:"ikeMode"`
	// The Diffie-Hellman key exchange algorithm used by phase-one negotiation.
	IkePfs pulumi.StringPtrInput `pulumi:"ikePfs"`
	// The identification of the customer gateway.
	IkeRemoteId pulumi.StringPtrInput `pulumi:"ikeRemoteId"`
	// The version of the IKE protocol.
	IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"`
	// Used for authentication between the IPsec VPN gateway and the customer gateway.
	Psk pulumi.StringPtrInput `pulumi:"psk"`
}

func (GetConnectionsConnectionIkeConfigArgs) ElementType

func (GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutput

func (i GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput

func (GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutputWithContext

func (i GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigOutput

type GetConnectionsConnectionIkeConfigArray

type GetConnectionsConnectionIkeConfigArray []GetConnectionsConnectionIkeConfigInput

func (GetConnectionsConnectionIkeConfigArray) ElementType

func (GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutput

func (i GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput

func (GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext

func (i GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigArrayOutput

type GetConnectionsConnectionIkeConfigArrayInput

type GetConnectionsConnectionIkeConfigArrayInput interface {
	pulumi.Input

	ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput
	ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(context.Context) GetConnectionsConnectionIkeConfigArrayOutput
}

GetConnectionsConnectionIkeConfigArrayInput is an input type that accepts GetConnectionsConnectionIkeConfigArray and GetConnectionsConnectionIkeConfigArrayOutput values. You can construct a concrete instance of `GetConnectionsConnectionIkeConfigArrayInput` via:

GetConnectionsConnectionIkeConfigArray{ GetConnectionsConnectionIkeConfigArgs{...} }

type GetConnectionsConnectionIkeConfigArrayOutput

type GetConnectionsConnectionIkeConfigArrayOutput struct{ *pulumi.OutputState }

func (GetConnectionsConnectionIkeConfigArrayOutput) ElementType

func (GetConnectionsConnectionIkeConfigArrayOutput) Index

func (GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutput

func (o GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput

func (GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext

func (o GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigArrayOutput

type GetConnectionsConnectionIkeConfigInput

type GetConnectionsConnectionIkeConfigInput interface {
	pulumi.Input

	ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput
	ToGetConnectionsConnectionIkeConfigOutputWithContext(context.Context) GetConnectionsConnectionIkeConfigOutput
}

GetConnectionsConnectionIkeConfigInput is an input type that accepts GetConnectionsConnectionIkeConfigArgs and GetConnectionsConnectionIkeConfigOutput values. You can construct a concrete instance of `GetConnectionsConnectionIkeConfigInput` via:

GetConnectionsConnectionIkeConfigArgs{...}

type GetConnectionsConnectionIkeConfigOutput

type GetConnectionsConnectionIkeConfigOutput struct{ *pulumi.OutputState }

func (GetConnectionsConnectionIkeConfigOutput) ElementType

func (GetConnectionsConnectionIkeConfigOutput) IkeAuthAlg

The authentication algorithm of phase-one negotiation.

func (GetConnectionsConnectionIkeConfigOutput) IkeEncAlg

The encryption algorithm of phase-one negotiation.

func (GetConnectionsConnectionIkeConfigOutput) IkeLifetime

The SA lifecycle as the result of phase-one negotiation.

func (GetConnectionsConnectionIkeConfigOutput) IkeLocalId

The identification of the VPN gateway.

func (GetConnectionsConnectionIkeConfigOutput) IkeMode

The negotiation mode of IKE phase-one.

func (GetConnectionsConnectionIkeConfigOutput) IkePfs

The Diffie-Hellman key exchange algorithm used by phase-one negotiation.

func (GetConnectionsConnectionIkeConfigOutput) IkeRemoteId

The identification of the customer gateway.

func (GetConnectionsConnectionIkeConfigOutput) IkeVersion

The version of the IKE protocol.

func (GetConnectionsConnectionIkeConfigOutput) Psk

Used for authentication between the IPsec VPN gateway and the customer gateway.

func (GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutput

func (o GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput

func (GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutputWithContext

func (o GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigOutput

type GetConnectionsConnectionInput

type GetConnectionsConnectionInput interface {
	pulumi.Input

	ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput
	ToGetConnectionsConnectionOutputWithContext(context.Context) GetConnectionsConnectionOutput
}

GetConnectionsConnectionInput is an input type that accepts GetConnectionsConnectionArgs and GetConnectionsConnectionOutput values. You can construct a concrete instance of `GetConnectionsConnectionInput` via:

GetConnectionsConnectionArgs{...}

type GetConnectionsConnectionIpsecConfig

type GetConnectionsConnectionIpsecConfig struct {
	// The authentication algorithm of phase-two negotiation.
	IpsecAuthAlg *string `pulumi:"ipsecAuthAlg"`
	// The encryption algorithm of phase-two negotiation.
	IpsecEncAlg *string `pulumi:"ipsecEncAlg"`
	// The SA lifecycle as the result of phase-two negotiation.
	IpsecLifetime *int `pulumi:"ipsecLifetime"`
	// The Diffie-Hellman key exchange algorithm used by phase-two negotiation.
	IpsecPfs *string `pulumi:"ipsecPfs"`
}

type GetConnectionsConnectionIpsecConfigArgs

type GetConnectionsConnectionIpsecConfigArgs struct {
	// The authentication algorithm of phase-two negotiation.
	IpsecAuthAlg pulumi.StringPtrInput `pulumi:"ipsecAuthAlg"`
	// The encryption algorithm of phase-two negotiation.
	IpsecEncAlg pulumi.StringPtrInput `pulumi:"ipsecEncAlg"`
	// The SA lifecycle as the result of phase-two negotiation.
	IpsecLifetime pulumi.IntPtrInput `pulumi:"ipsecLifetime"`
	// The Diffie-Hellman key exchange algorithm used by phase-two negotiation.
	IpsecPfs pulumi.StringPtrInput `pulumi:"ipsecPfs"`
}

func (GetConnectionsConnectionIpsecConfigArgs) ElementType

func (GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutput

func (i GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput

func (GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutputWithContext

func (i GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigOutput

type GetConnectionsConnectionIpsecConfigArray

type GetConnectionsConnectionIpsecConfigArray []GetConnectionsConnectionIpsecConfigInput

func (GetConnectionsConnectionIpsecConfigArray) ElementType

func (GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutput

func (i GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput

func (GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext

func (i GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigArrayOutput

type GetConnectionsConnectionIpsecConfigArrayInput

type GetConnectionsConnectionIpsecConfigArrayInput interface {
	pulumi.Input

	ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput
	ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(context.Context) GetConnectionsConnectionIpsecConfigArrayOutput
}

GetConnectionsConnectionIpsecConfigArrayInput is an input type that accepts GetConnectionsConnectionIpsecConfigArray and GetConnectionsConnectionIpsecConfigArrayOutput values. You can construct a concrete instance of `GetConnectionsConnectionIpsecConfigArrayInput` via:

GetConnectionsConnectionIpsecConfigArray{ GetConnectionsConnectionIpsecConfigArgs{...} }

type GetConnectionsConnectionIpsecConfigArrayOutput

type GetConnectionsConnectionIpsecConfigArrayOutput struct{ *pulumi.OutputState }

func (GetConnectionsConnectionIpsecConfigArrayOutput) ElementType

func (GetConnectionsConnectionIpsecConfigArrayOutput) Index

func (GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutput

func (o GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput

func (GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext

func (o GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigArrayOutput

type GetConnectionsConnectionIpsecConfigInput

type GetConnectionsConnectionIpsecConfigInput interface {
	pulumi.Input

	ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput
	ToGetConnectionsConnectionIpsecConfigOutputWithContext(context.Context) GetConnectionsConnectionIpsecConfigOutput
}

GetConnectionsConnectionIpsecConfigInput is an input type that accepts GetConnectionsConnectionIpsecConfigArgs and GetConnectionsConnectionIpsecConfigOutput values. You can construct a concrete instance of `GetConnectionsConnectionIpsecConfigInput` via:

GetConnectionsConnectionIpsecConfigArgs{...}

type GetConnectionsConnectionIpsecConfigOutput

type GetConnectionsConnectionIpsecConfigOutput struct{ *pulumi.OutputState }

func (GetConnectionsConnectionIpsecConfigOutput) ElementType

func (GetConnectionsConnectionIpsecConfigOutput) IpsecAuthAlg

The authentication algorithm of phase-two negotiation.

func (GetConnectionsConnectionIpsecConfigOutput) IpsecEncAlg

The encryption algorithm of phase-two negotiation.

func (GetConnectionsConnectionIpsecConfigOutput) IpsecLifetime

The SA lifecycle as the result of phase-two negotiation.

func (GetConnectionsConnectionIpsecConfigOutput) IpsecPfs

The Diffie-Hellman key exchange algorithm used by phase-two negotiation.

func (GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutput

func (o GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput

func (GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutputWithContext

func (o GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigOutput

type GetConnectionsConnectionOutput

type GetConnectionsConnectionOutput struct{ *pulumi.OutputState }

func (GetConnectionsConnectionOutput) CreateTime

func (GetConnectionsConnectionOutput) CustomerGatewayId

func (o GetConnectionsConnectionOutput) CustomerGatewayId() pulumi.StringOutput

Use the VPN customer gateway ID as the search key.

func (GetConnectionsConnectionOutput) EffectImmediately

func (o GetConnectionsConnectionOutput) EffectImmediately() pulumi.BoolOutput

func (GetConnectionsConnectionOutput) ElementType

func (GetConnectionsConnectionOutput) Id

ID of the VPN connection.

func (GetConnectionsConnectionOutput) IkeConfigs

The configurations of phase-one negotiation.

func (GetConnectionsConnectionOutput) IpsecConfigs

The configurations of phase-two negotiation.

func (GetConnectionsConnectionOutput) LocalSubnet

The local subnet of the VPN connection.

func (GetConnectionsConnectionOutput) Name

The name of the VPN connection.

func (GetConnectionsConnectionOutput) RemoteSubnet

The remote subnet of the VPN connection.

func (GetConnectionsConnectionOutput) Status

The status of the VPN connection, valid value:ike_sa_not_established, ike_sa_established, ipsec_sa_not_established, ipsec_sa_established.

func (GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutput

func (o GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput

func (GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutputWithContext

func (o GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutputWithContext(ctx context.Context) GetConnectionsConnectionOutput

func (GetConnectionsConnectionOutput) VpnGatewayId

Use the VPN gateway ID as the search key.

type GetConnectionsResult

type GetConnectionsResult struct {
	// A list of VPN connections. Each element contains the following attributes:
	Connections []GetConnectionsConnection `pulumi:"connections"`
	// ID of the VPN customer gateway.
	CustomerGatewayId *string `pulumi:"customerGatewayId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Optional) IDs of the VPN connections.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// (Optional) names of the VPN connections.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// ID of the VPN gateway.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
}

A collection of values returned by getConnections.

func GetConnections

func GetConnections(ctx *pulumi.Context, args *GetConnectionsArgs, opts ...pulumi.InvokeOption) (*GetConnectionsResult, error)

The VPN connections data source lists lots of VPN connections resource information owned by an Alicloud account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/vpn"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "fake-cgw-id"
		opt1 := "/tmp/vpnconn"
		opt2 := "fake-vpn-id"
		_, err := vpn.GetConnections(ctx, &vpn.GetConnectionsArgs{
			CustomerGatewayId: &opt0,
			Ids: []string{
				"fake-conn-id",
			},
			OutputFile:   &opt1,
			VpnGatewayId: &opt2,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCustomerGatewaysArgs

type GetCustomerGatewaysArgs struct {
	// ID of the VPN customer gateways.
	Ids []string `pulumi:"ids"`
	// A regex string of VPN customer gateways name.
	NameRegex *string `pulumi:"nameRegex"`
	// Save the result to the file.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getCustomerGateways.

type GetCustomerGatewaysGateway

type GetCustomerGatewaysGateway struct {
	// The creation time of the VPN customer gateway.
	CreateTime string `pulumi:"createTime"`
	// The description of the VPN customer gateway.
	Description string `pulumi:"description"`
	// ID of the VPN customer gateway .
	Id string `pulumi:"id"`
	// The ip address of the VPN customer gateway.
	IpAddress string `pulumi:"ipAddress"`
	// The name of the VPN customer gateway.
	Name string `pulumi:"name"`
}

type GetCustomerGatewaysGatewayArgs

type GetCustomerGatewaysGatewayArgs struct {
	// The creation time of the VPN customer gateway.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the VPN customer gateway.
	Description pulumi.StringInput `pulumi:"description"`
	// ID of the VPN customer gateway .
	Id pulumi.StringInput `pulumi:"id"`
	// The ip address of the VPN customer gateway.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The name of the VPN customer gateway.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetCustomerGatewaysGatewayArgs) ElementType

func (GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutput

func (i GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput

func (GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutputWithContext

func (i GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayOutput

type GetCustomerGatewaysGatewayArray

type GetCustomerGatewaysGatewayArray []GetCustomerGatewaysGatewayInput

func (GetCustomerGatewaysGatewayArray) ElementType

func (GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutput

func (i GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput

func (GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutputWithContext

func (i GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayArrayOutput

type GetCustomerGatewaysGatewayArrayInput

type GetCustomerGatewaysGatewayArrayInput interface {
	pulumi.Input

	ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput
	ToGetCustomerGatewaysGatewayArrayOutputWithContext(context.Context) GetCustomerGatewaysGatewayArrayOutput
}

GetCustomerGatewaysGatewayArrayInput is an input type that accepts GetCustomerGatewaysGatewayArray and GetCustomerGatewaysGatewayArrayOutput values. You can construct a concrete instance of `GetCustomerGatewaysGatewayArrayInput` via:

GetCustomerGatewaysGatewayArray{ GetCustomerGatewaysGatewayArgs{...} }

type GetCustomerGatewaysGatewayArrayOutput

type GetCustomerGatewaysGatewayArrayOutput struct{ *pulumi.OutputState }

func (GetCustomerGatewaysGatewayArrayOutput) ElementType

func (GetCustomerGatewaysGatewayArrayOutput) Index

func (GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutput

func (o GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput

func (GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutputWithContext

func (o GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayArrayOutput

type GetCustomerGatewaysGatewayInput

type GetCustomerGatewaysGatewayInput interface {
	pulumi.Input

	ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput
	ToGetCustomerGatewaysGatewayOutputWithContext(context.Context) GetCustomerGatewaysGatewayOutput
}

GetCustomerGatewaysGatewayInput is an input type that accepts GetCustomerGatewaysGatewayArgs and GetCustomerGatewaysGatewayOutput values. You can construct a concrete instance of `GetCustomerGatewaysGatewayInput` via:

GetCustomerGatewaysGatewayArgs{...}

type GetCustomerGatewaysGatewayOutput

type GetCustomerGatewaysGatewayOutput struct{ *pulumi.OutputState }

func (GetCustomerGatewaysGatewayOutput) CreateTime

The creation time of the VPN customer gateway.

func (GetCustomerGatewaysGatewayOutput) Description

The description of the VPN customer gateway.

func (GetCustomerGatewaysGatewayOutput) ElementType

func (GetCustomerGatewaysGatewayOutput) Id

ID of the VPN customer gateway .

func (GetCustomerGatewaysGatewayOutput) IpAddress

The ip address of the VPN customer gateway.

func (GetCustomerGatewaysGatewayOutput) Name

The name of the VPN customer gateway.

func (GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutput

func (o GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput

func (GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutputWithContext

func (o GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayOutput

type GetCustomerGatewaysResult

type GetCustomerGatewaysResult struct {
	// A list of VPN customer gateways. Each element contains the following attributes:
	Gateways []GetCustomerGatewaysGateway `pulumi:"gateways"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getCustomerGateways.

func GetCustomerGateways

func GetCustomerGateways(ctx *pulumi.Context, args *GetCustomerGatewaysArgs, opts ...pulumi.InvokeOption) (*GetCustomerGatewaysResult, error)

The VPN customers gateways data source lists a number of VPN customer gateways resource information owned by an Alicloud account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/vpn"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "testAcc*"
		opt1 := "/tmp/cgws"
		_, err := vpn.GetCustomerGateways(ctx, &vpn.GetCustomerGatewaysArgs{
			Ids: []string{
				"fake-id1",
				"fake-id2",
			},
			NameRegex:  &opt0,
			OutputFile: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetGatewaysArgs

type GetGatewaysArgs struct {
	// Limit search to specific business status - valid value is "Normal", "FinancialLocked".
	BusinessStatus *string `pulumi:"businessStatus"`
	// IDs of the VPN.
	Ids []string `pulumi:"ids"`
	// A regex string of VPN name.
	NameRegex *string `pulumi:"nameRegex"`
	// Save the result to the file.
	OutputFile *string `pulumi:"outputFile"`
	// Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting".
	Status *string `pulumi:"status"`
	// Use the VPC ID as the search key.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getGateways.

type GetGatewaysGateway

type GetGatewaysGateway struct {
	// Limit search to specific business status - valid value is "Normal", "FinancialLocked".
	BusinessStatus string `pulumi:"businessStatus"`
	// The creation time of the VPN gateway.
	CreateTime string `pulumi:"createTime"`
	// The description of the VPN
	Description string `pulumi:"description"`
	// Whether the ipsec function is enabled.
	EnableIpsec string `pulumi:"enableIpsec"`
	// Whether the ssl function is enabled.
	EnableSsl string `pulumi:"enableSsl"`
	// The expiration time of the VPN gateway.
	EndTime string `pulumi:"endTime"`
	// ID of the VPN.
	Id string `pulumi:"id"`
	// The charge type of the VPN gateway.
	InstanceChargeType string `pulumi:"instanceChargeType"`
	// The internet ip of the VPN.
	InternetIp string `pulumi:"internetIp"`
	// The name of the VPN.
	Name string `pulumi:"name"`
	// The Specification of the VPN
	Specification string `pulumi:"specification"`
	// Total count of ssl vpn connections.
	SslConnections int `pulumi:"sslConnections"`
	// Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting".
	Status string `pulumi:"status"`
	// Use the VPC ID as the search key.
	VpcId string `pulumi:"vpcId"`
}

type GetGatewaysGatewayArgs

type GetGatewaysGatewayArgs struct {
	// Limit search to specific business status - valid value is "Normal", "FinancialLocked".
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The creation time of the VPN gateway.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the VPN
	Description pulumi.StringInput `pulumi:"description"`
	// Whether the ipsec function is enabled.
	EnableIpsec pulumi.StringInput `pulumi:"enableIpsec"`
	// Whether the ssl function is enabled.
	EnableSsl pulumi.StringInput `pulumi:"enableSsl"`
	// The expiration time of the VPN gateway.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// ID of the VPN.
	Id pulumi.StringInput `pulumi:"id"`
	// The charge type of the VPN gateway.
	InstanceChargeType pulumi.StringInput `pulumi:"instanceChargeType"`
	// The internet ip of the VPN.
	InternetIp pulumi.StringInput `pulumi:"internetIp"`
	// The name of the VPN.
	Name pulumi.StringInput `pulumi:"name"`
	// The Specification of the VPN
	Specification pulumi.StringInput `pulumi:"specification"`
	// Total count of ssl vpn connections.
	SslConnections pulumi.IntInput `pulumi:"sslConnections"`
	// Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting".
	Status pulumi.StringInput `pulumi:"status"`
	// Use the VPC ID as the search key.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetGatewaysGatewayArgs) ElementType

func (GetGatewaysGatewayArgs) ElementType() reflect.Type

func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput

func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput

func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext

func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput

type GetGatewaysGatewayArray

type GetGatewaysGatewayArray []GetGatewaysGatewayInput

func (GetGatewaysGatewayArray) ElementType

func (GetGatewaysGatewayArray) ElementType() reflect.Type

func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput

func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput

func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext

func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput

type GetGatewaysGatewayArrayInput

type GetGatewaysGatewayArrayInput interface {
	pulumi.Input

	ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
	ToGetGatewaysGatewayArrayOutputWithContext(context.Context) GetGatewaysGatewayArrayOutput
}

GetGatewaysGatewayArrayInput is an input type that accepts GetGatewaysGatewayArray and GetGatewaysGatewayArrayOutput values. You can construct a concrete instance of `GetGatewaysGatewayArrayInput` via:

GetGatewaysGatewayArray{ GetGatewaysGatewayArgs{...} }

type GetGatewaysGatewayArrayOutput

type GetGatewaysGatewayArrayOutput struct{ *pulumi.OutputState }

func (GetGatewaysGatewayArrayOutput) ElementType

func (GetGatewaysGatewayArrayOutput) Index

func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput

func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput

func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext

func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput

type GetGatewaysGatewayInput

type GetGatewaysGatewayInput interface {
	pulumi.Input

	ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
	ToGetGatewaysGatewayOutputWithContext(context.Context) GetGatewaysGatewayOutput
}

GetGatewaysGatewayInput is an input type that accepts GetGatewaysGatewayArgs and GetGatewaysGatewayOutput values. You can construct a concrete instance of `GetGatewaysGatewayInput` via:

GetGatewaysGatewayArgs{...}

type GetGatewaysGatewayOutput

type GetGatewaysGatewayOutput struct{ *pulumi.OutputState }

func (GetGatewaysGatewayOutput) BusinessStatus

func (o GetGatewaysGatewayOutput) BusinessStatus() pulumi.StringOutput

Limit search to specific business status - valid value is "Normal", "FinancialLocked".

func (GetGatewaysGatewayOutput) CreateTime

The creation time of the VPN gateway.

func (GetGatewaysGatewayOutput) Description

The description of the VPN

func (GetGatewaysGatewayOutput) ElementType

func (GetGatewaysGatewayOutput) ElementType() reflect.Type

func (GetGatewaysGatewayOutput) EnableIpsec

Whether the ipsec function is enabled.

func (GetGatewaysGatewayOutput) EnableSsl

Whether the ssl function is enabled.

func (GetGatewaysGatewayOutput) EndTime

The expiration time of the VPN gateway.

func (GetGatewaysGatewayOutput) Id

ID of the VPN.

func (GetGatewaysGatewayOutput) InstanceChargeType

func (o GetGatewaysGatewayOutput) InstanceChargeType() pulumi.StringOutput

The charge type of the VPN gateway.

func (GetGatewaysGatewayOutput) InternetIp

The internet ip of the VPN.

func (GetGatewaysGatewayOutput) Name

The name of the VPN.

func (GetGatewaysGatewayOutput) Specification

func (o GetGatewaysGatewayOutput) Specification() pulumi.StringOutput

The Specification of the VPN

func (GetGatewaysGatewayOutput) SslConnections

func (o GetGatewaysGatewayOutput) SslConnections() pulumi.IntOutput

Total count of ssl vpn connections.

func (GetGatewaysGatewayOutput) Status

Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting".

func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput

func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput

func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext

func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput

func (GetGatewaysGatewayOutput) VpcId

Use the VPC ID as the search key.

type GetGatewaysResult

type GetGatewaysResult struct {
	// The business status of the VPN gateway.
	BusinessStatus *string `pulumi:"businessStatus"`
	// A list of VPN gateways. Each element contains the following attributes:
	Gateways []GetGatewaysGateway `pulumi:"gateways"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// IDs of the VPN.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// names of the VPN.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the VPN
	Status *string `pulumi:"status"`
	// ID of the VPC that the VPN belongs.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by getGateways.

func GetGateways

func GetGateways(ctx *pulumi.Context, args *GetGatewaysArgs, opts ...pulumi.InvokeOption) (*GetGatewaysResult, error)

The VPNs data source lists a number of VPNs resource information owned by an Alicloud account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/vpn"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "Normal"
		opt1 := "testAcc*"
		opt2 := "/tmp/vpns"
		opt3 := "active"
		opt4 := "fake-vpc-id"
		_, err := vpn.GetGateways(ctx, &vpn.GetGatewaysArgs{
			BusinessStatus: &opt0,
			Ids: []string{
				"fake-vpn-id1",
				"fake-vpn-id2",
			},
			NameRegex:  &opt1,
			OutputFile: &opt2,
			Status:     &opt3,
			VpcId:      &opt4,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RouteEntry

type RouteEntry struct {
	pulumi.CustomResourceState

	// The next hop of the destination route.
	NextHop pulumi.StringOutput `pulumi:"nextHop"`
	// Whether to issue the destination route to the VPC.
	PublishVpc pulumi.BoolOutput `pulumi:"publishVpc"`
	// The destination network segment of the destination route.
	RouteDest pulumi.StringOutput `pulumi:"routeDest"`
	// The id of the vpn gateway.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
	// The value should be 0 or 100.
	Weight pulumi.IntOutput `pulumi:"weight"`
}

## Import

VPN route entry can be imported using the id(VpnGatewayId +":"+ NextHop +":"+ RouteDest), e.g.

```sh

$ pulumi import alicloud:vpn/routeEntry:RouteEntry example vpn-abc123456:vco-abc123456:10.0.0.10/24

```

func GetRouteEntry

func GetRouteEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteEntryState, opts ...pulumi.ResourceOption) (*RouteEntry, error)

GetRouteEntry gets an existing RouteEntry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteEntry

func NewRouteEntry(ctx *pulumi.Context,
	name string, args *RouteEntryArgs, opts ...pulumi.ResourceOption) (*RouteEntry, error)

NewRouteEntry registers a new resource with the given unique name, arguments, and options.

func (*RouteEntry) ElementType added in v2.25.1

func (*RouteEntry) ElementType() reflect.Type

func (*RouteEntry) ToRouteEntryOutput added in v2.25.1

func (i *RouteEntry) ToRouteEntryOutput() RouteEntryOutput

func (*RouteEntry) ToRouteEntryOutputWithContext added in v2.25.1

func (i *RouteEntry) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput

func (*RouteEntry) ToRouteEntryPtrOutput added in v2.35.1

func (i *RouteEntry) ToRouteEntryPtrOutput() RouteEntryPtrOutput

func (*RouteEntry) ToRouteEntryPtrOutputWithContext added in v2.35.1

func (i *RouteEntry) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput

type RouteEntryArgs

type RouteEntryArgs struct {
	// The next hop of the destination route.
	NextHop pulumi.StringInput
	// Whether to issue the destination route to the VPC.
	PublishVpc pulumi.BoolInput
	// The destination network segment of the destination route.
	RouteDest pulumi.StringInput
	// The id of the vpn gateway.
	VpnGatewayId pulumi.StringInput
	// The value should be 0 or 100.
	Weight pulumi.IntInput
}

The set of arguments for constructing a RouteEntry resource.

func (RouteEntryArgs) ElementType

func (RouteEntryArgs) ElementType() reflect.Type

type RouteEntryArray added in v2.35.1

type RouteEntryArray []RouteEntryInput

func (RouteEntryArray) ElementType added in v2.35.1

func (RouteEntryArray) ElementType() reflect.Type

func (RouteEntryArray) ToRouteEntryArrayOutput added in v2.35.1

func (i RouteEntryArray) ToRouteEntryArrayOutput() RouteEntryArrayOutput

func (RouteEntryArray) ToRouteEntryArrayOutputWithContext added in v2.35.1

func (i RouteEntryArray) ToRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntryArrayOutput

type RouteEntryArrayInput added in v2.35.1

type RouteEntryArrayInput interface {
	pulumi.Input

	ToRouteEntryArrayOutput() RouteEntryArrayOutput
	ToRouteEntryArrayOutputWithContext(context.Context) RouteEntryArrayOutput
}

RouteEntryArrayInput is an input type that accepts RouteEntryArray and RouteEntryArrayOutput values. You can construct a concrete instance of `RouteEntryArrayInput` via:

RouteEntryArray{ RouteEntryArgs{...} }

type RouteEntryArrayOutput added in v2.35.1

type RouteEntryArrayOutput struct{ *pulumi.OutputState }

func (RouteEntryArrayOutput) ElementType added in v2.35.1

func (RouteEntryArrayOutput) ElementType() reflect.Type

func (RouteEntryArrayOutput) Index added in v2.35.1

func (RouteEntryArrayOutput) ToRouteEntryArrayOutput added in v2.35.1

func (o RouteEntryArrayOutput) ToRouteEntryArrayOutput() RouteEntryArrayOutput

func (RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext added in v2.35.1

func (o RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntryArrayOutput

type RouteEntryInput added in v2.25.1

type RouteEntryInput interface {
	pulumi.Input

	ToRouteEntryOutput() RouteEntryOutput
	ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
}

type RouteEntryMap added in v2.35.1

type RouteEntryMap map[string]RouteEntryInput

func (RouteEntryMap) ElementType added in v2.35.1

func (RouteEntryMap) ElementType() reflect.Type

func (RouteEntryMap) ToRouteEntryMapOutput added in v2.35.1

func (i RouteEntryMap) ToRouteEntryMapOutput() RouteEntryMapOutput

func (RouteEntryMap) ToRouteEntryMapOutputWithContext added in v2.35.1

func (i RouteEntryMap) ToRouteEntryMapOutputWithContext(ctx context.Context) RouteEntryMapOutput

type RouteEntryMapInput added in v2.35.1

type RouteEntryMapInput interface {
	pulumi.Input

	ToRouteEntryMapOutput() RouteEntryMapOutput
	ToRouteEntryMapOutputWithContext(context.Context) RouteEntryMapOutput
}

RouteEntryMapInput is an input type that accepts RouteEntryMap and RouteEntryMapOutput values. You can construct a concrete instance of `RouteEntryMapInput` via:

RouteEntryMap{ "key": RouteEntryArgs{...} }

type RouteEntryMapOutput added in v2.35.1

type RouteEntryMapOutput struct{ *pulumi.OutputState }

func (RouteEntryMapOutput) ElementType added in v2.35.1

func (RouteEntryMapOutput) ElementType() reflect.Type

func (RouteEntryMapOutput) MapIndex added in v2.35.1

func (RouteEntryMapOutput) ToRouteEntryMapOutput added in v2.35.1

func (o RouteEntryMapOutput) ToRouteEntryMapOutput() RouteEntryMapOutput

func (RouteEntryMapOutput) ToRouteEntryMapOutputWithContext added in v2.35.1

func (o RouteEntryMapOutput) ToRouteEntryMapOutputWithContext(ctx context.Context) RouteEntryMapOutput

type RouteEntryOutput added in v2.25.1

type RouteEntryOutput struct {
	*pulumi.OutputState
}

func (RouteEntryOutput) ElementType added in v2.25.1

func (RouteEntryOutput) ElementType() reflect.Type

func (RouteEntryOutput) ToRouteEntryOutput added in v2.25.1

func (o RouteEntryOutput) ToRouteEntryOutput() RouteEntryOutput

func (RouteEntryOutput) ToRouteEntryOutputWithContext added in v2.25.1

func (o RouteEntryOutput) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput

func (RouteEntryOutput) ToRouteEntryPtrOutput added in v2.35.1

func (o RouteEntryOutput) ToRouteEntryPtrOutput() RouteEntryPtrOutput

func (RouteEntryOutput) ToRouteEntryPtrOutputWithContext added in v2.35.1

func (o RouteEntryOutput) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput

type RouteEntryPtrInput added in v2.35.1

type RouteEntryPtrInput interface {
	pulumi.Input

	ToRouteEntryPtrOutput() RouteEntryPtrOutput
	ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput
}

type RouteEntryPtrOutput added in v2.35.1

type RouteEntryPtrOutput struct {
	*pulumi.OutputState
}

func (RouteEntryPtrOutput) ElementType added in v2.35.1

func (RouteEntryPtrOutput) ElementType() reflect.Type

func (RouteEntryPtrOutput) ToRouteEntryPtrOutput added in v2.35.1

func (o RouteEntryPtrOutput) ToRouteEntryPtrOutput() RouteEntryPtrOutput

func (RouteEntryPtrOutput) ToRouteEntryPtrOutputWithContext added in v2.35.1

func (o RouteEntryPtrOutput) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput

type RouteEntryState

type RouteEntryState struct {
	// The next hop of the destination route.
	NextHop pulumi.StringPtrInput
	// Whether to issue the destination route to the VPC.
	PublishVpc pulumi.BoolPtrInput
	// The destination network segment of the destination route.
	RouteDest pulumi.StringPtrInput
	// The id of the vpn gateway.
	VpnGatewayId pulumi.StringPtrInput
	// The value should be 0 or 100.
	Weight pulumi.IntPtrInput
}

func (RouteEntryState) ElementType

func (RouteEntryState) ElementType() reflect.Type

type SslVpnClientCert

type SslVpnClientCert struct {
	pulumi.CustomResourceState

	// The client ca cert.
	CaCert pulumi.StringOutput `pulumi:"caCert"`
	// The client cert.
	ClientCert pulumi.StringOutput `pulumi:"clientCert"`
	// The vpn client config.
	ClientConfig pulumi.StringOutput `pulumi:"clientConfig"`
	// The client key.
	ClientKey pulumi.StringOutput `pulumi:"clientKey"`
	// The name of the client certificate.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the SSL-VPN server.
	SslVpnServerId pulumi.StringOutput `pulumi:"sslVpnServerId"`
	// The status of the client certificate.
	Status pulumi.StringOutput `pulumi:"status"`
}

## Import

SSL-VPN client certificates can be imported using the id, e.g.

```sh

$ pulumi import alicloud:vpn/sslVpnClientCert:SslVpnClientCert example vsc-abc123456

```

func GetSslVpnClientCert

func GetSslVpnClientCert(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SslVpnClientCertState, opts ...pulumi.ResourceOption) (*SslVpnClientCert, error)

GetSslVpnClientCert gets an existing SslVpnClientCert resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSslVpnClientCert

func NewSslVpnClientCert(ctx *pulumi.Context,
	name string, args *SslVpnClientCertArgs, opts ...pulumi.ResourceOption) (*SslVpnClientCert, error)

NewSslVpnClientCert registers a new resource with the given unique name, arguments, and options.

func (*SslVpnClientCert) ElementType added in v2.25.1

func (*SslVpnClientCert) ElementType() reflect.Type

func (*SslVpnClientCert) ToSslVpnClientCertOutput added in v2.25.1

func (i *SslVpnClientCert) ToSslVpnClientCertOutput() SslVpnClientCertOutput

func (*SslVpnClientCert) ToSslVpnClientCertOutputWithContext added in v2.25.1

func (i *SslVpnClientCert) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput

func (*SslVpnClientCert) ToSslVpnClientCertPtrOutput added in v2.35.1

func (i *SslVpnClientCert) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput

func (*SslVpnClientCert) ToSslVpnClientCertPtrOutputWithContext added in v2.35.1

func (i *SslVpnClientCert) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput

type SslVpnClientCertArgs

type SslVpnClientCertArgs struct {
	// The name of the client certificate.
	Name pulumi.StringPtrInput
	// The ID of the SSL-VPN server.
	SslVpnServerId pulumi.StringInput
}

The set of arguments for constructing a SslVpnClientCert resource.

func (SslVpnClientCertArgs) ElementType

func (SslVpnClientCertArgs) ElementType() reflect.Type

type SslVpnClientCertArray added in v2.35.1

type SslVpnClientCertArray []SslVpnClientCertInput

func (SslVpnClientCertArray) ElementType added in v2.35.1

func (SslVpnClientCertArray) ElementType() reflect.Type

func (SslVpnClientCertArray) ToSslVpnClientCertArrayOutput added in v2.35.1

func (i SslVpnClientCertArray) ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput

func (SslVpnClientCertArray) ToSslVpnClientCertArrayOutputWithContext added in v2.35.1

func (i SslVpnClientCertArray) ToSslVpnClientCertArrayOutputWithContext(ctx context.Context) SslVpnClientCertArrayOutput

type SslVpnClientCertArrayInput added in v2.35.1

type SslVpnClientCertArrayInput interface {
	pulumi.Input

	ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput
	ToSslVpnClientCertArrayOutputWithContext(context.Context) SslVpnClientCertArrayOutput
}

SslVpnClientCertArrayInput is an input type that accepts SslVpnClientCertArray and SslVpnClientCertArrayOutput values. You can construct a concrete instance of `SslVpnClientCertArrayInput` via:

SslVpnClientCertArray{ SslVpnClientCertArgs{...} }

type SslVpnClientCertArrayOutput added in v2.35.1

type SslVpnClientCertArrayOutput struct{ *pulumi.OutputState }

func (SslVpnClientCertArrayOutput) ElementType added in v2.35.1

func (SslVpnClientCertArrayOutput) Index added in v2.35.1

func (SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutput added in v2.35.1

func (o SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput

func (SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutputWithContext added in v2.35.1

func (o SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutputWithContext(ctx context.Context) SslVpnClientCertArrayOutput

type SslVpnClientCertInput added in v2.25.1

type SslVpnClientCertInput interface {
	pulumi.Input

	ToSslVpnClientCertOutput() SslVpnClientCertOutput
	ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput
}

type SslVpnClientCertMap added in v2.35.1

type SslVpnClientCertMap map[string]SslVpnClientCertInput

func (SslVpnClientCertMap) ElementType added in v2.35.1

func (SslVpnClientCertMap) ElementType() reflect.Type

func (SslVpnClientCertMap) ToSslVpnClientCertMapOutput added in v2.35.1

func (i SslVpnClientCertMap) ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput

func (SslVpnClientCertMap) ToSslVpnClientCertMapOutputWithContext added in v2.35.1

func (i SslVpnClientCertMap) ToSslVpnClientCertMapOutputWithContext(ctx context.Context) SslVpnClientCertMapOutput

type SslVpnClientCertMapInput added in v2.35.1

type SslVpnClientCertMapInput interface {
	pulumi.Input

	ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput
	ToSslVpnClientCertMapOutputWithContext(context.Context) SslVpnClientCertMapOutput
}

SslVpnClientCertMapInput is an input type that accepts SslVpnClientCertMap and SslVpnClientCertMapOutput values. You can construct a concrete instance of `SslVpnClientCertMapInput` via:

SslVpnClientCertMap{ "key": SslVpnClientCertArgs{...} }

type SslVpnClientCertMapOutput added in v2.35.1

type SslVpnClientCertMapOutput struct{ *pulumi.OutputState }

func (SslVpnClientCertMapOutput) ElementType added in v2.35.1

func (SslVpnClientCertMapOutput) ElementType() reflect.Type

func (SslVpnClientCertMapOutput) MapIndex added in v2.35.1

func (SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutput added in v2.35.1

func (o SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput

func (SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutputWithContext added in v2.35.1

func (o SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutputWithContext(ctx context.Context) SslVpnClientCertMapOutput

type SslVpnClientCertOutput added in v2.25.1

type SslVpnClientCertOutput struct {
	*pulumi.OutputState
}

func (SslVpnClientCertOutput) ElementType added in v2.25.1

func (SslVpnClientCertOutput) ElementType() reflect.Type

func (SslVpnClientCertOutput) ToSslVpnClientCertOutput added in v2.25.1

func (o SslVpnClientCertOutput) ToSslVpnClientCertOutput() SslVpnClientCertOutput

func (SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext added in v2.25.1

func (o SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput

func (SslVpnClientCertOutput) ToSslVpnClientCertPtrOutput added in v2.35.1

func (o SslVpnClientCertOutput) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput

func (SslVpnClientCertOutput) ToSslVpnClientCertPtrOutputWithContext added in v2.35.1

func (o SslVpnClientCertOutput) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput

type SslVpnClientCertPtrInput added in v2.35.1

type SslVpnClientCertPtrInput interface {
	pulumi.Input

	ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput
	ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput
}

type SslVpnClientCertPtrOutput added in v2.35.1

type SslVpnClientCertPtrOutput struct {
	*pulumi.OutputState
}

func (SslVpnClientCertPtrOutput) ElementType added in v2.35.1

func (SslVpnClientCertPtrOutput) ElementType() reflect.Type

func (SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutput added in v2.35.1

func (o SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput

func (SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutputWithContext added in v2.35.1

func (o SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput

type SslVpnClientCertState

type SslVpnClientCertState struct {
	// The client ca cert.
	CaCert pulumi.StringPtrInput
	// The client cert.
	ClientCert pulumi.StringPtrInput
	// The vpn client config.
	ClientConfig pulumi.StringPtrInput
	// The client key.
	ClientKey pulumi.StringPtrInput
	// The name of the client certificate.
	Name pulumi.StringPtrInput
	// The ID of the SSL-VPN server.
	SslVpnServerId pulumi.StringPtrInput
	// The status of the client certificate.
	Status pulumi.StringPtrInput
}

func (SslVpnClientCertState) ElementType

func (SslVpnClientCertState) ElementType() reflect.Type

type SslVpnServer

type SslVpnServer struct {
	pulumi.CustomResourceState

	// The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
	Cipher pulumi.StringPtrOutput `pulumi:"cipher"`
	// The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
	ClientIpPool pulumi.StringOutput `pulumi:"clientIpPool"`
	// Specify whether to compress the communication. Valid value: true (default) | false
	Compress pulumi.BoolPtrOutput `pulumi:"compress"`
	// The number of current connections.
	Connections pulumi.IntOutput `pulumi:"connections"`
	// The internet IP of the SSL-VPN server.
	InternetIp pulumi.StringOutput `pulumi:"internetIp"`
	// The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like `10.0.1.0/24,10.0.2.0/24,10.0.3.0/24`.
	LocalSubnet pulumi.StringOutput `pulumi:"localSubnet"`
	// The maximum number of connections.
	MaxConnections pulumi.IntOutput `pulumi:"maxConnections"`
	// The name of the SSL-VPN server.
	Name pulumi.StringOutput `pulumi:"name"`
	// The port used by the SSL-VPN server. The default value is 1194.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
}

## Import

SSL-VPN server can be imported using the id, e.g.

```sh

$ pulumi import alicloud:vpn/sslVpnServer:SslVpnServer example vss-abc123456

```

func GetSslVpnServer

func GetSslVpnServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SslVpnServerState, opts ...pulumi.ResourceOption) (*SslVpnServer, error)

GetSslVpnServer gets an existing SslVpnServer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSslVpnServer

func NewSslVpnServer(ctx *pulumi.Context,
	name string, args *SslVpnServerArgs, opts ...pulumi.ResourceOption) (*SslVpnServer, error)

NewSslVpnServer registers a new resource with the given unique name, arguments, and options.

func (*SslVpnServer) ElementType added in v2.25.1

func (*SslVpnServer) ElementType() reflect.Type

func (*SslVpnServer) ToSslVpnServerOutput added in v2.25.1

func (i *SslVpnServer) ToSslVpnServerOutput() SslVpnServerOutput

func (*SslVpnServer) ToSslVpnServerOutputWithContext added in v2.25.1

func (i *SslVpnServer) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput

func (*SslVpnServer) ToSslVpnServerPtrOutput added in v2.35.1

func (i *SslVpnServer) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput

func (*SslVpnServer) ToSslVpnServerPtrOutputWithContext added in v2.35.1

func (i *SslVpnServer) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput

type SslVpnServerArgs

type SslVpnServerArgs struct {
	// The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
	Cipher pulumi.StringPtrInput
	// The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
	ClientIpPool pulumi.StringInput
	// Specify whether to compress the communication. Valid value: true (default) | false
	Compress pulumi.BoolPtrInput
	// The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like `10.0.1.0/24,10.0.2.0/24,10.0.3.0/24`.
	LocalSubnet pulumi.StringInput
	// The name of the SSL-VPN server.
	Name pulumi.StringPtrInput
	// The port used by the SSL-VPN server. The default value is 1194.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
	Port pulumi.IntPtrInput
	// The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
	Protocol pulumi.StringPtrInput
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringInput
}

The set of arguments for constructing a SslVpnServer resource.

func (SslVpnServerArgs) ElementType

func (SslVpnServerArgs) ElementType() reflect.Type

type SslVpnServerArray added in v2.35.1

type SslVpnServerArray []SslVpnServerInput

func (SslVpnServerArray) ElementType added in v2.35.1

func (SslVpnServerArray) ElementType() reflect.Type

func (SslVpnServerArray) ToSslVpnServerArrayOutput added in v2.35.1

func (i SslVpnServerArray) ToSslVpnServerArrayOutput() SslVpnServerArrayOutput

func (SslVpnServerArray) ToSslVpnServerArrayOutputWithContext added in v2.35.1

func (i SslVpnServerArray) ToSslVpnServerArrayOutputWithContext(ctx context.Context) SslVpnServerArrayOutput

type SslVpnServerArrayInput added in v2.35.1

type SslVpnServerArrayInput interface {
	pulumi.Input

	ToSslVpnServerArrayOutput() SslVpnServerArrayOutput
	ToSslVpnServerArrayOutputWithContext(context.Context) SslVpnServerArrayOutput
}

SslVpnServerArrayInput is an input type that accepts SslVpnServerArray and SslVpnServerArrayOutput values. You can construct a concrete instance of `SslVpnServerArrayInput` via:

SslVpnServerArray{ SslVpnServerArgs{...} }

type SslVpnServerArrayOutput added in v2.35.1

type SslVpnServerArrayOutput struct{ *pulumi.OutputState }

func (SslVpnServerArrayOutput) ElementType added in v2.35.1

func (SslVpnServerArrayOutput) ElementType() reflect.Type

func (SslVpnServerArrayOutput) Index added in v2.35.1

func (SslVpnServerArrayOutput) ToSslVpnServerArrayOutput added in v2.35.1

func (o SslVpnServerArrayOutput) ToSslVpnServerArrayOutput() SslVpnServerArrayOutput

func (SslVpnServerArrayOutput) ToSslVpnServerArrayOutputWithContext added in v2.35.1

func (o SslVpnServerArrayOutput) ToSslVpnServerArrayOutputWithContext(ctx context.Context) SslVpnServerArrayOutput

type SslVpnServerInput added in v2.25.1

type SslVpnServerInput interface {
	pulumi.Input

	ToSslVpnServerOutput() SslVpnServerOutput
	ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput
}

type SslVpnServerMap added in v2.35.1

type SslVpnServerMap map[string]SslVpnServerInput

func (SslVpnServerMap) ElementType added in v2.35.1

func (SslVpnServerMap) ElementType() reflect.Type

func (SslVpnServerMap) ToSslVpnServerMapOutput added in v2.35.1

func (i SslVpnServerMap) ToSslVpnServerMapOutput() SslVpnServerMapOutput

func (SslVpnServerMap) ToSslVpnServerMapOutputWithContext added in v2.35.1

func (i SslVpnServerMap) ToSslVpnServerMapOutputWithContext(ctx context.Context) SslVpnServerMapOutput

type SslVpnServerMapInput added in v2.35.1

type SslVpnServerMapInput interface {
	pulumi.Input

	ToSslVpnServerMapOutput() SslVpnServerMapOutput
	ToSslVpnServerMapOutputWithContext(context.Context) SslVpnServerMapOutput
}

SslVpnServerMapInput is an input type that accepts SslVpnServerMap and SslVpnServerMapOutput values. You can construct a concrete instance of `SslVpnServerMapInput` via:

SslVpnServerMap{ "key": SslVpnServerArgs{...} }

type SslVpnServerMapOutput added in v2.35.1

type SslVpnServerMapOutput struct{ *pulumi.OutputState }

func (SslVpnServerMapOutput) ElementType added in v2.35.1

func (SslVpnServerMapOutput) ElementType() reflect.Type

func (SslVpnServerMapOutput) MapIndex added in v2.35.1

func (SslVpnServerMapOutput) ToSslVpnServerMapOutput added in v2.35.1

func (o SslVpnServerMapOutput) ToSslVpnServerMapOutput() SslVpnServerMapOutput

func (SslVpnServerMapOutput) ToSslVpnServerMapOutputWithContext added in v2.35.1

func (o SslVpnServerMapOutput) ToSslVpnServerMapOutputWithContext(ctx context.Context) SslVpnServerMapOutput

type SslVpnServerOutput added in v2.25.1

type SslVpnServerOutput struct {
	*pulumi.OutputState
}

func (SslVpnServerOutput) ElementType added in v2.25.1

func (SslVpnServerOutput) ElementType() reflect.Type

func (SslVpnServerOutput) ToSslVpnServerOutput added in v2.25.1

func (o SslVpnServerOutput) ToSslVpnServerOutput() SslVpnServerOutput

func (SslVpnServerOutput) ToSslVpnServerOutputWithContext added in v2.25.1

func (o SslVpnServerOutput) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput

func (SslVpnServerOutput) ToSslVpnServerPtrOutput added in v2.35.1

func (o SslVpnServerOutput) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput

func (SslVpnServerOutput) ToSslVpnServerPtrOutputWithContext added in v2.35.1

func (o SslVpnServerOutput) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput

type SslVpnServerPtrInput added in v2.35.1

type SslVpnServerPtrInput interface {
	pulumi.Input

	ToSslVpnServerPtrOutput() SslVpnServerPtrOutput
	ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput
}

type SslVpnServerPtrOutput added in v2.35.1

type SslVpnServerPtrOutput struct {
	*pulumi.OutputState
}

func (SslVpnServerPtrOutput) ElementType added in v2.35.1

func (SslVpnServerPtrOutput) ElementType() reflect.Type

func (SslVpnServerPtrOutput) ToSslVpnServerPtrOutput added in v2.35.1

func (o SslVpnServerPtrOutput) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput

func (SslVpnServerPtrOutput) ToSslVpnServerPtrOutputWithContext added in v2.35.1

func (o SslVpnServerPtrOutput) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput

type SslVpnServerState

type SslVpnServerState struct {
	// The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
	Cipher pulumi.StringPtrInput
	// The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
	ClientIpPool pulumi.StringPtrInput
	// Specify whether to compress the communication. Valid value: true (default) | false
	Compress pulumi.BoolPtrInput
	// The number of current connections.
	Connections pulumi.IntPtrInput
	// The internet IP of the SSL-VPN server.
	InternetIp pulumi.StringPtrInput
	// The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like `10.0.1.0/24,10.0.2.0/24,10.0.3.0/24`.
	LocalSubnet pulumi.StringPtrInput
	// The maximum number of connections.
	MaxConnections pulumi.IntPtrInput
	// The name of the SSL-VPN server.
	Name pulumi.StringPtrInput
	// The port used by the SSL-VPN server. The default value is 1194.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
	Port pulumi.IntPtrInput
	// The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
	Protocol pulumi.StringPtrInput
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringPtrInput
}

func (SslVpnServerState) ElementType

func (SslVpnServerState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL