vpn

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// The account ID of the VPN connection.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The IPsec attach status.
	AttachStatus pulumi.StringOutput `pulumi:"attachStatus"`
	// The attach type of the VPN connection, the value can be `VpnGateway` or `TransitRouter`.
	AttachType pulumi.StringPtrOutput `pulumi:"attachType"`
	// The business status of IPsec connection, valid when the attach type is 'TransitRouter'.
	BusinessStatus pulumi.StringOutput `pulumi:"businessStatus"`
	// The connect status of the VPN connection.
	ConnectStatus pulumi.StringOutput `pulumi:"connectStatus"`
	// The create time of VPN connection.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringOutput `pulumi:"customerGatewayId"`
	// The delete time of resource, valid when the attach type is 'TransitRouter'.
	DeletedTime pulumi.StringOutput `pulumi:"deletedTime"`
	// The description of the VPN connection.
	Description pulumi.StringOutput `pulumi:"description"`
	// The dpd action of the VPN connection.
	DpdAction pulumi.StringPtrOutput `pulumi:"dpdAction"`
	// The auth alg of the ike config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.
	IkeConfigAuthAlg pulumi.StringPtrOutput `pulumi:"ikeConfigAuthAlg"`
	// The dk group of the ike config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14`. The default value is `group2`.
	IkeConfigDhGroup pulumi.StringPtrOutput `pulumi:"ikeConfigDhGroup"`
	// The enc alg of the ike config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.
	IkeConfigEncAlg pulumi.StringPtrOutput `pulumi:"ikeConfigEncAlg"`
	// The lifetime of the ike config of the VPN connection. Value: 900~86400.
	IkeConfigLifetime pulumi.IntPtrOutput `pulumi:"ikeConfigLifetime"`
	// The localId of the ike config of the VPN connection.
	IkeConfigLocalId pulumi.StringOutput `pulumi:"ikeConfigLocalId"`
	// The mode of the ike config of the VPN connection. Valid values are `main`, `aggressive`, and default value is `main`.
	IkeConfigMode pulumi.StringPtrOutput `pulumi:"ikeConfigMode"`
	// The psk of the ike config of the VPN connection. The length does not exceed 100 characters, and only uppercase and lowercase letters, special symbols and numbers are allowed.
	IkeConfigPsk pulumi.StringOutput `pulumi:"ikeConfigPsk"`
	// The remote id of the ike config of the VPN connection.
	IkeConfigRemoteId pulumi.StringOutput `pulumi:"ikeConfigRemoteId"`
	// The version of the ike config of the VPN connection. The value can be `ikev1` or `ikev2`. The default value is `ikev1`.
	IkeConfigVersion pulumi.StringPtrOutput `pulumi:"ikeConfigVersion"`
	// The ip address of transit router, valid when the attach type is 'TransitRouter'.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The auth alg of the ipsec config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.
	IpsecConfigAuthAlg pulumi.StringPtrOutput `pulumi:"ipsecConfigAuthAlg"`
	// The dh group of the ipsec config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14` and `disable`. The default value is `group2`.
	IpsecConfigDhGroup pulumi.StringPtrOutput `pulumi:"ipsecConfigDhGroup"`
	// The enc alg of the ipsec config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.
	IpsecConfigEncAlg pulumi.StringPtrOutput `pulumi:"ipsecConfigEncAlg"`
	// The ipsec config of the ike config of the VPN connection. Value: 900~86400.
	IpsecConfigLifetime pulumi.IntPtrOutput `pulumi:"ipsecConfigLifetime"`
	// The local subnet of the VPN connection. Up to 5 network segments are supported.
	LocalSubnets pulumi.StringArrayOutput `pulumi:"localSubnets"`
	// Whether to enable connection logging. After enabling Connection Day, you can view and download IPsec connection logs, and use the log information to troubleshoot IPsec connection problems yourself.
	LogEnabled pulumi.BoolPtrOutput `pulumi:"logEnabled"`
	// The nat traversal of the VPN connection.
	NatTraversal pulumi.BoolPtrOutput `pulumi:"natTraversal"`
	// Whether to initiate negotiation mode immediately.
	NegotiateInstantly pulumi.BoolPtrOutput `pulumi:"negotiateInstantly"`
	// The overdue time of resource, valid when the attach type is 'TransitRouter'.
	OverdueTime pulumi.StringOutput `pulumi:"overdueTime"`
	// The project name of the VPN connection.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The remote subnet of the VPN connection. Up to 5 network segments are supported.
	RemoteSubnets pulumi.StringArrayOutput `pulumi:"remoteSubnets"`
	// The status of the VPN connection.
	Status pulumi.StringOutput `pulumi:"status"`
	// The id of transit router, valid when the attach type is 'TransitRouter'.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
	// The update time of VPN connection.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The ID of the VPN connection.
	VpnConnectionId pulumi.StringOutput `pulumi:"vpnConnectionId"`
	// The name of the VPN connection.
	VpnConnectionName pulumi.StringOutput `pulumi:"vpnConnectionName"`
	// The ID of the vpn gateway. If the `AttachType` is not passed or the passed value is `VpnGateway`, this parameter must be filled. If the value of `AttachType` is `TransitRouter`, this parameter does not need to be filled.
	VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"`
	// The zone id of transit router, valid when the attach type is 'TransitRouter'.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a resource to manage vpn connection ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijing-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:          fooVpc.ID(),
			SubnetId:       fooSubnet.ID(),
			Bandwidth:      pulumi.Int(20),
			VpnGatewayName: pulumi.String("acc-test"),
			Description:    pulumi.String("acc-test"),
			Period:         pulumi.Int(2),
			ProjectName:    pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooCustomerGateway, err := vpn.NewCustomerGateway(ctx, "fooCustomerGateway", &vpn.CustomerGatewayArgs{
			IpAddress:           pulumi.String("192.0.1.3"),
			CustomerGatewayName: pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		_, err = vpn.NewConnection(ctx, "fooConnection", &vpn.ConnectionArgs{
			VpnConnectionName: pulumi.String("acc-tf-test"),
			Description:       pulumi.String("acc-tf-test"),
			VpnGatewayId:      fooGateway.ID(),
			CustomerGatewayId: fooCustomerGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				pulumi.String("192.168.0.0/22"),
			},
			RemoteSubnets: pulumi.StringArray{
				pulumi.String("192.161.0.0/20"),
			},
			DpdAction:           pulumi.String("none"),
			NatTraversal:        pulumi.Bool(true),
			IkeConfigPsk:        pulumi.String("acctest@!3"),
			IkeConfigVersion:    pulumi.String("ikev1"),
			IkeConfigMode:       pulumi.String("main"),
			IkeConfigEncAlg:     pulumi.String("aes"),
			IkeConfigAuthAlg:    pulumi.String("md5"),
			IkeConfigDhGroup:    pulumi.String("group2"),
			IkeConfigLifetime:   pulumi.Int(9000),
			IkeConfigLocalId:    pulumi.String("acc_test"),
			IkeConfigRemoteId:   pulumi.String("acc_test"),
			IpsecConfigEncAlg:   pulumi.String("aes"),
			IpsecConfigAuthAlg:  pulumi.String("sha256"),
			IpsecConfigDhGroup:  pulumi.String("group2"),
			IpsecConfigLifetime: pulumi.Int(9000),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VpnConnection can be imported using the id, e.g.

```sh

$ pulumi import volcengine:vpn/connection:Connection default vgc-3tex2x1cwd4c6c0v****

```

func GetConnection

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

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

func NewConnection

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

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

func (*Connection) ElementType

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext

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

type ConnectionArgs

type ConnectionArgs struct {
	// The attach type of the VPN connection, the value can be `VpnGateway` or `TransitRouter`.
	AttachType pulumi.StringPtrInput
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringInput
	// The description of the VPN connection.
	Description pulumi.StringPtrInput
	// The dpd action of the VPN connection.
	DpdAction pulumi.StringPtrInput
	// The auth alg of the ike config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.
	IkeConfigAuthAlg pulumi.StringPtrInput
	// The dk group of the ike config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14`. The default value is `group2`.
	IkeConfigDhGroup pulumi.StringPtrInput
	// The enc alg of the ike config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.
	IkeConfigEncAlg pulumi.StringPtrInput
	// The lifetime of the ike config of the VPN connection. Value: 900~86400.
	IkeConfigLifetime pulumi.IntPtrInput
	// The localId of the ike config of the VPN connection.
	IkeConfigLocalId pulumi.StringPtrInput
	// The mode of the ike config of the VPN connection. Valid values are `main`, `aggressive`, and default value is `main`.
	IkeConfigMode pulumi.StringPtrInput
	// The psk of the ike config of the VPN connection. The length does not exceed 100 characters, and only uppercase and lowercase letters, special symbols and numbers are allowed.
	IkeConfigPsk pulumi.StringInput
	// The remote id of the ike config of the VPN connection.
	IkeConfigRemoteId pulumi.StringPtrInput
	// The version of the ike config of the VPN connection. The value can be `ikev1` or `ikev2`. The default value is `ikev1`.
	IkeConfigVersion pulumi.StringPtrInput
	// The auth alg of the ipsec config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.
	IpsecConfigAuthAlg pulumi.StringPtrInput
	// The dh group of the ipsec config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14` and `disable`. The default value is `group2`.
	IpsecConfigDhGroup pulumi.StringPtrInput
	// The enc alg of the ipsec config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.
	IpsecConfigEncAlg pulumi.StringPtrInput
	// The ipsec config of the ike config of the VPN connection. Value: 900~86400.
	IpsecConfigLifetime pulumi.IntPtrInput
	// The local subnet of the VPN connection. Up to 5 network segments are supported.
	LocalSubnets pulumi.StringArrayInput
	// Whether to enable connection logging. After enabling Connection Day, you can view and download IPsec connection logs, and use the log information to troubleshoot IPsec connection problems yourself.
	LogEnabled pulumi.BoolPtrInput
	// The nat traversal of the VPN connection.
	NatTraversal pulumi.BoolPtrInput
	// Whether to initiate negotiation mode immediately.
	NegotiateInstantly pulumi.BoolPtrInput
	// The project name of the VPN connection.
	ProjectName pulumi.StringPtrInput
	// The remote subnet of the VPN connection. Up to 5 network segments are supported.
	RemoteSubnets pulumi.StringArrayInput
	// The name of the VPN connection.
	VpnConnectionName pulumi.StringPtrInput
	// The ID of the vpn gateway. If the `AttachType` is not passed or the passed value is `VpnGateway`, this parameter must be filled. If the value of `AttachType` is `TransitRouter`, this parameter does not need to be filled.
	VpnGatewayId pulumi.StringPtrInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext

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

type ConnectionArrayInput

type ConnectionArrayInput interface {
	pulumi.Input

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

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

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index

func (ConnectionArrayOutput) ToConnectionArrayOutput

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext

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

type ConnectionInput

type ConnectionInput interface {
	pulumi.Input

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

type ConnectionMap

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext

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

type ConnectionMapInput

type ConnectionMapInput interface {
	pulumi.Input

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

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

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

type ConnectionMapOutput

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex

func (ConnectionMapOutput) ToConnectionMapOutput

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext

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

type ConnectionOutput

type ConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionOutput) AccountId

func (o ConnectionOutput) AccountId() pulumi.StringOutput

The account ID of the VPN connection.

func (ConnectionOutput) AttachStatus

func (o ConnectionOutput) AttachStatus() pulumi.StringOutput

The IPsec attach status.

func (ConnectionOutput) AttachType

func (o ConnectionOutput) AttachType() pulumi.StringPtrOutput

The attach type of the VPN connection, the value can be `VpnGateway` or `TransitRouter`.

func (ConnectionOutput) BusinessStatus

func (o ConnectionOutput) BusinessStatus() pulumi.StringOutput

The business status of IPsec connection, valid when the attach type is 'TransitRouter'.

func (ConnectionOutput) ConnectStatus

func (o ConnectionOutput) ConnectStatus() pulumi.StringOutput

The connect status of the VPN connection.

func (ConnectionOutput) CreationTime

func (o ConnectionOutput) CreationTime() pulumi.StringOutput

The create time of VPN connection.

func (ConnectionOutput) CustomerGatewayId

func (o ConnectionOutput) CustomerGatewayId() pulumi.StringOutput

The ID of the customer gateway.

func (ConnectionOutput) DeletedTime

func (o ConnectionOutput) DeletedTime() pulumi.StringOutput

The delete time of resource, valid when the attach type is 'TransitRouter'.

func (ConnectionOutput) Description

func (o ConnectionOutput) Description() pulumi.StringOutput

The description of the VPN connection.

func (ConnectionOutput) DpdAction

func (o ConnectionOutput) DpdAction() pulumi.StringPtrOutput

The dpd action of the VPN connection.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) IkeConfigAuthAlg

func (o ConnectionOutput) IkeConfigAuthAlg() pulumi.StringPtrOutput

The auth alg of the ike config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.

func (ConnectionOutput) IkeConfigDhGroup

func (o ConnectionOutput) IkeConfigDhGroup() pulumi.StringPtrOutput

The dk group of the ike config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14`. The default value is `group2`.

func (ConnectionOutput) IkeConfigEncAlg

func (o ConnectionOutput) IkeConfigEncAlg() pulumi.StringPtrOutput

The enc alg of the ike config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.

func (ConnectionOutput) IkeConfigLifetime

func (o ConnectionOutput) IkeConfigLifetime() pulumi.IntPtrOutput

The lifetime of the ike config of the VPN connection. Value: 900~86400.

func (ConnectionOutput) IkeConfigLocalId

func (o ConnectionOutput) IkeConfigLocalId() pulumi.StringOutput

The localId of the ike config of the VPN connection.

func (ConnectionOutput) IkeConfigMode

func (o ConnectionOutput) IkeConfigMode() pulumi.StringPtrOutput

The mode of the ike config of the VPN connection. Valid values are `main`, `aggressive`, and default value is `main`.

func (ConnectionOutput) IkeConfigPsk

func (o ConnectionOutput) IkeConfigPsk() pulumi.StringOutput

The psk of the ike config of the VPN connection. The length does not exceed 100 characters, and only uppercase and lowercase letters, special symbols and numbers are allowed.

func (ConnectionOutput) IkeConfigRemoteId

func (o ConnectionOutput) IkeConfigRemoteId() pulumi.StringOutput

The remote id of the ike config of the VPN connection.

func (ConnectionOutput) IkeConfigVersion

func (o ConnectionOutput) IkeConfigVersion() pulumi.StringPtrOutput

The version of the ike config of the VPN connection. The value can be `ikev1` or `ikev2`. The default value is `ikev1`.

func (ConnectionOutput) IpAddress

func (o ConnectionOutput) IpAddress() pulumi.StringOutput

The ip address of transit router, valid when the attach type is 'TransitRouter'.

func (ConnectionOutput) IpsecConfigAuthAlg

func (o ConnectionOutput) IpsecConfigAuthAlg() pulumi.StringPtrOutput

The auth alg of the ipsec config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.

func (ConnectionOutput) IpsecConfigDhGroup

func (o ConnectionOutput) IpsecConfigDhGroup() pulumi.StringPtrOutput

The dh group of the ipsec config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14` and `disable`. The default value is `group2`.

func (ConnectionOutput) IpsecConfigEncAlg

func (o ConnectionOutput) IpsecConfigEncAlg() pulumi.StringPtrOutput

The enc alg of the ipsec config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.

func (ConnectionOutput) IpsecConfigLifetime

func (o ConnectionOutput) IpsecConfigLifetime() pulumi.IntPtrOutput

The ipsec config of the ike config of the VPN connection. Value: 900~86400.

func (ConnectionOutput) LocalSubnets

func (o ConnectionOutput) LocalSubnets() pulumi.StringArrayOutput

The local subnet of the VPN connection. Up to 5 network segments are supported.

func (ConnectionOutput) LogEnabled

func (o ConnectionOutput) LogEnabled() pulumi.BoolPtrOutput

Whether to enable connection logging. After enabling Connection Day, you can view and download IPsec connection logs, and use the log information to troubleshoot IPsec connection problems yourself.

func (ConnectionOutput) NatTraversal

func (o ConnectionOutput) NatTraversal() pulumi.BoolPtrOutput

The nat traversal of the VPN connection.

func (ConnectionOutput) NegotiateInstantly

func (o ConnectionOutput) NegotiateInstantly() pulumi.BoolPtrOutput

Whether to initiate negotiation mode immediately.

func (ConnectionOutput) OverdueTime

func (o ConnectionOutput) OverdueTime() pulumi.StringOutput

The overdue time of resource, valid when the attach type is 'TransitRouter'.

func (ConnectionOutput) ProjectName

func (o ConnectionOutput) ProjectName() pulumi.StringOutput

The project name of the VPN connection.

func (ConnectionOutput) RemoteSubnets

func (o ConnectionOutput) RemoteSubnets() pulumi.StringArrayOutput

The remote subnet of the VPN connection. Up to 5 network segments are supported.

func (ConnectionOutput) Status

The status of the VPN connection.

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

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

func (ConnectionOutput) TransitRouterId

func (o ConnectionOutput) TransitRouterId() pulumi.StringOutput

The id of transit router, valid when the attach type is 'TransitRouter'.

func (ConnectionOutput) UpdateTime

func (o ConnectionOutput) UpdateTime() pulumi.StringOutput

The update time of VPN connection.

func (ConnectionOutput) VpnConnectionId

func (o ConnectionOutput) VpnConnectionId() pulumi.StringOutput

The ID of the VPN connection.

func (ConnectionOutput) VpnConnectionName

func (o ConnectionOutput) VpnConnectionName() pulumi.StringOutput

The name of the VPN connection.

func (ConnectionOutput) VpnGatewayId

func (o ConnectionOutput) VpnGatewayId() pulumi.StringPtrOutput

The ID of the vpn gateway. If the `AttachType` is not passed or the passed value is `VpnGateway`, this parameter must be filled. If the value of `AttachType` is `TransitRouter`, this parameter does not need to be filled.

func (ConnectionOutput) ZoneId

The zone id of transit router, valid when the attach type is 'TransitRouter'.

type ConnectionState

type ConnectionState struct {
	// The account ID of the VPN connection.
	AccountId pulumi.StringPtrInput
	// The IPsec attach status.
	AttachStatus pulumi.StringPtrInput
	// The attach type of the VPN connection, the value can be `VpnGateway` or `TransitRouter`.
	AttachType pulumi.StringPtrInput
	// The business status of IPsec connection, valid when the attach type is 'TransitRouter'.
	BusinessStatus pulumi.StringPtrInput
	// The connect status of the VPN connection.
	ConnectStatus pulumi.StringPtrInput
	// The create time of VPN connection.
	CreationTime pulumi.StringPtrInput
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringPtrInput
	// The delete time of resource, valid when the attach type is 'TransitRouter'.
	DeletedTime pulumi.StringPtrInput
	// The description of the VPN connection.
	Description pulumi.StringPtrInput
	// The dpd action of the VPN connection.
	DpdAction pulumi.StringPtrInput
	// The auth alg of the ike config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.
	IkeConfigAuthAlg pulumi.StringPtrInput
	// The dk group of the ike config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14`. The default value is `group2`.
	IkeConfigDhGroup pulumi.StringPtrInput
	// The enc alg of the ike config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.
	IkeConfigEncAlg pulumi.StringPtrInput
	// The lifetime of the ike config of the VPN connection. Value: 900~86400.
	IkeConfigLifetime pulumi.IntPtrInput
	// The localId of the ike config of the VPN connection.
	IkeConfigLocalId pulumi.StringPtrInput
	// The mode of the ike config of the VPN connection. Valid values are `main`, `aggressive`, and default value is `main`.
	IkeConfigMode pulumi.StringPtrInput
	// The psk of the ike config of the VPN connection. The length does not exceed 100 characters, and only uppercase and lowercase letters, special symbols and numbers are allowed.
	IkeConfigPsk pulumi.StringPtrInput
	// The remote id of the ike config of the VPN connection.
	IkeConfigRemoteId pulumi.StringPtrInput
	// The version of the ike config of the VPN connection. The value can be `ikev1` or `ikev2`. The default value is `ikev1`.
	IkeConfigVersion pulumi.StringPtrInput
	// The ip address of transit router, valid when the attach type is 'TransitRouter'.
	IpAddress pulumi.StringPtrInput
	// The auth alg of the ipsec config of the VPN connection. Valid value are `sha1`, `md5`, `sha256`, `sha384`, `sha512`, `sm3`. The default value is `sha1`.
	IpsecConfigAuthAlg pulumi.StringPtrInput
	// The dh group of the ipsec config of the VPN connection. Valid value are `group1`, `group2`, `group5`, `group14` and `disable`. The default value is `group2`.
	IpsecConfigDhGroup pulumi.StringPtrInput
	// The enc alg of the ipsec config of the VPN connection. Valid value are `aes`, `aes192`, `aes256`, `des`, `3des`, `sm4`. The default value is `aes`.
	IpsecConfigEncAlg pulumi.StringPtrInput
	// The ipsec config of the ike config of the VPN connection. Value: 900~86400.
	IpsecConfigLifetime pulumi.IntPtrInput
	// The local subnet of the VPN connection. Up to 5 network segments are supported.
	LocalSubnets pulumi.StringArrayInput
	// Whether to enable connection logging. After enabling Connection Day, you can view and download IPsec connection logs, and use the log information to troubleshoot IPsec connection problems yourself.
	LogEnabled pulumi.BoolPtrInput
	// The nat traversal of the VPN connection.
	NatTraversal pulumi.BoolPtrInput
	// Whether to initiate negotiation mode immediately.
	NegotiateInstantly pulumi.BoolPtrInput
	// The overdue time of resource, valid when the attach type is 'TransitRouter'.
	OverdueTime pulumi.StringPtrInput
	// The project name of the VPN connection.
	ProjectName pulumi.StringPtrInput
	// The remote subnet of the VPN connection. Up to 5 network segments are supported.
	RemoteSubnets pulumi.StringArrayInput
	// The status of the VPN connection.
	Status pulumi.StringPtrInput
	// The id of transit router, valid when the attach type is 'TransitRouter'.
	TransitRouterId pulumi.StringPtrInput
	// The update time of VPN connection.
	UpdateTime pulumi.StringPtrInput
	// The ID of the VPN connection.
	VpnConnectionId pulumi.StringPtrInput
	// The name of the VPN connection.
	VpnConnectionName pulumi.StringPtrInput
	// The ID of the vpn gateway. If the `AttachType` is not passed or the passed value is `VpnGateway`, this parameter must be filled. If the value of `AttachType` is `TransitRouter`, this parameter does not need to be filled.
	VpnGatewayId pulumi.StringPtrInput
	// The zone id of transit router, valid when the attach type is 'TransitRouter'.
	ZoneId pulumi.StringPtrInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type ConnectionsArgs

type ConnectionsArgs struct {
	// An ID of customer gateway.
	CustomerGatewayId *string `pulumi:"customerGatewayId"`
	// A list of VPN connection ids.
	Ids []string `pulumi:"ids"`
	// A Name Regex of VPN connection.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// A list of VPN connection names.
	VpnConnectionNames []string `pulumi:"vpnConnectionNames"`
	// An ID of VPN gateway.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
}

A collection of arguments for invoking Connections.

type ConnectionsOutputArgs

type ConnectionsOutputArgs struct {
	// An ID of customer gateway.
	CustomerGatewayId pulumi.StringPtrInput `pulumi:"customerGatewayId"`
	// A list of VPN connection ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of VPN connection.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A list of VPN connection names.
	VpnConnectionNames pulumi.StringArrayInput `pulumi:"vpnConnectionNames"`
	// An ID of VPN gateway.
	VpnGatewayId pulumi.StringPtrInput `pulumi:"vpnGatewayId"`
}

A collection of arguments for invoking Connections.

func (ConnectionsOutputArgs) ElementType

func (ConnectionsOutputArgs) ElementType() reflect.Type

type ConnectionsResult

type ConnectionsResult struct {
	// The ID of the customer gateway.
	CustomerGatewayId *string `pulumi:"customerGatewayId"`
	// 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"`
	// The total count of VPN connection query.
	TotalCount         int      `pulumi:"totalCount"`
	VpnConnectionNames []string `pulumi:"vpnConnectionNames"`
	// The collection of VPN connection query.
	VpnConnections []ConnectionsVpnConnection `pulumi:"vpnConnections"`
	// The ID of the vpn gateway.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
}

A collection of values returned by Connections.

func Connections

func Connections(ctx *pulumi.Context, args *ConnectionsArgs, opts ...pulumi.InvokeOption) (*ConnectionsResult, error)

Use this data source to query detailed information of vpn connections ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijing-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:          fooVpc.ID(),
			SubnetId:       fooSubnet.ID(),
			Bandwidth:      pulumi.Int(20),
			VpnGatewayName: pulumi.String("acc-test"),
			Description:    pulumi.String("acc-test"),
			Period:         pulumi.Int(2),
			ProjectName:    pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooCustomerGateway, err := vpn.NewCustomerGateway(ctx, "fooCustomerGateway", &vpn.CustomerGatewayArgs{
			IpAddress:           pulumi.String("192.0.1.3"),
			CustomerGatewayName: pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooConnection, err := vpn.NewConnection(ctx, "fooConnection", &vpn.ConnectionArgs{
			VpnConnectionName: pulumi.String("acc-tf-test"),
			Description:       pulumi.String("acc-tf-test"),
			VpnGatewayId:      fooGateway.ID(),
			CustomerGatewayId: fooCustomerGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				pulumi.String("192.168.0.0/22"),
			},
			RemoteSubnets: pulumi.StringArray{
				pulumi.String("192.161.0.0/20"),
			},
			DpdAction:           pulumi.String("none"),
			NatTraversal:        pulumi.Bool(true),
			IkeConfigPsk:        pulumi.String("acctest@!3"),
			IkeConfigVersion:    pulumi.String("ikev1"),
			IkeConfigMode:       pulumi.String("main"),
			IkeConfigEncAlg:     pulumi.String("aes"),
			IkeConfigAuthAlg:    pulumi.String("md5"),
			IkeConfigDhGroup:    pulumi.String("group2"),
			IkeConfigLifetime:   pulumi.Int(9000),
			IkeConfigLocalId:    pulumi.String("acc_test"),
			IkeConfigRemoteId:   pulumi.String("acc_test"),
			IpsecConfigEncAlg:   pulumi.String("aes"),
			IpsecConfigAuthAlg:  pulumi.String("sha256"),
			IpsecConfigDhGroup:  pulumi.String("group2"),
			IpsecConfigLifetime: pulumi.Int(9000),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		_ = vpn.ConnectionsOutput(ctx, vpn.ConnectionsOutputArgs{
			Ids: pulumi.StringArray{
				fooConnection.ID(),
			},
		}, nil)
		return nil
	})
}

```

type ConnectionsResultOutput

type ConnectionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Connections.

func (ConnectionsResultOutput) CustomerGatewayId

func (o ConnectionsResultOutput) CustomerGatewayId() pulumi.StringPtrOutput

The ID of the customer gateway.

func (ConnectionsResultOutput) ElementType

func (ConnectionsResultOutput) ElementType() reflect.Type

func (ConnectionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ConnectionsResultOutput) Ids

func (ConnectionsResultOutput) NameRegex

func (ConnectionsResultOutput) OutputFile

func (ConnectionsResultOutput) ToConnectionsResultOutput

func (o ConnectionsResultOutput) ToConnectionsResultOutput() ConnectionsResultOutput

func (ConnectionsResultOutput) ToConnectionsResultOutputWithContext

func (o ConnectionsResultOutput) ToConnectionsResultOutputWithContext(ctx context.Context) ConnectionsResultOutput

func (ConnectionsResultOutput) TotalCount

func (o ConnectionsResultOutput) TotalCount() pulumi.IntOutput

The total count of VPN connection query.

func (ConnectionsResultOutput) VpnConnectionNames

func (o ConnectionsResultOutput) VpnConnectionNames() pulumi.StringArrayOutput

func (ConnectionsResultOutput) VpnConnections

The collection of VPN connection query.

func (ConnectionsResultOutput) VpnGatewayId

The ID of the vpn gateway.

type ConnectionsVpnConnection

type ConnectionsVpnConnection struct {
	// The account ID of the VPN connection.
	AccountId string `pulumi:"accountId"`
	// The IPsec attach status.
	AttachStatus string `pulumi:"attachStatus"`
	// The IPsec attach type.
	AttachType string `pulumi:"attachType"`
	// The business status of IPsec connection, valid when the attach type is 'TransitRouter'.
	BusinessStatus string `pulumi:"businessStatus"`
	// The connect status of the VPN connection.
	ConnectStatus string `pulumi:"connectStatus"`
	// The create time of VPN connection.
	CreationTime string `pulumi:"creationTime"`
	// An ID of customer gateway.
	CustomerGatewayId string `pulumi:"customerGatewayId"`
	// The delete time of resource, valid when the attach type is 'TransitRouter'.
	DeletedTime string `pulumi:"deletedTime"`
	// The description of the VPN connection.
	Description string `pulumi:"description"`
	// The dpd action of the VPN connection.
	DpdAction string `pulumi:"dpdAction"`
	// The ID of the VPN connection.
	Id string `pulumi:"id"`
	// The auth alg of the ike config of the VPN connection.
	IkeConfigAuthAlg string `pulumi:"ikeConfigAuthAlg"`
	// The dk group of the ike config of the VPN connection.
	IkeConfigDhGroup string `pulumi:"ikeConfigDhGroup"`
	// The enc alg of the ike config of the VPN connection.
	IkeConfigEncAlg string `pulumi:"ikeConfigEncAlg"`
	// The lifetime of the ike config of the VPN connection.
	IkeConfigLifetime int `pulumi:"ikeConfigLifetime"`
	// The localId of the ike config of the VPN connection.
	IkeConfigLocalId string `pulumi:"ikeConfigLocalId"`
	// The mode of the ike config of the VPN connection.
	IkeConfigMode string `pulumi:"ikeConfigMode"`
	// The psk of the ike config of the VPN connection.
	IkeConfigPsk string `pulumi:"ikeConfigPsk"`
	// The remote id of the ike config of the VPN connection.
	IkeConfigRemoteId string `pulumi:"ikeConfigRemoteId"`
	// The version of the ike config of the VPN connection.
	IkeConfigVersion string `pulumi:"ikeConfigVersion"`
	// The ip address of transit router, valid when the attach type is 'TransitRouter'.
	IpAddress string `pulumi:"ipAddress"`
	// The auth alg of the ipsec config of the VPN connection.
	IpsecConfigAuthAlg string `pulumi:"ipsecConfigAuthAlg"`
	// The dh group of the ipsec config of the VPN connection.
	IpsecConfigDhGroup string `pulumi:"ipsecConfigDhGroup"`
	// The enc alg of the ipsec config of the VPN connection.
	IpsecConfigEncAlg string `pulumi:"ipsecConfigEncAlg"`
	// The lifetime of the ike config of the VPN connection.
	IpsecConfigLifetime int `pulumi:"ipsecConfigLifetime"`
	// The local subnet of the VPN connection.
	LocalSubnets []string `pulumi:"localSubnets"`
	// Whether to enable the connection log.
	LogEnabled bool `pulumi:"logEnabled"`
	// The nat traversal of the VPN connection.
	NatTraversal bool `pulumi:"natTraversal"`
	// Whether to initiate negotiation mode immediately.
	NegotiateInstantly bool `pulumi:"negotiateInstantly"`
	// The overdue time of resource, valid when the attach type is 'TransitRouter'.
	OverdueTime string `pulumi:"overdueTime"`
	// The remote subnet of the VPN connection.
	RemoteSubnets []string `pulumi:"remoteSubnets"`
	// The status of the VPN connection.
	Status string `pulumi:"status"`
	// The id of transit router, valid when the attach type is 'TransitRouter'.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The update time of VPN connection.
	UpdateTime string `pulumi:"updateTime"`
	// The ID of the VPN connection.
	VpnConnectionId string `pulumi:"vpnConnectionId"`
	// The name of the VPN connection.
	VpnConnectionName string `pulumi:"vpnConnectionName"`
	// An ID of VPN gateway.
	VpnGatewayId string `pulumi:"vpnGatewayId"`
	// The zone id of transit router, valid when the attach type is 'TransitRouter'.
	ZoneId string `pulumi:"zoneId"`
}

type ConnectionsVpnConnectionArgs

type ConnectionsVpnConnectionArgs struct {
	// The account ID of the VPN connection.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The IPsec attach status.
	AttachStatus pulumi.StringInput `pulumi:"attachStatus"`
	// The IPsec attach type.
	AttachType pulumi.StringInput `pulumi:"attachType"`
	// The business status of IPsec connection, valid when the attach type is 'TransitRouter'.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The connect status of the VPN connection.
	ConnectStatus pulumi.StringInput `pulumi:"connectStatus"`
	// The create time of VPN connection.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// An ID of customer gateway.
	CustomerGatewayId pulumi.StringInput `pulumi:"customerGatewayId"`
	// The delete time of resource, valid when the attach type is 'TransitRouter'.
	DeletedTime pulumi.StringInput `pulumi:"deletedTime"`
	// The description of the VPN connection.
	Description pulumi.StringInput `pulumi:"description"`
	// The dpd action of the VPN connection.
	DpdAction pulumi.StringInput `pulumi:"dpdAction"`
	// The ID of the VPN connection.
	Id pulumi.StringInput `pulumi:"id"`
	// The auth alg of the ike config of the VPN connection.
	IkeConfigAuthAlg pulumi.StringInput `pulumi:"ikeConfigAuthAlg"`
	// The dk group of the ike config of the VPN connection.
	IkeConfigDhGroup pulumi.StringInput `pulumi:"ikeConfigDhGroup"`
	// The enc alg of the ike config of the VPN connection.
	IkeConfigEncAlg pulumi.StringInput `pulumi:"ikeConfigEncAlg"`
	// The lifetime of the ike config of the VPN connection.
	IkeConfigLifetime pulumi.IntInput `pulumi:"ikeConfigLifetime"`
	// The localId of the ike config of the VPN connection.
	IkeConfigLocalId pulumi.StringInput `pulumi:"ikeConfigLocalId"`
	// The mode of the ike config of the VPN connection.
	IkeConfigMode pulumi.StringInput `pulumi:"ikeConfigMode"`
	// The psk of the ike config of the VPN connection.
	IkeConfigPsk pulumi.StringInput `pulumi:"ikeConfigPsk"`
	// The remote id of the ike config of the VPN connection.
	IkeConfigRemoteId pulumi.StringInput `pulumi:"ikeConfigRemoteId"`
	// The version of the ike config of the VPN connection.
	IkeConfigVersion pulumi.StringInput `pulumi:"ikeConfigVersion"`
	// The ip address of transit router, valid when the attach type is 'TransitRouter'.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The auth alg of the ipsec config of the VPN connection.
	IpsecConfigAuthAlg pulumi.StringInput `pulumi:"ipsecConfigAuthAlg"`
	// The dh group of the ipsec config of the VPN connection.
	IpsecConfigDhGroup pulumi.StringInput `pulumi:"ipsecConfigDhGroup"`
	// The enc alg of the ipsec config of the VPN connection.
	IpsecConfigEncAlg pulumi.StringInput `pulumi:"ipsecConfigEncAlg"`
	// The lifetime of the ike config of the VPN connection.
	IpsecConfigLifetime pulumi.IntInput `pulumi:"ipsecConfigLifetime"`
	// The local subnet of the VPN connection.
	LocalSubnets pulumi.StringArrayInput `pulumi:"localSubnets"`
	// Whether to enable the connection log.
	LogEnabled pulumi.BoolInput `pulumi:"logEnabled"`
	// The nat traversal of the VPN connection.
	NatTraversal pulumi.BoolInput `pulumi:"natTraversal"`
	// Whether to initiate negotiation mode immediately.
	NegotiateInstantly pulumi.BoolInput `pulumi:"negotiateInstantly"`
	// The overdue time of resource, valid when the attach type is 'TransitRouter'.
	OverdueTime pulumi.StringInput `pulumi:"overdueTime"`
	// The remote subnet of the VPN connection.
	RemoteSubnets pulumi.StringArrayInput `pulumi:"remoteSubnets"`
	// The status of the VPN connection.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of transit router, valid when the attach type is 'TransitRouter'.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The update time of VPN connection.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The ID of the VPN connection.
	VpnConnectionId pulumi.StringInput `pulumi:"vpnConnectionId"`
	// The name of the VPN connection.
	VpnConnectionName pulumi.StringInput `pulumi:"vpnConnectionName"`
	// An ID of VPN gateway.
	VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"`
	// The zone id of transit router, valid when the attach type is 'TransitRouter'.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (ConnectionsVpnConnectionArgs) ElementType

func (ConnectionsVpnConnectionArgs) ToConnectionsVpnConnectionOutput

func (i ConnectionsVpnConnectionArgs) ToConnectionsVpnConnectionOutput() ConnectionsVpnConnectionOutput

func (ConnectionsVpnConnectionArgs) ToConnectionsVpnConnectionOutputWithContext

func (i ConnectionsVpnConnectionArgs) ToConnectionsVpnConnectionOutputWithContext(ctx context.Context) ConnectionsVpnConnectionOutput

type ConnectionsVpnConnectionArray

type ConnectionsVpnConnectionArray []ConnectionsVpnConnectionInput

func (ConnectionsVpnConnectionArray) ElementType

func (ConnectionsVpnConnectionArray) ToConnectionsVpnConnectionArrayOutput

func (i ConnectionsVpnConnectionArray) ToConnectionsVpnConnectionArrayOutput() ConnectionsVpnConnectionArrayOutput

func (ConnectionsVpnConnectionArray) ToConnectionsVpnConnectionArrayOutputWithContext

func (i ConnectionsVpnConnectionArray) ToConnectionsVpnConnectionArrayOutputWithContext(ctx context.Context) ConnectionsVpnConnectionArrayOutput

type ConnectionsVpnConnectionArrayInput

type ConnectionsVpnConnectionArrayInput interface {
	pulumi.Input

	ToConnectionsVpnConnectionArrayOutput() ConnectionsVpnConnectionArrayOutput
	ToConnectionsVpnConnectionArrayOutputWithContext(context.Context) ConnectionsVpnConnectionArrayOutput
}

ConnectionsVpnConnectionArrayInput is an input type that accepts ConnectionsVpnConnectionArray and ConnectionsVpnConnectionArrayOutput values. You can construct a concrete instance of `ConnectionsVpnConnectionArrayInput` via:

ConnectionsVpnConnectionArray{ ConnectionsVpnConnectionArgs{...} }

type ConnectionsVpnConnectionArrayOutput

type ConnectionsVpnConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionsVpnConnectionArrayOutput) ElementType

func (ConnectionsVpnConnectionArrayOutput) Index

func (ConnectionsVpnConnectionArrayOutput) ToConnectionsVpnConnectionArrayOutput

func (o ConnectionsVpnConnectionArrayOutput) ToConnectionsVpnConnectionArrayOutput() ConnectionsVpnConnectionArrayOutput

func (ConnectionsVpnConnectionArrayOutput) ToConnectionsVpnConnectionArrayOutputWithContext

func (o ConnectionsVpnConnectionArrayOutput) ToConnectionsVpnConnectionArrayOutputWithContext(ctx context.Context) ConnectionsVpnConnectionArrayOutput

type ConnectionsVpnConnectionInput

type ConnectionsVpnConnectionInput interface {
	pulumi.Input

	ToConnectionsVpnConnectionOutput() ConnectionsVpnConnectionOutput
	ToConnectionsVpnConnectionOutputWithContext(context.Context) ConnectionsVpnConnectionOutput
}

ConnectionsVpnConnectionInput is an input type that accepts ConnectionsVpnConnectionArgs and ConnectionsVpnConnectionOutput values. You can construct a concrete instance of `ConnectionsVpnConnectionInput` via:

ConnectionsVpnConnectionArgs{...}

type ConnectionsVpnConnectionOutput

type ConnectionsVpnConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionsVpnConnectionOutput) AccountId

The account ID of the VPN connection.

func (ConnectionsVpnConnectionOutput) AttachStatus

The IPsec attach status.

func (ConnectionsVpnConnectionOutput) AttachType

The IPsec attach type.

func (ConnectionsVpnConnectionOutput) BusinessStatus

The business status of IPsec connection, valid when the attach type is 'TransitRouter'.

func (ConnectionsVpnConnectionOutput) ConnectStatus

The connect status of the VPN connection.

func (ConnectionsVpnConnectionOutput) CreationTime

The create time of VPN connection.

func (ConnectionsVpnConnectionOutput) CustomerGatewayId

func (o ConnectionsVpnConnectionOutput) CustomerGatewayId() pulumi.StringOutput

An ID of customer gateway.

func (ConnectionsVpnConnectionOutput) DeletedTime

The delete time of resource, valid when the attach type is 'TransitRouter'.

func (ConnectionsVpnConnectionOutput) Description

The description of the VPN connection.

func (ConnectionsVpnConnectionOutput) DpdAction

The dpd action of the VPN connection.

func (ConnectionsVpnConnectionOutput) ElementType

func (ConnectionsVpnConnectionOutput) Id

The ID of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigAuthAlg

func (o ConnectionsVpnConnectionOutput) IkeConfigAuthAlg() pulumi.StringOutput

The auth alg of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigDhGroup

func (o ConnectionsVpnConnectionOutput) IkeConfigDhGroup() pulumi.StringOutput

The dk group of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigEncAlg

The enc alg of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigLifetime

func (o ConnectionsVpnConnectionOutput) IkeConfigLifetime() pulumi.IntOutput

The lifetime of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigLocalId

func (o ConnectionsVpnConnectionOutput) IkeConfigLocalId() pulumi.StringOutput

The localId of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigMode

The mode of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigPsk

The psk of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigRemoteId

func (o ConnectionsVpnConnectionOutput) IkeConfigRemoteId() pulumi.StringOutput

The remote id of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IkeConfigVersion

func (o ConnectionsVpnConnectionOutput) IkeConfigVersion() pulumi.StringOutput

The version of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IpAddress

The ip address of transit router, valid when the attach type is 'TransitRouter'.

func (ConnectionsVpnConnectionOutput) IpsecConfigAuthAlg

func (o ConnectionsVpnConnectionOutput) IpsecConfigAuthAlg() pulumi.StringOutput

The auth alg of the ipsec config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IpsecConfigDhGroup

func (o ConnectionsVpnConnectionOutput) IpsecConfigDhGroup() pulumi.StringOutput

The dh group of the ipsec config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IpsecConfigEncAlg

func (o ConnectionsVpnConnectionOutput) IpsecConfigEncAlg() pulumi.StringOutput

The enc alg of the ipsec config of the VPN connection.

func (ConnectionsVpnConnectionOutput) IpsecConfigLifetime

func (o ConnectionsVpnConnectionOutput) IpsecConfigLifetime() pulumi.IntOutput

The lifetime of the ike config of the VPN connection.

func (ConnectionsVpnConnectionOutput) LocalSubnets

The local subnet of the VPN connection.

func (ConnectionsVpnConnectionOutput) LogEnabled

Whether to enable the connection log.

func (ConnectionsVpnConnectionOutput) NatTraversal

The nat traversal of the VPN connection.

func (ConnectionsVpnConnectionOutput) NegotiateInstantly

func (o ConnectionsVpnConnectionOutput) NegotiateInstantly() pulumi.BoolOutput

Whether to initiate negotiation mode immediately.

func (ConnectionsVpnConnectionOutput) OverdueTime

The overdue time of resource, valid when the attach type is 'TransitRouter'.

func (ConnectionsVpnConnectionOutput) RemoteSubnets

The remote subnet of the VPN connection.

func (ConnectionsVpnConnectionOutput) Status

The status of the VPN connection.

func (ConnectionsVpnConnectionOutput) ToConnectionsVpnConnectionOutput

func (o ConnectionsVpnConnectionOutput) ToConnectionsVpnConnectionOutput() ConnectionsVpnConnectionOutput

func (ConnectionsVpnConnectionOutput) ToConnectionsVpnConnectionOutputWithContext

func (o ConnectionsVpnConnectionOutput) ToConnectionsVpnConnectionOutputWithContext(ctx context.Context) ConnectionsVpnConnectionOutput

func (ConnectionsVpnConnectionOutput) TransitRouterId

The id of transit router, valid when the attach type is 'TransitRouter'.

func (ConnectionsVpnConnectionOutput) UpdateTime

The update time of VPN connection.

func (ConnectionsVpnConnectionOutput) VpnConnectionId

The ID of the VPN connection.

func (ConnectionsVpnConnectionOutput) VpnConnectionName

func (o ConnectionsVpnConnectionOutput) VpnConnectionName() pulumi.StringOutput

The name of the VPN connection.

func (ConnectionsVpnConnectionOutput) VpnGatewayId

An ID of VPN gateway.

func (ConnectionsVpnConnectionOutput) ZoneId

The zone id of transit router, valid when the attach type is 'TransitRouter'.

type CustomerGateway

type CustomerGateway struct {
	pulumi.CustomResourceState

	// The account ID of the customer gateway.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The connection count of the customer gateway.
	ConnectionCount pulumi.IntOutput `pulumi:"connectionCount"`
	// The create time of customer gateway.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringOutput `pulumi:"customerGatewayId"`
	// The name of the customer gateway.
	CustomerGatewayName pulumi.StringOutput `pulumi:"customerGatewayName"`
	// The description of the customer gateway.
	Description pulumi.StringOutput `pulumi:"description"`
	// The IP address of the customer gateway.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The project name of the VPN customer gateway.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The status of the customer gateway.
	Status pulumi.StringOutput `pulumi:"status"`
	// The update time of customer gateway.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage customer gateway ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpn.NewCustomerGateway(ctx, "foo", &vpn.CustomerGatewayArgs{
			CustomerGatewayName: pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			IpAddress:           pulumi.String("192.0.1.3"),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CustomerGateway can be imported using the id, e.g.

```sh

$ pulumi import volcengine:vpn/customerGateway:CustomerGateway default cgw-2byswc356dybk2dx0eed2****

```

func GetCustomerGateway

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

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

func NewCustomerGateway

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

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

func (*CustomerGateway) ElementType

func (*CustomerGateway) ElementType() reflect.Type

func (*CustomerGateway) ToCustomerGatewayOutput

func (i *CustomerGateway) ToCustomerGatewayOutput() CustomerGatewayOutput

func (*CustomerGateway) ToCustomerGatewayOutputWithContext

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

type CustomerGatewayArgs

type CustomerGatewayArgs struct {
	// The name of the customer gateway.
	CustomerGatewayName pulumi.StringPtrInput
	// The description of the customer gateway.
	Description pulumi.StringPtrInput
	// The IP address of the customer gateway.
	IpAddress pulumi.StringInput
	// The project name of the VPN customer gateway.
	ProjectName pulumi.StringPtrInput
}

The set of arguments for constructing a CustomerGateway resource.

func (CustomerGatewayArgs) ElementType

func (CustomerGatewayArgs) ElementType() reflect.Type

type CustomerGatewayArray

type CustomerGatewayArray []CustomerGatewayInput

func (CustomerGatewayArray) ElementType

func (CustomerGatewayArray) ElementType() reflect.Type

func (CustomerGatewayArray) ToCustomerGatewayArrayOutput

func (i CustomerGatewayArray) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput

func (CustomerGatewayArray) ToCustomerGatewayArrayOutputWithContext

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

type CustomerGatewayArrayInput

type CustomerGatewayArrayInput interface {
	pulumi.Input

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

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

CustomerGatewayArray{ CustomerGatewayArgs{...} }

type CustomerGatewayArrayOutput

type CustomerGatewayArrayOutput struct{ *pulumi.OutputState }

func (CustomerGatewayArrayOutput) ElementType

func (CustomerGatewayArrayOutput) ElementType() reflect.Type

func (CustomerGatewayArrayOutput) Index

func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput

func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput

func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext

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

type CustomerGatewayInput

type CustomerGatewayInput interface {
	pulumi.Input

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

type CustomerGatewayMap

type CustomerGatewayMap map[string]CustomerGatewayInput

func (CustomerGatewayMap) ElementType

func (CustomerGatewayMap) ElementType() reflect.Type

func (CustomerGatewayMap) ToCustomerGatewayMapOutput

func (i CustomerGatewayMap) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput

func (CustomerGatewayMap) ToCustomerGatewayMapOutputWithContext

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

type CustomerGatewayMapInput

type CustomerGatewayMapInput interface {
	pulumi.Input

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

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

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

type CustomerGatewayMapOutput

type CustomerGatewayMapOutput struct{ *pulumi.OutputState }

func (CustomerGatewayMapOutput) ElementType

func (CustomerGatewayMapOutput) ElementType() reflect.Type

func (CustomerGatewayMapOutput) MapIndex

func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutput

func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput

func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext

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

type CustomerGatewayOutput

type CustomerGatewayOutput struct{ *pulumi.OutputState }

func (CustomerGatewayOutput) AccountId

The account ID of the customer gateway.

func (CustomerGatewayOutput) ConnectionCount

func (o CustomerGatewayOutput) ConnectionCount() pulumi.IntOutput

The connection count of the customer gateway.

func (CustomerGatewayOutput) CreationTime

func (o CustomerGatewayOutput) CreationTime() pulumi.StringOutput

The create time of customer gateway.

func (CustomerGatewayOutput) CustomerGatewayId

func (o CustomerGatewayOutput) CustomerGatewayId() pulumi.StringOutput

The ID of the customer gateway.

func (CustomerGatewayOutput) CustomerGatewayName

func (o CustomerGatewayOutput) CustomerGatewayName() pulumi.StringOutput

The name of the customer gateway.

func (CustomerGatewayOutput) Description

func (o CustomerGatewayOutput) Description() pulumi.StringOutput

The description of the customer gateway.

func (CustomerGatewayOutput) ElementType

func (CustomerGatewayOutput) ElementType() reflect.Type

func (CustomerGatewayOutput) IpAddress

The IP address of the customer gateway.

func (CustomerGatewayOutput) ProjectName

func (o CustomerGatewayOutput) ProjectName() pulumi.StringOutput

The project name of the VPN customer gateway.

func (CustomerGatewayOutput) Status

The status of the customer gateway.

func (CustomerGatewayOutput) ToCustomerGatewayOutput

func (o CustomerGatewayOutput) ToCustomerGatewayOutput() CustomerGatewayOutput

func (CustomerGatewayOutput) ToCustomerGatewayOutputWithContext

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

func (CustomerGatewayOutput) UpdateTime

func (o CustomerGatewayOutput) UpdateTime() pulumi.StringOutput

The update time of customer gateway.

type CustomerGatewayState

type CustomerGatewayState struct {
	// The account ID of the customer gateway.
	AccountId pulumi.StringPtrInput
	// The connection count of the customer gateway.
	ConnectionCount pulumi.IntPtrInput
	// The create time of customer gateway.
	CreationTime pulumi.StringPtrInput
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringPtrInput
	// The name of the customer gateway.
	CustomerGatewayName pulumi.StringPtrInput
	// The description of the customer gateway.
	Description pulumi.StringPtrInput
	// The IP address of the customer gateway.
	IpAddress pulumi.StringPtrInput
	// The project name of the VPN customer gateway.
	ProjectName pulumi.StringPtrInput
	// The status of the customer gateway.
	Status pulumi.StringPtrInput
	// The update time of customer gateway.
	UpdateTime pulumi.StringPtrInput
}

func (CustomerGatewayState) ElementType

func (CustomerGatewayState) ElementType() reflect.Type

type CustomerGatewaysArgs

type CustomerGatewaysArgs struct {
	// A list of customer gateway names.
	CustomerGatewayNames []string `pulumi:"customerGatewayNames"`
	// A list of customer gateway ids.
	Ids []string `pulumi:"ids"`
	// A IP address of the customer gateway.
	IpAddress *string `pulumi:"ipAddress"`
	// A Name Regex of customer gateway.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking CustomerGateways.

type CustomerGatewaysCustomerGateway

type CustomerGatewaysCustomerGateway struct {
	// The account ID of the customer gateway.
	AccountId string `pulumi:"accountId"`
	// The connection count of the customer gateway.
	ConnectionCount int `pulumi:"connectionCount"`
	// The create time of customer gateway.
	CreationTime string `pulumi:"creationTime"`
	// The ID of the customer gateway.
	CustomerGatewayId string `pulumi:"customerGatewayId"`
	// The name of the customer gateway.
	CustomerGatewayName string `pulumi:"customerGatewayName"`
	// The description of the customer gateway.
	Description string `pulumi:"description"`
	// The ID of the customer gateway.
	Id string `pulumi:"id"`
	// A IP address of the customer gateway.
	IpAddress string `pulumi:"ipAddress"`
	// The status of the customer gateway.
	Status string `pulumi:"status"`
	// The update time of customer gateway.
	UpdateTime string `pulumi:"updateTime"`
}

type CustomerGatewaysCustomerGatewayArgs

type CustomerGatewaysCustomerGatewayArgs struct {
	// The account ID of the customer gateway.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The connection count of the customer gateway.
	ConnectionCount pulumi.IntInput `pulumi:"connectionCount"`
	// The create time of customer gateway.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringInput `pulumi:"customerGatewayId"`
	// The name of the customer gateway.
	CustomerGatewayName pulumi.StringInput `pulumi:"customerGatewayName"`
	// The description of the customer gateway.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the customer gateway.
	Id pulumi.StringInput `pulumi:"id"`
	// A IP address of the customer gateway.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// The status of the customer gateway.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time of customer gateway.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (CustomerGatewaysCustomerGatewayArgs) ElementType

func (CustomerGatewaysCustomerGatewayArgs) ToCustomerGatewaysCustomerGatewayOutput

func (i CustomerGatewaysCustomerGatewayArgs) ToCustomerGatewaysCustomerGatewayOutput() CustomerGatewaysCustomerGatewayOutput

func (CustomerGatewaysCustomerGatewayArgs) ToCustomerGatewaysCustomerGatewayOutputWithContext

func (i CustomerGatewaysCustomerGatewayArgs) ToCustomerGatewaysCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewaysCustomerGatewayOutput

type CustomerGatewaysCustomerGatewayArray

type CustomerGatewaysCustomerGatewayArray []CustomerGatewaysCustomerGatewayInput

func (CustomerGatewaysCustomerGatewayArray) ElementType

func (CustomerGatewaysCustomerGatewayArray) ToCustomerGatewaysCustomerGatewayArrayOutput

func (i CustomerGatewaysCustomerGatewayArray) ToCustomerGatewaysCustomerGatewayArrayOutput() CustomerGatewaysCustomerGatewayArrayOutput

func (CustomerGatewaysCustomerGatewayArray) ToCustomerGatewaysCustomerGatewayArrayOutputWithContext

func (i CustomerGatewaysCustomerGatewayArray) ToCustomerGatewaysCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewaysCustomerGatewayArrayOutput

type CustomerGatewaysCustomerGatewayArrayInput

type CustomerGatewaysCustomerGatewayArrayInput interface {
	pulumi.Input

	ToCustomerGatewaysCustomerGatewayArrayOutput() CustomerGatewaysCustomerGatewayArrayOutput
	ToCustomerGatewaysCustomerGatewayArrayOutputWithContext(context.Context) CustomerGatewaysCustomerGatewayArrayOutput
}

CustomerGatewaysCustomerGatewayArrayInput is an input type that accepts CustomerGatewaysCustomerGatewayArray and CustomerGatewaysCustomerGatewayArrayOutput values. You can construct a concrete instance of `CustomerGatewaysCustomerGatewayArrayInput` via:

CustomerGatewaysCustomerGatewayArray{ CustomerGatewaysCustomerGatewayArgs{...} }

type CustomerGatewaysCustomerGatewayArrayOutput

type CustomerGatewaysCustomerGatewayArrayOutput struct{ *pulumi.OutputState }

func (CustomerGatewaysCustomerGatewayArrayOutput) ElementType

func (CustomerGatewaysCustomerGatewayArrayOutput) Index

func (CustomerGatewaysCustomerGatewayArrayOutput) ToCustomerGatewaysCustomerGatewayArrayOutput

func (o CustomerGatewaysCustomerGatewayArrayOutput) ToCustomerGatewaysCustomerGatewayArrayOutput() CustomerGatewaysCustomerGatewayArrayOutput

func (CustomerGatewaysCustomerGatewayArrayOutput) ToCustomerGatewaysCustomerGatewayArrayOutputWithContext

func (o CustomerGatewaysCustomerGatewayArrayOutput) ToCustomerGatewaysCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewaysCustomerGatewayArrayOutput

type CustomerGatewaysCustomerGatewayInput

type CustomerGatewaysCustomerGatewayInput interface {
	pulumi.Input

	ToCustomerGatewaysCustomerGatewayOutput() CustomerGatewaysCustomerGatewayOutput
	ToCustomerGatewaysCustomerGatewayOutputWithContext(context.Context) CustomerGatewaysCustomerGatewayOutput
}

CustomerGatewaysCustomerGatewayInput is an input type that accepts CustomerGatewaysCustomerGatewayArgs and CustomerGatewaysCustomerGatewayOutput values. You can construct a concrete instance of `CustomerGatewaysCustomerGatewayInput` via:

CustomerGatewaysCustomerGatewayArgs{...}

type CustomerGatewaysCustomerGatewayOutput

type CustomerGatewaysCustomerGatewayOutput struct{ *pulumi.OutputState }

func (CustomerGatewaysCustomerGatewayOutput) AccountId

The account ID of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) ConnectionCount

The connection count of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) CreationTime

The create time of customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) CustomerGatewayId

The ID of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) CustomerGatewayName

The name of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) Description

The description of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) ElementType

func (CustomerGatewaysCustomerGatewayOutput) Id

The ID of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) IpAddress

A IP address of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) Status

The status of the customer gateway.

func (CustomerGatewaysCustomerGatewayOutput) ToCustomerGatewaysCustomerGatewayOutput

func (o CustomerGatewaysCustomerGatewayOutput) ToCustomerGatewaysCustomerGatewayOutput() CustomerGatewaysCustomerGatewayOutput

func (CustomerGatewaysCustomerGatewayOutput) ToCustomerGatewaysCustomerGatewayOutputWithContext

func (o CustomerGatewaysCustomerGatewayOutput) ToCustomerGatewaysCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewaysCustomerGatewayOutput

func (CustomerGatewaysCustomerGatewayOutput) UpdateTime

The update time of customer gateway.

type CustomerGatewaysOutputArgs

type CustomerGatewaysOutputArgs struct {
	// A list of customer gateway names.
	CustomerGatewayNames pulumi.StringArrayInput `pulumi:"customerGatewayNames"`
	// A list of customer gateway ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A IP address of the customer gateway.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// A Name Regex of customer gateway.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking CustomerGateways.

func (CustomerGatewaysOutputArgs) ElementType

func (CustomerGatewaysOutputArgs) ElementType() reflect.Type

type CustomerGatewaysResult

type CustomerGatewaysResult struct {
	CustomerGatewayNames []string `pulumi:"customerGatewayNames"`
	// The collection of customer gateway query.
	CustomerGateways []CustomerGatewaysCustomerGateway `pulumi:"customerGateways"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The IP address of the customer gateway.
	IpAddress  *string `pulumi:"ipAddress"`
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of customer gateway query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by CustomerGateways.

func CustomerGateways

func CustomerGateways(ctx *pulumi.Context, args *CustomerGatewaysArgs, opts ...pulumi.InvokeOption) (*CustomerGatewaysResult, error)

Use this data source to query detailed information of customer gateways ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooCustomerGateway, err := vpn.NewCustomerGateway(ctx, "fooCustomerGateway", &vpn.CustomerGatewayArgs{
			IpAddress:           pulumi.String("192.0.1.3"),
			CustomerGatewayName: pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		_ = vpn.CustomerGatewaysOutput(ctx, vpn.CustomerGatewaysOutputArgs{
			Ids: pulumi.StringArray{
				fooCustomerGateway.ID(),
			},
		}, nil)
		return nil
	})
}

```

type CustomerGatewaysResultOutput

type CustomerGatewaysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by CustomerGateways.

func (CustomerGatewaysResultOutput) CustomerGatewayNames

func (o CustomerGatewaysResultOutput) CustomerGatewayNames() pulumi.StringArrayOutput

func (CustomerGatewaysResultOutput) CustomerGateways

The collection of customer gateway query.

func (CustomerGatewaysResultOutput) ElementType

func (CustomerGatewaysResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CustomerGatewaysResultOutput) Ids

func (CustomerGatewaysResultOutput) IpAddress

The IP address of the customer gateway.

func (CustomerGatewaysResultOutput) NameRegex

func (CustomerGatewaysResultOutput) OutputFile

func (CustomerGatewaysResultOutput) ToCustomerGatewaysResultOutput

func (o CustomerGatewaysResultOutput) ToCustomerGatewaysResultOutput() CustomerGatewaysResultOutput

func (CustomerGatewaysResultOutput) ToCustomerGatewaysResultOutputWithContext

func (o CustomerGatewaysResultOutput) ToCustomerGatewaysResultOutputWithContext(ctx context.Context) CustomerGatewaysResultOutput

func (CustomerGatewaysResultOutput) TotalCount

The total count of customer gateway query.

type Gateway

type Gateway struct {
	pulumi.CustomResourceState

	// The account ID of the VPN gateway.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The bandwidth of the VPN gateway. Unit: Mbps. Values: 5, 10, 20, 50, 100, 200, 500.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The BillingType of the VPN gateway. Only support `PrePaid`. Terraform will only remove the PrePaid VPN gateway from the
	// state file, not actually remove.
	BillingType pulumi.StringPtrOutput `pulumi:"billingType"`
	// The business status of the VPN gateway.
	BusinessStatus pulumi.StringOutput `pulumi:"businessStatus"`
	// The connection count of the VPN gateway.
	ConnectionCount pulumi.IntOutput `pulumi:"connectionCount"`
	// The create time of VPN gateway.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The deleted time of the VPN gateway.
	DeletedTime pulumi.StringOutput `pulumi:"deletedTime"`
	// The description of the VPN gateway.
	Description pulumi.StringOutput `pulumi:"description"`
	// The expired time of the VPN gateway.
	ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"`
	// The IP address of the VPN gateway.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Whether ipsec is enabled.
	IpsecEnabled pulumi.BoolPtrOutput `pulumi:"ipsecEnabled"`
	// The lock reason of the VPN gateway.
	LockReason pulumi.StringOutput `pulumi:"lockReason"`
	// The Period of the VPN gateway. Default value is 12. This parameter is only useful when creating vpn gateway. Default period unit is Month.
	// Value range: 1~9, 12, 24, 36. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The project name of the VPN gateway.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The renew type of the VPN gateway.
	RenewType pulumi.StringOutput `pulumi:"renewType"`
	// The route count of the VPN gateway.
	RouteCount pulumi.IntOutput `pulumi:"routeCount"`
	// Whether ssl is enabled.
	SslEnabled pulumi.BoolPtrOutput `pulumi:"sslEnabled"`
	// The max connections of ssl. This parameter can only be passed in when sslEnabled is true. Default is 5.
	SslMaxConnections pulumi.IntOutput `pulumi:"sslMaxConnections"`
	// The status of the VPN gateway.
	Status pulumi.StringOutput `pulumi:"status"`
	// The ID of the subnet where you want to create the VPN gateway.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Tags.
	Tags GatewayTagArrayOutput `pulumi:"tags"`
	// The update time of VPN gateway.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The ID of the VPC where you want to create the VPN gateway.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
	// The name of the VPN gateway.
	VpnGatewayName pulumi.StringOutput `pulumi:"vpnGatewayName"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijing-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		_, err = vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:          fooVpc.ID(),
			SubnetId:       fooSubnet.ID(),
			Bandwidth:      pulumi.Int(50),
			VpnGatewayName: pulumi.String("acc-test1"),
			Description:    pulumi.String("acc-test1"),
			Period:         pulumi.Int(7),
			ProjectName:    pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VpnGateway can be imported using the id, e.g.

```sh

$ pulumi import volcengine:vpn/gateway:Gateway default vgw-273zkshb2qayo7fap8t2****

```

func GetGateway

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

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

func NewGateway

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

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

func (*Gateway) ElementType

func (*Gateway) ElementType() reflect.Type

func (*Gateway) ToGatewayOutput

func (i *Gateway) ToGatewayOutput() GatewayOutput

func (*Gateway) ToGatewayOutputWithContext

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

type GatewayArgs

type GatewayArgs struct {
	// The bandwidth of the VPN gateway. Unit: Mbps. Values: 5, 10, 20, 50, 100, 200, 500.
	Bandwidth pulumi.IntInput
	// The BillingType of the VPN gateway. Only support `PrePaid`. Terraform will only remove the PrePaid VPN gateway from the
	// state file, not actually remove.
	BillingType pulumi.StringPtrInput
	// The description of the VPN gateway.
	Description pulumi.StringPtrInput
	// Whether ipsec is enabled.
	IpsecEnabled pulumi.BoolPtrInput
	// The Period of the VPN gateway. Default value is 12. This parameter is only useful when creating vpn gateway. Default period unit is Month.
	// Value range: 1~9, 12, 24, 36. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	Period pulumi.IntPtrInput
	// The project name of the VPN gateway.
	ProjectName pulumi.StringPtrInput
	// Whether ssl is enabled.
	SslEnabled pulumi.BoolPtrInput
	// The max connections of ssl. This parameter can only be passed in when sslEnabled is true. Default is 5.
	SslMaxConnections pulumi.IntPtrInput
	// The ID of the subnet where you want to create the VPN gateway.
	SubnetId pulumi.StringInput
	// Tags.
	Tags GatewayTagArrayInput
	// The ID of the VPC where you want to create the VPN gateway.
	VpcId pulumi.StringInput
	// The name of the VPN gateway.
	VpnGatewayName pulumi.StringPtrInput
}

The set of arguments for constructing a Gateway resource.

func (GatewayArgs) ElementType

func (GatewayArgs) ElementType() reflect.Type

type GatewayArray

type GatewayArray []GatewayInput

func (GatewayArray) ElementType

func (GatewayArray) ElementType() reflect.Type

func (GatewayArray) ToGatewayArrayOutput

func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArray) ToGatewayArrayOutputWithContext

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

type GatewayArrayInput

type GatewayArrayInput interface {
	pulumi.Input

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

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

GatewayArray{ GatewayArgs{...} }

type GatewayArrayOutput

type GatewayArrayOutput struct{ *pulumi.OutputState }

func (GatewayArrayOutput) ElementType

func (GatewayArrayOutput) ElementType() reflect.Type

func (GatewayArrayOutput) Index

func (GatewayArrayOutput) ToGatewayArrayOutput

func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArrayOutput) ToGatewayArrayOutputWithContext

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

type GatewayInput

type GatewayInput interface {
	pulumi.Input

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

type GatewayMap

type GatewayMap map[string]GatewayInput

func (GatewayMap) ElementType

func (GatewayMap) ElementType() reflect.Type

func (GatewayMap) ToGatewayMapOutput

func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMap) ToGatewayMapOutputWithContext

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

type GatewayMapInput

type GatewayMapInput interface {
	pulumi.Input

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

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

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

type GatewayMapOutput

type GatewayMapOutput struct{ *pulumi.OutputState }

func (GatewayMapOutput) ElementType

func (GatewayMapOutput) ElementType() reflect.Type

func (GatewayMapOutput) MapIndex

func (GatewayMapOutput) ToGatewayMapOutput

func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMapOutput) ToGatewayMapOutputWithContext

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

type GatewayOutput

type GatewayOutput struct{ *pulumi.OutputState }

func (GatewayOutput) AccountId

func (o GatewayOutput) AccountId() pulumi.StringOutput

The account ID of the VPN gateway.

func (GatewayOutput) Bandwidth

func (o GatewayOutput) Bandwidth() pulumi.IntOutput

The bandwidth of the VPN gateway. Unit: Mbps. Values: 5, 10, 20, 50, 100, 200, 500.

func (GatewayOutput) BillingType

func (o GatewayOutput) BillingType() pulumi.StringPtrOutput

The BillingType of the VPN gateway. Only support `PrePaid`. Terraform will only remove the PrePaid VPN gateway from the state file, not actually remove.

func (GatewayOutput) BusinessStatus

func (o GatewayOutput) BusinessStatus() pulumi.StringOutput

The business status of the VPN gateway.

func (GatewayOutput) ConnectionCount

func (o GatewayOutput) ConnectionCount() pulumi.IntOutput

The connection count of the VPN gateway.

func (GatewayOutput) CreationTime

func (o GatewayOutput) CreationTime() pulumi.StringOutput

The create time of VPN gateway.

func (GatewayOutput) DeletedTime

func (o GatewayOutput) DeletedTime() pulumi.StringOutput

The deleted time of the VPN gateway.

func (GatewayOutput) Description

func (o GatewayOutput) Description() pulumi.StringOutput

The description of the VPN gateway.

func (GatewayOutput) ElementType

func (GatewayOutput) ElementType() reflect.Type

func (GatewayOutput) ExpiredTime

func (o GatewayOutput) ExpiredTime() pulumi.StringOutput

The expired time of the VPN gateway.

func (GatewayOutput) IpAddress

func (o GatewayOutput) IpAddress() pulumi.StringOutput

The IP address of the VPN gateway.

func (GatewayOutput) IpsecEnabled added in v0.0.19

func (o GatewayOutput) IpsecEnabled() pulumi.BoolPtrOutput

Whether ipsec is enabled.

func (GatewayOutput) LockReason

func (o GatewayOutput) LockReason() pulumi.StringOutput

The lock reason of the VPN gateway.

func (GatewayOutput) Period

func (o GatewayOutput) Period() pulumi.IntPtrOutput

The Period of the VPN gateway. Default value is 12. This parameter is only useful when creating vpn gateway. Default period unit is Month. Value range: 1~9, 12, 24, 36. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (GatewayOutput) ProjectName

func (o GatewayOutput) ProjectName() pulumi.StringOutput

The project name of the VPN gateway.

func (GatewayOutput) RenewType

func (o GatewayOutput) RenewType() pulumi.StringOutput

The renew type of the VPN gateway.

func (GatewayOutput) RouteCount

func (o GatewayOutput) RouteCount() pulumi.IntOutput

The route count of the VPN gateway.

func (GatewayOutput) SslEnabled added in v0.0.19

func (o GatewayOutput) SslEnabled() pulumi.BoolPtrOutput

Whether ssl is enabled.

func (GatewayOutput) SslMaxConnections added in v0.0.19

func (o GatewayOutput) SslMaxConnections() pulumi.IntOutput

The max connections of ssl. This parameter can only be passed in when sslEnabled is true. Default is 5.

func (GatewayOutput) Status

func (o GatewayOutput) Status() pulumi.StringOutput

The status of the VPN gateway.

func (GatewayOutput) SubnetId

func (o GatewayOutput) SubnetId() pulumi.StringOutput

The ID of the subnet where you want to create the VPN gateway.

func (GatewayOutput) Tags

Tags.

func (GatewayOutput) ToGatewayOutput

func (o GatewayOutput) ToGatewayOutput() GatewayOutput

func (GatewayOutput) ToGatewayOutputWithContext

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

func (GatewayOutput) UpdateTime

func (o GatewayOutput) UpdateTime() pulumi.StringOutput

The update time of VPN gateway.

func (GatewayOutput) VpcId

func (o GatewayOutput) VpcId() pulumi.StringOutput

The ID of the VPC where you want to create the VPN gateway.

func (GatewayOutput) VpnGatewayId

func (o GatewayOutput) VpnGatewayId() pulumi.StringOutput

The ID of the VPN gateway.

func (GatewayOutput) VpnGatewayName

func (o GatewayOutput) VpnGatewayName() pulumi.StringOutput

The name of the VPN gateway.

type GatewayRoute

type GatewayRoute struct {
	pulumi.CustomResourceState

	// The create time of VPN gateway route.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The destination cidr block of the VPN gateway route.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// The next hop id of the VPN gateway route.
	NextHopId pulumi.StringOutput `pulumi:"nextHopId"`
	// The status of the VPN gateway route.
	Status pulumi.StringOutput `pulumi:"status"`
	// The update time of VPN gateway route.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The ID of the VPN gateway of the VPN gateway route.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
	// The ID of the VPN gateway route.
	VpnGatewayRouteId pulumi.StringOutput `pulumi:"vpnGatewayRouteId"`
}

Provides a resource to manage vpn gateway route ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijing-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:          fooVpc.ID(),
			SubnetId:       fooSubnet.ID(),
			Bandwidth:      pulumi.Int(20),
			VpnGatewayName: pulumi.String("acc-test"),
			Description:    pulumi.String("acc-test"),
			Period:         pulumi.Int(2),
			ProjectName:    pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooCustomerGateway, err := vpn.NewCustomerGateway(ctx, "fooCustomerGateway", &vpn.CustomerGatewayArgs{
			IpAddress:           pulumi.String("192.0.1.3"),
			CustomerGatewayName: pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooConnection, err := vpn.NewConnection(ctx, "fooConnection", &vpn.ConnectionArgs{
			VpnConnectionName: pulumi.String("acc-tf-test"),
			Description:       pulumi.String("acc-tf-test"),
			VpnGatewayId:      fooGateway.ID(),
			CustomerGatewayId: fooCustomerGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				pulumi.String("192.168.0.0/22"),
			},
			RemoteSubnets: pulumi.StringArray{
				pulumi.String("192.161.0.0/20"),
			},
			DpdAction:           pulumi.String("none"),
			NatTraversal:        pulumi.Bool(true),
			IkeConfigPsk:        pulumi.String("acctest@!3"),
			IkeConfigVersion:    pulumi.String("ikev1"),
			IkeConfigMode:       pulumi.String("main"),
			IkeConfigEncAlg:     pulumi.String("aes"),
			IkeConfigAuthAlg:    pulumi.String("md5"),
			IkeConfigDhGroup:    pulumi.String("group2"),
			IkeConfigLifetime:   pulumi.Int(9000),
			IkeConfigLocalId:    pulumi.String("acc_test"),
			IkeConfigRemoteId:   pulumi.String("acc_test"),
			IpsecConfigEncAlg:   pulumi.String("aes"),
			IpsecConfigAuthAlg:  pulumi.String("sha256"),
			IpsecConfigDhGroup:  pulumi.String("group2"),
			IpsecConfigLifetime: pulumi.Int(9000),
			ProjectName:         pulumi.String("default"),
			LogEnabled:          pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = vpn.NewGatewayRoute(ctx, "fooGatewayRoute", &vpn.GatewayRouteArgs{
			VpnGatewayId:         fooGateway.ID(),
			DestinationCidrBlock: pulumi.String("192.168.0.0/20"),
			NextHopId:            fooConnection.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VpnGatewayRoute can be imported using the id, e.g.

```sh

$ pulumi import volcengine:vpn/gatewayRoute:GatewayRoute default vgr-3tex2c6c0v844c****

```

func GetGatewayRoute

func GetGatewayRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayRouteState, opts ...pulumi.ResourceOption) (*GatewayRoute, error)

GetGatewayRoute gets an existing GatewayRoute 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 NewGatewayRoute

func NewGatewayRoute(ctx *pulumi.Context,
	name string, args *GatewayRouteArgs, opts ...pulumi.ResourceOption) (*GatewayRoute, error)

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

func (*GatewayRoute) ElementType

func (*GatewayRoute) ElementType() reflect.Type

func (*GatewayRoute) ToGatewayRouteOutput

func (i *GatewayRoute) ToGatewayRouteOutput() GatewayRouteOutput

func (*GatewayRoute) ToGatewayRouteOutputWithContext

func (i *GatewayRoute) ToGatewayRouteOutputWithContext(ctx context.Context) GatewayRouteOutput

type GatewayRouteArgs

type GatewayRouteArgs struct {
	// The destination cidr block of the VPN gateway route.
	DestinationCidrBlock pulumi.StringInput
	// The next hop id of the VPN gateway route.
	NextHopId pulumi.StringInput
	// The ID of the VPN gateway of the VPN gateway route.
	VpnGatewayId pulumi.StringInput
}

The set of arguments for constructing a GatewayRoute resource.

func (GatewayRouteArgs) ElementType

func (GatewayRouteArgs) ElementType() reflect.Type

type GatewayRouteArray

type GatewayRouteArray []GatewayRouteInput

func (GatewayRouteArray) ElementType

func (GatewayRouteArray) ElementType() reflect.Type

func (GatewayRouteArray) ToGatewayRouteArrayOutput

func (i GatewayRouteArray) ToGatewayRouteArrayOutput() GatewayRouteArrayOutput

func (GatewayRouteArray) ToGatewayRouteArrayOutputWithContext

func (i GatewayRouteArray) ToGatewayRouteArrayOutputWithContext(ctx context.Context) GatewayRouteArrayOutput

type GatewayRouteArrayInput

type GatewayRouteArrayInput interface {
	pulumi.Input

	ToGatewayRouteArrayOutput() GatewayRouteArrayOutput
	ToGatewayRouteArrayOutputWithContext(context.Context) GatewayRouteArrayOutput
}

GatewayRouteArrayInput is an input type that accepts GatewayRouteArray and GatewayRouteArrayOutput values. You can construct a concrete instance of `GatewayRouteArrayInput` via:

GatewayRouteArray{ GatewayRouteArgs{...} }

type GatewayRouteArrayOutput

type GatewayRouteArrayOutput struct{ *pulumi.OutputState }

func (GatewayRouteArrayOutput) ElementType

func (GatewayRouteArrayOutput) ElementType() reflect.Type

func (GatewayRouteArrayOutput) Index

func (GatewayRouteArrayOutput) ToGatewayRouteArrayOutput

func (o GatewayRouteArrayOutput) ToGatewayRouteArrayOutput() GatewayRouteArrayOutput

func (GatewayRouteArrayOutput) ToGatewayRouteArrayOutputWithContext

func (o GatewayRouteArrayOutput) ToGatewayRouteArrayOutputWithContext(ctx context.Context) GatewayRouteArrayOutput

type GatewayRouteInput

type GatewayRouteInput interface {
	pulumi.Input

	ToGatewayRouteOutput() GatewayRouteOutput
	ToGatewayRouteOutputWithContext(ctx context.Context) GatewayRouteOutput
}

type GatewayRouteMap

type GatewayRouteMap map[string]GatewayRouteInput

func (GatewayRouteMap) ElementType

func (GatewayRouteMap) ElementType() reflect.Type

func (GatewayRouteMap) ToGatewayRouteMapOutput

func (i GatewayRouteMap) ToGatewayRouteMapOutput() GatewayRouteMapOutput

func (GatewayRouteMap) ToGatewayRouteMapOutputWithContext

func (i GatewayRouteMap) ToGatewayRouteMapOutputWithContext(ctx context.Context) GatewayRouteMapOutput

type GatewayRouteMapInput

type GatewayRouteMapInput interface {
	pulumi.Input

	ToGatewayRouteMapOutput() GatewayRouteMapOutput
	ToGatewayRouteMapOutputWithContext(context.Context) GatewayRouteMapOutput
}

GatewayRouteMapInput is an input type that accepts GatewayRouteMap and GatewayRouteMapOutput values. You can construct a concrete instance of `GatewayRouteMapInput` via:

GatewayRouteMap{ "key": GatewayRouteArgs{...} }

type GatewayRouteMapOutput

type GatewayRouteMapOutput struct{ *pulumi.OutputState }

func (GatewayRouteMapOutput) ElementType

func (GatewayRouteMapOutput) ElementType() reflect.Type

func (GatewayRouteMapOutput) MapIndex

func (GatewayRouteMapOutput) ToGatewayRouteMapOutput

func (o GatewayRouteMapOutput) ToGatewayRouteMapOutput() GatewayRouteMapOutput

func (GatewayRouteMapOutput) ToGatewayRouteMapOutputWithContext

func (o GatewayRouteMapOutput) ToGatewayRouteMapOutputWithContext(ctx context.Context) GatewayRouteMapOutput

type GatewayRouteOutput

type GatewayRouteOutput struct{ *pulumi.OutputState }

func (GatewayRouteOutput) CreationTime

func (o GatewayRouteOutput) CreationTime() pulumi.StringOutput

The create time of VPN gateway route.

func (GatewayRouteOutput) DestinationCidrBlock

func (o GatewayRouteOutput) DestinationCidrBlock() pulumi.StringOutput

The destination cidr block of the VPN gateway route.

func (GatewayRouteOutput) ElementType

func (GatewayRouteOutput) ElementType() reflect.Type

func (GatewayRouteOutput) NextHopId

func (o GatewayRouteOutput) NextHopId() pulumi.StringOutput

The next hop id of the VPN gateway route.

func (GatewayRouteOutput) Status

The status of the VPN gateway route.

func (GatewayRouteOutput) ToGatewayRouteOutput

func (o GatewayRouteOutput) ToGatewayRouteOutput() GatewayRouteOutput

func (GatewayRouteOutput) ToGatewayRouteOutputWithContext

func (o GatewayRouteOutput) ToGatewayRouteOutputWithContext(ctx context.Context) GatewayRouteOutput

func (GatewayRouteOutput) UpdateTime

func (o GatewayRouteOutput) UpdateTime() pulumi.StringOutput

The update time of VPN gateway route.

func (GatewayRouteOutput) VpnGatewayId

func (o GatewayRouteOutput) VpnGatewayId() pulumi.StringOutput

The ID of the VPN gateway of the VPN gateway route.

func (GatewayRouteOutput) VpnGatewayRouteId

func (o GatewayRouteOutput) VpnGatewayRouteId() pulumi.StringOutput

The ID of the VPN gateway route.

type GatewayRouteState

type GatewayRouteState struct {
	// The create time of VPN gateway route.
	CreationTime pulumi.StringPtrInput
	// The destination cidr block of the VPN gateway route.
	DestinationCidrBlock pulumi.StringPtrInput
	// The next hop id of the VPN gateway route.
	NextHopId pulumi.StringPtrInput
	// The status of the VPN gateway route.
	Status pulumi.StringPtrInput
	// The update time of VPN gateway route.
	UpdateTime pulumi.StringPtrInput
	// The ID of the VPN gateway of the VPN gateway route.
	VpnGatewayId pulumi.StringPtrInput
	// The ID of the VPN gateway route.
	VpnGatewayRouteId pulumi.StringPtrInput
}

func (GatewayRouteState) ElementType

func (GatewayRouteState) ElementType() reflect.Type

type GatewayRoutesArgs

type GatewayRoutesArgs struct {
	// A destination cidr block.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// A list of VPN gateway route ids.
	Ids []string `pulumi:"ids"`
	// An ID of next hop.
	NextHopId *string `pulumi:"nextHopId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// An ID of VPN gateway.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
}

A collection of arguments for invoking GatewayRoutes.

type GatewayRoutesOutputArgs

type GatewayRoutesOutputArgs struct {
	// A destination cidr block.
	DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
	// A list of VPN gateway route ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// An ID of next hop.
	NextHopId pulumi.StringPtrInput `pulumi:"nextHopId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// An ID of VPN gateway.
	VpnGatewayId pulumi.StringPtrInput `pulumi:"vpnGatewayId"`
}

A collection of arguments for invoking GatewayRoutes.

func (GatewayRoutesOutputArgs) ElementType

func (GatewayRoutesOutputArgs) ElementType() reflect.Type

type GatewayRoutesResult

type GatewayRoutesResult struct {
	// The destination cidr block of the VPN gateway route.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The next hop id of the VPN gateway route.
	NextHopId  *string `pulumi:"nextHopId"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of VPN gateway route query.
	TotalCount int `pulumi:"totalCount"`
	// The ID of the VPN gateway of the VPN gateway route.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
	// The collection of VPN gateway route query.
	VpnGatewayRoutes []GatewayRoutesVpnGatewayRoute `pulumi:"vpnGatewayRoutes"`
}

A collection of values returned by GatewayRoutes.

func GatewayRoutes

func GatewayRoutes(ctx *pulumi.Context, args *GatewayRoutesArgs, opts ...pulumi.InvokeOption) (*GatewayRoutesResult, error)

Use this data source to query detailed information of vpn gateway routes ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijig-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:          fooVpc.ID(),
			SubnetId:       fooSubnet.ID(),
			Bandwidth:      pulumi.Int(20),
			VpnGatewayName: pulumi.String("acc-test"),
			Description:    pulumi.String("acc-test"),
			Period:         pulumi.Int(2),
			ProjectName:    pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooCustomerGateway, err := vpn.NewCustomerGateway(ctx, "fooCustomerGateway", &vpn.CustomerGatewayArgs{
			IpAddress:           pulumi.String("192.0.1.3"),
			CustomerGatewayName: pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooConnection, err := vpn.NewConnection(ctx, "fooConnection", &vpn.ConnectionArgs{
			VpnConnectionName: pulumi.String("acc-tf-test"),
			Description:       pulumi.String("acc-tf-test"),
			VpnGatewayId:      fooGateway.ID(),
			CustomerGatewayId: fooCustomerGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				pulumi.String("192.168.0.0/22"),
			},
			RemoteSubnets: pulumi.StringArray{
				pulumi.String("192.161.0.0/20"),
			},
			DpdAction:           pulumi.String("none"),
			NatTraversal:        pulumi.Bool(true),
			IkeConfigPsk:        pulumi.String("acctest@!3"),
			IkeConfigVersion:    pulumi.String("ikev1"),
			IkeConfigMode:       pulumi.String("main"),
			IkeConfigEncAlg:     pulumi.String("aes"),
			IkeConfigAuthAlg:    pulumi.String("md5"),
			IkeConfigDhGroup:    pulumi.String("group2"),
			IkeConfigLifetime:   pulumi.Int(9000),
			IkeConfigLocalId:    pulumi.String("acc_test"),
			IkeConfigRemoteId:   pulumi.String("acc_test"),
			IpsecConfigEncAlg:   pulumi.String("aes"),
			IpsecConfigAuthAlg:  pulumi.String("sha256"),
			IpsecConfigDhGroup:  pulumi.String("group2"),
			IpsecConfigLifetime: pulumi.Int(9000),
			ProjectName:         pulumi.String("default"),
			LogEnabled:          pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		fooGatewayRoute, err := vpn.NewGatewayRoute(ctx, "fooGatewayRoute", &vpn.GatewayRouteArgs{
			VpnGatewayId:         fooGateway.ID(),
			DestinationCidrBlock: pulumi.String("192.168.0.0/20"),
			NextHopId:            fooConnection.ID(),
		})
		if err != nil {
			return err
		}
		_ = vpn.GatewayRoutesOutput(ctx, vpn.GatewayRoutesOutputArgs{
			Ids: pulumi.StringArray{
				fooGatewayRoute.ID(),
			},
		}, nil)
		return nil
	})
}

```

type GatewayRoutesResultOutput

type GatewayRoutesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by GatewayRoutes.

func (GatewayRoutesResultOutput) DestinationCidrBlock

func (o GatewayRoutesResultOutput) DestinationCidrBlock() pulumi.StringPtrOutput

The destination cidr block of the VPN gateway route.

func (GatewayRoutesResultOutput) ElementType

func (GatewayRoutesResultOutput) ElementType() reflect.Type

func (GatewayRoutesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GatewayRoutesResultOutput) Ids

func (GatewayRoutesResultOutput) NextHopId

The next hop id of the VPN gateway route.

func (GatewayRoutesResultOutput) OutputFile

func (GatewayRoutesResultOutput) ToGatewayRoutesResultOutput

func (o GatewayRoutesResultOutput) ToGatewayRoutesResultOutput() GatewayRoutesResultOutput

func (GatewayRoutesResultOutput) ToGatewayRoutesResultOutputWithContext

func (o GatewayRoutesResultOutput) ToGatewayRoutesResultOutputWithContext(ctx context.Context) GatewayRoutesResultOutput

func (GatewayRoutesResultOutput) TotalCount

The total count of VPN gateway route query.

func (GatewayRoutesResultOutput) VpnGatewayId

The ID of the VPN gateway of the VPN gateway route.

func (GatewayRoutesResultOutput) VpnGatewayRoutes

The collection of VPN gateway route query.

type GatewayRoutesVpnGatewayRoute

type GatewayRoutesVpnGatewayRoute struct {
	// The create time of VPN gateway route.
	CreationTime string `pulumi:"creationTime"`
	// A destination cidr block.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// The ID of the VPN gateway route.
	Id string `pulumi:"id"`
	// An ID of next hop.
	NextHopId string `pulumi:"nextHopId"`
	// The status of the VPN gateway route.
	Status string `pulumi:"status"`
	// The update time of VPN gateway route.
	UpdateTime string `pulumi:"updateTime"`
	// An ID of VPN gateway.
	VpnGatewayId string `pulumi:"vpnGatewayId"`
	// The ID of the VPN gateway route.
	VpnGatewayRouteId string `pulumi:"vpnGatewayRouteId"`
}

type GatewayRoutesVpnGatewayRouteArgs

type GatewayRoutesVpnGatewayRouteArgs struct {
	// The create time of VPN gateway route.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// A destination cidr block.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// The ID of the VPN gateway route.
	Id pulumi.StringInput `pulumi:"id"`
	// An ID of next hop.
	NextHopId pulumi.StringInput `pulumi:"nextHopId"`
	// The status of the VPN gateway route.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time of VPN gateway route.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// An ID of VPN gateway.
	VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"`
	// The ID of the VPN gateway route.
	VpnGatewayRouteId pulumi.StringInput `pulumi:"vpnGatewayRouteId"`
}

func (GatewayRoutesVpnGatewayRouteArgs) ElementType

func (GatewayRoutesVpnGatewayRouteArgs) ToGatewayRoutesVpnGatewayRouteOutput

func (i GatewayRoutesVpnGatewayRouteArgs) ToGatewayRoutesVpnGatewayRouteOutput() GatewayRoutesVpnGatewayRouteOutput

func (GatewayRoutesVpnGatewayRouteArgs) ToGatewayRoutesVpnGatewayRouteOutputWithContext

func (i GatewayRoutesVpnGatewayRouteArgs) ToGatewayRoutesVpnGatewayRouteOutputWithContext(ctx context.Context) GatewayRoutesVpnGatewayRouteOutput

type GatewayRoutesVpnGatewayRouteArray

type GatewayRoutesVpnGatewayRouteArray []GatewayRoutesVpnGatewayRouteInput

func (GatewayRoutesVpnGatewayRouteArray) ElementType

func (GatewayRoutesVpnGatewayRouteArray) ToGatewayRoutesVpnGatewayRouteArrayOutput

func (i GatewayRoutesVpnGatewayRouteArray) ToGatewayRoutesVpnGatewayRouteArrayOutput() GatewayRoutesVpnGatewayRouteArrayOutput

func (GatewayRoutesVpnGatewayRouteArray) ToGatewayRoutesVpnGatewayRouteArrayOutputWithContext

func (i GatewayRoutesVpnGatewayRouteArray) ToGatewayRoutesVpnGatewayRouteArrayOutputWithContext(ctx context.Context) GatewayRoutesVpnGatewayRouteArrayOutput

type GatewayRoutesVpnGatewayRouteArrayInput

type GatewayRoutesVpnGatewayRouteArrayInput interface {
	pulumi.Input

	ToGatewayRoutesVpnGatewayRouteArrayOutput() GatewayRoutesVpnGatewayRouteArrayOutput
	ToGatewayRoutesVpnGatewayRouteArrayOutputWithContext(context.Context) GatewayRoutesVpnGatewayRouteArrayOutput
}

GatewayRoutesVpnGatewayRouteArrayInput is an input type that accepts GatewayRoutesVpnGatewayRouteArray and GatewayRoutesVpnGatewayRouteArrayOutput values. You can construct a concrete instance of `GatewayRoutesVpnGatewayRouteArrayInput` via:

GatewayRoutesVpnGatewayRouteArray{ GatewayRoutesVpnGatewayRouteArgs{...} }

type GatewayRoutesVpnGatewayRouteArrayOutput

type GatewayRoutesVpnGatewayRouteArrayOutput struct{ *pulumi.OutputState }

func (GatewayRoutesVpnGatewayRouteArrayOutput) ElementType

func (GatewayRoutesVpnGatewayRouteArrayOutput) Index

func (GatewayRoutesVpnGatewayRouteArrayOutput) ToGatewayRoutesVpnGatewayRouteArrayOutput

func (o GatewayRoutesVpnGatewayRouteArrayOutput) ToGatewayRoutesVpnGatewayRouteArrayOutput() GatewayRoutesVpnGatewayRouteArrayOutput

func (GatewayRoutesVpnGatewayRouteArrayOutput) ToGatewayRoutesVpnGatewayRouteArrayOutputWithContext

func (o GatewayRoutesVpnGatewayRouteArrayOutput) ToGatewayRoutesVpnGatewayRouteArrayOutputWithContext(ctx context.Context) GatewayRoutesVpnGatewayRouteArrayOutput

type GatewayRoutesVpnGatewayRouteInput

type GatewayRoutesVpnGatewayRouteInput interface {
	pulumi.Input

	ToGatewayRoutesVpnGatewayRouteOutput() GatewayRoutesVpnGatewayRouteOutput
	ToGatewayRoutesVpnGatewayRouteOutputWithContext(context.Context) GatewayRoutesVpnGatewayRouteOutput
}

GatewayRoutesVpnGatewayRouteInput is an input type that accepts GatewayRoutesVpnGatewayRouteArgs and GatewayRoutesVpnGatewayRouteOutput values. You can construct a concrete instance of `GatewayRoutesVpnGatewayRouteInput` via:

GatewayRoutesVpnGatewayRouteArgs{...}

type GatewayRoutesVpnGatewayRouteOutput

type GatewayRoutesVpnGatewayRouteOutput struct{ *pulumi.OutputState }

func (GatewayRoutesVpnGatewayRouteOutput) CreationTime

The create time of VPN gateway route.

func (GatewayRoutesVpnGatewayRouteOutput) DestinationCidrBlock

func (o GatewayRoutesVpnGatewayRouteOutput) DestinationCidrBlock() pulumi.StringOutput

A destination cidr block.

func (GatewayRoutesVpnGatewayRouteOutput) ElementType

func (GatewayRoutesVpnGatewayRouteOutput) Id

The ID of the VPN gateway route.

func (GatewayRoutesVpnGatewayRouteOutput) NextHopId

An ID of next hop.

func (GatewayRoutesVpnGatewayRouteOutput) Status

The status of the VPN gateway route.

func (GatewayRoutesVpnGatewayRouteOutput) ToGatewayRoutesVpnGatewayRouteOutput

func (o GatewayRoutesVpnGatewayRouteOutput) ToGatewayRoutesVpnGatewayRouteOutput() GatewayRoutesVpnGatewayRouteOutput

func (GatewayRoutesVpnGatewayRouteOutput) ToGatewayRoutesVpnGatewayRouteOutputWithContext

func (o GatewayRoutesVpnGatewayRouteOutput) ToGatewayRoutesVpnGatewayRouteOutputWithContext(ctx context.Context) GatewayRoutesVpnGatewayRouteOutput

func (GatewayRoutesVpnGatewayRouteOutput) UpdateTime

The update time of VPN gateway route.

func (GatewayRoutesVpnGatewayRouteOutput) VpnGatewayId

An ID of VPN gateway.

func (GatewayRoutesVpnGatewayRouteOutput) VpnGatewayRouteId

The ID of the VPN gateway route.

type GatewayState

type GatewayState struct {
	// The account ID of the VPN gateway.
	AccountId pulumi.StringPtrInput
	// The bandwidth of the VPN gateway. Unit: Mbps. Values: 5, 10, 20, 50, 100, 200, 500.
	Bandwidth pulumi.IntPtrInput
	// The BillingType of the VPN gateway. Only support `PrePaid`. Terraform will only remove the PrePaid VPN gateway from the
	// state file, not actually remove.
	BillingType pulumi.StringPtrInput
	// The business status of the VPN gateway.
	BusinessStatus pulumi.StringPtrInput
	// The connection count of the VPN gateway.
	ConnectionCount pulumi.IntPtrInput
	// The create time of VPN gateway.
	CreationTime pulumi.StringPtrInput
	// The deleted time of the VPN gateway.
	DeletedTime pulumi.StringPtrInput
	// The description of the VPN gateway.
	Description pulumi.StringPtrInput
	// The expired time of the VPN gateway.
	ExpiredTime pulumi.StringPtrInput
	// The IP address of the VPN gateway.
	IpAddress pulumi.StringPtrInput
	// Whether ipsec is enabled.
	IpsecEnabled pulumi.BoolPtrInput
	// The lock reason of the VPN gateway.
	LockReason pulumi.StringPtrInput
	// The Period of the VPN gateway. Default value is 12. This parameter is only useful when creating vpn gateway. Default period unit is Month.
	// Value range: 1~9, 12, 24, 36. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	Period pulumi.IntPtrInput
	// The project name of the VPN gateway.
	ProjectName pulumi.StringPtrInput
	// The renew type of the VPN gateway.
	RenewType pulumi.StringPtrInput
	// The route count of the VPN gateway.
	RouteCount pulumi.IntPtrInput
	// Whether ssl is enabled.
	SslEnabled pulumi.BoolPtrInput
	// The max connections of ssl. This parameter can only be passed in when sslEnabled is true. Default is 5.
	SslMaxConnections pulumi.IntPtrInput
	// The status of the VPN gateway.
	Status pulumi.StringPtrInput
	// The ID of the subnet where you want to create the VPN gateway.
	SubnetId pulumi.StringPtrInput
	// Tags.
	Tags GatewayTagArrayInput
	// The update time of VPN gateway.
	UpdateTime pulumi.StringPtrInput
	// The ID of the VPC where you want to create the VPN gateway.
	VpcId pulumi.StringPtrInput
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringPtrInput
	// The name of the VPN gateway.
	VpnGatewayName pulumi.StringPtrInput
}

func (GatewayState) ElementType

func (GatewayState) ElementType() reflect.Type

type GatewayTag

type GatewayTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type GatewayTagArgs

type GatewayTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GatewayTagArgs) ElementType

func (GatewayTagArgs) ElementType() reflect.Type

func (GatewayTagArgs) ToGatewayTagOutput

func (i GatewayTagArgs) ToGatewayTagOutput() GatewayTagOutput

func (GatewayTagArgs) ToGatewayTagOutputWithContext

func (i GatewayTagArgs) ToGatewayTagOutputWithContext(ctx context.Context) GatewayTagOutput

type GatewayTagArray

type GatewayTagArray []GatewayTagInput

func (GatewayTagArray) ElementType

func (GatewayTagArray) ElementType() reflect.Type

func (GatewayTagArray) ToGatewayTagArrayOutput

func (i GatewayTagArray) ToGatewayTagArrayOutput() GatewayTagArrayOutput

func (GatewayTagArray) ToGatewayTagArrayOutputWithContext

func (i GatewayTagArray) ToGatewayTagArrayOutputWithContext(ctx context.Context) GatewayTagArrayOutput

type GatewayTagArrayInput

type GatewayTagArrayInput interface {
	pulumi.Input

	ToGatewayTagArrayOutput() GatewayTagArrayOutput
	ToGatewayTagArrayOutputWithContext(context.Context) GatewayTagArrayOutput
}

GatewayTagArrayInput is an input type that accepts GatewayTagArray and GatewayTagArrayOutput values. You can construct a concrete instance of `GatewayTagArrayInput` via:

GatewayTagArray{ GatewayTagArgs{...} }

type GatewayTagArrayOutput

type GatewayTagArrayOutput struct{ *pulumi.OutputState }

func (GatewayTagArrayOutput) ElementType

func (GatewayTagArrayOutput) ElementType() reflect.Type

func (GatewayTagArrayOutput) Index

func (GatewayTagArrayOutput) ToGatewayTagArrayOutput

func (o GatewayTagArrayOutput) ToGatewayTagArrayOutput() GatewayTagArrayOutput

func (GatewayTagArrayOutput) ToGatewayTagArrayOutputWithContext

func (o GatewayTagArrayOutput) ToGatewayTagArrayOutputWithContext(ctx context.Context) GatewayTagArrayOutput

type GatewayTagInput

type GatewayTagInput interface {
	pulumi.Input

	ToGatewayTagOutput() GatewayTagOutput
	ToGatewayTagOutputWithContext(context.Context) GatewayTagOutput
}

GatewayTagInput is an input type that accepts GatewayTagArgs and GatewayTagOutput values. You can construct a concrete instance of `GatewayTagInput` via:

GatewayTagArgs{...}

type GatewayTagOutput

type GatewayTagOutput struct{ *pulumi.OutputState }

func (GatewayTagOutput) ElementType

func (GatewayTagOutput) ElementType() reflect.Type

func (GatewayTagOutput) Key

The Key of Tags.

func (GatewayTagOutput) ToGatewayTagOutput

func (o GatewayTagOutput) ToGatewayTagOutput() GatewayTagOutput

func (GatewayTagOutput) ToGatewayTagOutputWithContext

func (o GatewayTagOutput) ToGatewayTagOutputWithContext(ctx context.Context) GatewayTagOutput

func (GatewayTagOutput) Value

The Value of Tags.

type GatewaysArgs

type GatewaysArgs struct {
	// A list of VPN gateway ids.
	Ids []string `pulumi:"ids"`
	// A IP address of the VPN gateway.
	IpAddress *string `pulumi:"ipAddress"`
	// A Name Regex of VPN gateway.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// A subnet ID of the VPN gateway.
	SubnetId *string `pulumi:"subnetId"`
	// Tags.
	Tags []GatewaysTag `pulumi:"tags"`
	// A VPC ID of the VPN gateway.
	VpcId *string `pulumi:"vpcId"`
	// A list of VPN gateway names.
	VpnGatewayNames []string `pulumi:"vpnGatewayNames"`
}

A collection of arguments for invoking Gateways.

type GatewaysOutputArgs

type GatewaysOutputArgs struct {
	// A list of VPN gateway ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A IP address of the VPN gateway.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// A Name Regex of VPN gateway.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A subnet ID of the VPN gateway.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// Tags.
	Tags GatewaysTagArrayInput `pulumi:"tags"`
	// A VPC ID of the VPN gateway.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
	// A list of VPN gateway names.
	VpnGatewayNames pulumi.StringArrayInput `pulumi:"vpnGatewayNames"`
}

A collection of arguments for invoking Gateways.

func (GatewaysOutputArgs) ElementType

func (GatewaysOutputArgs) ElementType() reflect.Type

type GatewaysResult

type GatewaysResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The IP address of the VPN gateway.
	IpAddress  *string `pulumi:"ipAddress"`
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	SubnetId   *string `pulumi:"subnetId"`
	// Tags.
	Tags []GatewaysTag `pulumi:"tags"`
	// The total count of VPN gateway query.
	TotalCount int `pulumi:"totalCount"`
	// The VPC ID of the VPN gateway.
	VpcId           *string  `pulumi:"vpcId"`
	VpnGatewayNames []string `pulumi:"vpnGatewayNames"`
	// The collection of VPN gateway query.
	VpnGateways []GatewaysVpnGateway `pulumi:"vpnGateways"`
}

A collection of values returned by Gateways.

func Gateways

func Gateways(ctx *pulumi.Context, args *GatewaysArgs, opts ...pulumi.InvokeOption) (*GatewaysResult, error)

Use this data source to query detailed information of vpn gateways ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijing-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:          fooVpc.ID(),
			SubnetId:       fooSubnet.ID(),
			Bandwidth:      pulumi.Int(20),
			VpnGatewayName: pulumi.String("acc-test"),
			Description:    pulumi.String("acc-test"),
			Period:         pulumi.Int(2),
			ProjectName:    pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		_ = vpn.GatewaysOutput(ctx, vpn.GatewaysOutputArgs{
			Ids: pulumi.StringArray{
				fooGateway.ID(),
			},
		}, nil)
		return nil
	})
}

```

type GatewaysResultOutput

type GatewaysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Gateways.

func (GatewaysResultOutput) ElementType

func (GatewaysResultOutput) ElementType() reflect.Type

func (GatewaysResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GatewaysResultOutput) Ids

func (GatewaysResultOutput) IpAddress

The IP address of the VPN gateway.

func (GatewaysResultOutput) NameRegex

func (GatewaysResultOutput) OutputFile

func (GatewaysResultOutput) SubnetId

func (GatewaysResultOutput) Tags

Tags.

func (GatewaysResultOutput) ToGatewaysResultOutput

func (o GatewaysResultOutput) ToGatewaysResultOutput() GatewaysResultOutput

func (GatewaysResultOutput) ToGatewaysResultOutputWithContext

func (o GatewaysResultOutput) ToGatewaysResultOutputWithContext(ctx context.Context) GatewaysResultOutput

func (GatewaysResultOutput) TotalCount

func (o GatewaysResultOutput) TotalCount() pulumi.IntOutput

The total count of VPN gateway query.

func (GatewaysResultOutput) VpcId

The VPC ID of the VPN gateway.

func (GatewaysResultOutput) VpnGatewayNames

func (o GatewaysResultOutput) VpnGatewayNames() pulumi.StringArrayOutput

func (GatewaysResultOutput) VpnGateways

The collection of VPN gateway query.

type GatewaysTag

type GatewaysTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type GatewaysTagArgs

type GatewaysTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GatewaysTagArgs) ElementType

func (GatewaysTagArgs) ElementType() reflect.Type

func (GatewaysTagArgs) ToGatewaysTagOutput

func (i GatewaysTagArgs) ToGatewaysTagOutput() GatewaysTagOutput

func (GatewaysTagArgs) ToGatewaysTagOutputWithContext

func (i GatewaysTagArgs) ToGatewaysTagOutputWithContext(ctx context.Context) GatewaysTagOutput

type GatewaysTagArray

type GatewaysTagArray []GatewaysTagInput

func (GatewaysTagArray) ElementType

func (GatewaysTagArray) ElementType() reflect.Type

func (GatewaysTagArray) ToGatewaysTagArrayOutput

func (i GatewaysTagArray) ToGatewaysTagArrayOutput() GatewaysTagArrayOutput

func (GatewaysTagArray) ToGatewaysTagArrayOutputWithContext

func (i GatewaysTagArray) ToGatewaysTagArrayOutputWithContext(ctx context.Context) GatewaysTagArrayOutput

type GatewaysTagArrayInput

type GatewaysTagArrayInput interface {
	pulumi.Input

	ToGatewaysTagArrayOutput() GatewaysTagArrayOutput
	ToGatewaysTagArrayOutputWithContext(context.Context) GatewaysTagArrayOutput
}

GatewaysTagArrayInput is an input type that accepts GatewaysTagArray and GatewaysTagArrayOutput values. You can construct a concrete instance of `GatewaysTagArrayInput` via:

GatewaysTagArray{ GatewaysTagArgs{...} }

type GatewaysTagArrayOutput

type GatewaysTagArrayOutput struct{ *pulumi.OutputState }

func (GatewaysTagArrayOutput) ElementType

func (GatewaysTagArrayOutput) ElementType() reflect.Type

func (GatewaysTagArrayOutput) Index

func (GatewaysTagArrayOutput) ToGatewaysTagArrayOutput

func (o GatewaysTagArrayOutput) ToGatewaysTagArrayOutput() GatewaysTagArrayOutput

func (GatewaysTagArrayOutput) ToGatewaysTagArrayOutputWithContext

func (o GatewaysTagArrayOutput) ToGatewaysTagArrayOutputWithContext(ctx context.Context) GatewaysTagArrayOutput

type GatewaysTagInput

type GatewaysTagInput interface {
	pulumi.Input

	ToGatewaysTagOutput() GatewaysTagOutput
	ToGatewaysTagOutputWithContext(context.Context) GatewaysTagOutput
}

GatewaysTagInput is an input type that accepts GatewaysTagArgs and GatewaysTagOutput values. You can construct a concrete instance of `GatewaysTagInput` via:

GatewaysTagArgs{...}

type GatewaysTagOutput

type GatewaysTagOutput struct{ *pulumi.OutputState }

func (GatewaysTagOutput) ElementType

func (GatewaysTagOutput) ElementType() reflect.Type

func (GatewaysTagOutput) Key

The Key of Tags.

func (GatewaysTagOutput) ToGatewaysTagOutput

func (o GatewaysTagOutput) ToGatewaysTagOutput() GatewaysTagOutput

func (GatewaysTagOutput) ToGatewaysTagOutputWithContext

func (o GatewaysTagOutput) ToGatewaysTagOutputWithContext(ctx context.Context) GatewaysTagOutput

func (GatewaysTagOutput) Value

The Value of Tags.

type GatewaysVpnGateway

type GatewaysVpnGateway struct {
	// The account ID of the VPN gateway.
	AccountId string `pulumi:"accountId"`
	// The bandwidth of the VPN gateway.
	Bandwidth int `pulumi:"bandwidth"`
	// The BillingType of the VPN gateway.
	BillingType string `pulumi:"billingType"`
	// The business status of the VPN gateway.
	BusinessStatus string `pulumi:"businessStatus"`
	// The connection count of the VPN gateway.
	ConnectionCount int `pulumi:"connectionCount"`
	// The create time of VPN gateway.
	CreationTime string `pulumi:"creationTime"`
	// The deleted time of the VPN gateway.
	DeletedTime string `pulumi:"deletedTime"`
	// The description of the VPN gateway.
	Description string `pulumi:"description"`
	// The expired time of the VPN gateway.
	ExpiredTime string `pulumi:"expiredTime"`
	// The ID of the VPN gateway.
	Id string `pulumi:"id"`
	// A IP address of the VPN gateway.
	IpAddress string `pulumi:"ipAddress"`
	// Whether ipsec is enabled.
	IpsecEnabled bool `pulumi:"ipsecEnabled"`
	// The lock reason of the VPN gateway.
	LockReason string `pulumi:"lockReason"`
	// The name of project.
	ProjectName string `pulumi:"projectName"`
	// The route count of the VPN gateway.
	RouteCount int `pulumi:"routeCount"`
	// Whether ssl is enabled.
	SslEnabled bool `pulumi:"sslEnabled"`
	// The max connections of ssl.
	SslMaxConnections int `pulumi:"sslMaxConnections"`
	// The status of the VPN gateway.
	Status string `pulumi:"status"`
	// A subnet ID of the VPN gateway.
	SubnetId *string `pulumi:"subnetId"`
	// Tags.
	Tags []GatewaysVpnGatewayTag `pulumi:"tags"`
	// The update time of VPN gateway.
	UpdateTime string `pulumi:"updateTime"`
	// A VPC ID of the VPN gateway.
	VpcId string `pulumi:"vpcId"`
	// The ID of the VPN gateway.
	VpnGatewayId string `pulumi:"vpnGatewayId"`
	// The name of the VPN gateway.
	VpnGatewayName string `pulumi:"vpnGatewayName"`
}

type GatewaysVpnGatewayArgs

type GatewaysVpnGatewayArgs struct {
	// The account ID of the VPN gateway.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The bandwidth of the VPN gateway.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The BillingType of the VPN gateway.
	BillingType pulumi.StringInput `pulumi:"billingType"`
	// The business status of the VPN gateway.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The connection count of the VPN gateway.
	ConnectionCount pulumi.IntInput `pulumi:"connectionCount"`
	// The create time of VPN gateway.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The deleted time of the VPN gateway.
	DeletedTime pulumi.StringInput `pulumi:"deletedTime"`
	// The description of the VPN gateway.
	Description pulumi.StringInput `pulumi:"description"`
	// The expired time of the VPN gateway.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The ID of the VPN gateway.
	Id pulumi.StringInput `pulumi:"id"`
	// A IP address of the VPN gateway.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// Whether ipsec is enabled.
	IpsecEnabled pulumi.BoolInput `pulumi:"ipsecEnabled"`
	// The lock reason of the VPN gateway.
	LockReason pulumi.StringInput `pulumi:"lockReason"`
	// The name of project.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// The route count of the VPN gateway.
	RouteCount pulumi.IntInput `pulumi:"routeCount"`
	// Whether ssl is enabled.
	SslEnabled pulumi.BoolInput `pulumi:"sslEnabled"`
	// The max connections of ssl.
	SslMaxConnections pulumi.IntInput `pulumi:"sslMaxConnections"`
	// The status of the VPN gateway.
	Status pulumi.StringInput `pulumi:"status"`
	// A subnet ID of the VPN gateway.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// Tags.
	Tags GatewaysVpnGatewayTagArrayInput `pulumi:"tags"`
	// The update time of VPN gateway.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// A VPC ID of the VPN gateway.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of the VPN gateway.
	VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"`
	// The name of the VPN gateway.
	VpnGatewayName pulumi.StringInput `pulumi:"vpnGatewayName"`
}

func (GatewaysVpnGatewayArgs) ElementType

func (GatewaysVpnGatewayArgs) ElementType() reflect.Type

func (GatewaysVpnGatewayArgs) ToGatewaysVpnGatewayOutput

func (i GatewaysVpnGatewayArgs) ToGatewaysVpnGatewayOutput() GatewaysVpnGatewayOutput

func (GatewaysVpnGatewayArgs) ToGatewaysVpnGatewayOutputWithContext

func (i GatewaysVpnGatewayArgs) ToGatewaysVpnGatewayOutputWithContext(ctx context.Context) GatewaysVpnGatewayOutput

type GatewaysVpnGatewayArray

type GatewaysVpnGatewayArray []GatewaysVpnGatewayInput

func (GatewaysVpnGatewayArray) ElementType

func (GatewaysVpnGatewayArray) ElementType() reflect.Type

func (GatewaysVpnGatewayArray) ToGatewaysVpnGatewayArrayOutput

func (i GatewaysVpnGatewayArray) ToGatewaysVpnGatewayArrayOutput() GatewaysVpnGatewayArrayOutput

func (GatewaysVpnGatewayArray) ToGatewaysVpnGatewayArrayOutputWithContext

func (i GatewaysVpnGatewayArray) ToGatewaysVpnGatewayArrayOutputWithContext(ctx context.Context) GatewaysVpnGatewayArrayOutput

type GatewaysVpnGatewayArrayInput

type GatewaysVpnGatewayArrayInput interface {
	pulumi.Input

	ToGatewaysVpnGatewayArrayOutput() GatewaysVpnGatewayArrayOutput
	ToGatewaysVpnGatewayArrayOutputWithContext(context.Context) GatewaysVpnGatewayArrayOutput
}

GatewaysVpnGatewayArrayInput is an input type that accepts GatewaysVpnGatewayArray and GatewaysVpnGatewayArrayOutput values. You can construct a concrete instance of `GatewaysVpnGatewayArrayInput` via:

GatewaysVpnGatewayArray{ GatewaysVpnGatewayArgs{...} }

type GatewaysVpnGatewayArrayOutput

type GatewaysVpnGatewayArrayOutput struct{ *pulumi.OutputState }

func (GatewaysVpnGatewayArrayOutput) ElementType

func (GatewaysVpnGatewayArrayOutput) Index

func (GatewaysVpnGatewayArrayOutput) ToGatewaysVpnGatewayArrayOutput

func (o GatewaysVpnGatewayArrayOutput) ToGatewaysVpnGatewayArrayOutput() GatewaysVpnGatewayArrayOutput

func (GatewaysVpnGatewayArrayOutput) ToGatewaysVpnGatewayArrayOutputWithContext

func (o GatewaysVpnGatewayArrayOutput) ToGatewaysVpnGatewayArrayOutputWithContext(ctx context.Context) GatewaysVpnGatewayArrayOutput

type GatewaysVpnGatewayInput

type GatewaysVpnGatewayInput interface {
	pulumi.Input

	ToGatewaysVpnGatewayOutput() GatewaysVpnGatewayOutput
	ToGatewaysVpnGatewayOutputWithContext(context.Context) GatewaysVpnGatewayOutput
}

GatewaysVpnGatewayInput is an input type that accepts GatewaysVpnGatewayArgs and GatewaysVpnGatewayOutput values. You can construct a concrete instance of `GatewaysVpnGatewayInput` via:

GatewaysVpnGatewayArgs{...}

type GatewaysVpnGatewayOutput

type GatewaysVpnGatewayOutput struct{ *pulumi.OutputState }

func (GatewaysVpnGatewayOutput) AccountId

The account ID of the VPN gateway.

func (GatewaysVpnGatewayOutput) Bandwidth

The bandwidth of the VPN gateway.

func (GatewaysVpnGatewayOutput) BillingType

The BillingType of the VPN gateway.

func (GatewaysVpnGatewayOutput) BusinessStatus

func (o GatewaysVpnGatewayOutput) BusinessStatus() pulumi.StringOutput

The business status of the VPN gateway.

func (GatewaysVpnGatewayOutput) ConnectionCount

func (o GatewaysVpnGatewayOutput) ConnectionCount() pulumi.IntOutput

The connection count of the VPN gateway.

func (GatewaysVpnGatewayOutput) CreationTime

func (o GatewaysVpnGatewayOutput) CreationTime() pulumi.StringOutput

The create time of VPN gateway.

func (GatewaysVpnGatewayOutput) DeletedTime

The deleted time of the VPN gateway.

func (GatewaysVpnGatewayOutput) Description

The description of the VPN gateway.

func (GatewaysVpnGatewayOutput) ElementType

func (GatewaysVpnGatewayOutput) ElementType() reflect.Type

func (GatewaysVpnGatewayOutput) ExpiredTime

The expired time of the VPN gateway.

func (GatewaysVpnGatewayOutput) Id

The ID of the VPN gateway.

func (GatewaysVpnGatewayOutput) IpAddress

A IP address of the VPN gateway.

func (GatewaysVpnGatewayOutput) IpsecEnabled added in v0.0.19

func (o GatewaysVpnGatewayOutput) IpsecEnabled() pulumi.BoolOutput

Whether ipsec is enabled.

func (GatewaysVpnGatewayOutput) LockReason

The lock reason of the VPN gateway.

func (GatewaysVpnGatewayOutput) ProjectName added in v0.0.19

The name of project.

func (GatewaysVpnGatewayOutput) RouteCount

func (o GatewaysVpnGatewayOutput) RouteCount() pulumi.IntOutput

The route count of the VPN gateway.

func (GatewaysVpnGatewayOutput) SslEnabled added in v0.0.19

Whether ssl is enabled.

func (GatewaysVpnGatewayOutput) SslMaxConnections added in v0.0.19

func (o GatewaysVpnGatewayOutput) SslMaxConnections() pulumi.IntOutput

The max connections of ssl.

func (GatewaysVpnGatewayOutput) Status

The status of the VPN gateway.

func (GatewaysVpnGatewayOutput) SubnetId

A subnet ID of the VPN gateway.

func (GatewaysVpnGatewayOutput) Tags

Tags.

func (GatewaysVpnGatewayOutput) ToGatewaysVpnGatewayOutput

func (o GatewaysVpnGatewayOutput) ToGatewaysVpnGatewayOutput() GatewaysVpnGatewayOutput

func (GatewaysVpnGatewayOutput) ToGatewaysVpnGatewayOutputWithContext

func (o GatewaysVpnGatewayOutput) ToGatewaysVpnGatewayOutputWithContext(ctx context.Context) GatewaysVpnGatewayOutput

func (GatewaysVpnGatewayOutput) UpdateTime

The update time of VPN gateway.

func (GatewaysVpnGatewayOutput) VpcId

A VPC ID of the VPN gateway.

func (GatewaysVpnGatewayOutput) VpnGatewayId

func (o GatewaysVpnGatewayOutput) VpnGatewayId() pulumi.StringOutput

The ID of the VPN gateway.

func (GatewaysVpnGatewayOutput) VpnGatewayName

func (o GatewaysVpnGatewayOutput) VpnGatewayName() pulumi.StringOutput

The name of the VPN gateway.

type GatewaysVpnGatewayTag

type GatewaysVpnGatewayTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type GatewaysVpnGatewayTagArgs

type GatewaysVpnGatewayTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GatewaysVpnGatewayTagArgs) ElementType

func (GatewaysVpnGatewayTagArgs) ElementType() reflect.Type

func (GatewaysVpnGatewayTagArgs) ToGatewaysVpnGatewayTagOutput

func (i GatewaysVpnGatewayTagArgs) ToGatewaysVpnGatewayTagOutput() GatewaysVpnGatewayTagOutput

func (GatewaysVpnGatewayTagArgs) ToGatewaysVpnGatewayTagOutputWithContext

func (i GatewaysVpnGatewayTagArgs) ToGatewaysVpnGatewayTagOutputWithContext(ctx context.Context) GatewaysVpnGatewayTagOutput

type GatewaysVpnGatewayTagArray

type GatewaysVpnGatewayTagArray []GatewaysVpnGatewayTagInput

func (GatewaysVpnGatewayTagArray) ElementType

func (GatewaysVpnGatewayTagArray) ElementType() reflect.Type

func (GatewaysVpnGatewayTagArray) ToGatewaysVpnGatewayTagArrayOutput

func (i GatewaysVpnGatewayTagArray) ToGatewaysVpnGatewayTagArrayOutput() GatewaysVpnGatewayTagArrayOutput

func (GatewaysVpnGatewayTagArray) ToGatewaysVpnGatewayTagArrayOutputWithContext

func (i GatewaysVpnGatewayTagArray) ToGatewaysVpnGatewayTagArrayOutputWithContext(ctx context.Context) GatewaysVpnGatewayTagArrayOutput

type GatewaysVpnGatewayTagArrayInput

type GatewaysVpnGatewayTagArrayInput interface {
	pulumi.Input

	ToGatewaysVpnGatewayTagArrayOutput() GatewaysVpnGatewayTagArrayOutput
	ToGatewaysVpnGatewayTagArrayOutputWithContext(context.Context) GatewaysVpnGatewayTagArrayOutput
}

GatewaysVpnGatewayTagArrayInput is an input type that accepts GatewaysVpnGatewayTagArray and GatewaysVpnGatewayTagArrayOutput values. You can construct a concrete instance of `GatewaysVpnGatewayTagArrayInput` via:

GatewaysVpnGatewayTagArray{ GatewaysVpnGatewayTagArgs{...} }

type GatewaysVpnGatewayTagArrayOutput

type GatewaysVpnGatewayTagArrayOutput struct{ *pulumi.OutputState }

func (GatewaysVpnGatewayTagArrayOutput) ElementType

func (GatewaysVpnGatewayTagArrayOutput) Index

func (GatewaysVpnGatewayTagArrayOutput) ToGatewaysVpnGatewayTagArrayOutput

func (o GatewaysVpnGatewayTagArrayOutput) ToGatewaysVpnGatewayTagArrayOutput() GatewaysVpnGatewayTagArrayOutput

func (GatewaysVpnGatewayTagArrayOutput) ToGatewaysVpnGatewayTagArrayOutputWithContext

func (o GatewaysVpnGatewayTagArrayOutput) ToGatewaysVpnGatewayTagArrayOutputWithContext(ctx context.Context) GatewaysVpnGatewayTagArrayOutput

type GatewaysVpnGatewayTagInput

type GatewaysVpnGatewayTagInput interface {
	pulumi.Input

	ToGatewaysVpnGatewayTagOutput() GatewaysVpnGatewayTagOutput
	ToGatewaysVpnGatewayTagOutputWithContext(context.Context) GatewaysVpnGatewayTagOutput
}

GatewaysVpnGatewayTagInput is an input type that accepts GatewaysVpnGatewayTagArgs and GatewaysVpnGatewayTagOutput values. You can construct a concrete instance of `GatewaysVpnGatewayTagInput` via:

GatewaysVpnGatewayTagArgs{...}

type GatewaysVpnGatewayTagOutput

type GatewaysVpnGatewayTagOutput struct{ *pulumi.OutputState }

func (GatewaysVpnGatewayTagOutput) ElementType

func (GatewaysVpnGatewayTagOutput) Key

The Key of Tags.

func (GatewaysVpnGatewayTagOutput) ToGatewaysVpnGatewayTagOutput

func (o GatewaysVpnGatewayTagOutput) ToGatewaysVpnGatewayTagOutput() GatewaysVpnGatewayTagOutput

func (GatewaysVpnGatewayTagOutput) ToGatewaysVpnGatewayTagOutputWithContext

func (o GatewaysVpnGatewayTagOutput) ToGatewaysVpnGatewayTagOutputWithContext(ctx context.Context) GatewaysVpnGatewayTagOutput

func (GatewaysVpnGatewayTagOutput) Value

The Value of Tags.

type SslVpnClientCert added in v0.0.19

type SslVpnClientCert struct {
	pulumi.CustomResourceState

	// The CA certificate.
	CaCertificate pulumi.StringOutput `pulumi:"caCertificate"`
	// The status of the ssl vpn client cert.
	CertificateStatus pulumi.StringOutput `pulumi:"certificateStatus"`
	// The client certificate.
	ClientCertificate pulumi.StringOutput `pulumi:"clientCertificate"`
	// The key of the ssl vpn client.
	ClientKey pulumi.StringOutput `pulumi:"clientKey"`
	// The creation time of the ssl vpn client cert.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the ssl vpn client cert.
	Description pulumi.StringOutput `pulumi:"description"`
	// The expired time of the ssl vpn client cert.
	ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"`
	// The config of the open vpn client.
	OpenVpnClientConfig pulumi.StringOutput `pulumi:"openVpnClientConfig"`
	// The name of the ssl vpn client cert.
	SslVpnClientCertName pulumi.StringOutput `pulumi:"sslVpnClientCertName"`
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringOutput `pulumi:"sslVpnServerId"`
	// The status of the ssl vpn client.
	Status pulumi.StringOutput `pulumi:"status"`
	// The update time of the ssl vpn client cert.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage ssl vpn client cert ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:             fooVpc.ID(),
			SubnetId:          fooSubnet.ID(),
			Bandwidth:         pulumi.Int(5),
			VpnGatewayName:    pulumi.String("acc-test1"),
			Description:       pulumi.String("acc-test1"),
			Period:            pulumi.Int(7),
			ProjectName:       pulumi.String("default"),
			SslEnabled:        pulumi.Bool(true),
			SslMaxConnections: pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		fooSslVpnServer, err := vpn.NewSslVpnServer(ctx, "fooSslVpnServer", &vpn.SslVpnServerArgs{
			VpnGatewayId: fooGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				fooSubnet.CidrBlock,
			},
			ClientIpPool:     pulumi.String("172.16.2.0/24"),
			SslVpnServerName: pulumi.String("acc-test-ssl"),
			Description:      pulumi.String("acc-test"),
			Protocol:         pulumi.String("UDP"),
			Cipher:           pulumi.String("AES-128-CBC"),
			Auth:             pulumi.String("SHA1"),
			Compress:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = vpn.NewSslVpnClientCert(ctx, "fooSslVpnClientCert", &vpn.SslVpnClientCertArgs{
			SslVpnServerId:       fooSslVpnServer.ID(),
			SslVpnClientCertName: pulumi.String("acc-test-client-cert"),
			Description:          pulumi.String("acc-test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSL VPN Client Cert can be imported using the id, e.g.

```sh

$ pulumi import volcengine:vpn/sslVpnClientCert:SslVpnClientCert default vsc-2d6b7gjrzc2yo58ozfcx2****

```

func GetSslVpnClientCert added in v0.0.19

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

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

func NewSslVpnClientCert added in v0.0.19

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

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

func (*SslVpnClientCert) ElementType added in v0.0.19

func (*SslVpnClientCert) ElementType() reflect.Type

func (*SslVpnClientCert) ToSslVpnClientCertOutput added in v0.0.19

func (i *SslVpnClientCert) ToSslVpnClientCertOutput() SslVpnClientCertOutput

func (*SslVpnClientCert) ToSslVpnClientCertOutputWithContext added in v0.0.19

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

type SslVpnClientCertArgs added in v0.0.19

type SslVpnClientCertArgs struct {
	// The description of the ssl vpn client cert.
	Description pulumi.StringPtrInput
	// The name of the ssl vpn client cert.
	SslVpnClientCertName pulumi.StringPtrInput
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringInput
}

The set of arguments for constructing a SslVpnClientCert resource.

func (SslVpnClientCertArgs) ElementType added in v0.0.19

func (SslVpnClientCertArgs) ElementType() reflect.Type

type SslVpnClientCertArray added in v0.0.19

type SslVpnClientCertArray []SslVpnClientCertInput

func (SslVpnClientCertArray) ElementType added in v0.0.19

func (SslVpnClientCertArray) ElementType() reflect.Type

func (SslVpnClientCertArray) ToSslVpnClientCertArrayOutput added in v0.0.19

func (i SslVpnClientCertArray) ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput

func (SslVpnClientCertArray) ToSslVpnClientCertArrayOutputWithContext added in v0.0.19

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

type SslVpnClientCertArrayInput added in v0.0.19

type SslVpnClientCertArrayInput interface {
	pulumi.Input

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

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

SslVpnClientCertArray{ SslVpnClientCertArgs{...} }

type SslVpnClientCertArrayOutput added in v0.0.19

type SslVpnClientCertArrayOutput struct{ *pulumi.OutputState }

func (SslVpnClientCertArrayOutput) ElementType added in v0.0.19

func (SslVpnClientCertArrayOutput) Index added in v0.0.19

func (SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutput added in v0.0.19

func (o SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput

func (SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutputWithContext added in v0.0.19

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

type SslVpnClientCertInput added in v0.0.19

type SslVpnClientCertInput interface {
	pulumi.Input

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

type SslVpnClientCertMap added in v0.0.19

type SslVpnClientCertMap map[string]SslVpnClientCertInput

func (SslVpnClientCertMap) ElementType added in v0.0.19

func (SslVpnClientCertMap) ElementType() reflect.Type

func (SslVpnClientCertMap) ToSslVpnClientCertMapOutput added in v0.0.19

func (i SslVpnClientCertMap) ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput

func (SslVpnClientCertMap) ToSslVpnClientCertMapOutputWithContext added in v0.0.19

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

type SslVpnClientCertMapInput added in v0.0.19

type SslVpnClientCertMapInput interface {
	pulumi.Input

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

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

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

type SslVpnClientCertMapOutput added in v0.0.19

type SslVpnClientCertMapOutput struct{ *pulumi.OutputState }

func (SslVpnClientCertMapOutput) ElementType added in v0.0.19

func (SslVpnClientCertMapOutput) ElementType() reflect.Type

func (SslVpnClientCertMapOutput) MapIndex added in v0.0.19

func (SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutput added in v0.0.19

func (o SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput

func (SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutputWithContext added in v0.0.19

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

type SslVpnClientCertOutput added in v0.0.19

type SslVpnClientCertOutput struct{ *pulumi.OutputState }

func (SslVpnClientCertOutput) CaCertificate added in v0.0.19

func (o SslVpnClientCertOutput) CaCertificate() pulumi.StringOutput

The CA certificate.

func (SslVpnClientCertOutput) CertificateStatus added in v0.0.19

func (o SslVpnClientCertOutput) CertificateStatus() pulumi.StringOutput

The status of the ssl vpn client cert.

func (SslVpnClientCertOutput) ClientCertificate added in v0.0.19

func (o SslVpnClientCertOutput) ClientCertificate() pulumi.StringOutput

The client certificate.

func (SslVpnClientCertOutput) ClientKey added in v0.0.19

The key of the ssl vpn client.

func (SslVpnClientCertOutput) CreationTime added in v0.0.19

func (o SslVpnClientCertOutput) CreationTime() pulumi.StringOutput

The creation time of the ssl vpn client cert.

func (SslVpnClientCertOutput) Description added in v0.0.19

func (o SslVpnClientCertOutput) Description() pulumi.StringOutput

The description of the ssl vpn client cert.

func (SslVpnClientCertOutput) ElementType added in v0.0.19

func (SslVpnClientCertOutput) ElementType() reflect.Type

func (SslVpnClientCertOutput) ExpiredTime added in v0.0.19

func (o SslVpnClientCertOutput) ExpiredTime() pulumi.StringOutput

The expired time of the ssl vpn client cert.

func (SslVpnClientCertOutput) OpenVpnClientConfig added in v0.0.19

func (o SslVpnClientCertOutput) OpenVpnClientConfig() pulumi.StringOutput

The config of the open vpn client.

func (SslVpnClientCertOutput) SslVpnClientCertName added in v0.0.19

func (o SslVpnClientCertOutput) SslVpnClientCertName() pulumi.StringOutput

The name of the ssl vpn client cert.

func (SslVpnClientCertOutput) SslVpnServerId added in v0.0.19

func (o SslVpnClientCertOutput) SslVpnServerId() pulumi.StringOutput

The id of the ssl vpn server.

func (SslVpnClientCertOutput) Status added in v0.0.19

The status of the ssl vpn client.

func (SslVpnClientCertOutput) ToSslVpnClientCertOutput added in v0.0.19

func (o SslVpnClientCertOutput) ToSslVpnClientCertOutput() SslVpnClientCertOutput

func (SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext added in v0.0.19

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

func (SslVpnClientCertOutput) UpdateTime added in v0.0.19

The update time of the ssl vpn client cert.

type SslVpnClientCertState added in v0.0.19

type SslVpnClientCertState struct {
	// The CA certificate.
	CaCertificate pulumi.StringPtrInput
	// The status of the ssl vpn client cert.
	CertificateStatus pulumi.StringPtrInput
	// The client certificate.
	ClientCertificate pulumi.StringPtrInput
	// The key of the ssl vpn client.
	ClientKey pulumi.StringPtrInput
	// The creation time of the ssl vpn client cert.
	CreationTime pulumi.StringPtrInput
	// The description of the ssl vpn client cert.
	Description pulumi.StringPtrInput
	// The expired time of the ssl vpn client cert.
	ExpiredTime pulumi.StringPtrInput
	// The config of the open vpn client.
	OpenVpnClientConfig pulumi.StringPtrInput
	// The name of the ssl vpn client cert.
	SslVpnClientCertName pulumi.StringPtrInput
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringPtrInput
	// The status of the ssl vpn client.
	Status pulumi.StringPtrInput
	// The update time of the ssl vpn client cert.
	UpdateTime pulumi.StringPtrInput
}

func (SslVpnClientCertState) ElementType added in v0.0.19

func (SslVpnClientCertState) ElementType() reflect.Type

type SslVpnClientCertsArgs added in v0.0.19

type SslVpnClientCertsArgs struct {
	// The ids list of ssl vpn client cert.
	Ids []string `pulumi:"ids"`
	// A Name Regex of ssl vpn client cert.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The name of the ssl vpn client cert.
	SslVpnClientCertName *string `pulumi:"sslVpnClientCertName"`
	// The id of the ssl vpn server.
	SslVpnServerId *string `pulumi:"sslVpnServerId"`
}

A collection of arguments for invoking SslVpnClientCerts.

type SslVpnClientCertsOutputArgs added in v0.0.19

type SslVpnClientCertsOutputArgs struct {
	// The ids list of ssl vpn client cert.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of ssl vpn client cert.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name of the ssl vpn client cert.
	SslVpnClientCertName pulumi.StringPtrInput `pulumi:"sslVpnClientCertName"`
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringPtrInput `pulumi:"sslVpnServerId"`
}

A collection of arguments for invoking SslVpnClientCerts.

func (SslVpnClientCertsOutputArgs) ElementType added in v0.0.19

type SslVpnClientCertsResult added in v0.0.19

type SslVpnClientCertsResult 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"`
	// The name of the ssl vpn client cert.
	SslVpnClientCertName *string `pulumi:"sslVpnClientCertName"`
	// The collection of of ssl vpn client certs.
	SslVpnClientCerts []SslVpnClientCertsSslVpnClientCert `pulumi:"sslVpnClientCerts"`
	// The id of the ssl vpn server.
	SslVpnServerId *string `pulumi:"sslVpnServerId"`
	// The total count of ssl vpn client cert query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by SslVpnClientCerts.

func SslVpnClientCerts added in v0.0.19

func SslVpnClientCerts(ctx *pulumi.Context, args *SslVpnClientCertsArgs, opts ...pulumi.InvokeOption) (*SslVpnClientCertsResult, error)

Use this data source to query detailed information of ssl vpn client certs ## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil); if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{ VpcId: fooVpc.ID(), SubnetId: fooSubnet.ID(), Bandwidth: pulumi.Int(5), VpnGatewayName: pulumi.String("acc-test1"), Description: pulumi.String("acc-test1"), Period: pulumi.Int(7), ProjectName: pulumi.String("default"), SslEnabled: pulumi.Bool(true), SslMaxConnections: pulumi.Int(5), }) if err != nil { return err } fooSslVpnServer, err := vpn.NewSslVpnServer(ctx, "fooSslVpnServer", &vpn.SslVpnServerArgs{ VpnGatewayId: fooGateway.ID(), LocalSubnets: pulumi.StringArray{ fooSubnet.CidrBlock, }, ClientIpPool: pulumi.String("172.16.2.0/24"), SslVpnServerName: pulumi.String("acc-test-ssl"), Description: pulumi.String("acc-test"), Protocol: pulumi.String("UDP"), Cipher: pulumi.String("AES-128-CBC"), Auth: pulumi.String("SHA1"), Compress: pulumi.Bool(true), }) if err != nil { return err } var fooSslVpnClientCert []*vpn.SslVpnClientCert

for index := 0; index < 5; index++ {
    key0 := index
    val0 := index

__res, err := vpn.NewSslVpnClientCert(ctx, fmt.Sprintf("fooSslVpnClientCert-%v", key0), &vpn.SslVpnClientCertArgs{ SslVpnServerId: fooSslVpnServer.ID(), SslVpnClientCertName: pulumi.String(fmt.Sprintf("acc-test-client-cert-%v", val0)), Description: pulumi.String("acc-test"), }) if err != nil { return err } fooSslVpnClientCert = append(fooSslVpnClientCert, __res) } _ = vpn.SslVpnClientCertsOutput(ctx, vpn.SslVpnClientCertsOutputArgs{ Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:vpn-sslVpnClientCerts:SslVpnClientCerts.pp:44,9-34), }, nil); return nil }) } ```

type SslVpnClientCertsResultOutput added in v0.0.19

type SslVpnClientCertsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by SslVpnClientCerts.

func SslVpnClientCertsOutput added in v0.0.19

func (SslVpnClientCertsResultOutput) ElementType added in v0.0.19

func (SslVpnClientCertsResultOutput) Id added in v0.0.19

The provider-assigned unique ID for this managed resource.

func (SslVpnClientCertsResultOutput) Ids added in v0.0.19

func (SslVpnClientCertsResultOutput) NameRegex added in v0.0.19

func (SslVpnClientCertsResultOutput) OutputFile added in v0.0.19

func (SslVpnClientCertsResultOutput) SslVpnClientCertName added in v0.0.19

func (o SslVpnClientCertsResultOutput) SslVpnClientCertName() pulumi.StringPtrOutput

The name of the ssl vpn client cert.

func (SslVpnClientCertsResultOutput) SslVpnClientCerts added in v0.0.19

The collection of of ssl vpn client certs.

func (SslVpnClientCertsResultOutput) SslVpnServerId added in v0.0.19

The id of the ssl vpn server.

func (SslVpnClientCertsResultOutput) ToSslVpnClientCertsResultOutput added in v0.0.19

func (o SslVpnClientCertsResultOutput) ToSslVpnClientCertsResultOutput() SslVpnClientCertsResultOutput

func (SslVpnClientCertsResultOutput) ToSslVpnClientCertsResultOutputWithContext added in v0.0.19

func (o SslVpnClientCertsResultOutput) ToSslVpnClientCertsResultOutputWithContext(ctx context.Context) SslVpnClientCertsResultOutput

func (SslVpnClientCertsResultOutput) TotalCount added in v0.0.19

The total count of ssl vpn client cert query.

type SslVpnClientCertsSslVpnClientCert added in v0.0.19

type SslVpnClientCertsSslVpnClientCert struct {
	// The CA certificate.
	CaCertificate string `pulumi:"caCertificate"`
	// The status of the ssl vpn client cert.
	CertificateStatus string `pulumi:"certificateStatus"`
	// The client certificate.
	ClientCertificate string `pulumi:"clientCertificate"`
	// The key of the ssl vpn client.
	ClientKey string `pulumi:"clientKey"`
	// The creation time of the ssl vpn client cert.
	CreationTime string `pulumi:"creationTime"`
	// The description of the ssl vpn client cert.
	Description string `pulumi:"description"`
	// The expired time of the ssl vpn client cert.
	ExpiredTime string `pulumi:"expiredTime"`
	// The id of the ssl vpn client cert.
	Id string `pulumi:"id"`
	// The config of the open vpn client.
	OpenVpnClientConfig string `pulumi:"openVpnClientConfig"`
	// The id of the ssl vpn client cert.
	SslVpnClientCertId string `pulumi:"sslVpnClientCertId"`
	// The name of the ssl vpn client cert.
	SslVpnClientCertName string `pulumi:"sslVpnClientCertName"`
	// The id of the ssl vpn server.
	SslVpnServerId string `pulumi:"sslVpnServerId"`
	// The status of the ssl vpn client.
	Status string `pulumi:"status"`
	// The update time of the ssl vpn client cert.
	UpdateTime string `pulumi:"updateTime"`
}

type SslVpnClientCertsSslVpnClientCertArgs added in v0.0.19

type SslVpnClientCertsSslVpnClientCertArgs struct {
	// The CA certificate.
	CaCertificate pulumi.StringInput `pulumi:"caCertificate"`
	// The status of the ssl vpn client cert.
	CertificateStatus pulumi.StringInput `pulumi:"certificateStatus"`
	// The client certificate.
	ClientCertificate pulumi.StringInput `pulumi:"clientCertificate"`
	// The key of the ssl vpn client.
	ClientKey pulumi.StringInput `pulumi:"clientKey"`
	// The creation time of the ssl vpn client cert.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description of the ssl vpn client cert.
	Description pulumi.StringInput `pulumi:"description"`
	// The expired time of the ssl vpn client cert.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The id of the ssl vpn client cert.
	Id pulumi.StringInput `pulumi:"id"`
	// The config of the open vpn client.
	OpenVpnClientConfig pulumi.StringInput `pulumi:"openVpnClientConfig"`
	// The id of the ssl vpn client cert.
	SslVpnClientCertId pulumi.StringInput `pulumi:"sslVpnClientCertId"`
	// The name of the ssl vpn client cert.
	SslVpnClientCertName pulumi.StringInput `pulumi:"sslVpnClientCertName"`
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringInput `pulumi:"sslVpnServerId"`
	// The status of the ssl vpn client.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time of the ssl vpn client cert.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (SslVpnClientCertsSslVpnClientCertArgs) ElementType added in v0.0.19

func (SslVpnClientCertsSslVpnClientCertArgs) ToSslVpnClientCertsSslVpnClientCertOutput added in v0.0.19

func (i SslVpnClientCertsSslVpnClientCertArgs) ToSslVpnClientCertsSslVpnClientCertOutput() SslVpnClientCertsSslVpnClientCertOutput

func (SslVpnClientCertsSslVpnClientCertArgs) ToSslVpnClientCertsSslVpnClientCertOutputWithContext added in v0.0.19

func (i SslVpnClientCertsSslVpnClientCertArgs) ToSslVpnClientCertsSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertsSslVpnClientCertOutput

type SslVpnClientCertsSslVpnClientCertArray added in v0.0.19

type SslVpnClientCertsSslVpnClientCertArray []SslVpnClientCertsSslVpnClientCertInput

func (SslVpnClientCertsSslVpnClientCertArray) ElementType added in v0.0.19

func (SslVpnClientCertsSslVpnClientCertArray) ToSslVpnClientCertsSslVpnClientCertArrayOutput added in v0.0.19

func (i SslVpnClientCertsSslVpnClientCertArray) ToSslVpnClientCertsSslVpnClientCertArrayOutput() SslVpnClientCertsSslVpnClientCertArrayOutput

func (SslVpnClientCertsSslVpnClientCertArray) ToSslVpnClientCertsSslVpnClientCertArrayOutputWithContext added in v0.0.19

func (i SslVpnClientCertsSslVpnClientCertArray) ToSslVpnClientCertsSslVpnClientCertArrayOutputWithContext(ctx context.Context) SslVpnClientCertsSslVpnClientCertArrayOutput

type SslVpnClientCertsSslVpnClientCertArrayInput added in v0.0.19

type SslVpnClientCertsSslVpnClientCertArrayInput interface {
	pulumi.Input

	ToSslVpnClientCertsSslVpnClientCertArrayOutput() SslVpnClientCertsSslVpnClientCertArrayOutput
	ToSslVpnClientCertsSslVpnClientCertArrayOutputWithContext(context.Context) SslVpnClientCertsSslVpnClientCertArrayOutput
}

SslVpnClientCertsSslVpnClientCertArrayInput is an input type that accepts SslVpnClientCertsSslVpnClientCertArray and SslVpnClientCertsSslVpnClientCertArrayOutput values. You can construct a concrete instance of `SslVpnClientCertsSslVpnClientCertArrayInput` via:

SslVpnClientCertsSslVpnClientCertArray{ SslVpnClientCertsSslVpnClientCertArgs{...} }

type SslVpnClientCertsSslVpnClientCertArrayOutput added in v0.0.19

type SslVpnClientCertsSslVpnClientCertArrayOutput struct{ *pulumi.OutputState }

func (SslVpnClientCertsSslVpnClientCertArrayOutput) ElementType added in v0.0.19

func (SslVpnClientCertsSslVpnClientCertArrayOutput) Index added in v0.0.19

func (SslVpnClientCertsSslVpnClientCertArrayOutput) ToSslVpnClientCertsSslVpnClientCertArrayOutput added in v0.0.19

func (o SslVpnClientCertsSslVpnClientCertArrayOutput) ToSslVpnClientCertsSslVpnClientCertArrayOutput() SslVpnClientCertsSslVpnClientCertArrayOutput

func (SslVpnClientCertsSslVpnClientCertArrayOutput) ToSslVpnClientCertsSslVpnClientCertArrayOutputWithContext added in v0.0.19

func (o SslVpnClientCertsSslVpnClientCertArrayOutput) ToSslVpnClientCertsSslVpnClientCertArrayOutputWithContext(ctx context.Context) SslVpnClientCertsSslVpnClientCertArrayOutput

type SslVpnClientCertsSslVpnClientCertInput added in v0.0.19

type SslVpnClientCertsSslVpnClientCertInput interface {
	pulumi.Input

	ToSslVpnClientCertsSslVpnClientCertOutput() SslVpnClientCertsSslVpnClientCertOutput
	ToSslVpnClientCertsSslVpnClientCertOutputWithContext(context.Context) SslVpnClientCertsSslVpnClientCertOutput
}

SslVpnClientCertsSslVpnClientCertInput is an input type that accepts SslVpnClientCertsSslVpnClientCertArgs and SslVpnClientCertsSslVpnClientCertOutput values. You can construct a concrete instance of `SslVpnClientCertsSslVpnClientCertInput` via:

SslVpnClientCertsSslVpnClientCertArgs{...}

type SslVpnClientCertsSslVpnClientCertOutput added in v0.0.19

type SslVpnClientCertsSslVpnClientCertOutput struct{ *pulumi.OutputState }

func (SslVpnClientCertsSslVpnClientCertOutput) CaCertificate added in v0.0.19

The CA certificate.

func (SslVpnClientCertsSslVpnClientCertOutput) CertificateStatus added in v0.0.19

The status of the ssl vpn client cert.

func (SslVpnClientCertsSslVpnClientCertOutput) ClientCertificate added in v0.0.19

The client certificate.

func (SslVpnClientCertsSslVpnClientCertOutput) ClientKey added in v0.0.19

The key of the ssl vpn client.

func (SslVpnClientCertsSslVpnClientCertOutput) CreationTime added in v0.0.19

The creation time of the ssl vpn client cert.

func (SslVpnClientCertsSslVpnClientCertOutput) Description added in v0.0.19

The description of the ssl vpn client cert.

func (SslVpnClientCertsSslVpnClientCertOutput) ElementType added in v0.0.19

func (SslVpnClientCertsSslVpnClientCertOutput) ExpiredTime added in v0.0.19

The expired time of the ssl vpn client cert.

func (SslVpnClientCertsSslVpnClientCertOutput) Id added in v0.0.19

The id of the ssl vpn client cert.

func (SslVpnClientCertsSslVpnClientCertOutput) OpenVpnClientConfig added in v0.0.19

The config of the open vpn client.

func (SslVpnClientCertsSslVpnClientCertOutput) SslVpnClientCertId added in v0.0.19

The id of the ssl vpn client cert.

func (SslVpnClientCertsSslVpnClientCertOutput) SslVpnClientCertName added in v0.0.19

The name of the ssl vpn client cert.

func (SslVpnClientCertsSslVpnClientCertOutput) SslVpnServerId added in v0.0.19

The id of the ssl vpn server.

func (SslVpnClientCertsSslVpnClientCertOutput) Status added in v0.0.19

The status of the ssl vpn client.

func (SslVpnClientCertsSslVpnClientCertOutput) ToSslVpnClientCertsSslVpnClientCertOutput added in v0.0.19

func (o SslVpnClientCertsSslVpnClientCertOutput) ToSslVpnClientCertsSslVpnClientCertOutput() SslVpnClientCertsSslVpnClientCertOutput

func (SslVpnClientCertsSslVpnClientCertOutput) ToSslVpnClientCertsSslVpnClientCertOutputWithContext added in v0.0.19

func (o SslVpnClientCertsSslVpnClientCertOutput) ToSslVpnClientCertsSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertsSslVpnClientCertOutput

func (SslVpnClientCertsSslVpnClientCertOutput) UpdateTime added in v0.0.19

The update time of the ssl vpn client cert.

type SslVpnServer added in v0.0.19

type SslVpnServer struct {
	pulumi.CustomResourceState

	// The authentication algorithm of the SSL server.
	// Values:
	// `SHA1` (default)
	// `MD5`
	// `None` (do not use encryption).
	Auth pulumi.StringPtrOutput `pulumi:"auth"`
	// The encryption algorithm of the SSL server.
	// Values:
	// `AES-128-CBC` (default)
	// `AES-192-CBC`
	// `AES-256-CBC`
	// `None` (do not use encryption).
	Cipher pulumi.StringPtrOutput `pulumi:"cipher"`
	// SSL client network segment.
	ClientIpPool pulumi.StringOutput `pulumi:"clientIpPool"`
	// Whether to compress the transmitted data. The default value is false.
	Compress pulumi.BoolPtrOutput `pulumi:"compress"`
	// The description of the ssl server.
	Description pulumi.StringOutput `pulumi:"description"`
	// The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
	LocalSubnets pulumi.StringArrayOutput `pulumi:"localSubnets"`
	// The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringOutput `pulumi:"sslVpnServerId"`
	// The name of the SSL server.
	SslVpnServerName pulumi.StringOutput `pulumi:"sslVpnServerName"`
	// The vpn gateway id.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
}

Provides a resource to manage ssl vpn server ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:             fooVpc.ID(),
			SubnetId:          fooSubnet.ID(),
			Bandwidth:         pulumi.Int(5),
			VpnGatewayName:    pulumi.String("acc-test1"),
			Description:       pulumi.String("acc-test1"),
			Period:            pulumi.Int(7),
			ProjectName:       pulumi.String("default"),
			SslEnabled:        pulumi.Bool(true),
			SslMaxConnections: pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		_, err = vpn.NewSslVpnServer(ctx, "fooSslVpnServer", &vpn.SslVpnServerArgs{
			VpnGatewayId: fooGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				fooSubnet.CidrBlock,
			},
			ClientIpPool:     pulumi.String("172.16.2.0/24"),
			SslVpnServerName: pulumi.String("acc-test-ssl"),
			Description:      pulumi.String("acc-test"),
			Protocol:         pulumi.String("UDP"),
			Cipher:           pulumi.String("AES-128-CBC"),
			Auth:             pulumi.String("SHA1"),
			Compress:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:vpn/sslVpnServer:SslVpnServer default vss-zm55pqtvk17oq32zd****

```

func GetSslVpnServer added in v0.0.19

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

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

func NewSslVpnServer added in v0.0.19

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

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

func (*SslVpnServer) ElementType added in v0.0.19

func (*SslVpnServer) ElementType() reflect.Type

func (*SslVpnServer) ToSslVpnServerOutput added in v0.0.19

func (i *SslVpnServer) ToSslVpnServerOutput() SslVpnServerOutput

func (*SslVpnServer) ToSslVpnServerOutputWithContext added in v0.0.19

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

type SslVpnServerArgs added in v0.0.19

type SslVpnServerArgs struct {
	// The authentication algorithm of the SSL server.
	// Values:
	// `SHA1` (default)
	// `MD5`
	// `None` (do not use encryption).
	Auth pulumi.StringPtrInput
	// The encryption algorithm of the SSL server.
	// Values:
	// `AES-128-CBC` (default)
	// `AES-192-CBC`
	// `AES-256-CBC`
	// `None` (do not use encryption).
	Cipher pulumi.StringPtrInput
	// SSL client network segment.
	ClientIpPool pulumi.StringInput
	// Whether to compress the transmitted data. The default value is false.
	Compress pulumi.BoolPtrInput
	// The description of the ssl server.
	Description pulumi.StringPtrInput
	// The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
	LocalSubnets pulumi.StringArrayInput
	// The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
	Protocol pulumi.StringPtrInput
	// The name of the SSL server.
	SslVpnServerName pulumi.StringPtrInput
	// The vpn gateway id.
	VpnGatewayId pulumi.StringInput
}

The set of arguments for constructing a SslVpnServer resource.

func (SslVpnServerArgs) ElementType added in v0.0.19

func (SslVpnServerArgs) ElementType() reflect.Type

type SslVpnServerArray added in v0.0.19

type SslVpnServerArray []SslVpnServerInput

func (SslVpnServerArray) ElementType added in v0.0.19

func (SslVpnServerArray) ElementType() reflect.Type

func (SslVpnServerArray) ToSslVpnServerArrayOutput added in v0.0.19

func (i SslVpnServerArray) ToSslVpnServerArrayOutput() SslVpnServerArrayOutput

func (SslVpnServerArray) ToSslVpnServerArrayOutputWithContext added in v0.0.19

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

type SslVpnServerArrayInput added in v0.0.19

type SslVpnServerArrayInput interface {
	pulumi.Input

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

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

SslVpnServerArray{ SslVpnServerArgs{...} }

type SslVpnServerArrayOutput added in v0.0.19

type SslVpnServerArrayOutput struct{ *pulumi.OutputState }

func (SslVpnServerArrayOutput) ElementType added in v0.0.19

func (SslVpnServerArrayOutput) ElementType() reflect.Type

func (SslVpnServerArrayOutput) Index added in v0.0.19

func (SslVpnServerArrayOutput) ToSslVpnServerArrayOutput added in v0.0.19

func (o SslVpnServerArrayOutput) ToSslVpnServerArrayOutput() SslVpnServerArrayOutput

func (SslVpnServerArrayOutput) ToSslVpnServerArrayOutputWithContext added in v0.0.19

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

type SslVpnServerInput added in v0.0.19

type SslVpnServerInput interface {
	pulumi.Input

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

type SslVpnServerMap added in v0.0.19

type SslVpnServerMap map[string]SslVpnServerInput

func (SslVpnServerMap) ElementType added in v0.0.19

func (SslVpnServerMap) ElementType() reflect.Type

func (SslVpnServerMap) ToSslVpnServerMapOutput added in v0.0.19

func (i SslVpnServerMap) ToSslVpnServerMapOutput() SslVpnServerMapOutput

func (SslVpnServerMap) ToSslVpnServerMapOutputWithContext added in v0.0.19

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

type SslVpnServerMapInput added in v0.0.19

type SslVpnServerMapInput interface {
	pulumi.Input

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

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

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

type SslVpnServerMapOutput added in v0.0.19

type SslVpnServerMapOutput struct{ *pulumi.OutputState }

func (SslVpnServerMapOutput) ElementType added in v0.0.19

func (SslVpnServerMapOutput) ElementType() reflect.Type

func (SslVpnServerMapOutput) MapIndex added in v0.0.19

func (SslVpnServerMapOutput) ToSslVpnServerMapOutput added in v0.0.19

func (o SslVpnServerMapOutput) ToSslVpnServerMapOutput() SslVpnServerMapOutput

func (SslVpnServerMapOutput) ToSslVpnServerMapOutputWithContext added in v0.0.19

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

type SslVpnServerOutput added in v0.0.19

type SslVpnServerOutput struct{ *pulumi.OutputState }

func (SslVpnServerOutput) Auth added in v0.0.19

The authentication algorithm of the SSL server. Values: `SHA1` (default) `MD5` `None` (do not use encryption).

func (SslVpnServerOutput) Cipher added in v0.0.19

The encryption algorithm of the SSL server. Values: `AES-128-CBC` (default) `AES-192-CBC` `AES-256-CBC` `None` (do not use encryption).

func (SslVpnServerOutput) ClientIpPool added in v0.0.19

func (o SslVpnServerOutput) ClientIpPool() pulumi.StringOutput

SSL client network segment.

func (SslVpnServerOutput) Compress added in v0.0.19

Whether to compress the transmitted data. The default value is false.

func (SslVpnServerOutput) Description added in v0.0.19

func (o SslVpnServerOutput) Description() pulumi.StringOutput

The description of the ssl server.

func (SslVpnServerOutput) ElementType added in v0.0.19

func (SslVpnServerOutput) ElementType() reflect.Type

func (SslVpnServerOutput) LocalSubnets added in v0.0.19

func (o SslVpnServerOutput) LocalSubnets() pulumi.StringArrayOutput

The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.

func (SslVpnServerOutput) Protocol added in v0.0.19

The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.

func (SslVpnServerOutput) SslVpnServerId added in v0.0.19

func (o SslVpnServerOutput) SslVpnServerId() pulumi.StringOutput

The id of the ssl vpn server.

func (SslVpnServerOutput) SslVpnServerName added in v0.0.19

func (o SslVpnServerOutput) SslVpnServerName() pulumi.StringOutput

The name of the SSL server.

func (SslVpnServerOutput) ToSslVpnServerOutput added in v0.0.19

func (o SslVpnServerOutput) ToSslVpnServerOutput() SslVpnServerOutput

func (SslVpnServerOutput) ToSslVpnServerOutputWithContext added in v0.0.19

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

func (SslVpnServerOutput) VpnGatewayId added in v0.0.19

func (o SslVpnServerOutput) VpnGatewayId() pulumi.StringOutput

The vpn gateway id.

type SslVpnServerState added in v0.0.19

type SslVpnServerState struct {
	// The authentication algorithm of the SSL server.
	// Values:
	// `SHA1` (default)
	// `MD5`
	// `None` (do not use encryption).
	Auth pulumi.StringPtrInput
	// The encryption algorithm of the SSL server.
	// Values:
	// `AES-128-CBC` (default)
	// `AES-192-CBC`
	// `AES-256-CBC`
	// `None` (do not use encryption).
	Cipher pulumi.StringPtrInput
	// SSL client network segment.
	ClientIpPool pulumi.StringPtrInput
	// Whether to compress the transmitted data. The default value is false.
	Compress pulumi.BoolPtrInput
	// The description of the ssl server.
	Description pulumi.StringPtrInput
	// The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
	LocalSubnets pulumi.StringArrayInput
	// The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
	Protocol pulumi.StringPtrInput
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringPtrInput
	// The name of the SSL server.
	SslVpnServerName pulumi.StringPtrInput
	// The vpn gateway id.
	VpnGatewayId pulumi.StringPtrInput
}

func (SslVpnServerState) ElementType added in v0.0.19

func (SslVpnServerState) ElementType() reflect.Type

type SslVpnServersArgs added in v0.0.19

type SslVpnServersArgs struct {
	// The ids list.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The name of the ssl vpn server.
	SslVpnServerName *string `pulumi:"sslVpnServerName"`
	// The id of the vpn gateway.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
}

A collection of arguments for invoking SslVpnServers.

type SslVpnServersOutputArgs added in v0.0.19

type SslVpnServersOutputArgs struct {
	// The ids list.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name of the ssl vpn server.
	SslVpnServerName pulumi.StringPtrInput `pulumi:"sslVpnServerName"`
	// The id of the vpn gateway.
	VpnGatewayId pulumi.StringPtrInput `pulumi:"vpnGatewayId"`
}

A collection of arguments for invoking SslVpnServers.

func (SslVpnServersOutputArgs) ElementType added in v0.0.19

func (SslVpnServersOutputArgs) ElementType() reflect.Type

type SslVpnServersResult added in v0.0.19

type SslVpnServersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The name of the SSL server.
	SslVpnServerName *string `pulumi:"sslVpnServerName"`
	// List of SSL VPN servers.
	SslVpnServers []SslVpnServersSslVpnServer `pulumi:"sslVpnServers"`
	// The total count of SSL VPN server query.
	TotalCount int `pulumi:"totalCount"`
	// The vpn gateway id.
	VpnGatewayId *string `pulumi:"vpnGatewayId"`
}

A collection of values returned by SslVpnServers.

func SslVpnServers added in v0.0.19

func SslVpnServers(ctx *pulumi.Context, args *SslVpnServersArgs, opts ...pulumi.InvokeOption) (*SslVpnServersResult, error)

Use this data source to query detailed information of ssl vpn servers ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:             fooVpc.ID(),
			SubnetId:          fooSubnet.ID(),
			Bandwidth:         pulumi.Int(5),
			VpnGatewayName:    pulumi.String("acc-test1"),
			Description:       pulumi.String("acc-test1"),
			Period:            pulumi.Int(7),
			ProjectName:       pulumi.String("default"),
			SslEnabled:        pulumi.Bool(true),
			SslMaxConnections: pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		fooSslVpnServer, err := vpn.NewSslVpnServer(ctx, "fooSslVpnServer", &vpn.SslVpnServerArgs{
			VpnGatewayId: fooGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				fooSubnet.CidrBlock,
			},
			ClientIpPool:     pulumi.String("172.16.2.0/24"),
			SslVpnServerName: pulumi.String("acc-test-ssl"),
			Description:      pulumi.String("acc-test"),
			Protocol:         pulumi.String("UDP"),
			Cipher:           pulumi.String("AES-128-CBC"),
			Auth:             pulumi.String("SHA1"),
			Compress:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_ = vpn.SslVpnServersOutput(ctx, vpn.SslVpnServersOutputArgs{
			Ids: pulumi.StringArray{
				fooSslVpnServer.ID(),
			},
		}, nil)
		return nil
	})
}

```

type SslVpnServersResultOutput added in v0.0.19

type SslVpnServersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by SslVpnServers.

func SslVpnServersOutput added in v0.0.19

func SslVpnServersOutput(ctx *pulumi.Context, args SslVpnServersOutputArgs, opts ...pulumi.InvokeOption) SslVpnServersResultOutput

func (SslVpnServersResultOutput) ElementType added in v0.0.19

func (SslVpnServersResultOutput) ElementType() reflect.Type

func (SslVpnServersResultOutput) Id added in v0.0.19

The provider-assigned unique ID for this managed resource.

func (SslVpnServersResultOutput) Ids added in v0.0.19

func (SslVpnServersResultOutput) OutputFile added in v0.0.19

func (SslVpnServersResultOutput) SslVpnServerName added in v0.0.19

func (o SslVpnServersResultOutput) SslVpnServerName() pulumi.StringPtrOutput

The name of the SSL server.

func (SslVpnServersResultOutput) SslVpnServers added in v0.0.19

List of SSL VPN servers.

func (SslVpnServersResultOutput) ToSslVpnServersResultOutput added in v0.0.19

func (o SslVpnServersResultOutput) ToSslVpnServersResultOutput() SslVpnServersResultOutput

func (SslVpnServersResultOutput) ToSslVpnServersResultOutputWithContext added in v0.0.19

func (o SslVpnServersResultOutput) ToSslVpnServersResultOutputWithContext(ctx context.Context) SslVpnServersResultOutput

func (SslVpnServersResultOutput) TotalCount added in v0.0.19

The total count of SSL VPN server query.

func (SslVpnServersResultOutput) VpnGatewayId added in v0.0.19

The vpn gateway id.

type SslVpnServersSslVpnServer added in v0.0.19

type SslVpnServersSslVpnServer struct {
	// The authentication algorithm of the SSL server.
	// Values:
	// `SHA1` (default)
	// `MD5`
	// `None` (do not use encryption).
	Auth string `pulumi:"auth"`
	// The encryption algorithm of the SSL server.
	// Values:
	// `AES-128-CBC` (default)
	// `AES-192-CBC`
	// `AES-256-CBC`
	// `None` (do not use encryption).
	Cipher string `pulumi:"cipher"`
	// SSL client network segment.
	ClientIpPool string `pulumi:"clientIpPool"`
	// Whether to compress the transmitted data. The default value is false.
	Compress bool `pulumi:"compress"`
	// The creation time.
	CreationTime string `pulumi:"creationTime"`
	// The description of the ssl server.
	Description string `pulumi:"description"`
	// The SSL VPN server id.
	Id string `pulumi:"id"`
	// The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
	LocalSubnets []string `pulumi:"localSubnets"`
	// The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
	Protocol string `pulumi:"protocol"`
	// The id of the ssl vpn server.
	SslVpnServerId string `pulumi:"sslVpnServerId"`
	// The name of the ssl vpn server.
	SslVpnServerName string `pulumi:"sslVpnServerName"`
	// The status of the ssl vpn server.
	Status string `pulumi:"status"`
	// The update time.
	UpdateTime string `pulumi:"updateTime"`
	// The id of the vpn gateway.
	VpnGatewayId string `pulumi:"vpnGatewayId"`
}

type SslVpnServersSslVpnServerArgs added in v0.0.19

type SslVpnServersSslVpnServerArgs struct {
	// The authentication algorithm of the SSL server.
	// Values:
	// `SHA1` (default)
	// `MD5`
	// `None` (do not use encryption).
	Auth pulumi.StringInput `pulumi:"auth"`
	// The encryption algorithm of the SSL server.
	// Values:
	// `AES-128-CBC` (default)
	// `AES-192-CBC`
	// `AES-256-CBC`
	// `None` (do not use encryption).
	Cipher pulumi.StringInput `pulumi:"cipher"`
	// SSL client network segment.
	ClientIpPool pulumi.StringInput `pulumi:"clientIpPool"`
	// Whether to compress the transmitted data. The default value is false.
	Compress pulumi.BoolInput `pulumi:"compress"`
	// The creation time.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description of the ssl server.
	Description pulumi.StringInput `pulumi:"description"`
	// The SSL VPN server id.
	Id pulumi.StringInput `pulumi:"id"`
	// The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
	LocalSubnets pulumi.StringArrayInput `pulumi:"localSubnets"`
	// The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The id of the ssl vpn server.
	SslVpnServerId pulumi.StringInput `pulumi:"sslVpnServerId"`
	// The name of the ssl vpn server.
	SslVpnServerName pulumi.StringInput `pulumi:"sslVpnServerName"`
	// The status of the ssl vpn server.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The id of the vpn gateway.
	VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"`
}

func (SslVpnServersSslVpnServerArgs) ElementType added in v0.0.19

func (SslVpnServersSslVpnServerArgs) ToSslVpnServersSslVpnServerOutput added in v0.0.19

func (i SslVpnServersSslVpnServerArgs) ToSslVpnServersSslVpnServerOutput() SslVpnServersSslVpnServerOutput

func (SslVpnServersSslVpnServerArgs) ToSslVpnServersSslVpnServerOutputWithContext added in v0.0.19

func (i SslVpnServersSslVpnServerArgs) ToSslVpnServersSslVpnServerOutputWithContext(ctx context.Context) SslVpnServersSslVpnServerOutput

type SslVpnServersSslVpnServerArray added in v0.0.19

type SslVpnServersSslVpnServerArray []SslVpnServersSslVpnServerInput

func (SslVpnServersSslVpnServerArray) ElementType added in v0.0.19

func (SslVpnServersSslVpnServerArray) ToSslVpnServersSslVpnServerArrayOutput added in v0.0.19

func (i SslVpnServersSslVpnServerArray) ToSslVpnServersSslVpnServerArrayOutput() SslVpnServersSslVpnServerArrayOutput

func (SslVpnServersSslVpnServerArray) ToSslVpnServersSslVpnServerArrayOutputWithContext added in v0.0.19

func (i SslVpnServersSslVpnServerArray) ToSslVpnServersSslVpnServerArrayOutputWithContext(ctx context.Context) SslVpnServersSslVpnServerArrayOutput

type SslVpnServersSslVpnServerArrayInput added in v0.0.19

type SslVpnServersSslVpnServerArrayInput interface {
	pulumi.Input

	ToSslVpnServersSslVpnServerArrayOutput() SslVpnServersSslVpnServerArrayOutput
	ToSslVpnServersSslVpnServerArrayOutputWithContext(context.Context) SslVpnServersSslVpnServerArrayOutput
}

SslVpnServersSslVpnServerArrayInput is an input type that accepts SslVpnServersSslVpnServerArray and SslVpnServersSslVpnServerArrayOutput values. You can construct a concrete instance of `SslVpnServersSslVpnServerArrayInput` via:

SslVpnServersSslVpnServerArray{ SslVpnServersSslVpnServerArgs{...} }

type SslVpnServersSslVpnServerArrayOutput added in v0.0.19

type SslVpnServersSslVpnServerArrayOutput struct{ *pulumi.OutputState }

func (SslVpnServersSslVpnServerArrayOutput) ElementType added in v0.0.19

func (SslVpnServersSslVpnServerArrayOutput) Index added in v0.0.19

func (SslVpnServersSslVpnServerArrayOutput) ToSslVpnServersSslVpnServerArrayOutput added in v0.0.19

func (o SslVpnServersSslVpnServerArrayOutput) ToSslVpnServersSslVpnServerArrayOutput() SslVpnServersSslVpnServerArrayOutput

func (SslVpnServersSslVpnServerArrayOutput) ToSslVpnServersSslVpnServerArrayOutputWithContext added in v0.0.19

func (o SslVpnServersSslVpnServerArrayOutput) ToSslVpnServersSslVpnServerArrayOutputWithContext(ctx context.Context) SslVpnServersSslVpnServerArrayOutput

type SslVpnServersSslVpnServerInput added in v0.0.19

type SslVpnServersSslVpnServerInput interface {
	pulumi.Input

	ToSslVpnServersSslVpnServerOutput() SslVpnServersSslVpnServerOutput
	ToSslVpnServersSslVpnServerOutputWithContext(context.Context) SslVpnServersSslVpnServerOutput
}

SslVpnServersSslVpnServerInput is an input type that accepts SslVpnServersSslVpnServerArgs and SslVpnServersSslVpnServerOutput values. You can construct a concrete instance of `SslVpnServersSslVpnServerInput` via:

SslVpnServersSslVpnServerArgs{...}

type SslVpnServersSslVpnServerOutput added in v0.0.19

type SslVpnServersSslVpnServerOutput struct{ *pulumi.OutputState }

func (SslVpnServersSslVpnServerOutput) Auth added in v0.0.19

The authentication algorithm of the SSL server. Values: `SHA1` (default) `MD5` `None` (do not use encryption).

func (SslVpnServersSslVpnServerOutput) Cipher added in v0.0.19

The encryption algorithm of the SSL server. Values: `AES-128-CBC` (default) `AES-192-CBC` `AES-256-CBC` `None` (do not use encryption).

func (SslVpnServersSslVpnServerOutput) ClientIpPool added in v0.0.19

SSL client network segment.

func (SslVpnServersSslVpnServerOutput) Compress added in v0.0.19

Whether to compress the transmitted data. The default value is false.

func (SslVpnServersSslVpnServerOutput) CreationTime added in v0.0.19

The creation time.

func (SslVpnServersSslVpnServerOutput) Description added in v0.0.19

The description of the ssl server.

func (SslVpnServersSslVpnServerOutput) ElementType added in v0.0.19

func (SslVpnServersSslVpnServerOutput) Id added in v0.0.19

The SSL VPN server id.

func (SslVpnServersSslVpnServerOutput) LocalSubnets added in v0.0.19

The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.

func (SslVpnServersSslVpnServerOutput) Protocol added in v0.0.19

The protocol used by the SSL server. Valid values are `TCP`, `UDP`. Default Value: `UDP`.

func (SslVpnServersSslVpnServerOutput) SslVpnServerId added in v0.0.19

The id of the ssl vpn server.

func (SslVpnServersSslVpnServerOutput) SslVpnServerName added in v0.0.19

The name of the ssl vpn server.

func (SslVpnServersSslVpnServerOutput) Status added in v0.0.19

The status of the ssl vpn server.

func (SslVpnServersSslVpnServerOutput) ToSslVpnServersSslVpnServerOutput added in v0.0.19

func (o SslVpnServersSslVpnServerOutput) ToSslVpnServersSslVpnServerOutput() SslVpnServersSslVpnServerOutput

func (SslVpnServersSslVpnServerOutput) ToSslVpnServersSslVpnServerOutputWithContext added in v0.0.19

func (o SslVpnServersSslVpnServerOutput) ToSslVpnServersSslVpnServerOutputWithContext(ctx context.Context) SslVpnServersSslVpnServerOutput

func (SslVpnServersSslVpnServerOutput) UpdateTime added in v0.0.19

The update time.

func (SslVpnServersSslVpnServerOutput) VpnGatewayId added in v0.0.19

The id of the vpn gateway.

Jump to

Keyboard shortcuts

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