direct_connect

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 BgpPeer

type BgpPeer struct {
	pulumi.CustomResourceState

	// The id of account.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The auth key of bgp peer.
	AuthKey pulumi.StringPtrOutput `pulumi:"authKey"`
	// The id of bgp peer.
	BgpPeerId pulumi.StringOutput `pulumi:"bgpPeerId"`
	// The name of bgp peer.
	BgpPeerName pulumi.StringOutput `pulumi:"bgpPeerName"`
	// The create time of bgp peer.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of bgp peer.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The local asn of bgp peer.
	LocalAsn pulumi.IntOutput `pulumi:"localAsn"`
	// The remote asn of bgp peer.
	RemoteAsn pulumi.IntOutput `pulumi:"remoteAsn"`
	// The session status of bgp peer.
	SessionStatus pulumi.StringOutput `pulumi:"sessionStatus"`
	// The status of bgp peer.
	Status pulumi.StringOutput `pulumi:"status"`
	// The update time of bgp peer.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The id of virtual interface.
	VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"`
}

Provides a resource to manage direct connect bgp peer ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.NewBgpPeer(ctx, "foo", &direct_connect.BgpPeerArgs{
			Description:        pulumi.String("tf-test"),
			RemoteAsn:          pulumi.Int(2000),
			VirtualInterfaceId: pulumi.String("dcv-62vi13v131tsn3gd6il****"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:direct_connect/bgpPeer:BgpPeer default bgp-2752hz4teko3k7fap8u4c****

```

func GetBgpPeer

func GetBgpPeer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpPeerState, opts ...pulumi.ResourceOption) (*BgpPeer, error)

GetBgpPeer gets an existing BgpPeer 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 NewBgpPeer

func NewBgpPeer(ctx *pulumi.Context,
	name string, args *BgpPeerArgs, opts ...pulumi.ResourceOption) (*BgpPeer, error)

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

func (*BgpPeer) ElementType

func (*BgpPeer) ElementType() reflect.Type

func (*BgpPeer) ToBgpPeerOutput

func (i *BgpPeer) ToBgpPeerOutput() BgpPeerOutput

func (*BgpPeer) ToBgpPeerOutputWithContext

func (i *BgpPeer) ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput

type BgpPeerArgs

type BgpPeerArgs struct {
	// The auth key of bgp peer.
	AuthKey pulumi.StringPtrInput
	// The name of bgp peer.
	BgpPeerName pulumi.StringPtrInput
	// The description of bgp peer.
	Description pulumi.StringPtrInput
	// The remote asn of bgp peer.
	RemoteAsn pulumi.IntInput
	// The id of virtual interface.
	VirtualInterfaceId pulumi.StringInput
}

The set of arguments for constructing a BgpPeer resource.

func (BgpPeerArgs) ElementType

func (BgpPeerArgs) ElementType() reflect.Type

type BgpPeerArray

type BgpPeerArray []BgpPeerInput

func (BgpPeerArray) ElementType

func (BgpPeerArray) ElementType() reflect.Type

func (BgpPeerArray) ToBgpPeerArrayOutput

func (i BgpPeerArray) ToBgpPeerArrayOutput() BgpPeerArrayOutput

func (BgpPeerArray) ToBgpPeerArrayOutputWithContext

func (i BgpPeerArray) ToBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeerArrayOutput

type BgpPeerArrayInput

type BgpPeerArrayInput interface {
	pulumi.Input

	ToBgpPeerArrayOutput() BgpPeerArrayOutput
	ToBgpPeerArrayOutputWithContext(context.Context) BgpPeerArrayOutput
}

BgpPeerArrayInput is an input type that accepts BgpPeerArray and BgpPeerArrayOutput values. You can construct a concrete instance of `BgpPeerArrayInput` via:

BgpPeerArray{ BgpPeerArgs{...} }

type BgpPeerArrayOutput

type BgpPeerArrayOutput struct{ *pulumi.OutputState }

func (BgpPeerArrayOutput) ElementType

func (BgpPeerArrayOutput) ElementType() reflect.Type

func (BgpPeerArrayOutput) Index

func (BgpPeerArrayOutput) ToBgpPeerArrayOutput

func (o BgpPeerArrayOutput) ToBgpPeerArrayOutput() BgpPeerArrayOutput

func (BgpPeerArrayOutput) ToBgpPeerArrayOutputWithContext

func (o BgpPeerArrayOutput) ToBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeerArrayOutput

type BgpPeerInput

type BgpPeerInput interface {
	pulumi.Input

	ToBgpPeerOutput() BgpPeerOutput
	ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput
}

type BgpPeerMap

type BgpPeerMap map[string]BgpPeerInput

func (BgpPeerMap) ElementType

func (BgpPeerMap) ElementType() reflect.Type

func (BgpPeerMap) ToBgpPeerMapOutput

func (i BgpPeerMap) ToBgpPeerMapOutput() BgpPeerMapOutput

func (BgpPeerMap) ToBgpPeerMapOutputWithContext

func (i BgpPeerMap) ToBgpPeerMapOutputWithContext(ctx context.Context) BgpPeerMapOutput

type BgpPeerMapInput

type BgpPeerMapInput interface {
	pulumi.Input

	ToBgpPeerMapOutput() BgpPeerMapOutput
	ToBgpPeerMapOutputWithContext(context.Context) BgpPeerMapOutput
}

BgpPeerMapInput is an input type that accepts BgpPeerMap and BgpPeerMapOutput values. You can construct a concrete instance of `BgpPeerMapInput` via:

BgpPeerMap{ "key": BgpPeerArgs{...} }

type BgpPeerMapOutput

type BgpPeerMapOutput struct{ *pulumi.OutputState }

func (BgpPeerMapOutput) ElementType

func (BgpPeerMapOutput) ElementType() reflect.Type

func (BgpPeerMapOutput) MapIndex

func (BgpPeerMapOutput) ToBgpPeerMapOutput

func (o BgpPeerMapOutput) ToBgpPeerMapOutput() BgpPeerMapOutput

func (BgpPeerMapOutput) ToBgpPeerMapOutputWithContext

func (o BgpPeerMapOutput) ToBgpPeerMapOutputWithContext(ctx context.Context) BgpPeerMapOutput

type BgpPeerOutput

type BgpPeerOutput struct{ *pulumi.OutputState }

func (BgpPeerOutput) AccountId

func (o BgpPeerOutput) AccountId() pulumi.StringOutput

The id of account.

func (BgpPeerOutput) AuthKey

func (o BgpPeerOutput) AuthKey() pulumi.StringPtrOutput

The auth key of bgp peer.

func (BgpPeerOutput) BgpPeerId

func (o BgpPeerOutput) BgpPeerId() pulumi.StringOutput

The id of bgp peer.

func (BgpPeerOutput) BgpPeerName

func (o BgpPeerOutput) BgpPeerName() pulumi.StringOutput

The name of bgp peer.

func (BgpPeerOutput) CreationTime

func (o BgpPeerOutput) CreationTime() pulumi.StringOutput

The create time of bgp peer.

func (BgpPeerOutput) Description

func (o BgpPeerOutput) Description() pulumi.StringPtrOutput

The description of bgp peer.

func (BgpPeerOutput) ElementType

func (BgpPeerOutput) ElementType() reflect.Type

func (BgpPeerOutput) LocalAsn

func (o BgpPeerOutput) LocalAsn() pulumi.IntOutput

The local asn of bgp peer.

func (BgpPeerOutput) RemoteAsn

func (o BgpPeerOutput) RemoteAsn() pulumi.IntOutput

The remote asn of bgp peer.

func (BgpPeerOutput) SessionStatus

func (o BgpPeerOutput) SessionStatus() pulumi.StringOutput

The session status of bgp peer.

func (BgpPeerOutput) Status

func (o BgpPeerOutput) Status() pulumi.StringOutput

The status of bgp peer.

func (BgpPeerOutput) ToBgpPeerOutput

func (o BgpPeerOutput) ToBgpPeerOutput() BgpPeerOutput

func (BgpPeerOutput) ToBgpPeerOutputWithContext

func (o BgpPeerOutput) ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput

func (BgpPeerOutput) UpdateTime

func (o BgpPeerOutput) UpdateTime() pulumi.StringOutput

The update time of bgp peer.

func (BgpPeerOutput) VirtualInterfaceId

func (o BgpPeerOutput) VirtualInterfaceId() pulumi.StringOutput

The id of virtual interface.

type BgpPeerState

type BgpPeerState struct {
	// The id of account.
	AccountId pulumi.StringPtrInput
	// The auth key of bgp peer.
	AuthKey pulumi.StringPtrInput
	// The id of bgp peer.
	BgpPeerId pulumi.StringPtrInput
	// The name of bgp peer.
	BgpPeerName pulumi.StringPtrInput
	// The create time of bgp peer.
	CreationTime pulumi.StringPtrInput
	// The description of bgp peer.
	Description pulumi.StringPtrInput
	// The local asn of bgp peer.
	LocalAsn pulumi.IntPtrInput
	// The remote asn of bgp peer.
	RemoteAsn pulumi.IntPtrInput
	// The session status of bgp peer.
	SessionStatus pulumi.StringPtrInput
	// The status of bgp peer.
	Status pulumi.StringPtrInput
	// The update time of bgp peer.
	UpdateTime pulumi.StringPtrInput
	// The id of virtual interface.
	VirtualInterfaceId pulumi.StringPtrInput
}

func (BgpPeerState) ElementType

func (BgpPeerState) ElementType() reflect.Type

type BgpPeersArgs

type BgpPeersArgs struct {
	// The name of bgp peer.
	BgpPeerName *string `pulumi:"bgpPeerName"`
	// The id of direct connect gateway.
	DirectConnectGatewayId *string `pulumi:"directConnectGatewayId"`
	// A list of IDs.
	Ids []string `pulumi:"ids"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The remote asn of bgp peer.
	RemoteAsn *int `pulumi:"remoteAsn"`
	// The id of virtual interface.
	VirtualInterfaceId *string `pulumi:"virtualInterfaceId"`
}

A collection of arguments for invoking BgpPeers.

type BgpPeersBgpPeer

type BgpPeersBgpPeer struct {
	// The id of account.
	AccountId string `pulumi:"accountId"`
	// The key of auth.
	AuthKey string `pulumi:"authKey"`
	// The id of bgp peer.
	BgpPeerId string `pulumi:"bgpPeerId"`
	// The name of bgp peer.
	BgpPeerName string `pulumi:"bgpPeerName"`
	// The create time of bgp peer.
	CreationTime string `pulumi:"creationTime"`
	// The Description of bgp peer.
	Description string `pulumi:"description"`
	// The local asn of bgp peer.
	LocalAsn int `pulumi:"localAsn"`
	// The remote asn of bgp peer.
	RemoteAsn int `pulumi:"remoteAsn"`
	// The session status of bgp peer.
	SessionStatus string `pulumi:"sessionStatus"`
	// The status of bgp peer.
	Status string `pulumi:"status"`
	// The update time of bgp peer.
	UpdateTime string `pulumi:"updateTime"`
	// The id of virtual interface.
	VirtualInterfaceId string `pulumi:"virtualInterfaceId"`
}

type BgpPeersBgpPeerArgs

type BgpPeersBgpPeerArgs struct {
	// The id of account.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The key of auth.
	AuthKey pulumi.StringInput `pulumi:"authKey"`
	// The id of bgp peer.
	BgpPeerId pulumi.StringInput `pulumi:"bgpPeerId"`
	// The name of bgp peer.
	BgpPeerName pulumi.StringInput `pulumi:"bgpPeerName"`
	// The create time of bgp peer.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The Description of bgp peer.
	Description pulumi.StringInput `pulumi:"description"`
	// The local asn of bgp peer.
	LocalAsn pulumi.IntInput `pulumi:"localAsn"`
	// The remote asn of bgp peer.
	RemoteAsn pulumi.IntInput `pulumi:"remoteAsn"`
	// The session status of bgp peer.
	SessionStatus pulumi.StringInput `pulumi:"sessionStatus"`
	// The status of bgp peer.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time of bgp peer.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The id of virtual interface.
	VirtualInterfaceId pulumi.StringInput `pulumi:"virtualInterfaceId"`
}

func (BgpPeersBgpPeerArgs) ElementType

func (BgpPeersBgpPeerArgs) ElementType() reflect.Type

func (BgpPeersBgpPeerArgs) ToBgpPeersBgpPeerOutput

func (i BgpPeersBgpPeerArgs) ToBgpPeersBgpPeerOutput() BgpPeersBgpPeerOutput

func (BgpPeersBgpPeerArgs) ToBgpPeersBgpPeerOutputWithContext

func (i BgpPeersBgpPeerArgs) ToBgpPeersBgpPeerOutputWithContext(ctx context.Context) BgpPeersBgpPeerOutput

type BgpPeersBgpPeerArray

type BgpPeersBgpPeerArray []BgpPeersBgpPeerInput

func (BgpPeersBgpPeerArray) ElementType

func (BgpPeersBgpPeerArray) ElementType() reflect.Type

func (BgpPeersBgpPeerArray) ToBgpPeersBgpPeerArrayOutput

func (i BgpPeersBgpPeerArray) ToBgpPeersBgpPeerArrayOutput() BgpPeersBgpPeerArrayOutput

func (BgpPeersBgpPeerArray) ToBgpPeersBgpPeerArrayOutputWithContext

func (i BgpPeersBgpPeerArray) ToBgpPeersBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeersBgpPeerArrayOutput

type BgpPeersBgpPeerArrayInput

type BgpPeersBgpPeerArrayInput interface {
	pulumi.Input

	ToBgpPeersBgpPeerArrayOutput() BgpPeersBgpPeerArrayOutput
	ToBgpPeersBgpPeerArrayOutputWithContext(context.Context) BgpPeersBgpPeerArrayOutput
}

BgpPeersBgpPeerArrayInput is an input type that accepts BgpPeersBgpPeerArray and BgpPeersBgpPeerArrayOutput values. You can construct a concrete instance of `BgpPeersBgpPeerArrayInput` via:

BgpPeersBgpPeerArray{ BgpPeersBgpPeerArgs{...} }

type BgpPeersBgpPeerArrayOutput

type BgpPeersBgpPeerArrayOutput struct{ *pulumi.OutputState }

func (BgpPeersBgpPeerArrayOutput) ElementType

func (BgpPeersBgpPeerArrayOutput) ElementType() reflect.Type

func (BgpPeersBgpPeerArrayOutput) Index

func (BgpPeersBgpPeerArrayOutput) ToBgpPeersBgpPeerArrayOutput

func (o BgpPeersBgpPeerArrayOutput) ToBgpPeersBgpPeerArrayOutput() BgpPeersBgpPeerArrayOutput

func (BgpPeersBgpPeerArrayOutput) ToBgpPeersBgpPeerArrayOutputWithContext

func (o BgpPeersBgpPeerArrayOutput) ToBgpPeersBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeersBgpPeerArrayOutput

type BgpPeersBgpPeerInput

type BgpPeersBgpPeerInput interface {
	pulumi.Input

	ToBgpPeersBgpPeerOutput() BgpPeersBgpPeerOutput
	ToBgpPeersBgpPeerOutputWithContext(context.Context) BgpPeersBgpPeerOutput
}

BgpPeersBgpPeerInput is an input type that accepts BgpPeersBgpPeerArgs and BgpPeersBgpPeerOutput values. You can construct a concrete instance of `BgpPeersBgpPeerInput` via:

BgpPeersBgpPeerArgs{...}

type BgpPeersBgpPeerOutput

type BgpPeersBgpPeerOutput struct{ *pulumi.OutputState }

func (BgpPeersBgpPeerOutput) AccountId

The id of account.

func (BgpPeersBgpPeerOutput) AuthKey

The key of auth.

func (BgpPeersBgpPeerOutput) BgpPeerId

The id of bgp peer.

func (BgpPeersBgpPeerOutput) BgpPeerName

func (o BgpPeersBgpPeerOutput) BgpPeerName() pulumi.StringOutput

The name of bgp peer.

func (BgpPeersBgpPeerOutput) CreationTime

func (o BgpPeersBgpPeerOutput) CreationTime() pulumi.StringOutput

The create time of bgp peer.

func (BgpPeersBgpPeerOutput) Description

func (o BgpPeersBgpPeerOutput) Description() pulumi.StringOutput

The Description of bgp peer.

func (BgpPeersBgpPeerOutput) ElementType

func (BgpPeersBgpPeerOutput) ElementType() reflect.Type

func (BgpPeersBgpPeerOutput) LocalAsn

func (o BgpPeersBgpPeerOutput) LocalAsn() pulumi.IntOutput

The local asn of bgp peer.

func (BgpPeersBgpPeerOutput) RemoteAsn

func (o BgpPeersBgpPeerOutput) RemoteAsn() pulumi.IntOutput

The remote asn of bgp peer.

func (BgpPeersBgpPeerOutput) SessionStatus

func (o BgpPeersBgpPeerOutput) SessionStatus() pulumi.StringOutput

The session status of bgp peer.

func (BgpPeersBgpPeerOutput) Status

The status of bgp peer.

func (BgpPeersBgpPeerOutput) ToBgpPeersBgpPeerOutput

func (o BgpPeersBgpPeerOutput) ToBgpPeersBgpPeerOutput() BgpPeersBgpPeerOutput

func (BgpPeersBgpPeerOutput) ToBgpPeersBgpPeerOutputWithContext

func (o BgpPeersBgpPeerOutput) ToBgpPeersBgpPeerOutputWithContext(ctx context.Context) BgpPeersBgpPeerOutput

func (BgpPeersBgpPeerOutput) UpdateTime

func (o BgpPeersBgpPeerOutput) UpdateTime() pulumi.StringOutput

The update time of bgp peer.

func (BgpPeersBgpPeerOutput) VirtualInterfaceId

func (o BgpPeersBgpPeerOutput) VirtualInterfaceId() pulumi.StringOutput

The id of virtual interface.

type BgpPeersOutputArgs

type BgpPeersOutputArgs struct {
	// The name of bgp peer.
	BgpPeerName pulumi.StringPtrInput `pulumi:"bgpPeerName"`
	// The id of direct connect gateway.
	DirectConnectGatewayId pulumi.StringPtrInput `pulumi:"directConnectGatewayId"`
	// A list of IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The remote asn of bgp peer.
	RemoteAsn pulumi.IntPtrInput `pulumi:"remoteAsn"`
	// The id of virtual interface.
	VirtualInterfaceId pulumi.StringPtrInput `pulumi:"virtualInterfaceId"`
}

A collection of arguments for invoking BgpPeers.

func (BgpPeersOutputArgs) ElementType

func (BgpPeersOutputArgs) ElementType() reflect.Type

type BgpPeersResult

type BgpPeersResult struct {
	// The name of bgp peer.
	BgpPeerName *string `pulumi:"bgpPeerName"`
	// The collection of query.
	BgpPeers               []BgpPeersBgpPeer `pulumi:"bgpPeers"`
	DirectConnectGatewayId *string           `pulumi:"directConnectGatewayId"`
	// 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 remote asn of bgp peer.
	RemoteAsn *int `pulumi:"remoteAsn"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The id of virtual interface.
	VirtualInterfaceId *string `pulumi:"virtualInterfaceId"`
}

A collection of values returned by BgpPeers.

func BgpPeers

func BgpPeers(ctx *pulumi.Context, args *BgpPeersArgs, opts ...pulumi.InvokeOption) (*BgpPeersResult, error)

Use this data source to query detailed information of direct connect bgp peers ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.BgpPeers(ctx, &direct_connect.BgpPeersArgs{
			Ids: []string{
				"bgp-171w6pn39ruo04d1w33iq****",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type BgpPeersResultOutput

type BgpPeersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by BgpPeers.

func (BgpPeersResultOutput) BgpPeerName

The name of bgp peer.

func (BgpPeersResultOutput) BgpPeers

The collection of query.

func (BgpPeersResultOutput) DirectConnectGatewayId

func (o BgpPeersResultOutput) DirectConnectGatewayId() pulumi.StringPtrOutput

func (BgpPeersResultOutput) ElementType

func (BgpPeersResultOutput) ElementType() reflect.Type

func (BgpPeersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (BgpPeersResultOutput) Ids

func (BgpPeersResultOutput) NameRegex

func (BgpPeersResultOutput) OutputFile

func (BgpPeersResultOutput) RemoteAsn

The remote asn of bgp peer.

func (BgpPeersResultOutput) ToBgpPeersResultOutput

func (o BgpPeersResultOutput) ToBgpPeersResultOutput() BgpPeersResultOutput

func (BgpPeersResultOutput) ToBgpPeersResultOutputWithContext

func (o BgpPeersResultOutput) ToBgpPeersResultOutputWithContext(ctx context.Context) BgpPeersResultOutput

func (BgpPeersResultOutput) TotalCount

func (o BgpPeersResultOutput) TotalCount() pulumi.IntOutput

The total count of query.

func (BgpPeersResultOutput) VirtualInterfaceId

func (o BgpPeersResultOutput) VirtualInterfaceId() pulumi.StringPtrOutput

The id of virtual interface.

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// The line band width,unit:Mbps.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The dedicated line contact email.
	CustomerContactEmail pulumi.StringOutput `pulumi:"customerContactEmail"`
	// The dedicated line contact phone.
	CustomerContactPhone pulumi.StringOutput `pulumi:"customerContactPhone"`
	// The dedicated line contact name.
	CustomerName pulumi.StringOutput `pulumi:"customerName"`
	// The description of direct connect.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The direct connect access point id.
	DirectConnectAccessPointId pulumi.StringOutput `pulumi:"directConnectAccessPointId"`
	// The name of direct connect.
	DirectConnectConnectionName pulumi.StringOutput `pulumi:"directConnectConnectionName"`
	// The physical leased line operator.valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
	LineOperator pulumi.StringOutput `pulumi:"lineOperator"`
	// The local IDC address.
	PeerLocation pulumi.StringOutput `pulumi:"peerLocation"`
	// The physical leased line port spec.valid value contains `1G`,`10G`.
	PortSpec pulumi.StringOutput `pulumi:"portSpec"`
	// The physical leased line port type and spec.valid value contains `1000Base-T`,`10GBase-T`,`1000Base`,`10GBase`,`40GBase`,`100GBase`.
	PortType pulumi.StringOutput `pulumi:"portType"`
	// The physical leased line tags.
	Tags ConnectionTagArrayOutput `pulumi:"tags"`
}

Provides a resource to manage direct connect connection ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.NewConnection(ctx, "foo", &direct_connect.ConnectionArgs{
			Bandwidth:                   pulumi.Int(1000),
			CustomerContactEmail:        pulumi.String("email@aaa.com"),
			CustomerContactPhone:        pulumi.String("12345678911"),
			CustomerName:                pulumi.String("tf-a"),
			Description:                 pulumi.String("tf-test"),
			DirectConnectAccessPointId:  pulumi.String("ap-cn-beijing-a"),
			DirectConnectConnectionName: pulumi.String("tf-test-connection"),
			LineOperator:                pulumi.String("ChinaOther"),
			PeerLocation:                pulumi.String("XX路XX号XX楼XX机房"),
			PortSpec:                    pulumi.String("10G"),
			PortType:                    pulumi.String("10GBase"),
			Tags: direct_connect.ConnectionTagArray{
				&direct_connect.ConnectionTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:direct_connect/connection:Connection default dcc-7qthudw0ll6jmc****

```

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 line band width,unit:Mbps.
	Bandwidth pulumi.IntInput
	// The dedicated line contact email.
	CustomerContactEmail pulumi.StringInput
	// The dedicated line contact phone.
	CustomerContactPhone pulumi.StringInput
	// The dedicated line contact name.
	CustomerName pulumi.StringInput
	// The description of direct connect.
	Description pulumi.StringPtrInput
	// The direct connect access point id.
	DirectConnectAccessPointId pulumi.StringInput
	// The name of direct connect.
	DirectConnectConnectionName pulumi.StringPtrInput
	// The physical leased line operator.valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
	LineOperator pulumi.StringInput
	// The local IDC address.
	PeerLocation pulumi.StringInput
	// The physical leased line port spec.valid value contains `1G`,`10G`.
	PortSpec pulumi.StringInput
	// The physical leased line port type and spec.valid value contains `1000Base-T`,`10GBase-T`,`1000Base`,`10GBase`,`40GBase`,`100GBase`.
	PortType pulumi.StringInput
	// The physical leased line tags.
	Tags ConnectionTagArrayInput
}

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) Bandwidth

func (o ConnectionOutput) Bandwidth() pulumi.IntOutput

The line band width,unit:Mbps.

func (ConnectionOutput) CustomerContactEmail

func (o ConnectionOutput) CustomerContactEmail() pulumi.StringOutput

The dedicated line contact email.

func (ConnectionOutput) CustomerContactPhone

func (o ConnectionOutput) CustomerContactPhone() pulumi.StringOutput

The dedicated line contact phone.

func (ConnectionOutput) CustomerName

func (o ConnectionOutput) CustomerName() pulumi.StringOutput

The dedicated line contact name.

func (ConnectionOutput) Description

func (o ConnectionOutput) Description() pulumi.StringPtrOutput

The description of direct connect.

func (ConnectionOutput) DirectConnectAccessPointId

func (o ConnectionOutput) DirectConnectAccessPointId() pulumi.StringOutput

The direct connect access point id.

func (ConnectionOutput) DirectConnectConnectionName

func (o ConnectionOutput) DirectConnectConnectionName() pulumi.StringOutput

The name of direct connect.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) LineOperator

func (o ConnectionOutput) LineOperator() pulumi.StringOutput

The physical leased line operator.valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.

func (ConnectionOutput) PeerLocation

func (o ConnectionOutput) PeerLocation() pulumi.StringOutput

The local IDC address.

func (ConnectionOutput) PortSpec

func (o ConnectionOutput) PortSpec() pulumi.StringOutput

The physical leased line port spec.valid value contains `1G`,`10G`.

func (ConnectionOutput) PortType

func (o ConnectionOutput) PortType() pulumi.StringOutput

The physical leased line port type and spec.valid value contains `1000Base-T`,`10GBase-T`,`1000Base`,`10GBase`,`40GBase`,`100GBase`.

func (ConnectionOutput) Tags

The physical leased line tags.

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

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

type ConnectionState

type ConnectionState struct {
	// The line band width,unit:Mbps.
	Bandwidth pulumi.IntPtrInput
	// The dedicated line contact email.
	CustomerContactEmail pulumi.StringPtrInput
	// The dedicated line contact phone.
	CustomerContactPhone pulumi.StringPtrInput
	// The dedicated line contact name.
	CustomerName pulumi.StringPtrInput
	// The description of direct connect.
	Description pulumi.StringPtrInput
	// The direct connect access point id.
	DirectConnectAccessPointId pulumi.StringPtrInput
	// The name of direct connect.
	DirectConnectConnectionName pulumi.StringPtrInput
	// The physical leased line operator.valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
	LineOperator pulumi.StringPtrInput
	// The local IDC address.
	PeerLocation pulumi.StringPtrInput
	// The physical leased line port spec.valid value contains `1G`,`10G`.
	PortSpec pulumi.StringPtrInput
	// The physical leased line port type and spec.valid value contains `1000Base-T`,`10GBase-T`,`1000Base`,`10GBase`,`40GBase`,`100GBase`.
	PortType pulumi.StringPtrInput
	// The physical leased line tags.
	Tags ConnectionTagArrayInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type ConnectionTag

type ConnectionTag struct {
	// The tag key.
	Key *string `pulumi:"key"`
	// The tag value.
	Value *string `pulumi:"value"`
}

type ConnectionTagArgs

type ConnectionTagArgs struct {
	// The tag key.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The tag value.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ConnectionTagArgs) ElementType

func (ConnectionTagArgs) ElementType() reflect.Type

func (ConnectionTagArgs) ToConnectionTagOutput

func (i ConnectionTagArgs) ToConnectionTagOutput() ConnectionTagOutput

func (ConnectionTagArgs) ToConnectionTagOutputWithContext

func (i ConnectionTagArgs) ToConnectionTagOutputWithContext(ctx context.Context) ConnectionTagOutput

type ConnectionTagArray

type ConnectionTagArray []ConnectionTagInput

func (ConnectionTagArray) ElementType

func (ConnectionTagArray) ElementType() reflect.Type

func (ConnectionTagArray) ToConnectionTagArrayOutput

func (i ConnectionTagArray) ToConnectionTagArrayOutput() ConnectionTagArrayOutput

func (ConnectionTagArray) ToConnectionTagArrayOutputWithContext

func (i ConnectionTagArray) ToConnectionTagArrayOutputWithContext(ctx context.Context) ConnectionTagArrayOutput

type ConnectionTagArrayInput

type ConnectionTagArrayInput interface {
	pulumi.Input

	ToConnectionTagArrayOutput() ConnectionTagArrayOutput
	ToConnectionTagArrayOutputWithContext(context.Context) ConnectionTagArrayOutput
}

ConnectionTagArrayInput is an input type that accepts ConnectionTagArray and ConnectionTagArrayOutput values. You can construct a concrete instance of `ConnectionTagArrayInput` via:

ConnectionTagArray{ ConnectionTagArgs{...} }

type ConnectionTagArrayOutput

type ConnectionTagArrayOutput struct{ *pulumi.OutputState }

func (ConnectionTagArrayOutput) ElementType

func (ConnectionTagArrayOutput) ElementType() reflect.Type

func (ConnectionTagArrayOutput) Index

func (ConnectionTagArrayOutput) ToConnectionTagArrayOutput

func (o ConnectionTagArrayOutput) ToConnectionTagArrayOutput() ConnectionTagArrayOutput

func (ConnectionTagArrayOutput) ToConnectionTagArrayOutputWithContext

func (o ConnectionTagArrayOutput) ToConnectionTagArrayOutputWithContext(ctx context.Context) ConnectionTagArrayOutput

type ConnectionTagInput

type ConnectionTagInput interface {
	pulumi.Input

	ToConnectionTagOutput() ConnectionTagOutput
	ToConnectionTagOutputWithContext(context.Context) ConnectionTagOutput
}

ConnectionTagInput is an input type that accepts ConnectionTagArgs and ConnectionTagOutput values. You can construct a concrete instance of `ConnectionTagInput` via:

ConnectionTagArgs{...}

type ConnectionTagOutput

type ConnectionTagOutput struct{ *pulumi.OutputState }

func (ConnectionTagOutput) ElementType

func (ConnectionTagOutput) ElementType() reflect.Type

func (ConnectionTagOutput) Key

The tag key.

func (ConnectionTagOutput) ToConnectionTagOutput

func (o ConnectionTagOutput) ToConnectionTagOutput() ConnectionTagOutput

func (ConnectionTagOutput) ToConnectionTagOutputWithContext

func (o ConnectionTagOutput) ToConnectionTagOutputWithContext(ctx context.Context) ConnectionTagOutput

func (ConnectionTagOutput) Value

The tag value.

type ConnectionsArgs

type ConnectionsArgs struct {
	// The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
	ConnectionType *string `pulumi:"connectionType"`
	// The ID of the physical leased line access point.
	DirectConnectAccessPointId *string `pulumi:"directConnectAccessPointId"`
	// The name of directi connect connection.
	DirectConnectConnectionName *string `pulumi:"directConnectConnectionName"`
	// A list of IDs.
	Ids []string `pulumi:"ids"`
	// The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
	LineOperator *string `pulumi:"lineOperator"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The peer access point of the physical leased line.
	PeerLocation *string `pulumi:"peerLocation"`
	// The filter tag of direct connect.
	TagFilters []ConnectionsTagFilter `pulumi:"tagFilters"`
}

A collection of arguments for invoking Connections.

type ConnectionsDirectConnectConnection

type ConnectionsDirectConnectConnection struct {
	// The account ID which the physical leased line belongs.
	AccountId string `pulumi:"accountId"`
	// The bandwidth of direct connect.
	Bandwidth int `pulumi:"bandwidth"`
	// The dedicated line billing type,only support `1` for yearly and monthly billing currently.
	BillingType int `pulumi:"billingType"`
	// The dedicated line billing status.
	BusinessStatus string `pulumi:"businessStatus"`
	// The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
	ConnectionType string `pulumi:"connectionType"`
	// The creation time of direct connect.
	CreationTime string `pulumi:"creationTime"`
	// The dedicated line contact email.
	CustomerContactEmail string `pulumi:"customerContactEmail"`
	// The dedicated line contact phone.
	CustomerContactPhone string `pulumi:"customerContactPhone"`
	// The dedicated line contact name.
	CustomerName string `pulumi:"customerName"`
	// The expected resource force collection time.
	DeletedTime string `pulumi:"deletedTime"`
	// The description of direct connect connection.
	Description string `pulumi:"description"`
	// The ID of the physical leased line access point.
	DirectConnectAccessPointId string `pulumi:"directConnectAccessPointId"`
	// The ID of direct connect connection.
	DirectConnectConnectionId string `pulumi:"directConnectConnectionId"`
	// The name of directi connect connection.
	DirectConnectConnectionName string `pulumi:"directConnectConnectionName"`
	// The expect bandwidth of direct connect.
	ExpectBandwidth int `pulumi:"expectBandwidth"`
	// The expired time.
	ExpiredTime string `pulumi:"expiredTime"`
	// The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
	LineOperator string `pulumi:"lineOperator"`
	// The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
	ParentConnectionAccountId string `pulumi:"parentConnectionAccountId"`
	// The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
	ParentConnectionId string `pulumi:"parentConnectionId"`
	// The peer access point of the physical leased line.
	PeerLocation string `pulumi:"peerLocation"`
	// The dedicated line port spec.
	PortSpec string `pulumi:"portSpec"`
	// The port type of direct connect.
	PortType string `pulumi:"portType"`
	// The status of physical leased line.
	Status string `pulumi:"status"`
	// All tags that physical leased line added.
	Tags []ConnectionsDirectConnectConnectionTag `pulumi:"tags"`
	// The update time of direct connect.
	UpdateTime string `pulumi:"updateTime"`
	// The vlan ID of shared connection,if `connectionType` is `DedicatedConnection`,this parameter returns 0.
	VlanId int `pulumi:"vlanId"`
}

type ConnectionsDirectConnectConnectionArgs

type ConnectionsDirectConnectConnectionArgs struct {
	// The account ID which the physical leased line belongs.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The bandwidth of direct connect.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The dedicated line billing type,only support `1` for yearly and monthly billing currently.
	BillingType pulumi.IntInput `pulumi:"billingType"`
	// The dedicated line billing status.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
	ConnectionType pulumi.StringInput `pulumi:"connectionType"`
	// The creation time of direct connect.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The dedicated line contact email.
	CustomerContactEmail pulumi.StringInput `pulumi:"customerContactEmail"`
	// The dedicated line contact phone.
	CustomerContactPhone pulumi.StringInput `pulumi:"customerContactPhone"`
	// The dedicated line contact name.
	CustomerName pulumi.StringInput `pulumi:"customerName"`
	// The expected resource force collection time.
	DeletedTime pulumi.StringInput `pulumi:"deletedTime"`
	// The description of direct connect connection.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the physical leased line access point.
	DirectConnectAccessPointId pulumi.StringInput `pulumi:"directConnectAccessPointId"`
	// The ID of direct connect connection.
	DirectConnectConnectionId pulumi.StringInput `pulumi:"directConnectConnectionId"`
	// The name of directi connect connection.
	DirectConnectConnectionName pulumi.StringInput `pulumi:"directConnectConnectionName"`
	// The expect bandwidth of direct connect.
	ExpectBandwidth pulumi.IntInput `pulumi:"expectBandwidth"`
	// The expired time.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
	LineOperator pulumi.StringInput `pulumi:"lineOperator"`
	// The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
	ParentConnectionAccountId pulumi.StringInput `pulumi:"parentConnectionAccountId"`
	// The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
	ParentConnectionId pulumi.StringInput `pulumi:"parentConnectionId"`
	// The peer access point of the physical leased line.
	PeerLocation pulumi.StringInput `pulumi:"peerLocation"`
	// The dedicated line port spec.
	PortSpec pulumi.StringInput `pulumi:"portSpec"`
	// The port type of direct connect.
	PortType pulumi.StringInput `pulumi:"portType"`
	// The status of physical leased line.
	Status pulumi.StringInput `pulumi:"status"`
	// All tags that physical leased line added.
	Tags ConnectionsDirectConnectConnectionTagArrayInput `pulumi:"tags"`
	// The update time of direct connect.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The vlan ID of shared connection,if `connectionType` is `DedicatedConnection`,this parameter returns 0.
	VlanId pulumi.IntInput `pulumi:"vlanId"`
}

func (ConnectionsDirectConnectConnectionArgs) ElementType

func (ConnectionsDirectConnectConnectionArgs) ToConnectionsDirectConnectConnectionOutput

func (i ConnectionsDirectConnectConnectionArgs) ToConnectionsDirectConnectConnectionOutput() ConnectionsDirectConnectConnectionOutput

func (ConnectionsDirectConnectConnectionArgs) ToConnectionsDirectConnectConnectionOutputWithContext

func (i ConnectionsDirectConnectConnectionArgs) ToConnectionsDirectConnectConnectionOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionOutput

type ConnectionsDirectConnectConnectionArray

type ConnectionsDirectConnectConnectionArray []ConnectionsDirectConnectConnectionInput

func (ConnectionsDirectConnectConnectionArray) ElementType

func (ConnectionsDirectConnectConnectionArray) ToConnectionsDirectConnectConnectionArrayOutput

func (i ConnectionsDirectConnectConnectionArray) ToConnectionsDirectConnectConnectionArrayOutput() ConnectionsDirectConnectConnectionArrayOutput

func (ConnectionsDirectConnectConnectionArray) ToConnectionsDirectConnectConnectionArrayOutputWithContext

func (i ConnectionsDirectConnectConnectionArray) ToConnectionsDirectConnectConnectionArrayOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionArrayOutput

type ConnectionsDirectConnectConnectionArrayInput

type ConnectionsDirectConnectConnectionArrayInput interface {
	pulumi.Input

	ToConnectionsDirectConnectConnectionArrayOutput() ConnectionsDirectConnectConnectionArrayOutput
	ToConnectionsDirectConnectConnectionArrayOutputWithContext(context.Context) ConnectionsDirectConnectConnectionArrayOutput
}

ConnectionsDirectConnectConnectionArrayInput is an input type that accepts ConnectionsDirectConnectConnectionArray and ConnectionsDirectConnectConnectionArrayOutput values. You can construct a concrete instance of `ConnectionsDirectConnectConnectionArrayInput` via:

ConnectionsDirectConnectConnectionArray{ ConnectionsDirectConnectConnectionArgs{...} }

type ConnectionsDirectConnectConnectionArrayOutput

type ConnectionsDirectConnectConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionsDirectConnectConnectionArrayOutput) ElementType

func (ConnectionsDirectConnectConnectionArrayOutput) Index

func (ConnectionsDirectConnectConnectionArrayOutput) ToConnectionsDirectConnectConnectionArrayOutput

func (o ConnectionsDirectConnectConnectionArrayOutput) ToConnectionsDirectConnectConnectionArrayOutput() ConnectionsDirectConnectConnectionArrayOutput

func (ConnectionsDirectConnectConnectionArrayOutput) ToConnectionsDirectConnectConnectionArrayOutputWithContext

func (o ConnectionsDirectConnectConnectionArrayOutput) ToConnectionsDirectConnectConnectionArrayOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionArrayOutput

type ConnectionsDirectConnectConnectionInput

type ConnectionsDirectConnectConnectionInput interface {
	pulumi.Input

	ToConnectionsDirectConnectConnectionOutput() ConnectionsDirectConnectConnectionOutput
	ToConnectionsDirectConnectConnectionOutputWithContext(context.Context) ConnectionsDirectConnectConnectionOutput
}

ConnectionsDirectConnectConnectionInput is an input type that accepts ConnectionsDirectConnectConnectionArgs and ConnectionsDirectConnectConnectionOutput values. You can construct a concrete instance of `ConnectionsDirectConnectConnectionInput` via:

ConnectionsDirectConnectConnectionArgs{...}

type ConnectionsDirectConnectConnectionOutput

type ConnectionsDirectConnectConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionsDirectConnectConnectionOutput) AccountId

The account ID which the physical leased line belongs.

func (ConnectionsDirectConnectConnectionOutput) Bandwidth

The bandwidth of direct connect.

func (ConnectionsDirectConnectConnectionOutput) BillingType

The dedicated line billing type,only support `1` for yearly and monthly billing currently.

func (ConnectionsDirectConnectConnectionOutput) BusinessStatus

The dedicated line billing status.

func (ConnectionsDirectConnectConnectionOutput) ConnectionType

The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.

func (ConnectionsDirectConnectConnectionOutput) CreationTime

The creation time of direct connect.

func (ConnectionsDirectConnectConnectionOutput) CustomerContactEmail

The dedicated line contact email.

func (ConnectionsDirectConnectConnectionOutput) CustomerContactPhone

The dedicated line contact phone.

func (ConnectionsDirectConnectConnectionOutput) CustomerName

The dedicated line contact name.

func (ConnectionsDirectConnectConnectionOutput) DeletedTime

The expected resource force collection time.

func (ConnectionsDirectConnectConnectionOutput) Description

The description of direct connect connection.

func (ConnectionsDirectConnectConnectionOutput) DirectConnectAccessPointId

func (o ConnectionsDirectConnectConnectionOutput) DirectConnectAccessPointId() pulumi.StringOutput

The ID of the physical leased line access point.

func (ConnectionsDirectConnectConnectionOutput) DirectConnectConnectionId

func (o ConnectionsDirectConnectConnectionOutput) DirectConnectConnectionId() pulumi.StringOutput

The ID of direct connect connection.

func (ConnectionsDirectConnectConnectionOutput) DirectConnectConnectionName

func (o ConnectionsDirectConnectConnectionOutput) DirectConnectConnectionName() pulumi.StringOutput

The name of directi connect connection.

func (ConnectionsDirectConnectConnectionOutput) ElementType

func (ConnectionsDirectConnectConnectionOutput) ExpectBandwidth

The expect bandwidth of direct connect.

func (ConnectionsDirectConnectConnectionOutput) ExpiredTime

The expired time.

func (ConnectionsDirectConnectConnectionOutput) LineOperator

The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.

func (ConnectionsDirectConnectConnectionOutput) ParentConnectionAccountId

func (o ConnectionsDirectConnectConnectionOutput) ParentConnectionAccountId() pulumi.StringOutput

The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.

func (ConnectionsDirectConnectConnectionOutput) ParentConnectionId

The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.

func (ConnectionsDirectConnectConnectionOutput) PeerLocation

The peer access point of the physical leased line.

func (ConnectionsDirectConnectConnectionOutput) PortSpec

The dedicated line port spec.

func (ConnectionsDirectConnectConnectionOutput) PortType

The port type of direct connect.

func (ConnectionsDirectConnectConnectionOutput) Status

The status of physical leased line.

func (ConnectionsDirectConnectConnectionOutput) Tags

All tags that physical leased line added.

func (ConnectionsDirectConnectConnectionOutput) ToConnectionsDirectConnectConnectionOutput

func (o ConnectionsDirectConnectConnectionOutput) ToConnectionsDirectConnectConnectionOutput() ConnectionsDirectConnectConnectionOutput

func (ConnectionsDirectConnectConnectionOutput) ToConnectionsDirectConnectConnectionOutputWithContext

func (o ConnectionsDirectConnectConnectionOutput) ToConnectionsDirectConnectConnectionOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionOutput

func (ConnectionsDirectConnectConnectionOutput) UpdateTime

The update time of direct connect.

func (ConnectionsDirectConnectConnectionOutput) VlanId

The vlan ID of shared connection,if `connectionType` is `DedicatedConnection`,this parameter returns 0.

type ConnectionsDirectConnectConnectionTag

type ConnectionsDirectConnectConnectionTag struct {
	// The tag key of cloud resource instance.
	Key string `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value string `pulumi:"value"`
}

type ConnectionsDirectConnectConnectionTagArgs

type ConnectionsDirectConnectConnectionTagArgs struct {
	// The tag key of cloud resource instance.
	Key pulumi.StringInput `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ConnectionsDirectConnectConnectionTagArgs) ElementType

func (ConnectionsDirectConnectConnectionTagArgs) ToConnectionsDirectConnectConnectionTagOutput

func (i ConnectionsDirectConnectConnectionTagArgs) ToConnectionsDirectConnectConnectionTagOutput() ConnectionsDirectConnectConnectionTagOutput

func (ConnectionsDirectConnectConnectionTagArgs) ToConnectionsDirectConnectConnectionTagOutputWithContext

func (i ConnectionsDirectConnectConnectionTagArgs) ToConnectionsDirectConnectConnectionTagOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionTagOutput

type ConnectionsDirectConnectConnectionTagArray

type ConnectionsDirectConnectConnectionTagArray []ConnectionsDirectConnectConnectionTagInput

func (ConnectionsDirectConnectConnectionTagArray) ElementType

func (ConnectionsDirectConnectConnectionTagArray) ToConnectionsDirectConnectConnectionTagArrayOutput

func (i ConnectionsDirectConnectConnectionTagArray) ToConnectionsDirectConnectConnectionTagArrayOutput() ConnectionsDirectConnectConnectionTagArrayOutput

func (ConnectionsDirectConnectConnectionTagArray) ToConnectionsDirectConnectConnectionTagArrayOutputWithContext

func (i ConnectionsDirectConnectConnectionTagArray) ToConnectionsDirectConnectConnectionTagArrayOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionTagArrayOutput

type ConnectionsDirectConnectConnectionTagArrayInput

type ConnectionsDirectConnectConnectionTagArrayInput interface {
	pulumi.Input

	ToConnectionsDirectConnectConnectionTagArrayOutput() ConnectionsDirectConnectConnectionTagArrayOutput
	ToConnectionsDirectConnectConnectionTagArrayOutputWithContext(context.Context) ConnectionsDirectConnectConnectionTagArrayOutput
}

ConnectionsDirectConnectConnectionTagArrayInput is an input type that accepts ConnectionsDirectConnectConnectionTagArray and ConnectionsDirectConnectConnectionTagArrayOutput values. You can construct a concrete instance of `ConnectionsDirectConnectConnectionTagArrayInput` via:

ConnectionsDirectConnectConnectionTagArray{ ConnectionsDirectConnectConnectionTagArgs{...} }

type ConnectionsDirectConnectConnectionTagArrayOutput

type ConnectionsDirectConnectConnectionTagArrayOutput struct{ *pulumi.OutputState }

func (ConnectionsDirectConnectConnectionTagArrayOutput) ElementType

func (ConnectionsDirectConnectConnectionTagArrayOutput) Index

func (ConnectionsDirectConnectConnectionTagArrayOutput) ToConnectionsDirectConnectConnectionTagArrayOutput

func (o ConnectionsDirectConnectConnectionTagArrayOutput) ToConnectionsDirectConnectConnectionTagArrayOutput() ConnectionsDirectConnectConnectionTagArrayOutput

func (ConnectionsDirectConnectConnectionTagArrayOutput) ToConnectionsDirectConnectConnectionTagArrayOutputWithContext

func (o ConnectionsDirectConnectConnectionTagArrayOutput) ToConnectionsDirectConnectConnectionTagArrayOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionTagArrayOutput

type ConnectionsDirectConnectConnectionTagInput

type ConnectionsDirectConnectConnectionTagInput interface {
	pulumi.Input

	ToConnectionsDirectConnectConnectionTagOutput() ConnectionsDirectConnectConnectionTagOutput
	ToConnectionsDirectConnectConnectionTagOutputWithContext(context.Context) ConnectionsDirectConnectConnectionTagOutput
}

ConnectionsDirectConnectConnectionTagInput is an input type that accepts ConnectionsDirectConnectConnectionTagArgs and ConnectionsDirectConnectConnectionTagOutput values. You can construct a concrete instance of `ConnectionsDirectConnectConnectionTagInput` via:

ConnectionsDirectConnectConnectionTagArgs{...}

type ConnectionsDirectConnectConnectionTagOutput

type ConnectionsDirectConnectConnectionTagOutput struct{ *pulumi.OutputState }

func (ConnectionsDirectConnectConnectionTagOutput) ElementType

func (ConnectionsDirectConnectConnectionTagOutput) Key

The tag key of cloud resource instance.

func (ConnectionsDirectConnectConnectionTagOutput) ToConnectionsDirectConnectConnectionTagOutput

func (o ConnectionsDirectConnectConnectionTagOutput) ToConnectionsDirectConnectConnectionTagOutput() ConnectionsDirectConnectConnectionTagOutput

func (ConnectionsDirectConnectConnectionTagOutput) ToConnectionsDirectConnectConnectionTagOutputWithContext

func (o ConnectionsDirectConnectConnectionTagOutput) ToConnectionsDirectConnectConnectionTagOutputWithContext(ctx context.Context) ConnectionsDirectConnectConnectionTagOutput

func (ConnectionsDirectConnectConnectionTagOutput) Value

The tag value of cloud resource instance.

type ConnectionsOutputArgs

type ConnectionsOutputArgs struct {
	// The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
	ConnectionType pulumi.StringPtrInput `pulumi:"connectionType"`
	// The ID of the physical leased line access point.
	DirectConnectAccessPointId pulumi.StringPtrInput `pulumi:"directConnectAccessPointId"`
	// The name of directi connect connection.
	DirectConnectConnectionName pulumi.StringPtrInput `pulumi:"directConnectConnectionName"`
	// A list of IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
	LineOperator pulumi.StringPtrInput `pulumi:"lineOperator"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The peer access point of the physical leased line.
	PeerLocation pulumi.StringPtrInput `pulumi:"peerLocation"`
	// The filter tag of direct connect.
	TagFilters ConnectionsTagFilterArrayInput `pulumi:"tagFilters"`
}

A collection of arguments for invoking Connections.

func (ConnectionsOutputArgs) ElementType

func (ConnectionsOutputArgs) ElementType() reflect.Type

type ConnectionsResult

type ConnectionsResult struct {
	// The connection type of direct connect.
	ConnectionType *string `pulumi:"connectionType"`
	// The access point id of direct connect.
	DirectConnectAccessPointId *string `pulumi:"directConnectAccessPointId"`
	// The name of direct connect connection.
	DirectConnectConnectionName *string `pulumi:"directConnectConnectionName"`
	// The collection of query.
	DirectConnectConnections []ConnectionsDirectConnectConnection `pulumi:"directConnectConnections"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The operator of physical leased line.
	LineOperator *string `pulumi:"lineOperator"`
	NameRegex    *string `pulumi:"nameRegex"`
	OutputFile   *string `pulumi:"outputFile"`
	// The peer access point of the physical leased line.
	PeerLocation *string                `pulumi:"peerLocation"`
	TagFilters   []ConnectionsTagFilter `pulumi:"tagFilters"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

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 direct connect connections ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.Connections(ctx, &direct_connect.ConnectionsArgs{
			DirectConnectConnectionName: pulumi.StringRef("tf_test"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type ConnectionsResultOutput

type ConnectionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Connections.

func (ConnectionsResultOutput) ConnectionType

func (o ConnectionsResultOutput) ConnectionType() pulumi.StringPtrOutput

The connection type of direct connect.

func (ConnectionsResultOutput) DirectConnectAccessPointId

func (o ConnectionsResultOutput) DirectConnectAccessPointId() pulumi.StringPtrOutput

The access point id of direct connect.

func (ConnectionsResultOutput) DirectConnectConnectionName

func (o ConnectionsResultOutput) DirectConnectConnectionName() pulumi.StringPtrOutput

The name of direct connect connection.

func (ConnectionsResultOutput) DirectConnectConnections

The collection of query.

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) LineOperator

The operator of physical leased line.

func (ConnectionsResultOutput) NameRegex

func (ConnectionsResultOutput) OutputFile

func (ConnectionsResultOutput) PeerLocation

The peer access point of the physical leased line.

func (ConnectionsResultOutput) TagFilters

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 query.

type ConnectionsTagFilter

type ConnectionsTagFilter struct {
	// The tag key of cloud resource instance.
	Key *string `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value *string `pulumi:"value"`
}

type ConnectionsTagFilterArgs

type ConnectionsTagFilterArgs struct {
	// The tag key of cloud resource instance.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ConnectionsTagFilterArgs) ElementType

func (ConnectionsTagFilterArgs) ElementType() reflect.Type

func (ConnectionsTagFilterArgs) ToConnectionsTagFilterOutput

func (i ConnectionsTagFilterArgs) ToConnectionsTagFilterOutput() ConnectionsTagFilterOutput

func (ConnectionsTagFilterArgs) ToConnectionsTagFilterOutputWithContext

func (i ConnectionsTagFilterArgs) ToConnectionsTagFilterOutputWithContext(ctx context.Context) ConnectionsTagFilterOutput

type ConnectionsTagFilterArray

type ConnectionsTagFilterArray []ConnectionsTagFilterInput

func (ConnectionsTagFilterArray) ElementType

func (ConnectionsTagFilterArray) ElementType() reflect.Type

func (ConnectionsTagFilterArray) ToConnectionsTagFilterArrayOutput

func (i ConnectionsTagFilterArray) ToConnectionsTagFilterArrayOutput() ConnectionsTagFilterArrayOutput

func (ConnectionsTagFilterArray) ToConnectionsTagFilterArrayOutputWithContext

func (i ConnectionsTagFilterArray) ToConnectionsTagFilterArrayOutputWithContext(ctx context.Context) ConnectionsTagFilterArrayOutput

type ConnectionsTagFilterArrayInput

type ConnectionsTagFilterArrayInput interface {
	pulumi.Input

	ToConnectionsTagFilterArrayOutput() ConnectionsTagFilterArrayOutput
	ToConnectionsTagFilterArrayOutputWithContext(context.Context) ConnectionsTagFilterArrayOutput
}

ConnectionsTagFilterArrayInput is an input type that accepts ConnectionsTagFilterArray and ConnectionsTagFilterArrayOutput values. You can construct a concrete instance of `ConnectionsTagFilterArrayInput` via:

ConnectionsTagFilterArray{ ConnectionsTagFilterArgs{...} }

type ConnectionsTagFilterArrayOutput

type ConnectionsTagFilterArrayOutput struct{ *pulumi.OutputState }

func (ConnectionsTagFilterArrayOutput) ElementType

func (ConnectionsTagFilterArrayOutput) Index

func (ConnectionsTagFilterArrayOutput) ToConnectionsTagFilterArrayOutput

func (o ConnectionsTagFilterArrayOutput) ToConnectionsTagFilterArrayOutput() ConnectionsTagFilterArrayOutput

func (ConnectionsTagFilterArrayOutput) ToConnectionsTagFilterArrayOutputWithContext

func (o ConnectionsTagFilterArrayOutput) ToConnectionsTagFilterArrayOutputWithContext(ctx context.Context) ConnectionsTagFilterArrayOutput

type ConnectionsTagFilterInput

type ConnectionsTagFilterInput interface {
	pulumi.Input

	ToConnectionsTagFilterOutput() ConnectionsTagFilterOutput
	ToConnectionsTagFilterOutputWithContext(context.Context) ConnectionsTagFilterOutput
}

ConnectionsTagFilterInput is an input type that accepts ConnectionsTagFilterArgs and ConnectionsTagFilterOutput values. You can construct a concrete instance of `ConnectionsTagFilterInput` via:

ConnectionsTagFilterArgs{...}

type ConnectionsTagFilterOutput

type ConnectionsTagFilterOutput struct{ *pulumi.OutputState }

func (ConnectionsTagFilterOutput) ElementType

func (ConnectionsTagFilterOutput) ElementType() reflect.Type

func (ConnectionsTagFilterOutput) Key

The tag key of cloud resource instance.

func (ConnectionsTagFilterOutput) ToConnectionsTagFilterOutput

func (o ConnectionsTagFilterOutput) ToConnectionsTagFilterOutput() ConnectionsTagFilterOutput

func (ConnectionsTagFilterOutput) ToConnectionsTagFilterOutputWithContext

func (o ConnectionsTagFilterOutput) ToConnectionsTagFilterOutputWithContext(ctx context.Context) ConnectionsTagFilterOutput

func (ConnectionsTagFilterOutput) Value

The tag value of cloud resource instance.

type Gateway

type Gateway struct {
	pulumi.CustomResourceState

	// The description of direct connect gateway.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of direct connect gateway.
	DirectConnectGatewayName pulumi.StringPtrOutput `pulumi:"directConnectGatewayName"`
	// The direct connect gateway tags.
	Tags GatewayTagArrayOutput `pulumi:"tags"`
}

Provides a resource to manage direct connect gateway ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.NewGateway(ctx, "foo", &direct_connect.GatewayArgs{
			Description:              pulumi.String("tf-test"),
			DirectConnectGatewayName: pulumi.String("tf-test-gateway"),
			Tags: direct_connect.GatewayTagArray{
				&direct_connect.GatewayTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:direct_connect/gateway:Gateway default resource_id

```

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 description of direct connect gateway.
	Description pulumi.StringPtrInput
	// The name of direct connect gateway.
	DirectConnectGatewayName pulumi.StringPtrInput
	// The direct connect gateway tags.
	Tags GatewayTagArrayInput
}

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) Description

func (o GatewayOutput) Description() pulumi.StringPtrOutput

The description of direct connect gateway.

func (GatewayOutput) DirectConnectGatewayName

func (o GatewayOutput) DirectConnectGatewayName() pulumi.StringPtrOutput

The name of direct connect gateway.

func (GatewayOutput) ElementType

func (GatewayOutput) ElementType() reflect.Type

func (GatewayOutput) Tags

The direct connect gateway tags.

func (GatewayOutput) ToGatewayOutput

func (o GatewayOutput) ToGatewayOutput() GatewayOutput

func (GatewayOutput) ToGatewayOutputWithContext

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

type GatewayRoute

type GatewayRoute struct {
	pulumi.CustomResourceState

	// The id of account.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The create time.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The cidr block.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// The id of direct connect gateway.
	DirectConnectGatewayId pulumi.StringOutput `pulumi:"directConnectGatewayId"`
	// The id of direct connect gateway route.
	DirectConnectGatewayRouteId pulumi.StringOutput `pulumi:"directConnectGatewayRouteId"`
	// The id of next hop.
	NextHopId pulumi.StringOutput `pulumi:"nextHopId"`
	// The type of next hop.
	NextHopType pulumi.StringOutput `pulumi:"nextHopType"`
	// The type of route.
	RouteType pulumi.StringOutput `pulumi:"routeType"`
	// The status info.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a resource to manage direct connect gateway route ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.NewGatewayRoute(ctx, "foo", &direct_connect.GatewayRouteArgs{
			DestinationCidrBlock:   pulumi.String("192.168.40.0/24"),
			DirectConnectGatewayId: pulumi.String("dcg-172frxs5utjb44d1w33op****"),
			NextHopId:              pulumi.String("dcv-1729lrbfx7fuo4d1w34pk****"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:direct_connect/gatewayRoute:GatewayRoute default resource_id

```

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 cidr block.
	DestinationCidrBlock pulumi.StringInput
	// The id of direct connect gateway.
	DirectConnectGatewayId pulumi.StringInput
	// The id of next hop.
	NextHopId 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) AccountId

func (o GatewayRouteOutput) AccountId() pulumi.StringOutput

The id of account.

func (GatewayRouteOutput) CreationTime

func (o GatewayRouteOutput) CreationTime() pulumi.StringOutput

The create time.

func (GatewayRouteOutput) DestinationCidrBlock

func (o GatewayRouteOutput) DestinationCidrBlock() pulumi.StringOutput

The cidr block.

func (GatewayRouteOutput) DirectConnectGatewayId

func (o GatewayRouteOutput) DirectConnectGatewayId() pulumi.StringOutput

The id of direct connect gateway.

func (GatewayRouteOutput) DirectConnectGatewayRouteId

func (o GatewayRouteOutput) DirectConnectGatewayRouteId() pulumi.StringOutput

The id of direct connect gateway route.

func (GatewayRouteOutput) ElementType

func (GatewayRouteOutput) ElementType() reflect.Type

func (GatewayRouteOutput) NextHopId

func (o GatewayRouteOutput) NextHopId() pulumi.StringOutput

The id of next hop.

func (GatewayRouteOutput) NextHopType

func (o GatewayRouteOutput) NextHopType() pulumi.StringOutput

The type of next hop.

func (GatewayRouteOutput) RouteType

func (o GatewayRouteOutput) RouteType() pulumi.StringOutput

The type of route.

func (GatewayRouteOutput) Status

The status info.

func (GatewayRouteOutput) ToGatewayRouteOutput

func (o GatewayRouteOutput) ToGatewayRouteOutput() GatewayRouteOutput

func (GatewayRouteOutput) ToGatewayRouteOutputWithContext

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

type GatewayRouteState

type GatewayRouteState struct {
	// The id of account.
	AccountId pulumi.StringPtrInput
	// The create time.
	CreationTime pulumi.StringPtrInput
	// The cidr block.
	DestinationCidrBlock pulumi.StringPtrInput
	// The id of direct connect gateway.
	DirectConnectGatewayId pulumi.StringPtrInput
	// The id of direct connect gateway route.
	DirectConnectGatewayRouteId pulumi.StringPtrInput
	// The id of next hop.
	NextHopId pulumi.StringPtrInput
	// The type of next hop.
	NextHopType pulumi.StringPtrInput
	// The type of route.
	RouteType pulumi.StringPtrInput
	// The status info.
	Status pulumi.StringPtrInput
}

func (GatewayRouteState) ElementType

func (GatewayRouteState) ElementType() reflect.Type

type GatewayRoutesArgs

type GatewayRoutesArgs struct {
	// The cidr block.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The id of direct connect gateway.
	DirectConnectGatewayId *string `pulumi:"directConnectGatewayId"`
	// A list of IDs.
	Ids []string `pulumi:"ids"`
	// The id of next hop.
	NextHopId *string `pulumi:"nextHopId"`
	// The type of next hop.
	NextHopType *string `pulumi:"nextHopType"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The type of route. The value can be BGP or CEN or Static.
	RouteType *string `pulumi:"routeType"`
}

A collection of arguments for invoking GatewayRoutes.

type GatewayRoutesDirectConnectGatewayRoute

type GatewayRoutesDirectConnectGatewayRoute struct {
	// The id of account.
	AccountId string `pulumi:"accountId"`
	// The create time.
	CreationTime string `pulumi:"creationTime"`
	// The cidr block.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// The id of direct connect gateway.
	DirectConnectGatewayId string `pulumi:"directConnectGatewayId"`
	// The id of direct connect gateway route.
	DirectConnectGatewayRouteId string `pulumi:"directConnectGatewayRouteId"`
	// The id of next hop.
	NextHopId string `pulumi:"nextHopId"`
	// The type of next hop.
	NextHopType string `pulumi:"nextHopType"`
	// The type of route. The value can be BGP or CEN or Static.
	RouteType string `pulumi:"routeType"`
	// The status info.
	Status string `pulumi:"status"`
}

type GatewayRoutesDirectConnectGatewayRouteArgs

type GatewayRoutesDirectConnectGatewayRouteArgs struct {
	// The id of account.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The create time.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The cidr block.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// The id of direct connect gateway.
	DirectConnectGatewayId pulumi.StringInput `pulumi:"directConnectGatewayId"`
	// The id of direct connect gateway route.
	DirectConnectGatewayRouteId pulumi.StringInput `pulumi:"directConnectGatewayRouteId"`
	// The id of next hop.
	NextHopId pulumi.StringInput `pulumi:"nextHopId"`
	// The type of next hop.
	NextHopType pulumi.StringInput `pulumi:"nextHopType"`
	// The type of route. The value can be BGP or CEN or Static.
	RouteType pulumi.StringInput `pulumi:"routeType"`
	// The status info.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GatewayRoutesDirectConnectGatewayRouteArgs) ElementType

func (GatewayRoutesDirectConnectGatewayRouteArgs) ToGatewayRoutesDirectConnectGatewayRouteOutput

func (i GatewayRoutesDirectConnectGatewayRouteArgs) ToGatewayRoutesDirectConnectGatewayRouteOutput() GatewayRoutesDirectConnectGatewayRouteOutput

func (GatewayRoutesDirectConnectGatewayRouteArgs) ToGatewayRoutesDirectConnectGatewayRouteOutputWithContext

func (i GatewayRoutesDirectConnectGatewayRouteArgs) ToGatewayRoutesDirectConnectGatewayRouteOutputWithContext(ctx context.Context) GatewayRoutesDirectConnectGatewayRouteOutput

type GatewayRoutesDirectConnectGatewayRouteArray

type GatewayRoutesDirectConnectGatewayRouteArray []GatewayRoutesDirectConnectGatewayRouteInput

func (GatewayRoutesDirectConnectGatewayRouteArray) ElementType

func (GatewayRoutesDirectConnectGatewayRouteArray) ToGatewayRoutesDirectConnectGatewayRouteArrayOutput

func (i GatewayRoutesDirectConnectGatewayRouteArray) ToGatewayRoutesDirectConnectGatewayRouteArrayOutput() GatewayRoutesDirectConnectGatewayRouteArrayOutput

func (GatewayRoutesDirectConnectGatewayRouteArray) ToGatewayRoutesDirectConnectGatewayRouteArrayOutputWithContext

func (i GatewayRoutesDirectConnectGatewayRouteArray) ToGatewayRoutesDirectConnectGatewayRouteArrayOutputWithContext(ctx context.Context) GatewayRoutesDirectConnectGatewayRouteArrayOutput

type GatewayRoutesDirectConnectGatewayRouteArrayInput

type GatewayRoutesDirectConnectGatewayRouteArrayInput interface {
	pulumi.Input

	ToGatewayRoutesDirectConnectGatewayRouteArrayOutput() GatewayRoutesDirectConnectGatewayRouteArrayOutput
	ToGatewayRoutesDirectConnectGatewayRouteArrayOutputWithContext(context.Context) GatewayRoutesDirectConnectGatewayRouteArrayOutput
}

GatewayRoutesDirectConnectGatewayRouteArrayInput is an input type that accepts GatewayRoutesDirectConnectGatewayRouteArray and GatewayRoutesDirectConnectGatewayRouteArrayOutput values. You can construct a concrete instance of `GatewayRoutesDirectConnectGatewayRouteArrayInput` via:

GatewayRoutesDirectConnectGatewayRouteArray{ GatewayRoutesDirectConnectGatewayRouteArgs{...} }

type GatewayRoutesDirectConnectGatewayRouteArrayOutput

type GatewayRoutesDirectConnectGatewayRouteArrayOutput struct{ *pulumi.OutputState }

func (GatewayRoutesDirectConnectGatewayRouteArrayOutput) ElementType

func (GatewayRoutesDirectConnectGatewayRouteArrayOutput) Index

func (GatewayRoutesDirectConnectGatewayRouteArrayOutput) ToGatewayRoutesDirectConnectGatewayRouteArrayOutput

func (o GatewayRoutesDirectConnectGatewayRouteArrayOutput) ToGatewayRoutesDirectConnectGatewayRouteArrayOutput() GatewayRoutesDirectConnectGatewayRouteArrayOutput

func (GatewayRoutesDirectConnectGatewayRouteArrayOutput) ToGatewayRoutesDirectConnectGatewayRouteArrayOutputWithContext

func (o GatewayRoutesDirectConnectGatewayRouteArrayOutput) ToGatewayRoutesDirectConnectGatewayRouteArrayOutputWithContext(ctx context.Context) GatewayRoutesDirectConnectGatewayRouteArrayOutput

type GatewayRoutesDirectConnectGatewayRouteInput

type GatewayRoutesDirectConnectGatewayRouteInput interface {
	pulumi.Input

	ToGatewayRoutesDirectConnectGatewayRouteOutput() GatewayRoutesDirectConnectGatewayRouteOutput
	ToGatewayRoutesDirectConnectGatewayRouteOutputWithContext(context.Context) GatewayRoutesDirectConnectGatewayRouteOutput
}

GatewayRoutesDirectConnectGatewayRouteInput is an input type that accepts GatewayRoutesDirectConnectGatewayRouteArgs and GatewayRoutesDirectConnectGatewayRouteOutput values. You can construct a concrete instance of `GatewayRoutesDirectConnectGatewayRouteInput` via:

GatewayRoutesDirectConnectGatewayRouteArgs{...}

type GatewayRoutesDirectConnectGatewayRouteOutput

type GatewayRoutesDirectConnectGatewayRouteOutput struct{ *pulumi.OutputState }

func (GatewayRoutesDirectConnectGatewayRouteOutput) AccountId

The id of account.

func (GatewayRoutesDirectConnectGatewayRouteOutput) CreationTime

The create time.

func (GatewayRoutesDirectConnectGatewayRouteOutput) DestinationCidrBlock

The cidr block.

func (GatewayRoutesDirectConnectGatewayRouteOutput) DirectConnectGatewayId

The id of direct connect gateway.

func (GatewayRoutesDirectConnectGatewayRouteOutput) DirectConnectGatewayRouteId

func (o GatewayRoutesDirectConnectGatewayRouteOutput) DirectConnectGatewayRouteId() pulumi.StringOutput

The id of direct connect gateway route.

func (GatewayRoutesDirectConnectGatewayRouteOutput) ElementType

func (GatewayRoutesDirectConnectGatewayRouteOutput) NextHopId

The id of next hop.

func (GatewayRoutesDirectConnectGatewayRouteOutput) NextHopType

The type of next hop.

func (GatewayRoutesDirectConnectGatewayRouteOutput) RouteType

The type of route. The value can be BGP or CEN or Static.

func (GatewayRoutesDirectConnectGatewayRouteOutput) Status

The status info.

func (GatewayRoutesDirectConnectGatewayRouteOutput) ToGatewayRoutesDirectConnectGatewayRouteOutput

func (o GatewayRoutesDirectConnectGatewayRouteOutput) ToGatewayRoutesDirectConnectGatewayRouteOutput() GatewayRoutesDirectConnectGatewayRouteOutput

func (GatewayRoutesDirectConnectGatewayRouteOutput) ToGatewayRoutesDirectConnectGatewayRouteOutputWithContext

func (o GatewayRoutesDirectConnectGatewayRouteOutput) ToGatewayRoutesDirectConnectGatewayRouteOutputWithContext(ctx context.Context) GatewayRoutesDirectConnectGatewayRouteOutput

type GatewayRoutesOutputArgs

type GatewayRoutesOutputArgs struct {
	// The cidr block.
	DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
	// The id of direct connect gateway.
	DirectConnectGatewayId pulumi.StringPtrInput `pulumi:"directConnectGatewayId"`
	// A list of IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The id of next hop.
	NextHopId pulumi.StringPtrInput `pulumi:"nextHopId"`
	// The type of next hop.
	NextHopType pulumi.StringPtrInput `pulumi:"nextHopType"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The type of route. The value can be BGP or CEN or Static.
	RouteType pulumi.StringPtrInput `pulumi:"routeType"`
}

A collection of arguments for invoking GatewayRoutes.

func (GatewayRoutesOutputArgs) ElementType

func (GatewayRoutesOutputArgs) ElementType() reflect.Type

type GatewayRoutesResult

type GatewayRoutesResult struct {
	// The cidr block.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The id of direct connect gateway.
	DirectConnectGatewayId *string `pulumi:"directConnectGatewayId"`
	// The collection of query.
	DirectConnectGatewayRoutes []GatewayRoutesDirectConnectGatewayRoute `pulumi:"directConnectGatewayRoutes"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The id of next hop.
	NextHopId *string `pulumi:"nextHopId"`
	// The type of next hop.
	NextHopType *string `pulumi:"nextHopType"`
	OutputFile  *string `pulumi:"outputFile"`
	// The type of route.
	RouteType *string `pulumi:"routeType"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

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 direct connect gateway routes ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.GatewayRoutes(ctx, &direct_connect.GatewayRoutesArgs{
			Ids: []string{
				"dcr-638ry33wmzggn3gd6gv****",
				"dcr-20d6tkadi2k8w65sqhgbj****",
			},
		}, nil)
		if err != nil {
			return err
		}
		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 cidr block.

func (GatewayRoutesResultOutput) DirectConnectGatewayId

func (o GatewayRoutesResultOutput) DirectConnectGatewayId() pulumi.StringPtrOutput

The id of direct connect gateway.

func (GatewayRoutesResultOutput) DirectConnectGatewayRoutes

The collection of query.

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 id of next hop.

func (GatewayRoutesResultOutput) NextHopType

The type of next hop.

func (GatewayRoutesResultOutput) OutputFile

func (GatewayRoutesResultOutput) RouteType

The type of route.

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 query.

type GatewayState

type GatewayState struct {
	// The description of direct connect gateway.
	Description pulumi.StringPtrInput
	// The name of direct connect gateway.
	DirectConnectGatewayName pulumi.StringPtrInput
	// The direct connect gateway tags.
	Tags GatewayTagArrayInput
}

func (GatewayState) ElementType

func (GatewayState) ElementType() reflect.Type

type GatewayTag

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

type GatewayTagArgs

type GatewayTagArgs struct {
	// The tag key.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The tag value.
	Value pulumi.StringPtrInput `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 tag key.

func (GatewayTagOutput) ToGatewayTagOutput

func (o GatewayTagOutput) ToGatewayTagOutput() GatewayTagOutput

func (GatewayTagOutput) ToGatewayTagOutputWithContext

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

func (GatewayTagOutput) Value

The tag value.

type GatewaysArgs

type GatewaysArgs struct {
	// The CEN ID which direct connect gateway belongs.
	CenId *string `pulumi:"cenId"`
	// The direst connect gateway name.
	DirectConnectGatewayName *string `pulumi:"directConnectGatewayName"`
	// A list of IDs.
	Ids []string `pulumi:"ids"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The filter tag of direct connect.
	TagFilters []GatewaysTagFilter `pulumi:"tagFilters"`
}

A collection of arguments for invoking Gateways.

type GatewaysDirectConnectGateway

type GatewaysDirectConnectGateway struct {
	// The account ID that direct connect gateway belongs.
	AccountId string `pulumi:"accountId"`
	// The CEN information associated with the direct connect gateway.
	AssociateCens []GatewaysDirectConnectGatewayAssociateCen `pulumi:"associateCens"`
	// The business status of direct connect gateway.
	BusinessStatus string `pulumi:"businessStatus"`
	// The creation time of direct connect gateway.
	CreationTime string `pulumi:"creationTime"`
	// The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
	DeletedTime string `pulumi:"deletedTime"`
	// The description of direct connect gateway.
	Description string `pulumi:"description"`
	// The direct connect gateway ID.
	DirectConnectGatewayId string `pulumi:"directConnectGatewayId"`
	// The direst connect gateway name.
	DirectConnectGatewayName string `pulumi:"directConnectGatewayName"`
	// The reason of the direct connect gateway locked.
	LockReason string `pulumi:"lockReason"`
	// The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
	OverdueTime string `pulumi:"overdueTime"`
	// The status of direct connect gateway.
	Status string `pulumi:"status"`
	// The tags that direct connect gateway added.
	Tags []GatewaysDirectConnectGatewayTag `pulumi:"tags"`
	// The update time of direct connect gateway.
	UpdateTime string `pulumi:"updateTime"`
}

type GatewaysDirectConnectGatewayArgs

type GatewaysDirectConnectGatewayArgs struct {
	// The account ID that direct connect gateway belongs.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The CEN information associated with the direct connect gateway.
	AssociateCens GatewaysDirectConnectGatewayAssociateCenArrayInput `pulumi:"associateCens"`
	// The business status of direct connect gateway.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The creation time of direct connect gateway.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
	DeletedTime pulumi.StringInput `pulumi:"deletedTime"`
	// The description of direct connect gateway.
	Description pulumi.StringInput `pulumi:"description"`
	// The direct connect gateway ID.
	DirectConnectGatewayId pulumi.StringInput `pulumi:"directConnectGatewayId"`
	// The direst connect gateway name.
	DirectConnectGatewayName pulumi.StringInput `pulumi:"directConnectGatewayName"`
	// The reason of the direct connect gateway locked.
	LockReason pulumi.StringInput `pulumi:"lockReason"`
	// The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
	OverdueTime pulumi.StringInput `pulumi:"overdueTime"`
	// The status of direct connect gateway.
	Status pulumi.StringInput `pulumi:"status"`
	// The tags that direct connect gateway added.
	Tags GatewaysDirectConnectGatewayTagArrayInput `pulumi:"tags"`
	// The update time of direct connect gateway.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (GatewaysDirectConnectGatewayArgs) ElementType

func (GatewaysDirectConnectGatewayArgs) ToGatewaysDirectConnectGatewayOutput

func (i GatewaysDirectConnectGatewayArgs) ToGatewaysDirectConnectGatewayOutput() GatewaysDirectConnectGatewayOutput

func (GatewaysDirectConnectGatewayArgs) ToGatewaysDirectConnectGatewayOutputWithContext

func (i GatewaysDirectConnectGatewayArgs) ToGatewaysDirectConnectGatewayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayOutput

type GatewaysDirectConnectGatewayArray

type GatewaysDirectConnectGatewayArray []GatewaysDirectConnectGatewayInput

func (GatewaysDirectConnectGatewayArray) ElementType

func (GatewaysDirectConnectGatewayArray) ToGatewaysDirectConnectGatewayArrayOutput

func (i GatewaysDirectConnectGatewayArray) ToGatewaysDirectConnectGatewayArrayOutput() GatewaysDirectConnectGatewayArrayOutput

func (GatewaysDirectConnectGatewayArray) ToGatewaysDirectConnectGatewayArrayOutputWithContext

func (i GatewaysDirectConnectGatewayArray) ToGatewaysDirectConnectGatewayArrayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayArrayOutput

type GatewaysDirectConnectGatewayArrayInput

type GatewaysDirectConnectGatewayArrayInput interface {
	pulumi.Input

	ToGatewaysDirectConnectGatewayArrayOutput() GatewaysDirectConnectGatewayArrayOutput
	ToGatewaysDirectConnectGatewayArrayOutputWithContext(context.Context) GatewaysDirectConnectGatewayArrayOutput
}

GatewaysDirectConnectGatewayArrayInput is an input type that accepts GatewaysDirectConnectGatewayArray and GatewaysDirectConnectGatewayArrayOutput values. You can construct a concrete instance of `GatewaysDirectConnectGatewayArrayInput` via:

GatewaysDirectConnectGatewayArray{ GatewaysDirectConnectGatewayArgs{...} }

type GatewaysDirectConnectGatewayArrayOutput

type GatewaysDirectConnectGatewayArrayOutput struct{ *pulumi.OutputState }

func (GatewaysDirectConnectGatewayArrayOutput) ElementType

func (GatewaysDirectConnectGatewayArrayOutput) Index

func (GatewaysDirectConnectGatewayArrayOutput) ToGatewaysDirectConnectGatewayArrayOutput

func (o GatewaysDirectConnectGatewayArrayOutput) ToGatewaysDirectConnectGatewayArrayOutput() GatewaysDirectConnectGatewayArrayOutput

func (GatewaysDirectConnectGatewayArrayOutput) ToGatewaysDirectConnectGatewayArrayOutputWithContext

func (o GatewaysDirectConnectGatewayArrayOutput) ToGatewaysDirectConnectGatewayArrayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayArrayOutput

type GatewaysDirectConnectGatewayAssociateCen

type GatewaysDirectConnectGatewayAssociateCen struct {
	// The CEN ID which direct connect gateway belongs.
	CenId string `pulumi:"cenId"`
	// The CEN owner's ID.
	CenOwnerId string `pulumi:"cenOwnerId"`
	// The CEN status.
	CenStatus string `pulumi:"cenStatus"`
}

type GatewaysDirectConnectGatewayAssociateCenArgs

type GatewaysDirectConnectGatewayAssociateCenArgs struct {
	// The CEN ID which direct connect gateway belongs.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The CEN owner's ID.
	CenOwnerId pulumi.StringInput `pulumi:"cenOwnerId"`
	// The CEN status.
	CenStatus pulumi.StringInput `pulumi:"cenStatus"`
}

func (GatewaysDirectConnectGatewayAssociateCenArgs) ElementType

func (GatewaysDirectConnectGatewayAssociateCenArgs) ToGatewaysDirectConnectGatewayAssociateCenOutput

func (i GatewaysDirectConnectGatewayAssociateCenArgs) ToGatewaysDirectConnectGatewayAssociateCenOutput() GatewaysDirectConnectGatewayAssociateCenOutput

func (GatewaysDirectConnectGatewayAssociateCenArgs) ToGatewaysDirectConnectGatewayAssociateCenOutputWithContext

func (i GatewaysDirectConnectGatewayAssociateCenArgs) ToGatewaysDirectConnectGatewayAssociateCenOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayAssociateCenOutput

type GatewaysDirectConnectGatewayAssociateCenArray

type GatewaysDirectConnectGatewayAssociateCenArray []GatewaysDirectConnectGatewayAssociateCenInput

func (GatewaysDirectConnectGatewayAssociateCenArray) ElementType

func (GatewaysDirectConnectGatewayAssociateCenArray) ToGatewaysDirectConnectGatewayAssociateCenArrayOutput

func (i GatewaysDirectConnectGatewayAssociateCenArray) ToGatewaysDirectConnectGatewayAssociateCenArrayOutput() GatewaysDirectConnectGatewayAssociateCenArrayOutput

func (GatewaysDirectConnectGatewayAssociateCenArray) ToGatewaysDirectConnectGatewayAssociateCenArrayOutputWithContext

func (i GatewaysDirectConnectGatewayAssociateCenArray) ToGatewaysDirectConnectGatewayAssociateCenArrayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayAssociateCenArrayOutput

type GatewaysDirectConnectGatewayAssociateCenArrayInput

type GatewaysDirectConnectGatewayAssociateCenArrayInput interface {
	pulumi.Input

	ToGatewaysDirectConnectGatewayAssociateCenArrayOutput() GatewaysDirectConnectGatewayAssociateCenArrayOutput
	ToGatewaysDirectConnectGatewayAssociateCenArrayOutputWithContext(context.Context) GatewaysDirectConnectGatewayAssociateCenArrayOutput
}

GatewaysDirectConnectGatewayAssociateCenArrayInput is an input type that accepts GatewaysDirectConnectGatewayAssociateCenArray and GatewaysDirectConnectGatewayAssociateCenArrayOutput values. You can construct a concrete instance of `GatewaysDirectConnectGatewayAssociateCenArrayInput` via:

GatewaysDirectConnectGatewayAssociateCenArray{ GatewaysDirectConnectGatewayAssociateCenArgs{...} }

type GatewaysDirectConnectGatewayAssociateCenArrayOutput

type GatewaysDirectConnectGatewayAssociateCenArrayOutput struct{ *pulumi.OutputState }

func (GatewaysDirectConnectGatewayAssociateCenArrayOutput) ElementType

func (GatewaysDirectConnectGatewayAssociateCenArrayOutput) Index

func (GatewaysDirectConnectGatewayAssociateCenArrayOutput) ToGatewaysDirectConnectGatewayAssociateCenArrayOutput

func (o GatewaysDirectConnectGatewayAssociateCenArrayOutput) ToGatewaysDirectConnectGatewayAssociateCenArrayOutput() GatewaysDirectConnectGatewayAssociateCenArrayOutput

func (GatewaysDirectConnectGatewayAssociateCenArrayOutput) ToGatewaysDirectConnectGatewayAssociateCenArrayOutputWithContext

func (o GatewaysDirectConnectGatewayAssociateCenArrayOutput) ToGatewaysDirectConnectGatewayAssociateCenArrayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayAssociateCenArrayOutput

type GatewaysDirectConnectGatewayAssociateCenInput

type GatewaysDirectConnectGatewayAssociateCenInput interface {
	pulumi.Input

	ToGatewaysDirectConnectGatewayAssociateCenOutput() GatewaysDirectConnectGatewayAssociateCenOutput
	ToGatewaysDirectConnectGatewayAssociateCenOutputWithContext(context.Context) GatewaysDirectConnectGatewayAssociateCenOutput
}

GatewaysDirectConnectGatewayAssociateCenInput is an input type that accepts GatewaysDirectConnectGatewayAssociateCenArgs and GatewaysDirectConnectGatewayAssociateCenOutput values. You can construct a concrete instance of `GatewaysDirectConnectGatewayAssociateCenInput` via:

GatewaysDirectConnectGatewayAssociateCenArgs{...}

type GatewaysDirectConnectGatewayAssociateCenOutput

type GatewaysDirectConnectGatewayAssociateCenOutput struct{ *pulumi.OutputState }

func (GatewaysDirectConnectGatewayAssociateCenOutput) CenId

The CEN ID which direct connect gateway belongs.

func (GatewaysDirectConnectGatewayAssociateCenOutput) CenOwnerId

The CEN owner's ID.

func (GatewaysDirectConnectGatewayAssociateCenOutput) CenStatus

The CEN status.

func (GatewaysDirectConnectGatewayAssociateCenOutput) ElementType

func (GatewaysDirectConnectGatewayAssociateCenOutput) ToGatewaysDirectConnectGatewayAssociateCenOutput

func (o GatewaysDirectConnectGatewayAssociateCenOutput) ToGatewaysDirectConnectGatewayAssociateCenOutput() GatewaysDirectConnectGatewayAssociateCenOutput

func (GatewaysDirectConnectGatewayAssociateCenOutput) ToGatewaysDirectConnectGatewayAssociateCenOutputWithContext

func (o GatewaysDirectConnectGatewayAssociateCenOutput) ToGatewaysDirectConnectGatewayAssociateCenOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayAssociateCenOutput

type GatewaysDirectConnectGatewayInput

type GatewaysDirectConnectGatewayInput interface {
	pulumi.Input

	ToGatewaysDirectConnectGatewayOutput() GatewaysDirectConnectGatewayOutput
	ToGatewaysDirectConnectGatewayOutputWithContext(context.Context) GatewaysDirectConnectGatewayOutput
}

GatewaysDirectConnectGatewayInput is an input type that accepts GatewaysDirectConnectGatewayArgs and GatewaysDirectConnectGatewayOutput values. You can construct a concrete instance of `GatewaysDirectConnectGatewayInput` via:

GatewaysDirectConnectGatewayArgs{...}

type GatewaysDirectConnectGatewayOutput

type GatewaysDirectConnectGatewayOutput struct{ *pulumi.OutputState }

func (GatewaysDirectConnectGatewayOutput) AccountId

The account ID that direct connect gateway belongs.

func (GatewaysDirectConnectGatewayOutput) AssociateCens

The CEN information associated with the direct connect gateway.

func (GatewaysDirectConnectGatewayOutput) BusinessStatus

The business status of direct connect gateway.

func (GatewaysDirectConnectGatewayOutput) CreationTime

The creation time of direct connect gateway.

func (GatewaysDirectConnectGatewayOutput) DeletedTime

The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.

func (GatewaysDirectConnectGatewayOutput) Description

The description of direct connect gateway.

func (GatewaysDirectConnectGatewayOutput) DirectConnectGatewayId

func (o GatewaysDirectConnectGatewayOutput) DirectConnectGatewayId() pulumi.StringOutput

The direct connect gateway ID.

func (GatewaysDirectConnectGatewayOutput) DirectConnectGatewayName

func (o GatewaysDirectConnectGatewayOutput) DirectConnectGatewayName() pulumi.StringOutput

The direst connect gateway name.

func (GatewaysDirectConnectGatewayOutput) ElementType

func (GatewaysDirectConnectGatewayOutput) LockReason

The reason of the direct connect gateway locked.

func (GatewaysDirectConnectGatewayOutput) OverdueTime

The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.

func (GatewaysDirectConnectGatewayOutput) Status

The status of direct connect gateway.

func (GatewaysDirectConnectGatewayOutput) Tags

The tags that direct connect gateway added.

func (GatewaysDirectConnectGatewayOutput) ToGatewaysDirectConnectGatewayOutput

func (o GatewaysDirectConnectGatewayOutput) ToGatewaysDirectConnectGatewayOutput() GatewaysDirectConnectGatewayOutput

func (GatewaysDirectConnectGatewayOutput) ToGatewaysDirectConnectGatewayOutputWithContext

func (o GatewaysDirectConnectGatewayOutput) ToGatewaysDirectConnectGatewayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayOutput

func (GatewaysDirectConnectGatewayOutput) UpdateTime

The update time of direct connect gateway.

type GatewaysDirectConnectGatewayTag

type GatewaysDirectConnectGatewayTag struct {
	// The tag key of cloud resource instance.
	Key string `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value string `pulumi:"value"`
}

type GatewaysDirectConnectGatewayTagArgs

type GatewaysDirectConnectGatewayTagArgs struct {
	// The tag key of cloud resource instance.
	Key pulumi.StringInput `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GatewaysDirectConnectGatewayTagArgs) ElementType

func (GatewaysDirectConnectGatewayTagArgs) ToGatewaysDirectConnectGatewayTagOutput

func (i GatewaysDirectConnectGatewayTagArgs) ToGatewaysDirectConnectGatewayTagOutput() GatewaysDirectConnectGatewayTagOutput

func (GatewaysDirectConnectGatewayTagArgs) ToGatewaysDirectConnectGatewayTagOutputWithContext

func (i GatewaysDirectConnectGatewayTagArgs) ToGatewaysDirectConnectGatewayTagOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayTagOutput

type GatewaysDirectConnectGatewayTagArray

type GatewaysDirectConnectGatewayTagArray []GatewaysDirectConnectGatewayTagInput

func (GatewaysDirectConnectGatewayTagArray) ElementType

func (GatewaysDirectConnectGatewayTagArray) ToGatewaysDirectConnectGatewayTagArrayOutput

func (i GatewaysDirectConnectGatewayTagArray) ToGatewaysDirectConnectGatewayTagArrayOutput() GatewaysDirectConnectGatewayTagArrayOutput

func (GatewaysDirectConnectGatewayTagArray) ToGatewaysDirectConnectGatewayTagArrayOutputWithContext

func (i GatewaysDirectConnectGatewayTagArray) ToGatewaysDirectConnectGatewayTagArrayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayTagArrayOutput

type GatewaysDirectConnectGatewayTagArrayInput

type GatewaysDirectConnectGatewayTagArrayInput interface {
	pulumi.Input

	ToGatewaysDirectConnectGatewayTagArrayOutput() GatewaysDirectConnectGatewayTagArrayOutput
	ToGatewaysDirectConnectGatewayTagArrayOutputWithContext(context.Context) GatewaysDirectConnectGatewayTagArrayOutput
}

GatewaysDirectConnectGatewayTagArrayInput is an input type that accepts GatewaysDirectConnectGatewayTagArray and GatewaysDirectConnectGatewayTagArrayOutput values. You can construct a concrete instance of `GatewaysDirectConnectGatewayTagArrayInput` via:

GatewaysDirectConnectGatewayTagArray{ GatewaysDirectConnectGatewayTagArgs{...} }

type GatewaysDirectConnectGatewayTagArrayOutput

type GatewaysDirectConnectGatewayTagArrayOutput struct{ *pulumi.OutputState }

func (GatewaysDirectConnectGatewayTagArrayOutput) ElementType

func (GatewaysDirectConnectGatewayTagArrayOutput) Index

func (GatewaysDirectConnectGatewayTagArrayOutput) ToGatewaysDirectConnectGatewayTagArrayOutput

func (o GatewaysDirectConnectGatewayTagArrayOutput) ToGatewaysDirectConnectGatewayTagArrayOutput() GatewaysDirectConnectGatewayTagArrayOutput

func (GatewaysDirectConnectGatewayTagArrayOutput) ToGatewaysDirectConnectGatewayTagArrayOutputWithContext

func (o GatewaysDirectConnectGatewayTagArrayOutput) ToGatewaysDirectConnectGatewayTagArrayOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayTagArrayOutput

type GatewaysDirectConnectGatewayTagInput

type GatewaysDirectConnectGatewayTagInput interface {
	pulumi.Input

	ToGatewaysDirectConnectGatewayTagOutput() GatewaysDirectConnectGatewayTagOutput
	ToGatewaysDirectConnectGatewayTagOutputWithContext(context.Context) GatewaysDirectConnectGatewayTagOutput
}

GatewaysDirectConnectGatewayTagInput is an input type that accepts GatewaysDirectConnectGatewayTagArgs and GatewaysDirectConnectGatewayTagOutput values. You can construct a concrete instance of `GatewaysDirectConnectGatewayTagInput` via:

GatewaysDirectConnectGatewayTagArgs{...}

type GatewaysDirectConnectGatewayTagOutput

type GatewaysDirectConnectGatewayTagOutput struct{ *pulumi.OutputState }

func (GatewaysDirectConnectGatewayTagOutput) ElementType

func (GatewaysDirectConnectGatewayTagOutput) Key

The tag key of cloud resource instance.

func (GatewaysDirectConnectGatewayTagOutput) ToGatewaysDirectConnectGatewayTagOutput

func (o GatewaysDirectConnectGatewayTagOutput) ToGatewaysDirectConnectGatewayTagOutput() GatewaysDirectConnectGatewayTagOutput

func (GatewaysDirectConnectGatewayTagOutput) ToGatewaysDirectConnectGatewayTagOutputWithContext

func (o GatewaysDirectConnectGatewayTagOutput) ToGatewaysDirectConnectGatewayTagOutputWithContext(ctx context.Context) GatewaysDirectConnectGatewayTagOutput

func (GatewaysDirectConnectGatewayTagOutput) Value

The tag value of cloud resource instance.

type GatewaysOutputArgs

type GatewaysOutputArgs struct {
	// The CEN ID which direct connect gateway belongs.
	CenId pulumi.StringPtrInput `pulumi:"cenId"`
	// The direst connect gateway name.
	DirectConnectGatewayName pulumi.StringPtrInput `pulumi:"directConnectGatewayName"`
	// A list of IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The filter tag of direct connect.
	TagFilters GatewaysTagFilterArrayInput `pulumi:"tagFilters"`
}

A collection of arguments for invoking Gateways.

func (GatewaysOutputArgs) ElementType

func (GatewaysOutputArgs) ElementType() reflect.Type

type GatewaysResult

type GatewaysResult struct {
	// The cen ID.
	CenId *string `pulumi:"cenId"`
	// The direct connect gateway name.
	DirectConnectGatewayName *string `pulumi:"directConnectGatewayName"`
	// The collection of query.
	DirectConnectGateways []GatewaysDirectConnectGateway `pulumi:"directConnectGateways"`
	// 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"`
	TagFilters []GatewaysTagFilter `pulumi:"tagFilters"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

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 direct connect gateways ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.Gateways(ctx, &direct_connect.GatewaysArgs{
			DirectConnectGatewayName: pulumi.StringRef("tf-test"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GatewaysResultOutput

type GatewaysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Gateways.

func (GatewaysResultOutput) CenId

The cen ID.

func (GatewaysResultOutput) DirectConnectGatewayName

func (o GatewaysResultOutput) DirectConnectGatewayName() pulumi.StringPtrOutput

The direct connect gateway name.

func (GatewaysResultOutput) DirectConnectGateways

The collection of query.

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) NameRegex

func (GatewaysResultOutput) OutputFile

func (GatewaysResultOutput) TagFilters

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 query.

type GatewaysTagFilter

type GatewaysTagFilter struct {
	// The tag key of cloud resource instance.
	Key *string `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value *string `pulumi:"value"`
}

type GatewaysTagFilterArgs

type GatewaysTagFilterArgs struct {
	// The tag key of cloud resource instance.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GatewaysTagFilterArgs) ElementType

func (GatewaysTagFilterArgs) ElementType() reflect.Type

func (GatewaysTagFilterArgs) ToGatewaysTagFilterOutput

func (i GatewaysTagFilterArgs) ToGatewaysTagFilterOutput() GatewaysTagFilterOutput

func (GatewaysTagFilterArgs) ToGatewaysTagFilterOutputWithContext

func (i GatewaysTagFilterArgs) ToGatewaysTagFilterOutputWithContext(ctx context.Context) GatewaysTagFilterOutput

type GatewaysTagFilterArray

type GatewaysTagFilterArray []GatewaysTagFilterInput

func (GatewaysTagFilterArray) ElementType

func (GatewaysTagFilterArray) ElementType() reflect.Type

func (GatewaysTagFilterArray) ToGatewaysTagFilterArrayOutput

func (i GatewaysTagFilterArray) ToGatewaysTagFilterArrayOutput() GatewaysTagFilterArrayOutput

func (GatewaysTagFilterArray) ToGatewaysTagFilterArrayOutputWithContext

func (i GatewaysTagFilterArray) ToGatewaysTagFilterArrayOutputWithContext(ctx context.Context) GatewaysTagFilterArrayOutput

type GatewaysTagFilterArrayInput

type GatewaysTagFilterArrayInput interface {
	pulumi.Input

	ToGatewaysTagFilterArrayOutput() GatewaysTagFilterArrayOutput
	ToGatewaysTagFilterArrayOutputWithContext(context.Context) GatewaysTagFilterArrayOutput
}

GatewaysTagFilterArrayInput is an input type that accepts GatewaysTagFilterArray and GatewaysTagFilterArrayOutput values. You can construct a concrete instance of `GatewaysTagFilterArrayInput` via:

GatewaysTagFilterArray{ GatewaysTagFilterArgs{...} }

type GatewaysTagFilterArrayOutput

type GatewaysTagFilterArrayOutput struct{ *pulumi.OutputState }

func (GatewaysTagFilterArrayOutput) ElementType

func (GatewaysTagFilterArrayOutput) Index

func (GatewaysTagFilterArrayOutput) ToGatewaysTagFilterArrayOutput

func (o GatewaysTagFilterArrayOutput) ToGatewaysTagFilterArrayOutput() GatewaysTagFilterArrayOutput

func (GatewaysTagFilterArrayOutput) ToGatewaysTagFilterArrayOutputWithContext

func (o GatewaysTagFilterArrayOutput) ToGatewaysTagFilterArrayOutputWithContext(ctx context.Context) GatewaysTagFilterArrayOutput

type GatewaysTagFilterInput

type GatewaysTagFilterInput interface {
	pulumi.Input

	ToGatewaysTagFilterOutput() GatewaysTagFilterOutput
	ToGatewaysTagFilterOutputWithContext(context.Context) GatewaysTagFilterOutput
}

GatewaysTagFilterInput is an input type that accepts GatewaysTagFilterArgs and GatewaysTagFilterOutput values. You can construct a concrete instance of `GatewaysTagFilterInput` via:

GatewaysTagFilterArgs{...}

type GatewaysTagFilterOutput

type GatewaysTagFilterOutput struct{ *pulumi.OutputState }

func (GatewaysTagFilterOutput) ElementType

func (GatewaysTagFilterOutput) ElementType() reflect.Type

func (GatewaysTagFilterOutput) Key

The tag key of cloud resource instance.

func (GatewaysTagFilterOutput) ToGatewaysTagFilterOutput

func (o GatewaysTagFilterOutput) ToGatewaysTagFilterOutput() GatewaysTagFilterOutput

func (GatewaysTagFilterOutput) ToGatewaysTagFilterOutputWithContext

func (o GatewaysTagFilterOutput) ToGatewaysTagFilterOutputWithContext(ctx context.Context) GatewaysTagFilterOutput

func (GatewaysTagFilterOutput) Value

The tag value of cloud resource instance.

type VirtualInterface

type VirtualInterface struct {
	pulumi.CustomResourceState

	// The band width limit of virtual interface,in Mbps.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The BFD detect interval.
	BfdDetectInterval pulumi.IntPtrOutput `pulumi:"bfdDetectInterval"`
	// The BFD detect times.
	BfdDetectMultiplier pulumi.IntPtrOutput `pulumi:"bfdDetectMultiplier"`
	// The description of virtual interface.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The direct connect connection ID which associated with.
	DirectConnectConnectionId pulumi.StringOutput `pulumi:"directConnectConnectionId"`
	// The direct connect gateway ID which associated with.
	DirectConnectGatewayId pulumi.StringOutput `pulumi:"directConnectGatewayId"`
	// Whether enable BFD detect.
	EnableBfd pulumi.BoolPtrOutput `pulumi:"enableBfd"`
	// Whether enable NQA detect.
	EnableNqa pulumi.BoolPtrOutput `pulumi:"enableNqa"`
	// The local IP that associated with.
	LocalIp pulumi.StringOutput `pulumi:"localIp"`
	// The NQA detect interval.
	NqaDetectInterval pulumi.IntPtrOutput `pulumi:"nqaDetectInterval"`
	// The NAQ detect times.
	NqaDetectMultiplier pulumi.IntPtrOutput `pulumi:"nqaDetectMultiplier"`
	// The peer IP that associated with.
	PeerIp pulumi.StringOutput `pulumi:"peerIp"`
	// The route type of virtual interface,valid value contains `Static`,`BGP`.
	RouteType pulumi.StringOutput `pulumi:"routeType"`
	// The tags that direct connect gateway added.
	Tags VirtualInterfaceTagArrayOutput `pulumi:"tags"`
	// The name of virtual interface.
	VirtualInterfaceName pulumi.StringPtrOutput `pulumi:"virtualInterfaceName"`
	// The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
	VlanId pulumi.IntOutput `pulumi:"vlanId"`
}

Provides a resource to manage direct connect virtual interface ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.NewVirtualInterface(ctx, "foo", &direct_connect.VirtualInterfaceArgs{
			Description:               pulumi.String("tf-test"),
			DirectConnectConnectionId: pulumi.String("dcc-rtkzeotzst1cu3numzi****"),
			DirectConnectGatewayId:    pulumi.String("dcg-638x4bjvjawwn3gd5xw****"),
			EnableBfd:                 pulumi.Bool(false),
			LocalIp:                   pulumi.String("**.**.**.**/**"),
			PeerIp:                    pulumi.String("**.**.**.**/**"),
			RouteType:                 pulumi.String("Static"),
			Tags: direct_connect.VirtualInterfaceTagArray{
				&direct_connect.VirtualInterfaceTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
			VirtualInterfaceName: pulumi.String("tf-test-vi"),
			VlanId:               pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:direct_connect/virtualInterface:VirtualInterface default resource_id

```

func GetVirtualInterface

func GetVirtualInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VirtualInterfaceState, opts ...pulumi.ResourceOption) (*VirtualInterface, error)

GetVirtualInterface gets an existing VirtualInterface 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 NewVirtualInterface

func NewVirtualInterface(ctx *pulumi.Context,
	name string, args *VirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*VirtualInterface, error)

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

func (*VirtualInterface) ElementType

func (*VirtualInterface) ElementType() reflect.Type

func (*VirtualInterface) ToVirtualInterfaceOutput

func (i *VirtualInterface) ToVirtualInterfaceOutput() VirtualInterfaceOutput

func (*VirtualInterface) ToVirtualInterfaceOutputWithContext

func (i *VirtualInterface) ToVirtualInterfaceOutputWithContext(ctx context.Context) VirtualInterfaceOutput

type VirtualInterfaceArgs

type VirtualInterfaceArgs struct {
	// The band width limit of virtual interface,in Mbps.
	Bandwidth pulumi.IntPtrInput
	// The BFD detect interval.
	BfdDetectInterval pulumi.IntPtrInput
	// The BFD detect times.
	BfdDetectMultiplier pulumi.IntPtrInput
	// The description of virtual interface.
	Description pulumi.StringPtrInput
	// The direct connect connection ID which associated with.
	DirectConnectConnectionId pulumi.StringInput
	// The direct connect gateway ID which associated with.
	DirectConnectGatewayId pulumi.StringInput
	// Whether enable BFD detect.
	EnableBfd pulumi.BoolPtrInput
	// Whether enable NQA detect.
	EnableNqa pulumi.BoolPtrInput
	// The local IP that associated with.
	LocalIp pulumi.StringInput
	// The NQA detect interval.
	NqaDetectInterval pulumi.IntPtrInput
	// The NAQ detect times.
	NqaDetectMultiplier pulumi.IntPtrInput
	// The peer IP that associated with.
	PeerIp pulumi.StringInput
	// The route type of virtual interface,valid value contains `Static`,`BGP`.
	RouteType pulumi.StringPtrInput
	// The tags that direct connect gateway added.
	Tags VirtualInterfaceTagArrayInput
	// The name of virtual interface.
	VirtualInterfaceName pulumi.StringPtrInput
	// The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
	VlanId pulumi.IntInput
}

The set of arguments for constructing a VirtualInterface resource.

func (VirtualInterfaceArgs) ElementType

func (VirtualInterfaceArgs) ElementType() reflect.Type

type VirtualInterfaceArray

type VirtualInterfaceArray []VirtualInterfaceInput

func (VirtualInterfaceArray) ElementType

func (VirtualInterfaceArray) ElementType() reflect.Type

func (VirtualInterfaceArray) ToVirtualInterfaceArrayOutput

func (i VirtualInterfaceArray) ToVirtualInterfaceArrayOutput() VirtualInterfaceArrayOutput

func (VirtualInterfaceArray) ToVirtualInterfaceArrayOutputWithContext

func (i VirtualInterfaceArray) ToVirtualInterfaceArrayOutputWithContext(ctx context.Context) VirtualInterfaceArrayOutput

type VirtualInterfaceArrayInput

type VirtualInterfaceArrayInput interface {
	pulumi.Input

	ToVirtualInterfaceArrayOutput() VirtualInterfaceArrayOutput
	ToVirtualInterfaceArrayOutputWithContext(context.Context) VirtualInterfaceArrayOutput
}

VirtualInterfaceArrayInput is an input type that accepts VirtualInterfaceArray and VirtualInterfaceArrayOutput values. You can construct a concrete instance of `VirtualInterfaceArrayInput` via:

VirtualInterfaceArray{ VirtualInterfaceArgs{...} }

type VirtualInterfaceArrayOutput

type VirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (VirtualInterfaceArrayOutput) ElementType

func (VirtualInterfaceArrayOutput) Index

func (VirtualInterfaceArrayOutput) ToVirtualInterfaceArrayOutput

func (o VirtualInterfaceArrayOutput) ToVirtualInterfaceArrayOutput() VirtualInterfaceArrayOutput

func (VirtualInterfaceArrayOutput) ToVirtualInterfaceArrayOutputWithContext

func (o VirtualInterfaceArrayOutput) ToVirtualInterfaceArrayOutputWithContext(ctx context.Context) VirtualInterfaceArrayOutput

type VirtualInterfaceInput

type VirtualInterfaceInput interface {
	pulumi.Input

	ToVirtualInterfaceOutput() VirtualInterfaceOutput
	ToVirtualInterfaceOutputWithContext(ctx context.Context) VirtualInterfaceOutput
}

type VirtualInterfaceMap

type VirtualInterfaceMap map[string]VirtualInterfaceInput

func (VirtualInterfaceMap) ElementType

func (VirtualInterfaceMap) ElementType() reflect.Type

func (VirtualInterfaceMap) ToVirtualInterfaceMapOutput

func (i VirtualInterfaceMap) ToVirtualInterfaceMapOutput() VirtualInterfaceMapOutput

func (VirtualInterfaceMap) ToVirtualInterfaceMapOutputWithContext

func (i VirtualInterfaceMap) ToVirtualInterfaceMapOutputWithContext(ctx context.Context) VirtualInterfaceMapOutput

type VirtualInterfaceMapInput

type VirtualInterfaceMapInput interface {
	pulumi.Input

	ToVirtualInterfaceMapOutput() VirtualInterfaceMapOutput
	ToVirtualInterfaceMapOutputWithContext(context.Context) VirtualInterfaceMapOutput
}

VirtualInterfaceMapInput is an input type that accepts VirtualInterfaceMap and VirtualInterfaceMapOutput values. You can construct a concrete instance of `VirtualInterfaceMapInput` via:

VirtualInterfaceMap{ "key": VirtualInterfaceArgs{...} }

type VirtualInterfaceMapOutput

type VirtualInterfaceMapOutput struct{ *pulumi.OutputState }

func (VirtualInterfaceMapOutput) ElementType

func (VirtualInterfaceMapOutput) ElementType() reflect.Type

func (VirtualInterfaceMapOutput) MapIndex

func (VirtualInterfaceMapOutput) ToVirtualInterfaceMapOutput

func (o VirtualInterfaceMapOutput) ToVirtualInterfaceMapOutput() VirtualInterfaceMapOutput

func (VirtualInterfaceMapOutput) ToVirtualInterfaceMapOutputWithContext

func (o VirtualInterfaceMapOutput) ToVirtualInterfaceMapOutputWithContext(ctx context.Context) VirtualInterfaceMapOutput

type VirtualInterfaceOutput

type VirtualInterfaceOutput struct{ *pulumi.OutputState }

func (VirtualInterfaceOutput) Bandwidth

func (o VirtualInterfaceOutput) Bandwidth() pulumi.IntOutput

The band width limit of virtual interface,in Mbps.

func (VirtualInterfaceOutput) BfdDetectInterval

func (o VirtualInterfaceOutput) BfdDetectInterval() pulumi.IntPtrOutput

The BFD detect interval.

func (VirtualInterfaceOutput) BfdDetectMultiplier

func (o VirtualInterfaceOutput) BfdDetectMultiplier() pulumi.IntPtrOutput

The BFD detect times.

func (VirtualInterfaceOutput) Description

The description of virtual interface.

func (VirtualInterfaceOutput) DirectConnectConnectionId

func (o VirtualInterfaceOutput) DirectConnectConnectionId() pulumi.StringOutput

The direct connect connection ID which associated with.

func (VirtualInterfaceOutput) DirectConnectGatewayId

func (o VirtualInterfaceOutput) DirectConnectGatewayId() pulumi.StringOutput

The direct connect gateway ID which associated with.

func (VirtualInterfaceOutput) ElementType

func (VirtualInterfaceOutput) ElementType() reflect.Type

func (VirtualInterfaceOutput) EnableBfd

Whether enable BFD detect.

func (VirtualInterfaceOutput) EnableNqa

Whether enable NQA detect.

func (VirtualInterfaceOutput) LocalIp

The local IP that associated with.

func (VirtualInterfaceOutput) NqaDetectInterval

func (o VirtualInterfaceOutput) NqaDetectInterval() pulumi.IntPtrOutput

The NQA detect interval.

func (VirtualInterfaceOutput) NqaDetectMultiplier

func (o VirtualInterfaceOutput) NqaDetectMultiplier() pulumi.IntPtrOutput

The NAQ detect times.

func (VirtualInterfaceOutput) PeerIp

The peer IP that associated with.

func (VirtualInterfaceOutput) RouteType

The route type of virtual interface,valid value contains `Static`,`BGP`.

func (VirtualInterfaceOutput) Tags

The tags that direct connect gateway added.

func (VirtualInterfaceOutput) ToVirtualInterfaceOutput

func (o VirtualInterfaceOutput) ToVirtualInterfaceOutput() VirtualInterfaceOutput

func (VirtualInterfaceOutput) ToVirtualInterfaceOutputWithContext

func (o VirtualInterfaceOutput) ToVirtualInterfaceOutputWithContext(ctx context.Context) VirtualInterfaceOutput

func (VirtualInterfaceOutput) VirtualInterfaceName

func (o VirtualInterfaceOutput) VirtualInterfaceName() pulumi.StringPtrOutput

The name of virtual interface.

func (VirtualInterfaceOutput) VlanId

The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.

type VirtualInterfaceState

type VirtualInterfaceState struct {
	// The band width limit of virtual interface,in Mbps.
	Bandwidth pulumi.IntPtrInput
	// The BFD detect interval.
	BfdDetectInterval pulumi.IntPtrInput
	// The BFD detect times.
	BfdDetectMultiplier pulumi.IntPtrInput
	// The description of virtual interface.
	Description pulumi.StringPtrInput
	// The direct connect connection ID which associated with.
	DirectConnectConnectionId pulumi.StringPtrInput
	// The direct connect gateway ID which associated with.
	DirectConnectGatewayId pulumi.StringPtrInput
	// Whether enable BFD detect.
	EnableBfd pulumi.BoolPtrInput
	// Whether enable NQA detect.
	EnableNqa pulumi.BoolPtrInput
	// The local IP that associated with.
	LocalIp pulumi.StringPtrInput
	// The NQA detect interval.
	NqaDetectInterval pulumi.IntPtrInput
	// The NAQ detect times.
	NqaDetectMultiplier pulumi.IntPtrInput
	// The peer IP that associated with.
	PeerIp pulumi.StringPtrInput
	// The route type of virtual interface,valid value contains `Static`,`BGP`.
	RouteType pulumi.StringPtrInput
	// The tags that direct connect gateway added.
	Tags VirtualInterfaceTagArrayInput
	// The name of virtual interface.
	VirtualInterfaceName pulumi.StringPtrInput
	// The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
	VlanId pulumi.IntPtrInput
}

func (VirtualInterfaceState) ElementType

func (VirtualInterfaceState) ElementType() reflect.Type

type VirtualInterfaceTag

type VirtualInterfaceTag struct {
	// The tag key.
	Key *string `pulumi:"key"`
	// The tag value.
	Value *string `pulumi:"value"`
}

type VirtualInterfaceTagArgs

type VirtualInterfaceTagArgs struct {
	// The tag key.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The tag value.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (VirtualInterfaceTagArgs) ElementType

func (VirtualInterfaceTagArgs) ElementType() reflect.Type

func (VirtualInterfaceTagArgs) ToVirtualInterfaceTagOutput

func (i VirtualInterfaceTagArgs) ToVirtualInterfaceTagOutput() VirtualInterfaceTagOutput

func (VirtualInterfaceTagArgs) ToVirtualInterfaceTagOutputWithContext

func (i VirtualInterfaceTagArgs) ToVirtualInterfaceTagOutputWithContext(ctx context.Context) VirtualInterfaceTagOutput

type VirtualInterfaceTagArray

type VirtualInterfaceTagArray []VirtualInterfaceTagInput

func (VirtualInterfaceTagArray) ElementType

func (VirtualInterfaceTagArray) ElementType() reflect.Type

func (VirtualInterfaceTagArray) ToVirtualInterfaceTagArrayOutput

func (i VirtualInterfaceTagArray) ToVirtualInterfaceTagArrayOutput() VirtualInterfaceTagArrayOutput

func (VirtualInterfaceTagArray) ToVirtualInterfaceTagArrayOutputWithContext

func (i VirtualInterfaceTagArray) ToVirtualInterfaceTagArrayOutputWithContext(ctx context.Context) VirtualInterfaceTagArrayOutput

type VirtualInterfaceTagArrayInput

type VirtualInterfaceTagArrayInput interface {
	pulumi.Input

	ToVirtualInterfaceTagArrayOutput() VirtualInterfaceTagArrayOutput
	ToVirtualInterfaceTagArrayOutputWithContext(context.Context) VirtualInterfaceTagArrayOutput
}

VirtualInterfaceTagArrayInput is an input type that accepts VirtualInterfaceTagArray and VirtualInterfaceTagArrayOutput values. You can construct a concrete instance of `VirtualInterfaceTagArrayInput` via:

VirtualInterfaceTagArray{ VirtualInterfaceTagArgs{...} }

type VirtualInterfaceTagArrayOutput

type VirtualInterfaceTagArrayOutput struct{ *pulumi.OutputState }

func (VirtualInterfaceTagArrayOutput) ElementType

func (VirtualInterfaceTagArrayOutput) Index

func (VirtualInterfaceTagArrayOutput) ToVirtualInterfaceTagArrayOutput

func (o VirtualInterfaceTagArrayOutput) ToVirtualInterfaceTagArrayOutput() VirtualInterfaceTagArrayOutput

func (VirtualInterfaceTagArrayOutput) ToVirtualInterfaceTagArrayOutputWithContext

func (o VirtualInterfaceTagArrayOutput) ToVirtualInterfaceTagArrayOutputWithContext(ctx context.Context) VirtualInterfaceTagArrayOutput

type VirtualInterfaceTagInput

type VirtualInterfaceTagInput interface {
	pulumi.Input

	ToVirtualInterfaceTagOutput() VirtualInterfaceTagOutput
	ToVirtualInterfaceTagOutputWithContext(context.Context) VirtualInterfaceTagOutput
}

VirtualInterfaceTagInput is an input type that accepts VirtualInterfaceTagArgs and VirtualInterfaceTagOutput values. You can construct a concrete instance of `VirtualInterfaceTagInput` via:

VirtualInterfaceTagArgs{...}

type VirtualInterfaceTagOutput

type VirtualInterfaceTagOutput struct{ *pulumi.OutputState }

func (VirtualInterfaceTagOutput) ElementType

func (VirtualInterfaceTagOutput) ElementType() reflect.Type

func (VirtualInterfaceTagOutput) Key

The tag key.

func (VirtualInterfaceTagOutput) ToVirtualInterfaceTagOutput

func (o VirtualInterfaceTagOutput) ToVirtualInterfaceTagOutput() VirtualInterfaceTagOutput

func (VirtualInterfaceTagOutput) ToVirtualInterfaceTagOutputWithContext

func (o VirtualInterfaceTagOutput) ToVirtualInterfaceTagOutputWithContext(ctx context.Context) VirtualInterfaceTagOutput

func (VirtualInterfaceTagOutput) Value

The tag value.

type VirtualInterfacesArgs

type VirtualInterfacesArgs struct {
	// The direct connect connection ID that associated with this virtual interface.
	DirectConnectConnectionId *string `pulumi:"directConnectConnectionId"`
	// The direct connect gateway ID that associated with this virtual interface.
	DirectConnectGatewayId *string `pulumi:"directConnectGatewayId"`
	// A list of IDs.
	Ids []string `pulumi:"ids"`
	// The local IP that associated with this virtual interface.
	LocalIp *string `pulumi:"localIp"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The peer IP that associated with this virtual interface.
	PeerIp *string `pulumi:"peerIp"`
	// The route type of virtual interface.
	RouteType *string `pulumi:"routeType"`
	// The filter tag of direct connect virtual interface.
	TagFilters []VirtualInterfacesTagFilter `pulumi:"tagFilters"`
	// The name of virtual interface.
	VirtualInterfaceName *string `pulumi:"virtualInterfaceName"`
	// The VLAN ID of virtual interface.
	VlanId *int `pulumi:"vlanId"`
}

A collection of arguments for invoking VirtualInterfaces.

type VirtualInterfacesOutputArgs

type VirtualInterfacesOutputArgs struct {
	// The direct connect connection ID that associated with this virtual interface.
	DirectConnectConnectionId pulumi.StringPtrInput `pulumi:"directConnectConnectionId"`
	// The direct connect gateway ID that associated with this virtual interface.
	DirectConnectGatewayId pulumi.StringPtrInput `pulumi:"directConnectGatewayId"`
	// A list of IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The local IP that associated with this virtual interface.
	LocalIp pulumi.StringPtrInput `pulumi:"localIp"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The peer IP that associated with this virtual interface.
	PeerIp pulumi.StringPtrInput `pulumi:"peerIp"`
	// The route type of virtual interface.
	RouteType pulumi.StringPtrInput `pulumi:"routeType"`
	// The filter tag of direct connect virtual interface.
	TagFilters VirtualInterfacesTagFilterArrayInput `pulumi:"tagFilters"`
	// The name of virtual interface.
	VirtualInterfaceName pulumi.StringPtrInput `pulumi:"virtualInterfaceName"`
	// The VLAN ID of virtual interface.
	VlanId pulumi.IntPtrInput `pulumi:"vlanId"`
}

A collection of arguments for invoking VirtualInterfaces.

func (VirtualInterfacesOutputArgs) ElementType

type VirtualInterfacesResult

type VirtualInterfacesResult struct {
	// The direct connect connection ID which associated with this virtual interface.
	DirectConnectConnectionId *string `pulumi:"directConnectConnectionId"`
	// The direct connect gateway ID which associated with this virtual interface.
	DirectConnectGatewayId *string `pulumi:"directConnectGatewayId"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The local IP that associated with this virtual interface.
	LocalIp    *string `pulumi:"localIp"`
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The peer IP that associated with this virtual interface.
	PeerIp *string `pulumi:"peerIp"`
	// The route type of this virtual interface.
	RouteType  *string                      `pulumi:"routeType"`
	TagFilters []VirtualInterfacesTagFilter `pulumi:"tagFilters"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The name of virtual interface.
	VirtualInterfaceName *string `pulumi:"virtualInterfaceName"`
	// The collection of query.
	VirtualInterfaces []VirtualInterfacesVirtualInterface `pulumi:"virtualInterfaces"`
	// The VLAN ID of virtual interface.
	VlanId *int `pulumi:"vlanId"`
}

A collection of values returned by VirtualInterfaces.

func VirtualInterfaces

func VirtualInterfaces(ctx *pulumi.Context, args *VirtualInterfacesArgs, opts ...pulumi.InvokeOption) (*VirtualInterfacesResult, error)

Use this data source to query detailed information of direct connect virtual interfaces ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.VirtualInterfaces(ctx, &direct_connect.VirtualInterfacesArgs{
			VirtualInterfaceName: pulumi.StringRef("tf-test"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type VirtualInterfacesResultOutput

type VirtualInterfacesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by VirtualInterfaces.

func (VirtualInterfacesResultOutput) DirectConnectConnectionId

func (o VirtualInterfacesResultOutput) DirectConnectConnectionId() pulumi.StringPtrOutput

The direct connect connection ID which associated with this virtual interface.

func (VirtualInterfacesResultOutput) DirectConnectGatewayId

func (o VirtualInterfacesResultOutput) DirectConnectGatewayId() pulumi.StringPtrOutput

The direct connect gateway ID which associated with this virtual interface.

func (VirtualInterfacesResultOutput) ElementType

func (VirtualInterfacesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (VirtualInterfacesResultOutput) Ids

func (VirtualInterfacesResultOutput) LocalIp

The local IP that associated with this virtual interface.

func (VirtualInterfacesResultOutput) NameRegex

func (VirtualInterfacesResultOutput) OutputFile

func (VirtualInterfacesResultOutput) PeerIp

The peer IP that associated with this virtual interface.

func (VirtualInterfacesResultOutput) RouteType

The route type of this virtual interface.

func (VirtualInterfacesResultOutput) TagFilters

func (VirtualInterfacesResultOutput) ToVirtualInterfacesResultOutput

func (o VirtualInterfacesResultOutput) ToVirtualInterfacesResultOutput() VirtualInterfacesResultOutput

func (VirtualInterfacesResultOutput) ToVirtualInterfacesResultOutputWithContext

func (o VirtualInterfacesResultOutput) ToVirtualInterfacesResultOutputWithContext(ctx context.Context) VirtualInterfacesResultOutput

func (VirtualInterfacesResultOutput) TotalCount

The total count of query.

func (VirtualInterfacesResultOutput) VirtualInterfaceName

func (o VirtualInterfacesResultOutput) VirtualInterfaceName() pulumi.StringPtrOutput

The name of virtual interface.

func (VirtualInterfacesResultOutput) VirtualInterfaces

The collection of query.

func (VirtualInterfacesResultOutput) VlanId

The VLAN ID of virtual interface.

type VirtualInterfacesTagFilter

type VirtualInterfacesTagFilter struct {
	// The tag key of cloud resource instance.
	Key *string `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value *string `pulumi:"value"`
}

type VirtualInterfacesTagFilterArgs

type VirtualInterfacesTagFilterArgs struct {
	// The tag key of cloud resource instance.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (VirtualInterfacesTagFilterArgs) ElementType

func (VirtualInterfacesTagFilterArgs) ToVirtualInterfacesTagFilterOutput

func (i VirtualInterfacesTagFilterArgs) ToVirtualInterfacesTagFilterOutput() VirtualInterfacesTagFilterOutput

func (VirtualInterfacesTagFilterArgs) ToVirtualInterfacesTagFilterOutputWithContext

func (i VirtualInterfacesTagFilterArgs) ToVirtualInterfacesTagFilterOutputWithContext(ctx context.Context) VirtualInterfacesTagFilterOutput

type VirtualInterfacesTagFilterArray

type VirtualInterfacesTagFilterArray []VirtualInterfacesTagFilterInput

func (VirtualInterfacesTagFilterArray) ElementType

func (VirtualInterfacesTagFilterArray) ToVirtualInterfacesTagFilterArrayOutput

func (i VirtualInterfacesTagFilterArray) ToVirtualInterfacesTagFilterArrayOutput() VirtualInterfacesTagFilterArrayOutput

func (VirtualInterfacesTagFilterArray) ToVirtualInterfacesTagFilterArrayOutputWithContext

func (i VirtualInterfacesTagFilterArray) ToVirtualInterfacesTagFilterArrayOutputWithContext(ctx context.Context) VirtualInterfacesTagFilterArrayOutput

type VirtualInterfacesTagFilterArrayInput

type VirtualInterfacesTagFilterArrayInput interface {
	pulumi.Input

	ToVirtualInterfacesTagFilterArrayOutput() VirtualInterfacesTagFilterArrayOutput
	ToVirtualInterfacesTagFilterArrayOutputWithContext(context.Context) VirtualInterfacesTagFilterArrayOutput
}

VirtualInterfacesTagFilterArrayInput is an input type that accepts VirtualInterfacesTagFilterArray and VirtualInterfacesTagFilterArrayOutput values. You can construct a concrete instance of `VirtualInterfacesTagFilterArrayInput` via:

VirtualInterfacesTagFilterArray{ VirtualInterfacesTagFilterArgs{...} }

type VirtualInterfacesTagFilterArrayOutput

type VirtualInterfacesTagFilterArrayOutput struct{ *pulumi.OutputState }

func (VirtualInterfacesTagFilterArrayOutput) ElementType

func (VirtualInterfacesTagFilterArrayOutput) Index

func (VirtualInterfacesTagFilterArrayOutput) ToVirtualInterfacesTagFilterArrayOutput

func (o VirtualInterfacesTagFilterArrayOutput) ToVirtualInterfacesTagFilterArrayOutput() VirtualInterfacesTagFilterArrayOutput

func (VirtualInterfacesTagFilterArrayOutput) ToVirtualInterfacesTagFilterArrayOutputWithContext

func (o VirtualInterfacesTagFilterArrayOutput) ToVirtualInterfacesTagFilterArrayOutputWithContext(ctx context.Context) VirtualInterfacesTagFilterArrayOutput

type VirtualInterfacesTagFilterInput

type VirtualInterfacesTagFilterInput interface {
	pulumi.Input

	ToVirtualInterfacesTagFilterOutput() VirtualInterfacesTagFilterOutput
	ToVirtualInterfacesTagFilterOutputWithContext(context.Context) VirtualInterfacesTagFilterOutput
}

VirtualInterfacesTagFilterInput is an input type that accepts VirtualInterfacesTagFilterArgs and VirtualInterfacesTagFilterOutput values. You can construct a concrete instance of `VirtualInterfacesTagFilterInput` via:

VirtualInterfacesTagFilterArgs{...}

type VirtualInterfacesTagFilterOutput

type VirtualInterfacesTagFilterOutput struct{ *pulumi.OutputState }

func (VirtualInterfacesTagFilterOutput) ElementType

func (VirtualInterfacesTagFilterOutput) Key

The tag key of cloud resource instance.

func (VirtualInterfacesTagFilterOutput) ToVirtualInterfacesTagFilterOutput

func (o VirtualInterfacesTagFilterOutput) ToVirtualInterfacesTagFilterOutput() VirtualInterfacesTagFilterOutput

func (VirtualInterfacesTagFilterOutput) ToVirtualInterfacesTagFilterOutputWithContext

func (o VirtualInterfacesTagFilterOutput) ToVirtualInterfacesTagFilterOutputWithContext(ctx context.Context) VirtualInterfacesTagFilterOutput

func (VirtualInterfacesTagFilterOutput) Value

The tag value of cloud resource instance.

type VirtualInterfacesVirtualInterface

type VirtualInterfacesVirtualInterface struct {
	// The account ID which this virtual interface belongs.
	AccountId string `pulumi:"accountId"`
	// The band width limit of virtual interface,in Mbps.
	Bandwidth int `pulumi:"bandwidth"`
	// The BFD detect interval.
	BfdDetectInterval int `pulumi:"bfdDetectInterval"`
	// The BFD detect times.
	BfdDetectMultiplier int `pulumi:"bfdDetectMultiplier"`
	// The creation time of virtual interface.
	CreationTime string `pulumi:"creationTime"`
	// The description of the virtual interface.
	Description string `pulumi:"description"`
	// The direct connect connection ID that associated with this virtual interface.
	DirectConnectConnectionId string `pulumi:"directConnectConnectionId"`
	// The direct connect gateway ID that associated with this virtual interface.
	DirectConnectGatewayId string `pulumi:"directConnectGatewayId"`
	// Whether enable BFD detect.
	EnableBfd bool `pulumi:"enableBfd"`
	// Whether enable NQA detect.
	EnableNqa bool `pulumi:"enableNqa"`
	// The local IP that associated with this virtual interface.
	LocalIp string `pulumi:"localIp"`
	// The NQA detect interval.
	NqaDetectInterval int `pulumi:"nqaDetectInterval"`
	// The NAQ detect times.
	NqaDetectMultiplier int `pulumi:"nqaDetectMultiplier"`
	// The peer IP that associated with this virtual interface.
	PeerIp string `pulumi:"peerIp"`
	// The route type of virtual interface.
	RouteType string `pulumi:"routeType"`
	// The status of virtaul interface.
	Status string `pulumi:"status"`
	// The tags that direct connect gateway added.
	Tags []VirtualInterfacesVirtualInterfaceTag `pulumi:"tags"`
	// The update time of virtual interface.
	UpdateTime string `pulumi:"updateTime"`
	// The virtual interface ID.
	VirtualInterfaceId string `pulumi:"virtualInterfaceId"`
	// The name of virtual interface.
	VirtualInterfaceName string `pulumi:"virtualInterfaceName"`
	// The VLAN ID of virtual interface.
	VlanId int `pulumi:"vlanId"`
}

type VirtualInterfacesVirtualInterfaceArgs

type VirtualInterfacesVirtualInterfaceArgs struct {
	// The account ID which this virtual interface belongs.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The band width limit of virtual interface,in Mbps.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The BFD detect interval.
	BfdDetectInterval pulumi.IntInput `pulumi:"bfdDetectInterval"`
	// The BFD detect times.
	BfdDetectMultiplier pulumi.IntInput `pulumi:"bfdDetectMultiplier"`
	// The creation time of virtual interface.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description of the virtual interface.
	Description pulumi.StringInput `pulumi:"description"`
	// The direct connect connection ID that associated with this virtual interface.
	DirectConnectConnectionId pulumi.StringInput `pulumi:"directConnectConnectionId"`
	// The direct connect gateway ID that associated with this virtual interface.
	DirectConnectGatewayId pulumi.StringInput `pulumi:"directConnectGatewayId"`
	// Whether enable BFD detect.
	EnableBfd pulumi.BoolInput `pulumi:"enableBfd"`
	// Whether enable NQA detect.
	EnableNqa pulumi.BoolInput `pulumi:"enableNqa"`
	// The local IP that associated with this virtual interface.
	LocalIp pulumi.StringInput `pulumi:"localIp"`
	// The NQA detect interval.
	NqaDetectInterval pulumi.IntInput `pulumi:"nqaDetectInterval"`
	// The NAQ detect times.
	NqaDetectMultiplier pulumi.IntInput `pulumi:"nqaDetectMultiplier"`
	// The peer IP that associated with this virtual interface.
	PeerIp pulumi.StringInput `pulumi:"peerIp"`
	// The route type of virtual interface.
	RouteType pulumi.StringInput `pulumi:"routeType"`
	// The status of virtaul interface.
	Status pulumi.StringInput `pulumi:"status"`
	// The tags that direct connect gateway added.
	Tags VirtualInterfacesVirtualInterfaceTagArrayInput `pulumi:"tags"`
	// The update time of virtual interface.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The virtual interface ID.
	VirtualInterfaceId pulumi.StringInput `pulumi:"virtualInterfaceId"`
	// The name of virtual interface.
	VirtualInterfaceName pulumi.StringInput `pulumi:"virtualInterfaceName"`
	// The VLAN ID of virtual interface.
	VlanId pulumi.IntInput `pulumi:"vlanId"`
}

func (VirtualInterfacesVirtualInterfaceArgs) ElementType

func (VirtualInterfacesVirtualInterfaceArgs) ToVirtualInterfacesVirtualInterfaceOutput

func (i VirtualInterfacesVirtualInterfaceArgs) ToVirtualInterfacesVirtualInterfaceOutput() VirtualInterfacesVirtualInterfaceOutput

func (VirtualInterfacesVirtualInterfaceArgs) ToVirtualInterfacesVirtualInterfaceOutputWithContext

func (i VirtualInterfacesVirtualInterfaceArgs) ToVirtualInterfacesVirtualInterfaceOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceOutput

type VirtualInterfacesVirtualInterfaceArray

type VirtualInterfacesVirtualInterfaceArray []VirtualInterfacesVirtualInterfaceInput

func (VirtualInterfacesVirtualInterfaceArray) ElementType

func (VirtualInterfacesVirtualInterfaceArray) ToVirtualInterfacesVirtualInterfaceArrayOutput

func (i VirtualInterfacesVirtualInterfaceArray) ToVirtualInterfacesVirtualInterfaceArrayOutput() VirtualInterfacesVirtualInterfaceArrayOutput

func (VirtualInterfacesVirtualInterfaceArray) ToVirtualInterfacesVirtualInterfaceArrayOutputWithContext

func (i VirtualInterfacesVirtualInterfaceArray) ToVirtualInterfacesVirtualInterfaceArrayOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceArrayOutput

type VirtualInterfacesVirtualInterfaceArrayInput

type VirtualInterfacesVirtualInterfaceArrayInput interface {
	pulumi.Input

	ToVirtualInterfacesVirtualInterfaceArrayOutput() VirtualInterfacesVirtualInterfaceArrayOutput
	ToVirtualInterfacesVirtualInterfaceArrayOutputWithContext(context.Context) VirtualInterfacesVirtualInterfaceArrayOutput
}

VirtualInterfacesVirtualInterfaceArrayInput is an input type that accepts VirtualInterfacesVirtualInterfaceArray and VirtualInterfacesVirtualInterfaceArrayOutput values. You can construct a concrete instance of `VirtualInterfacesVirtualInterfaceArrayInput` via:

VirtualInterfacesVirtualInterfaceArray{ VirtualInterfacesVirtualInterfaceArgs{...} }

type VirtualInterfacesVirtualInterfaceArrayOutput

type VirtualInterfacesVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (VirtualInterfacesVirtualInterfaceArrayOutput) ElementType

func (VirtualInterfacesVirtualInterfaceArrayOutput) Index

func (VirtualInterfacesVirtualInterfaceArrayOutput) ToVirtualInterfacesVirtualInterfaceArrayOutput

func (o VirtualInterfacesVirtualInterfaceArrayOutput) ToVirtualInterfacesVirtualInterfaceArrayOutput() VirtualInterfacesVirtualInterfaceArrayOutput

func (VirtualInterfacesVirtualInterfaceArrayOutput) ToVirtualInterfacesVirtualInterfaceArrayOutputWithContext

func (o VirtualInterfacesVirtualInterfaceArrayOutput) ToVirtualInterfacesVirtualInterfaceArrayOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceArrayOutput

type VirtualInterfacesVirtualInterfaceInput

type VirtualInterfacesVirtualInterfaceInput interface {
	pulumi.Input

	ToVirtualInterfacesVirtualInterfaceOutput() VirtualInterfacesVirtualInterfaceOutput
	ToVirtualInterfacesVirtualInterfaceOutputWithContext(context.Context) VirtualInterfacesVirtualInterfaceOutput
}

VirtualInterfacesVirtualInterfaceInput is an input type that accepts VirtualInterfacesVirtualInterfaceArgs and VirtualInterfacesVirtualInterfaceOutput values. You can construct a concrete instance of `VirtualInterfacesVirtualInterfaceInput` via:

VirtualInterfacesVirtualInterfaceArgs{...}

type VirtualInterfacesVirtualInterfaceOutput

type VirtualInterfacesVirtualInterfaceOutput struct{ *pulumi.OutputState }

func (VirtualInterfacesVirtualInterfaceOutput) AccountId

The account ID which this virtual interface belongs.

func (VirtualInterfacesVirtualInterfaceOutput) Bandwidth

The band width limit of virtual interface,in Mbps.

func (VirtualInterfacesVirtualInterfaceOutput) BfdDetectInterval

The BFD detect interval.

func (VirtualInterfacesVirtualInterfaceOutput) BfdDetectMultiplier

The BFD detect times.

func (VirtualInterfacesVirtualInterfaceOutput) CreationTime

The creation time of virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) Description

The description of the virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) DirectConnectConnectionId

func (o VirtualInterfacesVirtualInterfaceOutput) DirectConnectConnectionId() pulumi.StringOutput

The direct connect connection ID that associated with this virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) DirectConnectGatewayId

func (o VirtualInterfacesVirtualInterfaceOutput) DirectConnectGatewayId() pulumi.StringOutput

The direct connect gateway ID that associated with this virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) ElementType

func (VirtualInterfacesVirtualInterfaceOutput) EnableBfd

Whether enable BFD detect.

func (VirtualInterfacesVirtualInterfaceOutput) EnableNqa

Whether enable NQA detect.

func (VirtualInterfacesVirtualInterfaceOutput) LocalIp

The local IP that associated with this virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) NqaDetectInterval

The NQA detect interval.

func (VirtualInterfacesVirtualInterfaceOutput) NqaDetectMultiplier

The NAQ detect times.

func (VirtualInterfacesVirtualInterfaceOutput) PeerIp

The peer IP that associated with this virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) RouteType

The route type of virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) Status

The status of virtaul interface.

func (VirtualInterfacesVirtualInterfaceOutput) Tags

The tags that direct connect gateway added.

func (VirtualInterfacesVirtualInterfaceOutput) ToVirtualInterfacesVirtualInterfaceOutput

func (o VirtualInterfacesVirtualInterfaceOutput) ToVirtualInterfacesVirtualInterfaceOutput() VirtualInterfacesVirtualInterfaceOutput

func (VirtualInterfacesVirtualInterfaceOutput) ToVirtualInterfacesVirtualInterfaceOutputWithContext

func (o VirtualInterfacesVirtualInterfaceOutput) ToVirtualInterfacesVirtualInterfaceOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceOutput

func (VirtualInterfacesVirtualInterfaceOutput) UpdateTime

The update time of virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) VirtualInterfaceId

The virtual interface ID.

func (VirtualInterfacesVirtualInterfaceOutput) VirtualInterfaceName

The name of virtual interface.

func (VirtualInterfacesVirtualInterfaceOutput) VlanId

The VLAN ID of virtual interface.

type VirtualInterfacesVirtualInterfaceTag

type VirtualInterfacesVirtualInterfaceTag struct {
	// The tag key of cloud resource instance.
	Key string `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value string `pulumi:"value"`
}

type VirtualInterfacesVirtualInterfaceTagArgs

type VirtualInterfacesVirtualInterfaceTagArgs struct {
	// The tag key of cloud resource instance.
	Key pulumi.StringInput `pulumi:"key"`
	// The tag value of cloud resource instance.
	Value pulumi.StringInput `pulumi:"value"`
}

func (VirtualInterfacesVirtualInterfaceTagArgs) ElementType

func (VirtualInterfacesVirtualInterfaceTagArgs) ToVirtualInterfacesVirtualInterfaceTagOutput

func (i VirtualInterfacesVirtualInterfaceTagArgs) ToVirtualInterfacesVirtualInterfaceTagOutput() VirtualInterfacesVirtualInterfaceTagOutput

func (VirtualInterfacesVirtualInterfaceTagArgs) ToVirtualInterfacesVirtualInterfaceTagOutputWithContext

func (i VirtualInterfacesVirtualInterfaceTagArgs) ToVirtualInterfacesVirtualInterfaceTagOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceTagOutput

type VirtualInterfacesVirtualInterfaceTagArray

type VirtualInterfacesVirtualInterfaceTagArray []VirtualInterfacesVirtualInterfaceTagInput

func (VirtualInterfacesVirtualInterfaceTagArray) ElementType

func (VirtualInterfacesVirtualInterfaceTagArray) ToVirtualInterfacesVirtualInterfaceTagArrayOutput

func (i VirtualInterfacesVirtualInterfaceTagArray) ToVirtualInterfacesVirtualInterfaceTagArrayOutput() VirtualInterfacesVirtualInterfaceTagArrayOutput

func (VirtualInterfacesVirtualInterfaceTagArray) ToVirtualInterfacesVirtualInterfaceTagArrayOutputWithContext

func (i VirtualInterfacesVirtualInterfaceTagArray) ToVirtualInterfacesVirtualInterfaceTagArrayOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceTagArrayOutput

type VirtualInterfacesVirtualInterfaceTagArrayInput

type VirtualInterfacesVirtualInterfaceTagArrayInput interface {
	pulumi.Input

	ToVirtualInterfacesVirtualInterfaceTagArrayOutput() VirtualInterfacesVirtualInterfaceTagArrayOutput
	ToVirtualInterfacesVirtualInterfaceTagArrayOutputWithContext(context.Context) VirtualInterfacesVirtualInterfaceTagArrayOutput
}

VirtualInterfacesVirtualInterfaceTagArrayInput is an input type that accepts VirtualInterfacesVirtualInterfaceTagArray and VirtualInterfacesVirtualInterfaceTagArrayOutput values. You can construct a concrete instance of `VirtualInterfacesVirtualInterfaceTagArrayInput` via:

VirtualInterfacesVirtualInterfaceTagArray{ VirtualInterfacesVirtualInterfaceTagArgs{...} }

type VirtualInterfacesVirtualInterfaceTagArrayOutput

type VirtualInterfacesVirtualInterfaceTagArrayOutput struct{ *pulumi.OutputState }

func (VirtualInterfacesVirtualInterfaceTagArrayOutput) ElementType

func (VirtualInterfacesVirtualInterfaceTagArrayOutput) Index

func (VirtualInterfacesVirtualInterfaceTagArrayOutput) ToVirtualInterfacesVirtualInterfaceTagArrayOutput

func (o VirtualInterfacesVirtualInterfaceTagArrayOutput) ToVirtualInterfacesVirtualInterfaceTagArrayOutput() VirtualInterfacesVirtualInterfaceTagArrayOutput

func (VirtualInterfacesVirtualInterfaceTagArrayOutput) ToVirtualInterfacesVirtualInterfaceTagArrayOutputWithContext

func (o VirtualInterfacesVirtualInterfaceTagArrayOutput) ToVirtualInterfacesVirtualInterfaceTagArrayOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceTagArrayOutput

type VirtualInterfacesVirtualInterfaceTagInput

type VirtualInterfacesVirtualInterfaceTagInput interface {
	pulumi.Input

	ToVirtualInterfacesVirtualInterfaceTagOutput() VirtualInterfacesVirtualInterfaceTagOutput
	ToVirtualInterfacesVirtualInterfaceTagOutputWithContext(context.Context) VirtualInterfacesVirtualInterfaceTagOutput
}

VirtualInterfacesVirtualInterfaceTagInput is an input type that accepts VirtualInterfacesVirtualInterfaceTagArgs and VirtualInterfacesVirtualInterfaceTagOutput values. You can construct a concrete instance of `VirtualInterfacesVirtualInterfaceTagInput` via:

VirtualInterfacesVirtualInterfaceTagArgs{...}

type VirtualInterfacesVirtualInterfaceTagOutput

type VirtualInterfacesVirtualInterfaceTagOutput struct{ *pulumi.OutputState }

func (VirtualInterfacesVirtualInterfaceTagOutput) ElementType

func (VirtualInterfacesVirtualInterfaceTagOutput) Key

The tag key of cloud resource instance.

func (VirtualInterfacesVirtualInterfaceTagOutput) ToVirtualInterfacesVirtualInterfaceTagOutput

func (o VirtualInterfacesVirtualInterfaceTagOutput) ToVirtualInterfacesVirtualInterfaceTagOutput() VirtualInterfacesVirtualInterfaceTagOutput

func (VirtualInterfacesVirtualInterfaceTagOutput) ToVirtualInterfacesVirtualInterfaceTagOutputWithContext

func (o VirtualInterfacesVirtualInterfaceTagOutput) ToVirtualInterfacesVirtualInterfaceTagOutputWithContext(ctx context.Context) VirtualInterfacesVirtualInterfaceTagOutput

func (VirtualInterfacesVirtualInterfaceTagOutput) Value

The tag value of cloud resource instance.

Jump to

Keyboard shortcuts

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