ipsecvpn

package
v0.0.0-...-4e6c764 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 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 GetVPNConnectionVpnConnection

type GetVPNConnectionVpnConnection struct {
	// The time of creation for VPN Connection, formatted in RFC3339 time string.
	CreateTime string `pulumi:"createTime"`
	// The ID of VPN Customer Gateway.
	CustomerGatewayId string `pulumi:"customerGatewayId"`
	// The ID of VPN Connection.
	Id string `pulumi:"id"`
	// It is a nested type which documented below.
	IkeConfigs []GetVPNConnectionVpnConnectionIkeConfig `pulumi:"ikeConfigs"`
	// It is a nested type which documented below.
	IpsecConfigs []GetVPNConnectionVpnConnectionIpsecConfig `pulumi:"ipsecConfigs"`
	// The name of the VPN Connection.
	Name string `pulumi:"name"`
	// The remarks of VPN Connection.
	Remark string `pulumi:"remark"`
	// A tag assigned to VPN Connection.
	Tag string `pulumi:"tag"`
	// The ID of VPC linked to the VPN Connection.
	VpcId string `pulumi:"vpcId"`
	// The ID of VPN Gateway.
	VpnGatewayId string `pulumi:"vpnGatewayId"`
}

type GetVPNConnectionVpnConnectionArgs

type GetVPNConnectionVpnConnectionArgs struct {
	// The time of creation for VPN Connection, formatted in RFC3339 time string.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of VPN Customer Gateway.
	CustomerGatewayId pulumi.StringInput `pulumi:"customerGatewayId"`
	// The ID of VPN Connection.
	Id pulumi.StringInput `pulumi:"id"`
	// It is a nested type which documented below.
	IkeConfigs GetVPNConnectionVpnConnectionIkeConfigArrayInput `pulumi:"ikeConfigs"`
	// It is a nested type which documented below.
	IpsecConfigs GetVPNConnectionVpnConnectionIpsecConfigArrayInput `pulumi:"ipsecConfigs"`
	// The name of the VPN Connection.
	Name pulumi.StringInput `pulumi:"name"`
	// The remarks of VPN Connection.
	Remark pulumi.StringInput `pulumi:"remark"`
	// A tag assigned to VPN Connection.
	Tag pulumi.StringInput `pulumi:"tag"`
	// The ID of VPC linked to the VPN Connection.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of VPN Gateway.
	VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"`
}

func (GetVPNConnectionVpnConnectionArgs) ElementType

func (GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutput

func (i GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput

func (GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutputWithContext

func (i GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionOutput

type GetVPNConnectionVpnConnectionArray

type GetVPNConnectionVpnConnectionArray []GetVPNConnectionVpnConnectionInput

func (GetVPNConnectionVpnConnectionArray) ElementType

func (GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutput

func (i GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput

func (GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutputWithContext

func (i GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionArrayOutput

type GetVPNConnectionVpnConnectionArrayInput

type GetVPNConnectionVpnConnectionArrayInput interface {
	pulumi.Input

	ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput
	ToGetVPNConnectionVpnConnectionArrayOutputWithContext(context.Context) GetVPNConnectionVpnConnectionArrayOutput
}

GetVPNConnectionVpnConnectionArrayInput is an input type that accepts GetVPNConnectionVpnConnectionArray and GetVPNConnectionVpnConnectionArrayOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionArrayInput` via:

GetVPNConnectionVpnConnectionArray{ GetVPNConnectionVpnConnectionArgs{...} }

type GetVPNConnectionVpnConnectionArrayOutput

type GetVPNConnectionVpnConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetVPNConnectionVpnConnectionArrayOutput) ElementType

func (GetVPNConnectionVpnConnectionArrayOutput) Index

func (GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutput

func (o GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput

func (GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutputWithContext

func (o GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionArrayOutput

type GetVPNConnectionVpnConnectionIkeConfig

type GetVPNConnectionVpnConnectionIkeConfig struct {
	// The authentication algorithm of IPSec negotiation.
	AuthenticationAlgorithm string `pulumi:"authenticationAlgorithm"`
	// The Diffie-Hellman group used by IKE negotiation.
	DhGroup string `pulumi:"dhGroup"`
	// The encryption algorithm of IPSec negotiation.
	EncryptionAlgorithm string `pulumi:"encryptionAlgorithm"`
	// The negotiation exchange mode of IKE V1 of VPN gateway.
	ExchangeMode string `pulumi:"exchangeMode"`
	// The version of the IKE protocol.
	IkeVersion string `pulumi:"ikeVersion"`
	// The identification of the VPN gateway.
	LocalId string `pulumi:"localId"`
	// The key used for authentication between the VPN gateway and the Customer gateway.
	PreSharedKey string `pulumi:"preSharedKey"`
	// The identification of the Customer gateway.
	RemoteId string `pulumi:"remoteId"`
	// The Security Association lifecycle as the result of IPSec negotiation.
	SaLifeTime int `pulumi:"saLifeTime"`
}

type GetVPNConnectionVpnConnectionIkeConfigArgs

type GetVPNConnectionVpnConnectionIkeConfigArgs struct {
	// The authentication algorithm of IPSec negotiation.
	AuthenticationAlgorithm pulumi.StringInput `pulumi:"authenticationAlgorithm"`
	// The Diffie-Hellman group used by IKE negotiation.
	DhGroup pulumi.StringInput `pulumi:"dhGroup"`
	// The encryption algorithm of IPSec negotiation.
	EncryptionAlgorithm pulumi.StringInput `pulumi:"encryptionAlgorithm"`
	// The negotiation exchange mode of IKE V1 of VPN gateway.
	ExchangeMode pulumi.StringInput `pulumi:"exchangeMode"`
	// The version of the IKE protocol.
	IkeVersion pulumi.StringInput `pulumi:"ikeVersion"`
	// The identification of the VPN gateway.
	LocalId pulumi.StringInput `pulumi:"localId"`
	// The key used for authentication between the VPN gateway and the Customer gateway.
	PreSharedKey pulumi.StringInput `pulumi:"preSharedKey"`
	// The identification of the Customer gateway.
	RemoteId pulumi.StringInput `pulumi:"remoteId"`
	// The Security Association lifecycle as the result of IPSec negotiation.
	SaLifeTime pulumi.IntInput `pulumi:"saLifeTime"`
}

func (GetVPNConnectionVpnConnectionIkeConfigArgs) ElementType

func (GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutput

func (i GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput

func (GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext

func (i GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput

type GetVPNConnectionVpnConnectionIkeConfigArray

type GetVPNConnectionVpnConnectionIkeConfigArray []GetVPNConnectionVpnConnectionIkeConfigInput

func (GetVPNConnectionVpnConnectionIkeConfigArray) ElementType

func (GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput

func (i GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput

func (GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext

func (i GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput

type GetVPNConnectionVpnConnectionIkeConfigArrayInput

type GetVPNConnectionVpnConnectionIkeConfigArrayInput interface {
	pulumi.Input

	ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput
	ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput
}

GetVPNConnectionVpnConnectionIkeConfigArrayInput is an input type that accepts GetVPNConnectionVpnConnectionIkeConfigArray and GetVPNConnectionVpnConnectionIkeConfigArrayOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIkeConfigArrayInput` via:

GetVPNConnectionVpnConnectionIkeConfigArray{ GetVPNConnectionVpnConnectionIkeConfigArgs{...} }

type GetVPNConnectionVpnConnectionIkeConfigArrayOutput

type GetVPNConnectionVpnConnectionIkeConfigArrayOutput struct{ *pulumi.OutputState }

func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ElementType

func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) Index

func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput

func (o GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput

func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext

func (o GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput

type GetVPNConnectionVpnConnectionIkeConfigInput

type GetVPNConnectionVpnConnectionIkeConfigInput interface {
	pulumi.Input

	ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput
	ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput
}

GetVPNConnectionVpnConnectionIkeConfigInput is an input type that accepts GetVPNConnectionVpnConnectionIkeConfigArgs and GetVPNConnectionVpnConnectionIkeConfigOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIkeConfigInput` via:

GetVPNConnectionVpnConnectionIkeConfigArgs{...}

type GetVPNConnectionVpnConnectionIkeConfigOutput

type GetVPNConnectionVpnConnectionIkeConfigOutput struct{ *pulumi.OutputState }

func (GetVPNConnectionVpnConnectionIkeConfigOutput) AuthenticationAlgorithm

The authentication algorithm of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) DhGroup

The Diffie-Hellman group used by IKE negotiation.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) ElementType

func (GetVPNConnectionVpnConnectionIkeConfigOutput) EncryptionAlgorithm

The encryption algorithm of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) ExchangeMode

The negotiation exchange mode of IKE V1 of VPN gateway.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) IkeVersion

The version of the IKE protocol.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) LocalId

The identification of the VPN gateway.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) PreSharedKey

The key used for authentication between the VPN gateway and the Customer gateway.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) RemoteId

The identification of the Customer gateway.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) SaLifeTime

The Security Association lifecycle as the result of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutput

func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput

func (GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext

func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput

type GetVPNConnectionVpnConnectionInput

type GetVPNConnectionVpnConnectionInput interface {
	pulumi.Input

	ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput
	ToGetVPNConnectionVpnConnectionOutputWithContext(context.Context) GetVPNConnectionVpnConnectionOutput
}

GetVPNConnectionVpnConnectionInput is an input type that accepts GetVPNConnectionVpnConnectionArgs and GetVPNConnectionVpnConnectionOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionInput` via:

GetVPNConnectionVpnConnectionArgs{...}

type GetVPNConnectionVpnConnectionIpsecConfig

type GetVPNConnectionVpnConnectionIpsecConfig struct {
	// The authentication algorithm of IPSec negotiation.
	AuthenticationAlgorithm string `pulumi:"authenticationAlgorithm"`
	// The encryption algorithm of IPSec negotiation.
	EncryptionAlgorithm string `pulumi:"encryptionAlgorithm"`
	// The id list of Local subnet.
	LocalSubnetIds []string `pulumi:"localSubnetIds"`
	// Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open.
	PfsDhGroup string `pulumi:"pfsDhGroup"`
	// The security protocol of IPSec negotiation.
	Protocol string `pulumi:"protocol"`
	// The ip address list of remote subnet.
	RemoteSubnets []string `pulumi:"remoteSubnets"`
	// The Security Association lifecycle as the result of IPSec negotiation.
	SaLifeTime int `pulumi:"saLifeTime"`
	// The Security Association lifecycle in bytes as the result of IPSec negotiation.
	SaLifeTimeBytes int `pulumi:"saLifeTimeBytes"`
}

type GetVPNConnectionVpnConnectionIpsecConfigArgs

type GetVPNConnectionVpnConnectionIpsecConfigArgs struct {
	// The authentication algorithm of IPSec negotiation.
	AuthenticationAlgorithm pulumi.StringInput `pulumi:"authenticationAlgorithm"`
	// The encryption algorithm of IPSec negotiation.
	EncryptionAlgorithm pulumi.StringInput `pulumi:"encryptionAlgorithm"`
	// The id list of Local subnet.
	LocalSubnetIds pulumi.StringArrayInput `pulumi:"localSubnetIds"`
	// Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open.
	PfsDhGroup pulumi.StringInput `pulumi:"pfsDhGroup"`
	// The security protocol of IPSec negotiation.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The ip address list of remote subnet.
	RemoteSubnets pulumi.StringArrayInput `pulumi:"remoteSubnets"`
	// The Security Association lifecycle as the result of IPSec negotiation.
	SaLifeTime pulumi.IntInput `pulumi:"saLifeTime"`
	// The Security Association lifecycle in bytes as the result of IPSec negotiation.
	SaLifeTimeBytes pulumi.IntInput `pulumi:"saLifeTimeBytes"`
}

func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ElementType

func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutput

func (i GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput

func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext

func (i GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput

type GetVPNConnectionVpnConnectionIpsecConfigArray

type GetVPNConnectionVpnConnectionIpsecConfigArray []GetVPNConnectionVpnConnectionIpsecConfigInput

func (GetVPNConnectionVpnConnectionIpsecConfigArray) ElementType

func (GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput

func (i GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput

func (GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext

func (i GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput

type GetVPNConnectionVpnConnectionIpsecConfigArrayInput

type GetVPNConnectionVpnConnectionIpsecConfigArrayInput interface {
	pulumi.Input

	ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
	ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
}

GetVPNConnectionVpnConnectionIpsecConfigArrayInput is an input type that accepts GetVPNConnectionVpnConnectionIpsecConfigArray and GetVPNConnectionVpnConnectionIpsecConfigArrayOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIpsecConfigArrayInput` via:

GetVPNConnectionVpnConnectionIpsecConfigArray{ GetVPNConnectionVpnConnectionIpsecConfigArgs{...} }

type GetVPNConnectionVpnConnectionIpsecConfigArrayOutput

type GetVPNConnectionVpnConnectionIpsecConfigArrayOutput struct{ *pulumi.OutputState }

func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ElementType

func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) Index

func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput

func (o GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput

func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext

func (o GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput

type GetVPNConnectionVpnConnectionIpsecConfigInput

type GetVPNConnectionVpnConnectionIpsecConfigInput interface {
	pulumi.Input

	ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput
	ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput
}

GetVPNConnectionVpnConnectionIpsecConfigInput is an input type that accepts GetVPNConnectionVpnConnectionIpsecConfigArgs and GetVPNConnectionVpnConnectionIpsecConfigOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIpsecConfigInput` via:

GetVPNConnectionVpnConnectionIpsecConfigArgs{...}

type GetVPNConnectionVpnConnectionIpsecConfigOutput

type GetVPNConnectionVpnConnectionIpsecConfigOutput struct{ *pulumi.OutputState }

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) AuthenticationAlgorithm

The authentication algorithm of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ElementType

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) EncryptionAlgorithm

The encryption algorithm of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) LocalSubnetIds

The id list of Local subnet.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) PfsDhGroup

Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) Protocol

The security protocol of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) RemoteSubnets

The ip address list of remote subnet.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTime

The Security Association lifecycle as the result of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTimeBytes

The Security Association lifecycle in bytes as the result of IPSec negotiation.

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutput

func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput

func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext

func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput

type GetVPNConnectionVpnConnectionOutput

type GetVPNConnectionVpnConnectionOutput struct{ *pulumi.OutputState }

func (GetVPNConnectionVpnConnectionOutput) CreateTime

The time of creation for VPN Connection, formatted in RFC3339 time string.

func (GetVPNConnectionVpnConnectionOutput) CustomerGatewayId

The ID of VPN Customer Gateway.

func (GetVPNConnectionVpnConnectionOutput) ElementType

func (GetVPNConnectionVpnConnectionOutput) Id

The ID of VPN Connection.

func (GetVPNConnectionVpnConnectionOutput) IkeConfigs

It is a nested type which documented below.

func (GetVPNConnectionVpnConnectionOutput) IpsecConfigs

It is a nested type which documented below.

func (GetVPNConnectionVpnConnectionOutput) Name

The name of the VPN Connection.

func (GetVPNConnectionVpnConnectionOutput) Remark

The remarks of VPN Connection.

func (GetVPNConnectionVpnConnectionOutput) Tag

A tag assigned to VPN Connection.

func (GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutput

func (o GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput

func (GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutputWithContext

func (o GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionOutput

func (GetVPNConnectionVpnConnectionOutput) VpcId

The ID of VPC linked to the VPN Connection.

func (GetVPNConnectionVpnConnectionOutput) VpnGatewayId

The ID of VPN Gateway.

type GetVPNCustomerGatewayVpnCustomerGateway

type GetVPNCustomerGatewayVpnCustomerGateway struct {
	// The time of creation for VPN Customer Gateway, formatted in RFC3339 time string.
	CreateTime string `pulumi:"createTime"`
	// The ID of 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"`
	// The remarks of VPN Customer Gateway.
	Remark string `pulumi:"remark"`
	// A tag assigned to VPN Customer Gateway.
	Tag string `pulumi:"tag"`
}

type GetVPNCustomerGatewayVpnCustomerGatewayArgs

type GetVPNCustomerGatewayVpnCustomerGatewayArgs struct {
	// The time of creation for VPN Customer Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of 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"`
	// The remarks of VPN Customer Gateway.
	Remark pulumi.StringInput `pulumi:"remark"`
	// A tag assigned to VPN Customer Gateway.
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ElementType

func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput

func (i GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput

func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext

func (i GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput

type GetVPNCustomerGatewayVpnCustomerGatewayArray

type GetVPNCustomerGatewayVpnCustomerGatewayArray []GetVPNCustomerGatewayVpnCustomerGatewayInput

func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ElementType

func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput

func (i GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput

func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext

func (i GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput

type GetVPNCustomerGatewayVpnCustomerGatewayArrayInput

type GetVPNCustomerGatewayVpnCustomerGatewayArrayInput interface {
	pulumi.Input

	ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
	ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
}

GetVPNCustomerGatewayVpnCustomerGatewayArrayInput is an input type that accepts GetVPNCustomerGatewayVpnCustomerGatewayArray and GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput values. You can construct a concrete instance of `GetVPNCustomerGatewayVpnCustomerGatewayArrayInput` via:

GetVPNCustomerGatewayVpnCustomerGatewayArray{ GetVPNCustomerGatewayVpnCustomerGatewayArgs{...} }

type GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput

type GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput struct{ *pulumi.OutputState }

func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ElementType

func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) Index

func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput

func (o GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput

func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext

func (o GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput

type GetVPNCustomerGatewayVpnCustomerGatewayInput

type GetVPNCustomerGatewayVpnCustomerGatewayInput interface {
	pulumi.Input

	ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput
	ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput
}

GetVPNCustomerGatewayVpnCustomerGatewayInput is an input type that accepts GetVPNCustomerGatewayVpnCustomerGatewayArgs and GetVPNCustomerGatewayVpnCustomerGatewayOutput values. You can construct a concrete instance of `GetVPNCustomerGatewayVpnCustomerGatewayInput` via:

GetVPNCustomerGatewayVpnCustomerGatewayArgs{...}

type GetVPNCustomerGatewayVpnCustomerGatewayOutput

type GetVPNCustomerGatewayVpnCustomerGatewayOutput struct{ *pulumi.OutputState }

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) CreateTime

The time of creation for VPN Customer Gateway, formatted in RFC3339 time string.

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ElementType

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Id

The ID of VPN Customer Gateway.

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) IpAddress

The ip address of the VPN Customer Gateway.

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Name

The name of the VPN Customer Gateway.

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Remark

The remarks of VPN Customer Gateway.

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Tag

A tag assigned to VPN Customer Gateway.

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput

func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput

func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext

func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput

type GetVPNGatewayVpnGateway

type GetVPNGatewayVpnGateway struct {
	// Whether to renew an VPN Gateway automatically or not.
	AutoRenew bool `pulumi:"autoRenew"`
	// The charge type of VPN Gateway.
	ChargeType string `pulumi:"chargeType"`
	// The time of creation for VPN Gateway, formatted in RFC3339 time string.
	CreateTime string `pulumi:"createTime"`
	// The expiration time for VPN Gateway, formatted in RFC3339 time string.
	ExpireTime string `pulumi:"expireTime"`
	// The type of the VPN Gateway.
	Grade string `pulumi:"grade"`
	// The ID of VPN Gateway.
	Id string `pulumi:"id"`
	// It is a nested type which documented below.
	IpSets []GetVPNGatewayVpnGatewayIpSet `pulumi:"ipSets"`
	// The name of the VPN Gateway.
	Name string `pulumi:"name"`
	// The remarks of VPN Gateway.
	Remark string `pulumi:"remark"`
	// A tag assigned to VPN Gateway.
	Tag string `pulumi:"tag"`
	// The ID of VPC linked to the VPN Gateway.
	VpcId string `pulumi:"vpcId"`
}

type GetVPNGatewayVpnGatewayArgs

type GetVPNGatewayVpnGatewayArgs struct {
	// Whether to renew an VPN Gateway automatically or not.
	AutoRenew pulumi.BoolInput `pulumi:"autoRenew"`
	// The charge type of VPN Gateway.
	ChargeType pulumi.StringInput `pulumi:"chargeType"`
	// The time of creation for VPN Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The expiration time for VPN Gateway, formatted in RFC3339 time string.
	ExpireTime pulumi.StringInput `pulumi:"expireTime"`
	// The type of the VPN Gateway.
	Grade pulumi.StringInput `pulumi:"grade"`
	// The ID of VPN Gateway.
	Id pulumi.StringInput `pulumi:"id"`
	// It is a nested type which documented below.
	IpSets GetVPNGatewayVpnGatewayIpSetArrayInput `pulumi:"ipSets"`
	// The name of the VPN Gateway.
	Name pulumi.StringInput `pulumi:"name"`
	// The remarks of VPN Gateway.
	Remark pulumi.StringInput `pulumi:"remark"`
	// A tag assigned to VPN Gateway.
	Tag pulumi.StringInput `pulumi:"tag"`
	// The ID of VPC linked to the VPN Gateway.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetVPNGatewayVpnGatewayArgs) ElementType

func (GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutput

func (i GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutput() GetVPNGatewayVpnGatewayOutput

func (GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutputWithContext

func (i GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayOutput

type GetVPNGatewayVpnGatewayArray

type GetVPNGatewayVpnGatewayArray []GetVPNGatewayVpnGatewayInput

func (GetVPNGatewayVpnGatewayArray) ElementType

func (GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutput

func (i GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput

func (GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutputWithContext

func (i GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayArrayOutput

type GetVPNGatewayVpnGatewayArrayInput

type GetVPNGatewayVpnGatewayArrayInput interface {
	pulumi.Input

	ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput
	ToGetVPNGatewayVpnGatewayArrayOutputWithContext(context.Context) GetVPNGatewayVpnGatewayArrayOutput
}

GetVPNGatewayVpnGatewayArrayInput is an input type that accepts GetVPNGatewayVpnGatewayArray and GetVPNGatewayVpnGatewayArrayOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayArrayInput` via:

GetVPNGatewayVpnGatewayArray{ GetVPNGatewayVpnGatewayArgs{...} }

type GetVPNGatewayVpnGatewayArrayOutput

type GetVPNGatewayVpnGatewayArrayOutput struct{ *pulumi.OutputState }

func (GetVPNGatewayVpnGatewayArrayOutput) ElementType

func (GetVPNGatewayVpnGatewayArrayOutput) Index

func (GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutput

func (o GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput

func (GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutputWithContext

func (o GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayArrayOutput

type GetVPNGatewayVpnGatewayInput

type GetVPNGatewayVpnGatewayInput interface {
	pulumi.Input

	ToGetVPNGatewayVpnGatewayOutput() GetVPNGatewayVpnGatewayOutput
	ToGetVPNGatewayVpnGatewayOutputWithContext(context.Context) GetVPNGatewayVpnGatewayOutput
}

GetVPNGatewayVpnGatewayInput is an input type that accepts GetVPNGatewayVpnGatewayArgs and GetVPNGatewayVpnGatewayOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayInput` via:

GetVPNGatewayVpnGatewayArgs{...}

type GetVPNGatewayVpnGatewayIpSet

type GetVPNGatewayVpnGatewayIpSet struct {
	// Type of Elastic IP routes.
	InternetType string `pulumi:"internetType"`
	// Elastic IP address.
	Ip string `pulumi:"ip"`
}

type GetVPNGatewayVpnGatewayIpSetArgs

type GetVPNGatewayVpnGatewayIpSetArgs struct {
	// Type of Elastic IP routes.
	InternetType pulumi.StringInput `pulumi:"internetType"`
	// Elastic IP address.
	Ip pulumi.StringInput `pulumi:"ip"`
}

func (GetVPNGatewayVpnGatewayIpSetArgs) ElementType

func (GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutput

func (i GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput

func (GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext

func (i GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetOutput

type GetVPNGatewayVpnGatewayIpSetArray

type GetVPNGatewayVpnGatewayIpSetArray []GetVPNGatewayVpnGatewayIpSetInput

func (GetVPNGatewayVpnGatewayIpSetArray) ElementType

func (GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutput

func (i GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput

func (GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext

func (i GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput

type GetVPNGatewayVpnGatewayIpSetArrayInput

type GetVPNGatewayVpnGatewayIpSetArrayInput interface {
	pulumi.Input

	ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput
	ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput
}

GetVPNGatewayVpnGatewayIpSetArrayInput is an input type that accepts GetVPNGatewayVpnGatewayIpSetArray and GetVPNGatewayVpnGatewayIpSetArrayOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayIpSetArrayInput` via:

GetVPNGatewayVpnGatewayIpSetArray{ GetVPNGatewayVpnGatewayIpSetArgs{...} }

type GetVPNGatewayVpnGatewayIpSetArrayOutput

type GetVPNGatewayVpnGatewayIpSetArrayOutput struct{ *pulumi.OutputState }

func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ElementType

func (GetVPNGatewayVpnGatewayIpSetArrayOutput) Index

func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutput

func (o GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput

func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext

func (o GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput

type GetVPNGatewayVpnGatewayIpSetInput

type GetVPNGatewayVpnGatewayIpSetInput interface {
	pulumi.Input

	ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput
	ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(context.Context) GetVPNGatewayVpnGatewayIpSetOutput
}

GetVPNGatewayVpnGatewayIpSetInput is an input type that accepts GetVPNGatewayVpnGatewayIpSetArgs and GetVPNGatewayVpnGatewayIpSetOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayIpSetInput` via:

GetVPNGatewayVpnGatewayIpSetArgs{...}

type GetVPNGatewayVpnGatewayIpSetOutput

type GetVPNGatewayVpnGatewayIpSetOutput struct{ *pulumi.OutputState }

func (GetVPNGatewayVpnGatewayIpSetOutput) ElementType

func (GetVPNGatewayVpnGatewayIpSetOutput) InternetType

Type of Elastic IP routes.

func (GetVPNGatewayVpnGatewayIpSetOutput) Ip

Elastic IP address.

func (GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutput

func (o GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput

func (GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext

func (o GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetOutput

type GetVPNGatewayVpnGatewayOutput

type GetVPNGatewayVpnGatewayOutput struct{ *pulumi.OutputState }

func (GetVPNGatewayVpnGatewayOutput) AutoRenew

Whether to renew an VPN Gateway automatically or not.

func (GetVPNGatewayVpnGatewayOutput) ChargeType

The charge type of VPN Gateway.

func (GetVPNGatewayVpnGatewayOutput) CreateTime

The time of creation for VPN Gateway, formatted in RFC3339 time string.

func (GetVPNGatewayVpnGatewayOutput) ElementType

func (GetVPNGatewayVpnGatewayOutput) ExpireTime

The expiration time for VPN Gateway, formatted in RFC3339 time string.

func (GetVPNGatewayVpnGatewayOutput) Grade

The type of the VPN Gateway.

func (GetVPNGatewayVpnGatewayOutput) Id

The ID of VPN Gateway.

func (GetVPNGatewayVpnGatewayOutput) IpSets

It is a nested type which documented below.

func (GetVPNGatewayVpnGatewayOutput) Name

The name of the VPN Gateway.

func (GetVPNGatewayVpnGatewayOutput) Remark

The remarks of VPN Gateway.

func (GetVPNGatewayVpnGatewayOutput) Tag

A tag assigned to VPN Gateway.

func (GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutput

func (o GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutput() GetVPNGatewayVpnGatewayOutput

func (GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutputWithContext

func (o GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayOutput

func (GetVPNGatewayVpnGatewayOutput) VpcId

The ID of VPC linked to the VPN Gateway.

type LookupVPNConnectionArgs

type LookupVPNConnectionArgs struct {
	// A list of VPN Connection IDs, all the VPN Connections belongs to the defined region will be retrieved if this argument is `[]`.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting VPN Connections by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// A tag assigned to VPN Connection.
	Tag *string `pulumi:"tag"`
}

A collection of arguments for invoking getVPNConnection.

type LookupVPNConnectionResult

type LookupVPNConnectionResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// A tag assigned to the VPN Connection.
	Tag *string `pulumi:"tag"`
	// Total number of VPN Connections that satisfy the condition.
	TotalCount int `pulumi:"totalCount"`
	// It is a nested type. VPN Connections documented below.
	VpnConnections []GetVPNConnectionVpnConnection `pulumi:"vpnConnections"`
}

A collection of values returned by getVPNConnection.

func LookupVPNConnection

func LookupVPNConnection(ctx *pulumi.Context, args *LookupVPNConnectionArgs, opts ...pulumi.InvokeOption) (*LookupVPNConnectionResult, error)

This data source providers a list of VPN Connection resources according to their ID, name and tag.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ipsecvpn.LookupVPNConnection(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("first", example.VpnConnections[0].Id)
		return nil
	})
}

```

type LookupVPNCustomerGatewayArgs

type LookupVPNCustomerGatewayArgs struct {
	// A list of VPN Customer Gateway IDs, all the VPN Customer Gateways belongs to the defined region will be retrieved if this argument is `[]`.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting VPN Customer Gateways by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// A tag assigned to VPN Customer Gateway.
	Tag *string `pulumi:"tag"`
}

A collection of arguments for invoking getVPNCustomerGateway.

type LookupVPNCustomerGatewayResult

type LookupVPNCustomerGatewayResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// A tag assigned to the VPN Customer Gateway.
	Tag *string `pulumi:"tag"`
	// Total number of VPN Customer Gateways that satisfy the condition.
	TotalCount int `pulumi:"totalCount"`
	// It is a nested type. VPN Customer Gateways documented below.
	VpnCustomerGateways []GetVPNCustomerGatewayVpnCustomerGateway `pulumi:"vpnCustomerGateways"`
}

A collection of values returned by getVPNCustomerGateway.

func LookupVPNCustomerGateway

func LookupVPNCustomerGateway(ctx *pulumi.Context, args *LookupVPNCustomerGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVPNCustomerGatewayResult, error)

This data source providers a list of VPN Customer Gateway resources according to their ID, name and tag.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ipsecvpn.LookupVPNCustomerGateway(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("first", example.VpnCustomerGateways[0].Id)
		return nil
	})
}

```

type LookupVPNGatewayArgs

type LookupVPNGatewayArgs struct {
	// A list of VPN Gateway IDs, all the VPN Gateways belongs to the defined region will be retrieved if this argument is `[]`.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting VPN Gateways by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// A tag assigned to VPN Gateway.
	Tag *string `pulumi:"tag"`
	// The ID of VPC linked to the VPN Gateway.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getVPNGateway.

type LookupVPNGatewayResult

type LookupVPNGatewayResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// A tag assigned to the VPN Gateway.
	Tag *string `pulumi:"tag"`
	// Total number of VPN Gateways that satisfy the condition.
	TotalCount int `pulumi:"totalCount"`
	// The ID of VPC linked to the VPN Gateway.
	VpcId *string `pulumi:"vpcId"`
	// It is a nested type. VPN Gateways documented below.
	VpnGateways []GetVPNGatewayVpnGateway `pulumi:"vpnGateways"`
}

A collection of values returned by getVPNGateway.

func LookupVPNGateway

func LookupVPNGateway(ctx *pulumi.Context, args *LookupVPNGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVPNGatewayResult, error)

This data source providers a list of VPN Gateway resources according to their ID, name, vpc and tag.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ipsecvpn.LookupVPNGateway(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("first", example.VpnGateways[0].Id)
		return nil
	})
}

```

type VPNConnection

type VPNConnection struct {
	pulumi.CustomResourceState

	// The creation time for VPN Gateway Connection, formatted in RFC3339 time string.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The grade of the VPN Gateway
	CustomerGatewayId pulumi.StringOutput `pulumi:"customerGatewayId"`
	// The configurations of IKE negotiation. Each ikeConfig supports fields documented below.
	IkeConfig VPNConnectionIkeConfigOutput `pulumi:"ikeConfig"`
	// The configurations of IPSec negotiation. Each ipsecConfig supports fields documented below.
	IpsecConfig VPNConnectionIpsecConfigOutput `pulumi:"ipsecConfig"`
	Name        pulumi.StringOutput            `pulumi:"name"`
	// The remarks of the VPN Gateway Connection. (Default: `""`).
	Remark pulumi.StringOutput `pulumi:"remark"`
	// A tag assigned to VPN Gateway Connection, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The ID of VPC linked to the VPN Gateway Connection.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The ID of  the VPN Customer Gateway.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
}

Provides a IPSec VPN Gateway Connection resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/unet"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVPC, err := vpc.NewVPC(ctx, "fooVPC", &vpc.VPCArgs{
			Tag: pulumi.String("tf-acc"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			Tag:       pulumi.String("tf-acc"),
			CidrBlock: pulumi.String("192.168.1.0/24"),
			VpcId:     fooVPC.ID(),
		})
		if err != nil {
			return err
		}
		fooEIP, err := unet.NewEIP(ctx, "fooEIP", &unet.EIPArgs{
			Bandwidth:    pulumi.Int(1),
			InternetType: pulumi.String("bgp"),
			ChargeMode:   pulumi.String("bandwidth"),
			Tag:          pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		fooVPNGateway, err := ipsecvpn.NewVPNGateway(ctx, "fooVPNGateway", &ipsecvpn.VPNGatewayArgs{
			VpcId: fooVPC.ID(),
			Grade: pulumi.String("standard"),
			EipId: fooEIP.ID(),
			Tag:   pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		fooVPNCustomerGateway, err := ipsecvpn.NewVPNCustomerGateway(ctx, "fooVPNCustomerGateway", &ipsecvpn.VPNCustomerGatewayArgs{
			IpAddress: pulumi.String("10.0.0.1"),
			Tag:       pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		_, err = ipsecvpn.NewVPNConnection(ctx, "fooVPNConnection", &ipsecvpn.VPNConnectionArgs{
			VpnGatewayId:      fooVPNGateway.ID(),
			CustomerGatewayId: fooVPNCustomerGateway.ID(),
			VpcId:             fooVPC.ID(),
			Tag:               pulumi.String("tf-acc"),
			Remark:            pulumi.String("test"),
			IkeConfig: &ipsecvpn.VPNConnectionIkeConfigArgs{
				PreSharedKey: pulumi.String("test_2019"),
			},
			IpsecConfig: &ipsecvpn.VPNConnectionIpsecConfigArgs{
				LocalSubnetIds: pulumi.StringArray{
					fooSubnet.ID(),
				},
				RemoteSubnets: pulumi.StringArray{
					pulumi.String("10.0.0.0/24"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPN Connection can be imported using the `id`, e.g.

```sh

$ pulumi import ucloud:ipsecvpn/vPNConnection:VPNConnection example vpntunnel-abc123456

```

func GetVPNConnection

func GetVPNConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VPNConnectionState, opts ...pulumi.ResourceOption) (*VPNConnection, error)

GetVPNConnection gets an existing VPNConnection 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 NewVPNConnection

func NewVPNConnection(ctx *pulumi.Context,
	name string, args *VPNConnectionArgs, opts ...pulumi.ResourceOption) (*VPNConnection, error)

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

func (*VPNConnection) ElementType

func (*VPNConnection) ElementType() reflect.Type

func (*VPNConnection) ToVPNConnectionOutput

func (i *VPNConnection) ToVPNConnectionOutput() VPNConnectionOutput

func (*VPNConnection) ToVPNConnectionOutputWithContext

func (i *VPNConnection) ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput

func (*VPNConnection) ToVPNConnectionPtrOutput

func (i *VPNConnection) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput

func (*VPNConnection) ToVPNConnectionPtrOutputWithContext

func (i *VPNConnection) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput

type VPNConnectionArgs

type VPNConnectionArgs struct {
	// The grade of the VPN Gateway
	CustomerGatewayId pulumi.StringInput
	// The configurations of IKE negotiation. Each ikeConfig supports fields documented below.
	IkeConfig VPNConnectionIkeConfigInput
	// The configurations of IPSec negotiation. Each ipsecConfig supports fields documented below.
	IpsecConfig VPNConnectionIpsecConfigInput
	Name        pulumi.StringPtrInput
	// The remarks of the VPN Gateway Connection. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPN Gateway Connection, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the VPN Gateway Connection.
	VpcId pulumi.StringInput
	// The ID of  the VPN Customer Gateway.
	VpnGatewayId pulumi.StringInput
}

The set of arguments for constructing a VPNConnection resource.

func (VPNConnectionArgs) ElementType

func (VPNConnectionArgs) ElementType() reflect.Type

type VPNConnectionArray

type VPNConnectionArray []VPNConnectionInput

func (VPNConnectionArray) ElementType

func (VPNConnectionArray) ElementType() reflect.Type

func (VPNConnectionArray) ToVPNConnectionArrayOutput

func (i VPNConnectionArray) ToVPNConnectionArrayOutput() VPNConnectionArrayOutput

func (VPNConnectionArray) ToVPNConnectionArrayOutputWithContext

func (i VPNConnectionArray) ToVPNConnectionArrayOutputWithContext(ctx context.Context) VPNConnectionArrayOutput

type VPNConnectionArrayInput

type VPNConnectionArrayInput interface {
	pulumi.Input

	ToVPNConnectionArrayOutput() VPNConnectionArrayOutput
	ToVPNConnectionArrayOutputWithContext(context.Context) VPNConnectionArrayOutput
}

VPNConnectionArrayInput is an input type that accepts VPNConnectionArray and VPNConnectionArrayOutput values. You can construct a concrete instance of `VPNConnectionArrayInput` via:

VPNConnectionArray{ VPNConnectionArgs{...} }

type VPNConnectionArrayOutput

type VPNConnectionArrayOutput struct{ *pulumi.OutputState }

func (VPNConnectionArrayOutput) ElementType

func (VPNConnectionArrayOutput) ElementType() reflect.Type

func (VPNConnectionArrayOutput) Index

func (VPNConnectionArrayOutput) ToVPNConnectionArrayOutput

func (o VPNConnectionArrayOutput) ToVPNConnectionArrayOutput() VPNConnectionArrayOutput

func (VPNConnectionArrayOutput) ToVPNConnectionArrayOutputWithContext

func (o VPNConnectionArrayOutput) ToVPNConnectionArrayOutputWithContext(ctx context.Context) VPNConnectionArrayOutput

type VPNConnectionIkeConfig

type VPNConnectionIkeConfig struct {
	// The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
	AuthenticationAlgorithm *string `pulumi:"authenticationAlgorithm"`
	// The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`)
	DhGroup *string `pulumi:"dhGroup"`
	// The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
	EncryptionAlgorithm *string `pulumi:"encryptionAlgorithm"`
	// The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`)
	ExchangeMode *string `pulumi:"exchangeMode"`
	// The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1)
	IkeVersion *string `pulumi:"ikeVersion"`
	// The identification of the VPN gateway.
	LocalId *string `pulumi:"localId"`
	// The key used for authentication between the VPN gateway and the Customer gateway which contains 1-128 characters and only support English, numbers and special characters: `!@#$%^&*()_+-=[]:,./'~`.
	PreSharedKey string `pulumi:"preSharedKey"`
	// The identification of the Customer gateway.
	RemoteId *string `pulumi:"remoteId"`
	// The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
	SaLifeTime *int `pulumi:"saLifeTime"`
}

type VPNConnectionIkeConfigArgs

type VPNConnectionIkeConfigArgs struct {
	// The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
	AuthenticationAlgorithm pulumi.StringPtrInput `pulumi:"authenticationAlgorithm"`
	// The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`)
	DhGroup pulumi.StringPtrInput `pulumi:"dhGroup"`
	// The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
	EncryptionAlgorithm pulumi.StringPtrInput `pulumi:"encryptionAlgorithm"`
	// The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`)
	ExchangeMode pulumi.StringPtrInput `pulumi:"exchangeMode"`
	// The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1)
	IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"`
	// The identification of the VPN gateway.
	LocalId pulumi.StringPtrInput `pulumi:"localId"`
	// The key used for authentication between the VPN gateway and the Customer gateway which contains 1-128 characters and only support English, numbers and special characters: `!@#$%^&*()_+-=[]:,./'~`.
	PreSharedKey pulumi.StringInput `pulumi:"preSharedKey"`
	// The identification of the Customer gateway.
	RemoteId pulumi.StringPtrInput `pulumi:"remoteId"`
	// The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
	SaLifeTime pulumi.IntPtrInput `pulumi:"saLifeTime"`
}

func (VPNConnectionIkeConfigArgs) ElementType

func (VPNConnectionIkeConfigArgs) ElementType() reflect.Type

func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutput

func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput

func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutputWithContext

func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutputWithContext(ctx context.Context) VPNConnectionIkeConfigOutput

func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutput

func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput

func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutputWithContext

func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput

type VPNConnectionIkeConfigInput

type VPNConnectionIkeConfigInput interface {
	pulumi.Input

	ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput
	ToVPNConnectionIkeConfigOutputWithContext(context.Context) VPNConnectionIkeConfigOutput
}

VPNConnectionIkeConfigInput is an input type that accepts VPNConnectionIkeConfigArgs and VPNConnectionIkeConfigOutput values. You can construct a concrete instance of `VPNConnectionIkeConfigInput` via:

VPNConnectionIkeConfigArgs{...}

type VPNConnectionIkeConfigOutput

type VPNConnectionIkeConfigOutput struct{ *pulumi.OutputState }

func (VPNConnectionIkeConfigOutput) AuthenticationAlgorithm

func (o VPNConnectionIkeConfigOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput

The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)

func (VPNConnectionIkeConfigOutput) DhGroup

The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`)

func (VPNConnectionIkeConfigOutput) ElementType

func (VPNConnectionIkeConfigOutput) EncryptionAlgorithm

func (o VPNConnectionIkeConfigOutput) EncryptionAlgorithm() pulumi.StringPtrOutput

The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).

func (VPNConnectionIkeConfigOutput) ExchangeMode

The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`)

func (VPNConnectionIkeConfigOutput) IkeVersion

The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1)

func (VPNConnectionIkeConfigOutput) LocalId

The identification of the VPN gateway.

func (VPNConnectionIkeConfigOutput) PreSharedKey

The key used for authentication between the VPN gateway and the Customer gateway which contains 1-128 characters and only support English, numbers and special characters: `!@#$%^&*()_+-=[]:,./'~`.

func (VPNConnectionIkeConfigOutput) RemoteId

The identification of the Customer gateway.

func (VPNConnectionIkeConfigOutput) SaLifeTime

The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)

func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutput

func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput

func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutputWithContext

func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutputWithContext(ctx context.Context) VPNConnectionIkeConfigOutput

func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutput

func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput

func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutputWithContext

func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput

type VPNConnectionIkeConfigPtrInput

type VPNConnectionIkeConfigPtrInput interface {
	pulumi.Input

	ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput
	ToVPNConnectionIkeConfigPtrOutputWithContext(context.Context) VPNConnectionIkeConfigPtrOutput
}

VPNConnectionIkeConfigPtrInput is an input type that accepts VPNConnectionIkeConfigArgs, VPNConnectionIkeConfigPtr and VPNConnectionIkeConfigPtrOutput values. You can construct a concrete instance of `VPNConnectionIkeConfigPtrInput` via:

        VPNConnectionIkeConfigArgs{...}

or:

        nil

type VPNConnectionIkeConfigPtrOutput

type VPNConnectionIkeConfigPtrOutput struct{ *pulumi.OutputState }

func (VPNConnectionIkeConfigPtrOutput) AuthenticationAlgorithm

func (o VPNConnectionIkeConfigPtrOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput

The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)

func (VPNConnectionIkeConfigPtrOutput) DhGroup

The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`)

func (VPNConnectionIkeConfigPtrOutput) Elem

func (VPNConnectionIkeConfigPtrOutput) ElementType

func (VPNConnectionIkeConfigPtrOutput) EncryptionAlgorithm

func (o VPNConnectionIkeConfigPtrOutput) EncryptionAlgorithm() pulumi.StringPtrOutput

The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).

func (VPNConnectionIkeConfigPtrOutput) ExchangeMode

The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`)

func (VPNConnectionIkeConfigPtrOutput) IkeVersion

The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1)

func (VPNConnectionIkeConfigPtrOutput) LocalId

The identification of the VPN gateway.

func (VPNConnectionIkeConfigPtrOutput) PreSharedKey

The key used for authentication between the VPN gateway and the Customer gateway which contains 1-128 characters and only support English, numbers and special characters: `!@#$%^&*()_+-=[]:,./'~`.

func (VPNConnectionIkeConfigPtrOutput) RemoteId

The identification of the Customer gateway.

func (VPNConnectionIkeConfigPtrOutput) SaLifeTime

The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)

func (VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutput

func (o VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput

func (VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutputWithContext

func (o VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput

type VPNConnectionInput

type VPNConnectionInput interface {
	pulumi.Input

	ToVPNConnectionOutput() VPNConnectionOutput
	ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput
}

type VPNConnectionIpsecConfig

type VPNConnectionIpsecConfig struct {
	// The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
	AuthenticationAlgorithm *string `pulumi:"authenticationAlgorithm"`
	// The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
	EncryptionAlgorithm *string `pulumi:"encryptionAlgorithm"`
	// The id list of Local subnet.
	LocalSubnetIds []string `pulumi:"localSubnetIds"`
	// Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open.  Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`)
	PfsDhGroup *string `pulumi:"pfsDhGroup"`
	// The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`)
	Protocol *string `pulumi:"protocol"`
	// The ip address list of remote subnet.
	RemoteSubnets []string `pulumi:"remoteSubnets"`
	// The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
	SaLifeTime *int `pulumi:"saLifeTime"`
	// The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
	SaLifeTimeBytes *int `pulumi:"saLifeTimeBytes"`
}

type VPNConnectionIpsecConfigArgs

type VPNConnectionIpsecConfigArgs struct {
	// The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
	AuthenticationAlgorithm pulumi.StringPtrInput `pulumi:"authenticationAlgorithm"`
	// The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
	EncryptionAlgorithm pulumi.StringPtrInput `pulumi:"encryptionAlgorithm"`
	// The id list of Local subnet.
	LocalSubnetIds pulumi.StringArrayInput `pulumi:"localSubnetIds"`
	// Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open.  Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`)
	PfsDhGroup pulumi.StringPtrInput `pulumi:"pfsDhGroup"`
	// The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`)
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// The ip address list of remote subnet.
	RemoteSubnets pulumi.StringArrayInput `pulumi:"remoteSubnets"`
	// The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
	SaLifeTime pulumi.IntPtrInput `pulumi:"saLifeTime"`
	// The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
	SaLifeTimeBytes pulumi.IntPtrInput `pulumi:"saLifeTimeBytes"`
}

func (VPNConnectionIpsecConfigArgs) ElementType

func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutput

func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput

func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutputWithContext

func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigOutput

func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutput

func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput

func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutputWithContext

func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput

type VPNConnectionIpsecConfigInput

type VPNConnectionIpsecConfigInput interface {
	pulumi.Input

	ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput
	ToVPNConnectionIpsecConfigOutputWithContext(context.Context) VPNConnectionIpsecConfigOutput
}

VPNConnectionIpsecConfigInput is an input type that accepts VPNConnectionIpsecConfigArgs and VPNConnectionIpsecConfigOutput values. You can construct a concrete instance of `VPNConnectionIpsecConfigInput` via:

VPNConnectionIpsecConfigArgs{...}

type VPNConnectionIpsecConfigOutput

type VPNConnectionIpsecConfigOutput struct{ *pulumi.OutputState }

func (VPNConnectionIpsecConfigOutput) AuthenticationAlgorithm

func (o VPNConnectionIpsecConfigOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput

The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)

func (VPNConnectionIpsecConfigOutput) ElementType

func (VPNConnectionIpsecConfigOutput) EncryptionAlgorithm

func (o VPNConnectionIpsecConfigOutput) EncryptionAlgorithm() pulumi.StringPtrOutput

The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).

func (VPNConnectionIpsecConfigOutput) LocalSubnetIds

The id list of Local subnet.

func (VPNConnectionIpsecConfigOutput) PfsDhGroup

Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`)

func (VPNConnectionIpsecConfigOutput) Protocol

The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`)

func (VPNConnectionIpsecConfigOutput) RemoteSubnets

The ip address list of remote subnet.

func (VPNConnectionIpsecConfigOutput) SaLifeTime

The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)

func (VPNConnectionIpsecConfigOutput) SaLifeTimeBytes

The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)

func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutput

func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput

func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutputWithContext

func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigOutput

func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutput

func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput

func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext

func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput

type VPNConnectionIpsecConfigPtrInput

type VPNConnectionIpsecConfigPtrInput interface {
	pulumi.Input

	ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput
	ToVPNConnectionIpsecConfigPtrOutputWithContext(context.Context) VPNConnectionIpsecConfigPtrOutput
}

VPNConnectionIpsecConfigPtrInput is an input type that accepts VPNConnectionIpsecConfigArgs, VPNConnectionIpsecConfigPtr and VPNConnectionIpsecConfigPtrOutput values. You can construct a concrete instance of `VPNConnectionIpsecConfigPtrInput` via:

        VPNConnectionIpsecConfigArgs{...}

or:

        nil

type VPNConnectionIpsecConfigPtrOutput

type VPNConnectionIpsecConfigPtrOutput struct{ *pulumi.OutputState }

func (VPNConnectionIpsecConfigPtrOutput) AuthenticationAlgorithm

func (o VPNConnectionIpsecConfigPtrOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput

The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)

func (VPNConnectionIpsecConfigPtrOutput) Elem

func (VPNConnectionIpsecConfigPtrOutput) ElementType

func (VPNConnectionIpsecConfigPtrOutput) EncryptionAlgorithm

The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).

func (VPNConnectionIpsecConfigPtrOutput) LocalSubnetIds

The id list of Local subnet.

func (VPNConnectionIpsecConfigPtrOutput) PfsDhGroup

Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`)

func (VPNConnectionIpsecConfigPtrOutput) Protocol

The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`)

func (VPNConnectionIpsecConfigPtrOutput) RemoteSubnets

The ip address list of remote subnet.

func (VPNConnectionIpsecConfigPtrOutput) SaLifeTime

The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)

func (VPNConnectionIpsecConfigPtrOutput) SaLifeTimeBytes

The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)

func (VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutput

func (o VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput

func (VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext

func (o VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput

type VPNConnectionMap

type VPNConnectionMap map[string]VPNConnectionInput

func (VPNConnectionMap) ElementType

func (VPNConnectionMap) ElementType() reflect.Type

func (VPNConnectionMap) ToVPNConnectionMapOutput

func (i VPNConnectionMap) ToVPNConnectionMapOutput() VPNConnectionMapOutput

func (VPNConnectionMap) ToVPNConnectionMapOutputWithContext

func (i VPNConnectionMap) ToVPNConnectionMapOutputWithContext(ctx context.Context) VPNConnectionMapOutput

type VPNConnectionMapInput

type VPNConnectionMapInput interface {
	pulumi.Input

	ToVPNConnectionMapOutput() VPNConnectionMapOutput
	ToVPNConnectionMapOutputWithContext(context.Context) VPNConnectionMapOutput
}

VPNConnectionMapInput is an input type that accepts VPNConnectionMap and VPNConnectionMapOutput values. You can construct a concrete instance of `VPNConnectionMapInput` via:

VPNConnectionMap{ "key": VPNConnectionArgs{...} }

type VPNConnectionMapOutput

type VPNConnectionMapOutput struct{ *pulumi.OutputState }

func (VPNConnectionMapOutput) ElementType

func (VPNConnectionMapOutput) ElementType() reflect.Type

func (VPNConnectionMapOutput) MapIndex

func (VPNConnectionMapOutput) ToVPNConnectionMapOutput

func (o VPNConnectionMapOutput) ToVPNConnectionMapOutput() VPNConnectionMapOutput

func (VPNConnectionMapOutput) ToVPNConnectionMapOutputWithContext

func (o VPNConnectionMapOutput) ToVPNConnectionMapOutputWithContext(ctx context.Context) VPNConnectionMapOutput

type VPNConnectionOutput

type VPNConnectionOutput struct {
	*pulumi.OutputState
}

func (VPNConnectionOutput) ElementType

func (VPNConnectionOutput) ElementType() reflect.Type

func (VPNConnectionOutput) ToVPNConnectionOutput

func (o VPNConnectionOutput) ToVPNConnectionOutput() VPNConnectionOutput

func (VPNConnectionOutput) ToVPNConnectionOutputWithContext

func (o VPNConnectionOutput) ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput

func (VPNConnectionOutput) ToVPNConnectionPtrOutput

func (o VPNConnectionOutput) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput

func (VPNConnectionOutput) ToVPNConnectionPtrOutputWithContext

func (o VPNConnectionOutput) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput

type VPNConnectionPtrInput

type VPNConnectionPtrInput interface {
	pulumi.Input

	ToVPNConnectionPtrOutput() VPNConnectionPtrOutput
	ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput
}

type VPNConnectionPtrOutput

type VPNConnectionPtrOutput struct {
	*pulumi.OutputState
}

func (VPNConnectionPtrOutput) ElementType

func (VPNConnectionPtrOutput) ElementType() reflect.Type

func (VPNConnectionPtrOutput) ToVPNConnectionPtrOutput

func (o VPNConnectionPtrOutput) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput

func (VPNConnectionPtrOutput) ToVPNConnectionPtrOutputWithContext

func (o VPNConnectionPtrOutput) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput

type VPNConnectionState

type VPNConnectionState struct {
	// The creation time for VPN Gateway Connection, formatted in RFC3339 time string.
	CreateTime pulumi.StringPtrInput
	// The grade of the VPN Gateway
	CustomerGatewayId pulumi.StringPtrInput
	// The configurations of IKE negotiation. Each ikeConfig supports fields documented below.
	IkeConfig VPNConnectionIkeConfigPtrInput
	// The configurations of IPSec negotiation. Each ipsecConfig supports fields documented below.
	IpsecConfig VPNConnectionIpsecConfigPtrInput
	Name        pulumi.StringPtrInput
	// The remarks of the VPN Gateway Connection. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPN Gateway Connection, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the VPN Gateway Connection.
	VpcId pulumi.StringPtrInput
	// The ID of  the VPN Customer Gateway.
	VpnGatewayId pulumi.StringPtrInput
}

func (VPNConnectionState) ElementType

func (VPNConnectionState) ElementType() reflect.Type

type VPNCustomerGateway

type VPNCustomerGateway struct {
	pulumi.CustomResourceState

	// The creation time for VPN Customer Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The ip address of the VPN Customer Gateway.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	Name      pulumi.StringOutput `pulumi:"name"`
	// The remarks of the VPN Customer Gateway. (Default: `""`).
	Remark pulumi.StringOutput `pulumi:"remark"`
	// A tag assigned to VPN Customer Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
}

Provides a VPN Customer Gateway resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ipsecvpn.NewVPNCustomerGateway(ctx, "foo", &ipsecvpn.VPNCustomerGatewayArgs{
			IpAddress: pulumi.String("10.0.0.1"),
			Tag:       pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPN Customer Gateway can be imported using the `id`, e.g.

```sh

$ pulumi import ucloud:ipsecvpn/vPNCustomerGateway:VPNCustomerGateway example remotevpngw-abc123456

```

func GetVPNCustomerGateway

func GetVPNCustomerGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VPNCustomerGatewayState, opts ...pulumi.ResourceOption) (*VPNCustomerGateway, error)

GetVPNCustomerGateway gets an existing VPNCustomerGateway 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 NewVPNCustomerGateway

func NewVPNCustomerGateway(ctx *pulumi.Context,
	name string, args *VPNCustomerGatewayArgs, opts ...pulumi.ResourceOption) (*VPNCustomerGateway, error)

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

func (*VPNCustomerGateway) ElementType

func (*VPNCustomerGateway) ElementType() reflect.Type

func (*VPNCustomerGateway) ToVPNCustomerGatewayOutput

func (i *VPNCustomerGateway) ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput

func (*VPNCustomerGateway) ToVPNCustomerGatewayOutputWithContext

func (i *VPNCustomerGateway) ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput

func (*VPNCustomerGateway) ToVPNCustomerGatewayPtrOutput

func (i *VPNCustomerGateway) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput

func (*VPNCustomerGateway) ToVPNCustomerGatewayPtrOutputWithContext

func (i *VPNCustomerGateway) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput

type VPNCustomerGatewayArgs

type VPNCustomerGatewayArgs struct {
	// The ip address of the VPN Customer Gateway.
	IpAddress pulumi.StringInput
	Name      pulumi.StringPtrInput
	// The remarks of the VPN Customer Gateway. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPN Customer Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrInput
}

The set of arguments for constructing a VPNCustomerGateway resource.

func (VPNCustomerGatewayArgs) ElementType

func (VPNCustomerGatewayArgs) ElementType() reflect.Type

type VPNCustomerGatewayArray

type VPNCustomerGatewayArray []VPNCustomerGatewayInput

func (VPNCustomerGatewayArray) ElementType

func (VPNCustomerGatewayArray) ElementType() reflect.Type

func (VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutput

func (i VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutput() VPNCustomerGatewayArrayOutput

func (VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutputWithContext

func (i VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutputWithContext(ctx context.Context) VPNCustomerGatewayArrayOutput

type VPNCustomerGatewayArrayInput

type VPNCustomerGatewayArrayInput interface {
	pulumi.Input

	ToVPNCustomerGatewayArrayOutput() VPNCustomerGatewayArrayOutput
	ToVPNCustomerGatewayArrayOutputWithContext(context.Context) VPNCustomerGatewayArrayOutput
}

VPNCustomerGatewayArrayInput is an input type that accepts VPNCustomerGatewayArray and VPNCustomerGatewayArrayOutput values. You can construct a concrete instance of `VPNCustomerGatewayArrayInput` via:

VPNCustomerGatewayArray{ VPNCustomerGatewayArgs{...} }

type VPNCustomerGatewayArrayOutput

type VPNCustomerGatewayArrayOutput struct{ *pulumi.OutputState }

func (VPNCustomerGatewayArrayOutput) ElementType

func (VPNCustomerGatewayArrayOutput) Index

func (VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutput

func (o VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutput() VPNCustomerGatewayArrayOutput

func (VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutputWithContext

func (o VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutputWithContext(ctx context.Context) VPNCustomerGatewayArrayOutput

type VPNCustomerGatewayInput

type VPNCustomerGatewayInput interface {
	pulumi.Input

	ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput
	ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput
}

type VPNCustomerGatewayMap

type VPNCustomerGatewayMap map[string]VPNCustomerGatewayInput

func (VPNCustomerGatewayMap) ElementType

func (VPNCustomerGatewayMap) ElementType() reflect.Type

func (VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutput

func (i VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutput() VPNCustomerGatewayMapOutput

func (VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutputWithContext

func (i VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutputWithContext(ctx context.Context) VPNCustomerGatewayMapOutput

type VPNCustomerGatewayMapInput

type VPNCustomerGatewayMapInput interface {
	pulumi.Input

	ToVPNCustomerGatewayMapOutput() VPNCustomerGatewayMapOutput
	ToVPNCustomerGatewayMapOutputWithContext(context.Context) VPNCustomerGatewayMapOutput
}

VPNCustomerGatewayMapInput is an input type that accepts VPNCustomerGatewayMap and VPNCustomerGatewayMapOutput values. You can construct a concrete instance of `VPNCustomerGatewayMapInput` via:

VPNCustomerGatewayMap{ "key": VPNCustomerGatewayArgs{...} }

type VPNCustomerGatewayMapOutput

type VPNCustomerGatewayMapOutput struct{ *pulumi.OutputState }

func (VPNCustomerGatewayMapOutput) ElementType

func (VPNCustomerGatewayMapOutput) MapIndex

func (VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutput

func (o VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutput() VPNCustomerGatewayMapOutput

func (VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutputWithContext

func (o VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutputWithContext(ctx context.Context) VPNCustomerGatewayMapOutput

type VPNCustomerGatewayOutput

type VPNCustomerGatewayOutput struct {
	*pulumi.OutputState
}

func (VPNCustomerGatewayOutput) ElementType

func (VPNCustomerGatewayOutput) ElementType() reflect.Type

func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutput

func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput

func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutputWithContext

func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput

func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutput

func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput

func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutputWithContext

func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput

type VPNCustomerGatewayPtrInput

type VPNCustomerGatewayPtrInput interface {
	pulumi.Input

	ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput
	ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput
}

type VPNCustomerGatewayPtrOutput

type VPNCustomerGatewayPtrOutput struct {
	*pulumi.OutputState
}

func (VPNCustomerGatewayPtrOutput) ElementType

func (VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutput

func (o VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput

func (VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutputWithContext

func (o VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput

type VPNCustomerGatewayState

type VPNCustomerGatewayState struct {
	// The creation time for VPN Customer Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringPtrInput
	// The ip address of the VPN Customer Gateway.
	IpAddress pulumi.StringPtrInput
	Name      pulumi.StringPtrInput
	// The remarks of the VPN Customer Gateway. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPN Customer Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrInput
}

func (VPNCustomerGatewayState) ElementType

func (VPNCustomerGatewayState) ElementType() reflect.Type

type VPNGateway

type VPNGateway struct {
	pulumi.CustomResourceState

	// The charge type of VPN Gateway, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).
	ChargeType pulumi.StringOutput `pulumi:"chargeType"`
	// The creation time for VPN Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The duration that you will buy the VPN Gateway (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).
	Duration pulumi.IntPtrOutput `pulumi:"duration"`
	// The ID of eip associate to the VPN Gateway.
	EipId pulumi.StringOutput `pulumi:"eipId"`
	// The expiration time for VPN Gateway, formatted in RFC3339 time string.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// The type of the VPN Gateway. Possible values: `standard`, `enhanced`. `standard` recommended application scenario: Applicable to services with bidirectional peak bandwidth of 1M~50M; `enhanced` recommended application scenario: Suitable for services with bidirectional peak bandwidths of 50M~100M.
	Grade pulumi.StringOutput `pulumi:"grade"`
	Name  pulumi.StringOutput `pulumi:"name"`
	// The remarks of the VPN Gateway. (Default: `""`).
	Remark pulumi.StringOutput `pulumi:"remark"`
	// A tag assigned to VPN Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The ID of VPC linked to the VPN Gateway.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a VPN Gateway resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/unet"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVPC, err := vpc.NewVPC(ctx, "fooVPC", &vpc.VPCArgs{
			Tag: pulumi.String("tf-acc"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		fooEIP, err := unet.NewEIP(ctx, "fooEIP", &unet.EIPArgs{
			Bandwidth:    pulumi.Int(1),
			InternetType: pulumi.String("bgp"),
			ChargeMode:   pulumi.String("bandwidth"),
			Tag:          pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		_, err = ipsecvpn.NewVPNGateway(ctx, "fooVPNGateway", &ipsecvpn.VPNGatewayArgs{
			VpcId: fooVPC.ID(),
			Grade: pulumi.String("enhanced"),
			EipId: fooEIP.ID(),
			Tag:   pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPN Gateway can be imported using the `id`, e.g.

```sh

$ pulumi import ucloud:ipsecvpn/vPNGateway:VPNGateway example vpngw-abc123456

```

func GetVPNGateway

func GetVPNGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VPNGatewayState, opts ...pulumi.ResourceOption) (*VPNGateway, error)

GetVPNGateway gets an existing VPNGateway 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 NewVPNGateway

func NewVPNGateway(ctx *pulumi.Context,
	name string, args *VPNGatewayArgs, opts ...pulumi.ResourceOption) (*VPNGateway, error)

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

func (*VPNGateway) ElementType

func (*VPNGateway) ElementType() reflect.Type

func (*VPNGateway) ToVPNGatewayOutput

func (i *VPNGateway) ToVPNGatewayOutput() VPNGatewayOutput

func (*VPNGateway) ToVPNGatewayOutputWithContext

func (i *VPNGateway) ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput

func (*VPNGateway) ToVPNGatewayPtrOutput

func (i *VPNGateway) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput

func (*VPNGateway) ToVPNGatewayPtrOutputWithContext

func (i *VPNGateway) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput

type VPNGatewayArgs

type VPNGatewayArgs struct {
	// The charge type of VPN Gateway, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).
	ChargeType pulumi.StringPtrInput
	// The duration that you will buy the VPN Gateway (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).
	Duration pulumi.IntPtrInput
	// The ID of eip associate to the VPN Gateway.
	EipId pulumi.StringInput
	// The type of the VPN Gateway. Possible values: `standard`, `enhanced`. `standard` recommended application scenario: Applicable to services with bidirectional peak bandwidth of 1M~50M; `enhanced` recommended application scenario: Suitable for services with bidirectional peak bandwidths of 50M~100M.
	Grade pulumi.StringInput
	Name  pulumi.StringPtrInput
	// The remarks of the VPN Gateway. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPN Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the VPN Gateway.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VPNGateway resource.

func (VPNGatewayArgs) ElementType

func (VPNGatewayArgs) ElementType() reflect.Type

type VPNGatewayArray

type VPNGatewayArray []VPNGatewayInput

func (VPNGatewayArray) ElementType

func (VPNGatewayArray) ElementType() reflect.Type

func (VPNGatewayArray) ToVPNGatewayArrayOutput

func (i VPNGatewayArray) ToVPNGatewayArrayOutput() VPNGatewayArrayOutput

func (VPNGatewayArray) ToVPNGatewayArrayOutputWithContext

func (i VPNGatewayArray) ToVPNGatewayArrayOutputWithContext(ctx context.Context) VPNGatewayArrayOutput

type VPNGatewayArrayInput

type VPNGatewayArrayInput interface {
	pulumi.Input

	ToVPNGatewayArrayOutput() VPNGatewayArrayOutput
	ToVPNGatewayArrayOutputWithContext(context.Context) VPNGatewayArrayOutput
}

VPNGatewayArrayInput is an input type that accepts VPNGatewayArray and VPNGatewayArrayOutput values. You can construct a concrete instance of `VPNGatewayArrayInput` via:

VPNGatewayArray{ VPNGatewayArgs{...} }

type VPNGatewayArrayOutput

type VPNGatewayArrayOutput struct{ *pulumi.OutputState }

func (VPNGatewayArrayOutput) ElementType

func (VPNGatewayArrayOutput) ElementType() reflect.Type

func (VPNGatewayArrayOutput) Index

func (VPNGatewayArrayOutput) ToVPNGatewayArrayOutput

func (o VPNGatewayArrayOutput) ToVPNGatewayArrayOutput() VPNGatewayArrayOutput

func (VPNGatewayArrayOutput) ToVPNGatewayArrayOutputWithContext

func (o VPNGatewayArrayOutput) ToVPNGatewayArrayOutputWithContext(ctx context.Context) VPNGatewayArrayOutput

type VPNGatewayInput

type VPNGatewayInput interface {
	pulumi.Input

	ToVPNGatewayOutput() VPNGatewayOutput
	ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput
}

type VPNGatewayMap

type VPNGatewayMap map[string]VPNGatewayInput

func (VPNGatewayMap) ElementType

func (VPNGatewayMap) ElementType() reflect.Type

func (VPNGatewayMap) ToVPNGatewayMapOutput

func (i VPNGatewayMap) ToVPNGatewayMapOutput() VPNGatewayMapOutput

func (VPNGatewayMap) ToVPNGatewayMapOutputWithContext

func (i VPNGatewayMap) ToVPNGatewayMapOutputWithContext(ctx context.Context) VPNGatewayMapOutput

type VPNGatewayMapInput

type VPNGatewayMapInput interface {
	pulumi.Input

	ToVPNGatewayMapOutput() VPNGatewayMapOutput
	ToVPNGatewayMapOutputWithContext(context.Context) VPNGatewayMapOutput
}

VPNGatewayMapInput is an input type that accepts VPNGatewayMap and VPNGatewayMapOutput values. You can construct a concrete instance of `VPNGatewayMapInput` via:

VPNGatewayMap{ "key": VPNGatewayArgs{...} }

type VPNGatewayMapOutput

type VPNGatewayMapOutput struct{ *pulumi.OutputState }

func (VPNGatewayMapOutput) ElementType

func (VPNGatewayMapOutput) ElementType() reflect.Type

func (VPNGatewayMapOutput) MapIndex

func (VPNGatewayMapOutput) ToVPNGatewayMapOutput

func (o VPNGatewayMapOutput) ToVPNGatewayMapOutput() VPNGatewayMapOutput

func (VPNGatewayMapOutput) ToVPNGatewayMapOutputWithContext

func (o VPNGatewayMapOutput) ToVPNGatewayMapOutputWithContext(ctx context.Context) VPNGatewayMapOutput

type VPNGatewayOutput

type VPNGatewayOutput struct {
	*pulumi.OutputState
}

func (VPNGatewayOutput) ElementType

func (VPNGatewayOutput) ElementType() reflect.Type

func (VPNGatewayOutput) ToVPNGatewayOutput

func (o VPNGatewayOutput) ToVPNGatewayOutput() VPNGatewayOutput

func (VPNGatewayOutput) ToVPNGatewayOutputWithContext

func (o VPNGatewayOutput) ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput

func (VPNGatewayOutput) ToVPNGatewayPtrOutput

func (o VPNGatewayOutput) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput

func (VPNGatewayOutput) ToVPNGatewayPtrOutputWithContext

func (o VPNGatewayOutput) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput

type VPNGatewayPtrInput

type VPNGatewayPtrInput interface {
	pulumi.Input

	ToVPNGatewayPtrOutput() VPNGatewayPtrOutput
	ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput
}

type VPNGatewayPtrOutput

type VPNGatewayPtrOutput struct {
	*pulumi.OutputState
}

func (VPNGatewayPtrOutput) ElementType

func (VPNGatewayPtrOutput) ElementType() reflect.Type

func (VPNGatewayPtrOutput) ToVPNGatewayPtrOutput

func (o VPNGatewayPtrOutput) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput

func (VPNGatewayPtrOutput) ToVPNGatewayPtrOutputWithContext

func (o VPNGatewayPtrOutput) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput

type VPNGatewayState

type VPNGatewayState struct {
	// The charge type of VPN Gateway, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`).
	ChargeType pulumi.StringPtrInput
	// The creation time for VPN Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringPtrInput
	// The duration that you will buy the VPN Gateway (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour).
	Duration pulumi.IntPtrInput
	// The ID of eip associate to the VPN Gateway.
	EipId pulumi.StringPtrInput
	// The expiration time for VPN Gateway, formatted in RFC3339 time string.
	ExpireTime pulumi.StringPtrInput
	// The type of the VPN Gateway. Possible values: `standard`, `enhanced`. `standard` recommended application scenario: Applicable to services with bidirectional peak bandwidth of 1M~50M; `enhanced` recommended application scenario: Suitable for services with bidirectional peak bandwidths of 50M~100M.
	Grade pulumi.StringPtrInput
	Name  pulumi.StringPtrInput
	// The remarks of the VPN Gateway. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPN Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the VPN Gateway.
	VpcId pulumi.StringPtrInput
}

func (VPNGatewayState) ElementType

func (VPNGatewayState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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