transit_router

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 BandwidthPackage

type BandwidthPackage struct {
	pulumi.CustomResourceState

	// The detailed information on cross regional connections associated with bandwidth packets.
	Allocations BandwidthPackageAllocationArrayOutput `pulumi:"allocations"`
	// The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
	Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"`
	// The business status of the transit router bandwidth package.
	BusinessStatus pulumi.StringOutput `pulumi:"businessStatus"`
	// The create time of the transit router bandwidth package.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The delete time of the transit router bandwidth package.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// The description of the transit router bandwidth package.
	Description pulumi.StringOutput `pulumi:"description"`
	// The expired time of the transit router bandwidth package.
	ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"`
	// The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
	RemainRenewTimes pulumi.IntPtrOutput `pulumi:"remainRenewTimes"`
	// The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
	RemainingBandwidth pulumi.IntOutput `pulumi:"remainingBandwidth"`
	// The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	RenewPeriod pulumi.IntPtrOutput `pulumi:"renewPeriod"`
	// The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
	RenewType pulumi.StringPtrOutput `pulumi:"renewType"`
	// The status of the transit router bandwidth package.
	Status pulumi.StringOutput `pulumi:"status"`
	// The name of the transit router bandwidth package.
	TransitRouterBandwidthPackageName pulumi.StringOutput `pulumi:"transitRouterBandwidthPackageName"`
	// The update time of the transit router bandwidth package.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage transit router bandwidth package ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewBandwidthPackage(ctx, "foo", &transit_router.BandwidthPackageArgs{
			Bandwidth:                         pulumi.Int(2),
			Description:                       pulumi.String("acc-test"),
			Period:                            pulumi.Int(1),
			RenewType:                         pulumi.String("Manual"),
			TransitRouterBandwidthPackageName: pulumi.String("acc-tf-test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TransitRouterBandwidthPackage can be imported using the Id, e.g.

```sh

$ pulumi import volcengine:transit_router/bandwidthPackage:BandwidthPackage default tbp-cd-2felfww0i6pkw59gp68bq****

```

func GetBandwidthPackage

func GetBandwidthPackage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BandwidthPackageState, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)

GetBandwidthPackage gets an existing BandwidthPackage 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 NewBandwidthPackage

func NewBandwidthPackage(ctx *pulumi.Context,
	name string, args *BandwidthPackageArgs, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)

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

func (*BandwidthPackage) ElementType

func (*BandwidthPackage) ElementType() reflect.Type

func (*BandwidthPackage) ToBandwidthPackageOutput

func (i *BandwidthPackage) ToBandwidthPackageOutput() BandwidthPackageOutput

func (*BandwidthPackage) ToBandwidthPackageOutputWithContext

func (i *BandwidthPackage) ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput

type BandwidthPackageAllocation

type BandwidthPackageAllocation struct {
	// The delete time of the transit router bandwidth package.
	AllocateTime *string `pulumi:"allocateTime"`
	// The delete time of the transit router bandwidth package.
	DeleteTime *string `pulumi:"deleteTime"`
	// The local region id of the transit router.
	LocalRegionId *string `pulumi:"localRegionId"`
	// The ID of the peer attachment.
	TransitRouterPeerAttachmentId *string `pulumi:"transitRouterPeerAttachmentId"`
}

type BandwidthPackageAllocationArgs

type BandwidthPackageAllocationArgs struct {
	// The delete time of the transit router bandwidth package.
	AllocateTime pulumi.StringPtrInput `pulumi:"allocateTime"`
	// The delete time of the transit router bandwidth package.
	DeleteTime pulumi.StringPtrInput `pulumi:"deleteTime"`
	// The local region id of the transit router.
	LocalRegionId pulumi.StringPtrInput `pulumi:"localRegionId"`
	// The ID of the peer attachment.
	TransitRouterPeerAttachmentId pulumi.StringPtrInput `pulumi:"transitRouterPeerAttachmentId"`
}

func (BandwidthPackageAllocationArgs) ElementType

func (BandwidthPackageAllocationArgs) ToBandwidthPackageAllocationOutput

func (i BandwidthPackageAllocationArgs) ToBandwidthPackageAllocationOutput() BandwidthPackageAllocationOutput

func (BandwidthPackageAllocationArgs) ToBandwidthPackageAllocationOutputWithContext

func (i BandwidthPackageAllocationArgs) ToBandwidthPackageAllocationOutputWithContext(ctx context.Context) BandwidthPackageAllocationOutput

type BandwidthPackageAllocationArray

type BandwidthPackageAllocationArray []BandwidthPackageAllocationInput

func (BandwidthPackageAllocationArray) ElementType

func (BandwidthPackageAllocationArray) ToBandwidthPackageAllocationArrayOutput

func (i BandwidthPackageAllocationArray) ToBandwidthPackageAllocationArrayOutput() BandwidthPackageAllocationArrayOutput

func (BandwidthPackageAllocationArray) ToBandwidthPackageAllocationArrayOutputWithContext

func (i BandwidthPackageAllocationArray) ToBandwidthPackageAllocationArrayOutputWithContext(ctx context.Context) BandwidthPackageAllocationArrayOutput

type BandwidthPackageAllocationArrayInput

type BandwidthPackageAllocationArrayInput interface {
	pulumi.Input

	ToBandwidthPackageAllocationArrayOutput() BandwidthPackageAllocationArrayOutput
	ToBandwidthPackageAllocationArrayOutputWithContext(context.Context) BandwidthPackageAllocationArrayOutput
}

BandwidthPackageAllocationArrayInput is an input type that accepts BandwidthPackageAllocationArray and BandwidthPackageAllocationArrayOutput values. You can construct a concrete instance of `BandwidthPackageAllocationArrayInput` via:

BandwidthPackageAllocationArray{ BandwidthPackageAllocationArgs{...} }

type BandwidthPackageAllocationArrayOutput

type BandwidthPackageAllocationArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAllocationArrayOutput) ElementType

func (BandwidthPackageAllocationArrayOutput) Index

func (BandwidthPackageAllocationArrayOutput) ToBandwidthPackageAllocationArrayOutput

func (o BandwidthPackageAllocationArrayOutput) ToBandwidthPackageAllocationArrayOutput() BandwidthPackageAllocationArrayOutput

func (BandwidthPackageAllocationArrayOutput) ToBandwidthPackageAllocationArrayOutputWithContext

func (o BandwidthPackageAllocationArrayOutput) ToBandwidthPackageAllocationArrayOutputWithContext(ctx context.Context) BandwidthPackageAllocationArrayOutput

type BandwidthPackageAllocationInput

type BandwidthPackageAllocationInput interface {
	pulumi.Input

	ToBandwidthPackageAllocationOutput() BandwidthPackageAllocationOutput
	ToBandwidthPackageAllocationOutputWithContext(context.Context) BandwidthPackageAllocationOutput
}

BandwidthPackageAllocationInput is an input type that accepts BandwidthPackageAllocationArgs and BandwidthPackageAllocationOutput values. You can construct a concrete instance of `BandwidthPackageAllocationInput` via:

BandwidthPackageAllocationArgs{...}

type BandwidthPackageAllocationOutput

type BandwidthPackageAllocationOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAllocationOutput) AllocateTime

The delete time of the transit router bandwidth package.

func (BandwidthPackageAllocationOutput) DeleteTime

The delete time of the transit router bandwidth package.

func (BandwidthPackageAllocationOutput) ElementType

func (BandwidthPackageAllocationOutput) LocalRegionId

The local region id of the transit router.

func (BandwidthPackageAllocationOutput) ToBandwidthPackageAllocationOutput

func (o BandwidthPackageAllocationOutput) ToBandwidthPackageAllocationOutput() BandwidthPackageAllocationOutput

func (BandwidthPackageAllocationOutput) ToBandwidthPackageAllocationOutputWithContext

func (o BandwidthPackageAllocationOutput) ToBandwidthPackageAllocationOutputWithContext(ctx context.Context) BandwidthPackageAllocationOutput

func (BandwidthPackageAllocationOutput) TransitRouterPeerAttachmentId

func (o BandwidthPackageAllocationOutput) TransitRouterPeerAttachmentId() pulumi.StringPtrOutput

The ID of the peer attachment.

type BandwidthPackageArgs

type BandwidthPackageArgs struct {
	// The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
	Bandwidth pulumi.IntPtrInput
	// The description of the transit router bandwidth package.
	Description pulumi.StringPtrInput
	// The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
	Period pulumi.IntPtrInput
	// The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
	RemainRenewTimes pulumi.IntPtrInput
	// The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	RenewPeriod pulumi.IntPtrInput
	// The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
	RenewType pulumi.StringPtrInput
	// The name of the transit router bandwidth package.
	TransitRouterBandwidthPackageName pulumi.StringPtrInput
}

The set of arguments for constructing a BandwidthPackage resource.

func (BandwidthPackageArgs) ElementType

func (BandwidthPackageArgs) ElementType() reflect.Type

type BandwidthPackageArray

type BandwidthPackageArray []BandwidthPackageInput

func (BandwidthPackageArray) ElementType

func (BandwidthPackageArray) ElementType() reflect.Type

func (BandwidthPackageArray) ToBandwidthPackageArrayOutput

func (i BandwidthPackageArray) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput

func (BandwidthPackageArray) ToBandwidthPackageArrayOutputWithContext

func (i BandwidthPackageArray) ToBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackageArrayOutput

type BandwidthPackageArrayInput

type BandwidthPackageArrayInput interface {
	pulumi.Input

	ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput
	ToBandwidthPackageArrayOutputWithContext(context.Context) BandwidthPackageArrayOutput
}

BandwidthPackageArrayInput is an input type that accepts BandwidthPackageArray and BandwidthPackageArrayOutput values. You can construct a concrete instance of `BandwidthPackageArrayInput` via:

BandwidthPackageArray{ BandwidthPackageArgs{...} }

type BandwidthPackageArrayOutput

type BandwidthPackageArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageArrayOutput) ElementType

func (BandwidthPackageArrayOutput) Index

func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput

func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput

func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext

func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackageArrayOutput

type BandwidthPackageInput

type BandwidthPackageInput interface {
	pulumi.Input

	ToBandwidthPackageOutput() BandwidthPackageOutput
	ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput
}

type BandwidthPackageMap

type BandwidthPackageMap map[string]BandwidthPackageInput

func (BandwidthPackageMap) ElementType

func (BandwidthPackageMap) ElementType() reflect.Type

func (BandwidthPackageMap) ToBandwidthPackageMapOutput

func (i BandwidthPackageMap) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput

func (BandwidthPackageMap) ToBandwidthPackageMapOutputWithContext

func (i BandwidthPackageMap) ToBandwidthPackageMapOutputWithContext(ctx context.Context) BandwidthPackageMapOutput

type BandwidthPackageMapInput

type BandwidthPackageMapInput interface {
	pulumi.Input

	ToBandwidthPackageMapOutput() BandwidthPackageMapOutput
	ToBandwidthPackageMapOutputWithContext(context.Context) BandwidthPackageMapOutput
}

BandwidthPackageMapInput is an input type that accepts BandwidthPackageMap and BandwidthPackageMapOutput values. You can construct a concrete instance of `BandwidthPackageMapInput` via:

BandwidthPackageMap{ "key": BandwidthPackageArgs{...} }

type BandwidthPackageMapOutput

type BandwidthPackageMapOutput struct{ *pulumi.OutputState }

func (BandwidthPackageMapOutput) ElementType

func (BandwidthPackageMapOutput) ElementType() reflect.Type

func (BandwidthPackageMapOutput) MapIndex

func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutput

func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput

func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext

func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext(ctx context.Context) BandwidthPackageMapOutput

type BandwidthPackageOutput

type BandwidthPackageOutput struct{ *pulumi.OutputState }

func (BandwidthPackageOutput) Allocations

The detailed information on cross regional connections associated with bandwidth packets.

func (BandwidthPackageOutput) Bandwidth

The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.

func (BandwidthPackageOutput) BusinessStatus

func (o BandwidthPackageOutput) BusinessStatus() pulumi.StringOutput

The business status of the transit router bandwidth package.

func (BandwidthPackageOutput) CreationTime

func (o BandwidthPackageOutput) CreationTime() pulumi.StringOutput

The create time of the transit router bandwidth package.

func (BandwidthPackageOutput) DeleteTime

The delete time of the transit router bandwidth package.

func (BandwidthPackageOutput) Description

func (o BandwidthPackageOutput) Description() pulumi.StringOutput

The description of the transit router bandwidth package.

func (BandwidthPackageOutput) ElementType

func (BandwidthPackageOutput) ElementType() reflect.Type

func (BandwidthPackageOutput) ExpiredTime

func (o BandwidthPackageOutput) ExpiredTime() pulumi.StringOutput

The expired time of the transit router bandwidth package.

func (BandwidthPackageOutput) Period

The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.

func (BandwidthPackageOutput) RemainRenewTimes

func (o BandwidthPackageOutput) RemainRenewTimes() pulumi.IntPtrOutput

The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.

func (BandwidthPackageOutput) RemainingBandwidth

func (o BandwidthPackageOutput) RemainingBandwidth() pulumi.IntOutput

The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.

func (BandwidthPackageOutput) RenewPeriod

func (o BandwidthPackageOutput) RenewPeriod() pulumi.IntPtrOutput

The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (BandwidthPackageOutput) RenewType

The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.

func (BandwidthPackageOutput) Status

The status of the transit router bandwidth package.

func (BandwidthPackageOutput) ToBandwidthPackageOutput

func (o BandwidthPackageOutput) ToBandwidthPackageOutput() BandwidthPackageOutput

func (BandwidthPackageOutput) ToBandwidthPackageOutputWithContext

func (o BandwidthPackageOutput) ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput

func (BandwidthPackageOutput) TransitRouterBandwidthPackageName

func (o BandwidthPackageOutput) TransitRouterBandwidthPackageName() pulumi.StringOutput

The name of the transit router bandwidth package.

func (BandwidthPackageOutput) UpdateTime

The update time of the transit router bandwidth package.

type BandwidthPackageState

type BandwidthPackageState struct {
	// The detailed information on cross regional connections associated with bandwidth packets.
	Allocations BandwidthPackageAllocationArrayInput
	// The bandwidth peak of the transit router bandwidth package. Unit: Mbps. Valid values: 2-10000. Default is 2 Mbps.
	Bandwidth pulumi.IntPtrInput
	// The business status of the transit router bandwidth package.
	BusinessStatus pulumi.StringPtrInput
	// The create time of the transit router bandwidth package.
	CreationTime pulumi.StringPtrInput
	// The delete time of the transit router bandwidth package.
	DeleteTime pulumi.StringPtrInput
	// The description of the transit router bandwidth package.
	Description pulumi.StringPtrInput
	// The expired time of the transit router bandwidth package.
	ExpiredTime pulumi.StringPtrInput
	// The period of the transit router bandwidth package, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to `Month`.The modification of this field only takes effect when the value of the `renewType` is `Manual`.
	Period pulumi.IntPtrInput
	// The remaining renewal times of of the transit router bandwidth package. Valid values: -1 or 1~100. Default value is -1, means unlimited renewal.This field is only effective when the value of the `renewType` is `Auto`.
	RemainRenewTimes pulumi.IntPtrInput
	// The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
	RemainingBandwidth pulumi.IntPtrInput
	// The auto renewal period of the transit router bandwidth package. Valid values: 1,2,3,6,12. Default value is 1. Unit: Month.This field is only effective when the value of the `renewType` is `Auto`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	RenewPeriod pulumi.IntPtrInput
	// The renewal type of the transit router bandwidth package. Valid values: `Manual`, `Auto`, `NoRenew`. Default is `Manual`.This field is only effective when modifying the bandwidth package.
	RenewType pulumi.StringPtrInput
	// The status of the transit router bandwidth package.
	Status pulumi.StringPtrInput
	// The name of the transit router bandwidth package.
	TransitRouterBandwidthPackageName pulumi.StringPtrInput
	// The update time of the transit router bandwidth package.
	UpdateTime pulumi.StringPtrInput
}

func (BandwidthPackageState) ElementType

func (BandwidthPackageState) ElementType() reflect.Type

type BandwidthPackagesArgs

type BandwidthPackagesArgs struct {
	// The ID list of the TransitRouter bandwidth package.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The name of the TransitRouter bandwidth package.
	TransitRouterBandwidthPackageName *string `pulumi:"transitRouterBandwidthPackageName"`
	// The ID of the peer attachment.
	TransitRouterPeerAttachmentId *string `pulumi:"transitRouterPeerAttachmentId"`
}

A collection of arguments for invoking BandwidthPackages.

type BandwidthPackagesBandwidthPackage

type BandwidthPackagesBandwidthPackage struct {
	// The account id.
	AccountId string `pulumi:"accountId"`
	// The detailed information on cross regional connections associated with bandwidth packets.
	Allocations []BandwidthPackagesBandwidthPackageAllocation `pulumi:"allocations"`
	// The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
	Bandwidth int `pulumi:"bandwidth"`
	// The billing type of the transit router bandwidth package.
	BillingType string `pulumi:"billingType"`
	// The business status of the transit router bandwidth package.
	BusinessStatus string `pulumi:"businessStatus"`
	// The create time of the transit router bandwidth package.
	CreationTime string `pulumi:"creationTime"`
	// The delete time of the transit router bandwidth package.
	DeleteTime string `pulumi:"deleteTime"`
	// The description of the transit router bandwidth package.
	Description string `pulumi:"description"`
	// The expired time of the transit router bandwidth package.
	ExpiredTime string `pulumi:"expiredTime"`
	// The id of the transit router bandwidth package.
	Id string `pulumi:"id"`
	// The local geographic region set ID.
	LocalGeographicRegionSetId string `pulumi:"localGeographicRegionSetId"`
	// The peer geographic region set ID.
	PeerGeographicRegionSetId string `pulumi:"peerGeographicRegionSetId"`
	// The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
	RemainingBandwidth int `pulumi:"remainingBandwidth"`
	// The status of the transit router bandwidth package.
	Status string `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterBandwidthPackageId string `pulumi:"transitRouterBandwidthPackageId"`
	// The name of the TransitRouter bandwidth package.
	TransitRouterBandwidthPackageName string `pulumi:"transitRouterBandwidthPackageName"`
	// The update time of the transit router bandwidth package.
	UpdateTime string `pulumi:"updateTime"`
}

type BandwidthPackagesBandwidthPackageAllocation

type BandwidthPackagesBandwidthPackageAllocation struct {
	// The delete time of the transit router bandwidth package.
	AllocateTime string `pulumi:"allocateTime"`
	// The delete time of the transit router bandwidth package.
	DeleteTime string `pulumi:"deleteTime"`
	// The local region id of the transit router.
	LocalRegionId string `pulumi:"localRegionId"`
	// The ID of the peer attachment.
	TransitRouterPeerAttachmentId string `pulumi:"transitRouterPeerAttachmentId"`
}

type BandwidthPackagesBandwidthPackageAllocationArgs

type BandwidthPackagesBandwidthPackageAllocationArgs struct {
	// The delete time of the transit router bandwidth package.
	AllocateTime pulumi.StringInput `pulumi:"allocateTime"`
	// The delete time of the transit router bandwidth package.
	DeleteTime pulumi.StringInput `pulumi:"deleteTime"`
	// The local region id of the transit router.
	LocalRegionId pulumi.StringInput `pulumi:"localRegionId"`
	// The ID of the peer attachment.
	TransitRouterPeerAttachmentId pulumi.StringInput `pulumi:"transitRouterPeerAttachmentId"`
}

func (BandwidthPackagesBandwidthPackageAllocationArgs) ElementType

func (BandwidthPackagesBandwidthPackageAllocationArgs) ToBandwidthPackagesBandwidthPackageAllocationOutput

func (i BandwidthPackagesBandwidthPackageAllocationArgs) ToBandwidthPackagesBandwidthPackageAllocationOutput() BandwidthPackagesBandwidthPackageAllocationOutput

func (BandwidthPackagesBandwidthPackageAllocationArgs) ToBandwidthPackagesBandwidthPackageAllocationOutputWithContext

func (i BandwidthPackagesBandwidthPackageAllocationArgs) ToBandwidthPackagesBandwidthPackageAllocationOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageAllocationOutput

type BandwidthPackagesBandwidthPackageAllocationArray

type BandwidthPackagesBandwidthPackageAllocationArray []BandwidthPackagesBandwidthPackageAllocationInput

func (BandwidthPackagesBandwidthPackageAllocationArray) ElementType

func (BandwidthPackagesBandwidthPackageAllocationArray) ToBandwidthPackagesBandwidthPackageAllocationArrayOutput

func (i BandwidthPackagesBandwidthPackageAllocationArray) ToBandwidthPackagesBandwidthPackageAllocationArrayOutput() BandwidthPackagesBandwidthPackageAllocationArrayOutput

func (BandwidthPackagesBandwidthPackageAllocationArray) ToBandwidthPackagesBandwidthPackageAllocationArrayOutputWithContext

func (i BandwidthPackagesBandwidthPackageAllocationArray) ToBandwidthPackagesBandwidthPackageAllocationArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageAllocationArrayOutput

type BandwidthPackagesBandwidthPackageAllocationArrayInput

type BandwidthPackagesBandwidthPackageAllocationArrayInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageAllocationArrayOutput() BandwidthPackagesBandwidthPackageAllocationArrayOutput
	ToBandwidthPackagesBandwidthPackageAllocationArrayOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageAllocationArrayOutput
}

BandwidthPackagesBandwidthPackageAllocationArrayInput is an input type that accepts BandwidthPackagesBandwidthPackageAllocationArray and BandwidthPackagesBandwidthPackageAllocationArrayOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageAllocationArrayInput` via:

BandwidthPackagesBandwidthPackageAllocationArray{ BandwidthPackagesBandwidthPackageAllocationArgs{...} }

type BandwidthPackagesBandwidthPackageAllocationArrayOutput

type BandwidthPackagesBandwidthPackageAllocationArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageAllocationArrayOutput) ElementType

func (BandwidthPackagesBandwidthPackageAllocationArrayOutput) Index

func (BandwidthPackagesBandwidthPackageAllocationArrayOutput) ToBandwidthPackagesBandwidthPackageAllocationArrayOutput

func (BandwidthPackagesBandwidthPackageAllocationArrayOutput) ToBandwidthPackagesBandwidthPackageAllocationArrayOutputWithContext

func (o BandwidthPackagesBandwidthPackageAllocationArrayOutput) ToBandwidthPackagesBandwidthPackageAllocationArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageAllocationArrayOutput

type BandwidthPackagesBandwidthPackageAllocationInput

type BandwidthPackagesBandwidthPackageAllocationInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageAllocationOutput() BandwidthPackagesBandwidthPackageAllocationOutput
	ToBandwidthPackagesBandwidthPackageAllocationOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageAllocationOutput
}

BandwidthPackagesBandwidthPackageAllocationInput is an input type that accepts BandwidthPackagesBandwidthPackageAllocationArgs and BandwidthPackagesBandwidthPackageAllocationOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageAllocationInput` via:

BandwidthPackagesBandwidthPackageAllocationArgs{...}

type BandwidthPackagesBandwidthPackageAllocationOutput

type BandwidthPackagesBandwidthPackageAllocationOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageAllocationOutput) AllocateTime

The delete time of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageAllocationOutput) DeleteTime

The delete time of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageAllocationOutput) ElementType

func (BandwidthPackagesBandwidthPackageAllocationOutput) LocalRegionId

The local region id of the transit router.

func (BandwidthPackagesBandwidthPackageAllocationOutput) ToBandwidthPackagesBandwidthPackageAllocationOutput

func (o BandwidthPackagesBandwidthPackageAllocationOutput) ToBandwidthPackagesBandwidthPackageAllocationOutput() BandwidthPackagesBandwidthPackageAllocationOutput

func (BandwidthPackagesBandwidthPackageAllocationOutput) ToBandwidthPackagesBandwidthPackageAllocationOutputWithContext

func (o BandwidthPackagesBandwidthPackageAllocationOutput) ToBandwidthPackagesBandwidthPackageAllocationOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageAllocationOutput

func (BandwidthPackagesBandwidthPackageAllocationOutput) TransitRouterPeerAttachmentId

func (o BandwidthPackagesBandwidthPackageAllocationOutput) TransitRouterPeerAttachmentId() pulumi.StringOutput

The ID of the peer attachment.

type BandwidthPackagesBandwidthPackageArgs

type BandwidthPackagesBandwidthPackageArgs struct {
	// The account id.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The detailed information on cross regional connections associated with bandwidth packets.
	Allocations BandwidthPackagesBandwidthPackageAllocationArrayInput `pulumi:"allocations"`
	// The bandwidth peak of the transit router bandwidth package. Unit: Mbps.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The billing type of the transit router bandwidth package.
	BillingType pulumi.StringInput `pulumi:"billingType"`
	// The business status of the transit router bandwidth package.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The create time of the transit router bandwidth package.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The delete time of the transit router bandwidth package.
	DeleteTime pulumi.StringInput `pulumi:"deleteTime"`
	// The description of the transit router bandwidth package.
	Description pulumi.StringInput `pulumi:"description"`
	// The expired time of the transit router bandwidth package.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The id of the transit router bandwidth package.
	Id pulumi.StringInput `pulumi:"id"`
	// The local geographic region set ID.
	LocalGeographicRegionSetId pulumi.StringInput `pulumi:"localGeographicRegionSetId"`
	// The peer geographic region set ID.
	PeerGeographicRegionSetId pulumi.StringInput `pulumi:"peerGeographicRegionSetId"`
	// The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.
	RemainingBandwidth pulumi.IntInput `pulumi:"remainingBandwidth"`
	// The status of the transit router bandwidth package.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterBandwidthPackageId pulumi.StringInput `pulumi:"transitRouterBandwidthPackageId"`
	// The name of the TransitRouter bandwidth package.
	TransitRouterBandwidthPackageName pulumi.StringInput `pulumi:"transitRouterBandwidthPackageName"`
	// The update time of the transit router bandwidth package.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (BandwidthPackagesBandwidthPackageArgs) ElementType

func (BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutput

func (i BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutput() BandwidthPackagesBandwidthPackageOutput

func (BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutputWithContext

func (i BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageOutput

type BandwidthPackagesBandwidthPackageArray

type BandwidthPackagesBandwidthPackageArray []BandwidthPackagesBandwidthPackageInput

func (BandwidthPackagesBandwidthPackageArray) ElementType

func (BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutput

func (i BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutput() BandwidthPackagesBandwidthPackageArrayOutput

func (BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext

func (i BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageArrayOutput

type BandwidthPackagesBandwidthPackageArrayInput

type BandwidthPackagesBandwidthPackageArrayInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageArrayOutput() BandwidthPackagesBandwidthPackageArrayOutput
	ToBandwidthPackagesBandwidthPackageArrayOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageArrayOutput
}

BandwidthPackagesBandwidthPackageArrayInput is an input type that accepts BandwidthPackagesBandwidthPackageArray and BandwidthPackagesBandwidthPackageArrayOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageArrayInput` via:

BandwidthPackagesBandwidthPackageArray{ BandwidthPackagesBandwidthPackageArgs{...} }

type BandwidthPackagesBandwidthPackageArrayOutput

type BandwidthPackagesBandwidthPackageArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageArrayOutput) ElementType

func (BandwidthPackagesBandwidthPackageArrayOutput) Index

func (BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutput

func (o BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutput() BandwidthPackagesBandwidthPackageArrayOutput

func (BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext

func (o BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageArrayOutput

type BandwidthPackagesBandwidthPackageInput

type BandwidthPackagesBandwidthPackageInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageOutput() BandwidthPackagesBandwidthPackageOutput
	ToBandwidthPackagesBandwidthPackageOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageOutput
}

BandwidthPackagesBandwidthPackageInput is an input type that accepts BandwidthPackagesBandwidthPackageArgs and BandwidthPackagesBandwidthPackageOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageInput` via:

BandwidthPackagesBandwidthPackageArgs{...}

type BandwidthPackagesBandwidthPackageOutput

type BandwidthPackagesBandwidthPackageOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageOutput) AccountId

The account id.

func (BandwidthPackagesBandwidthPackageOutput) Allocations

The detailed information on cross regional connections associated with bandwidth packets.

func (BandwidthPackagesBandwidthPackageOutput) Bandwidth

The bandwidth peak of the transit router bandwidth package. Unit: Mbps.

func (BandwidthPackagesBandwidthPackageOutput) BillingType

The billing type of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) BusinessStatus

The business status of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) CreationTime

The create time of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) DeleteTime

The delete time of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) Description

The description of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) ElementType

func (BandwidthPackagesBandwidthPackageOutput) ExpiredTime

The expired time of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) Id

The id of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) LocalGeographicRegionSetId

func (o BandwidthPackagesBandwidthPackageOutput) LocalGeographicRegionSetId() pulumi.StringOutput

The local geographic region set ID.

func (BandwidthPackagesBandwidthPackageOutput) PeerGeographicRegionSetId

func (o BandwidthPackagesBandwidthPackageOutput) PeerGeographicRegionSetId() pulumi.StringOutput

The peer geographic region set ID.

func (BandwidthPackagesBandwidthPackageOutput) RemainingBandwidth

The remaining bandwidth of the transit router bandwidth package. Unit: Mbps.

func (BandwidthPackagesBandwidthPackageOutput) Status

The status of the transit router bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutput

func (o BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutput() BandwidthPackagesBandwidthPackageOutput

func (BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutputWithContext

func (o BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageOutput

func (BandwidthPackagesBandwidthPackageOutput) TransitRouterBandwidthPackageId

func (o BandwidthPackagesBandwidthPackageOutput) TransitRouterBandwidthPackageId() pulumi.StringOutput

The id of the transit router attachment.

func (BandwidthPackagesBandwidthPackageOutput) TransitRouterBandwidthPackageName

func (o BandwidthPackagesBandwidthPackageOutput) TransitRouterBandwidthPackageName() pulumi.StringOutput

The name of the TransitRouter bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) UpdateTime

The update time of the transit router bandwidth package.

type BandwidthPackagesOutputArgs

type BandwidthPackagesOutputArgs struct {
	// The ID list of the TransitRouter bandwidth package.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name of the TransitRouter bandwidth package.
	TransitRouterBandwidthPackageName pulumi.StringPtrInput `pulumi:"transitRouterBandwidthPackageName"`
	// The ID of the peer attachment.
	TransitRouterPeerAttachmentId pulumi.StringPtrInput `pulumi:"transitRouterPeerAttachmentId"`
}

A collection of arguments for invoking BandwidthPackages.

func (BandwidthPackagesOutputArgs) ElementType

type BandwidthPackagesResult

type BandwidthPackagesResult struct {
	// The collection of query.
	BandwidthPackages []BandwidthPackagesBandwidthPackage `pulumi:"bandwidthPackages"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The name of the transit router bandwidth package.
	TransitRouterBandwidthPackageName *string `pulumi:"transitRouterBandwidthPackageName"`
	// The ID of the peer attachment.
	TransitRouterPeerAttachmentId *string `pulumi:"transitRouterPeerAttachmentId"`
}

A collection of values returned by BandwidthPackages.

func BandwidthPackages

func BandwidthPackages(ctx *pulumi.Context, args *BandwidthPackagesArgs, opts ...pulumi.InvokeOption) (*BandwidthPackagesResult, error)

Use this data source to query detailed information of transit router bandwidth packages ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooBandwidthPackage, err := transit_router.NewBandwidthPackage(ctx, "fooBandwidthPackage", &transit_router.BandwidthPackageArgs{
			TransitRouterBandwidthPackageName: pulumi.String("acc-tf-test"),
			Description:                       pulumi.String("acc-test"),
			Bandwidth:                         pulumi.Int(2),
			Period:                            pulumi.Int(1),
			RenewType:                         pulumi.String("Manual"),
		})
		if err != nil {
			return err
		}
		_ = transit_router.BandwidthPackagesOutput(ctx, transit_router.BandwidthPackagesOutputArgs{
			Ids: pulumi.StringArray{
				fooBandwidthPackage.ID(),
			},
		}, nil)
		return nil
	})
}

```

type BandwidthPackagesResultOutput

type BandwidthPackagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by BandwidthPackages.

func (BandwidthPackagesResultOutput) BandwidthPackages

The collection of query.

func (BandwidthPackagesResultOutput) ElementType

func (BandwidthPackagesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (BandwidthPackagesResultOutput) Ids

func (BandwidthPackagesResultOutput) OutputFile

func (BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutput

func (o BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutput() BandwidthPackagesResultOutput

func (BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutputWithContext

func (o BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutputWithContext(ctx context.Context) BandwidthPackagesResultOutput

func (BandwidthPackagesResultOutput) TotalCount

The total count of query.

func (BandwidthPackagesResultOutput) TransitRouterBandwidthPackageName

func (o BandwidthPackagesResultOutput) TransitRouterBandwidthPackageName() pulumi.StringPtrOutput

The name of the transit router bandwidth package.

func (BandwidthPackagesResultOutput) TransitRouterPeerAttachmentId

func (o BandwidthPackagesResultOutput) TransitRouterPeerAttachmentId() pulumi.StringPtrOutput

The ID of the peer attachment.

type DirectConnectGatewayAttachment added in v0.0.20

type DirectConnectGatewayAttachment struct {
	pulumi.CustomResourceState

	// The description.
	Description pulumi.StringOutput `pulumi:"description"`
	// The id of the direct connect gateway.
	DirectConnectGatewayId pulumi.StringOutput `pulumi:"directConnectGatewayId"`
	// The id of the transit router direct connect gateway attachment.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router direct connect gateway attachment.
	TransitRouterAttachmentName pulumi.StringOutput `pulumi:"transitRouterAttachmentName"`
	// The id of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
}

Provides a resource to manage transit router direct connect gateway attachment ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewDirectConnectGatewayAttachment(ctx, "foo", &transit_router.DirectConnectGatewayAttachmentArgs{
			Description:                 pulumi.String("tf-test-modify"),
			DirectConnectGatewayId:      pulumi.String("dcg-3reaq6ymdzegw5zsk2igxzusb"),
			TransitRouterAttachmentName: pulumi.String("tf-test-modify"),
			TransitRouterId:             pulumi.String("tr-2bzy39x27qtxc2dx0eg5qaj05"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TransitRouterDirectConnectGatewayAttachment can be imported using the transitRouterId:attachmentId, e.g.

```sh

$ pulumi import volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****

```

func GetDirectConnectGatewayAttachment added in v0.0.20

func GetDirectConnectGatewayAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DirectConnectGatewayAttachmentState, opts ...pulumi.ResourceOption) (*DirectConnectGatewayAttachment, error)

GetDirectConnectGatewayAttachment gets an existing DirectConnectGatewayAttachment 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 NewDirectConnectGatewayAttachment added in v0.0.20

func NewDirectConnectGatewayAttachment(ctx *pulumi.Context,
	name string, args *DirectConnectGatewayAttachmentArgs, opts ...pulumi.ResourceOption) (*DirectConnectGatewayAttachment, error)

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

func (*DirectConnectGatewayAttachment) ElementType added in v0.0.20

func (*DirectConnectGatewayAttachment) ToDirectConnectGatewayAttachmentOutput added in v0.0.20

func (i *DirectConnectGatewayAttachment) ToDirectConnectGatewayAttachmentOutput() DirectConnectGatewayAttachmentOutput

func (*DirectConnectGatewayAttachment) ToDirectConnectGatewayAttachmentOutputWithContext added in v0.0.20

func (i *DirectConnectGatewayAttachment) ToDirectConnectGatewayAttachmentOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentOutput

type DirectConnectGatewayAttachmentArgs added in v0.0.20

type DirectConnectGatewayAttachmentArgs struct {
	// The description.
	Description pulumi.StringPtrInput
	// The id of the direct connect gateway.
	DirectConnectGatewayId pulumi.StringInput
	// The name of the transit router direct connect gateway attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringInput
}

The set of arguments for constructing a DirectConnectGatewayAttachment resource.

func (DirectConnectGatewayAttachmentArgs) ElementType added in v0.0.20

type DirectConnectGatewayAttachmentArray added in v0.0.20

type DirectConnectGatewayAttachmentArray []DirectConnectGatewayAttachmentInput

func (DirectConnectGatewayAttachmentArray) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentArray) ToDirectConnectGatewayAttachmentArrayOutput added in v0.0.20

func (i DirectConnectGatewayAttachmentArray) ToDirectConnectGatewayAttachmentArrayOutput() DirectConnectGatewayAttachmentArrayOutput

func (DirectConnectGatewayAttachmentArray) ToDirectConnectGatewayAttachmentArrayOutputWithContext added in v0.0.20

func (i DirectConnectGatewayAttachmentArray) ToDirectConnectGatewayAttachmentArrayOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentArrayOutput

type DirectConnectGatewayAttachmentArrayInput added in v0.0.20

type DirectConnectGatewayAttachmentArrayInput interface {
	pulumi.Input

	ToDirectConnectGatewayAttachmentArrayOutput() DirectConnectGatewayAttachmentArrayOutput
	ToDirectConnectGatewayAttachmentArrayOutputWithContext(context.Context) DirectConnectGatewayAttachmentArrayOutput
}

DirectConnectGatewayAttachmentArrayInput is an input type that accepts DirectConnectGatewayAttachmentArray and DirectConnectGatewayAttachmentArrayOutput values. You can construct a concrete instance of `DirectConnectGatewayAttachmentArrayInput` via:

DirectConnectGatewayAttachmentArray{ DirectConnectGatewayAttachmentArgs{...} }

type DirectConnectGatewayAttachmentArrayOutput added in v0.0.20

type DirectConnectGatewayAttachmentArrayOutput struct{ *pulumi.OutputState }

func (DirectConnectGatewayAttachmentArrayOutput) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentArrayOutput) Index added in v0.0.20

func (DirectConnectGatewayAttachmentArrayOutput) ToDirectConnectGatewayAttachmentArrayOutput added in v0.0.20

func (o DirectConnectGatewayAttachmentArrayOutput) ToDirectConnectGatewayAttachmentArrayOutput() DirectConnectGatewayAttachmentArrayOutput

func (DirectConnectGatewayAttachmentArrayOutput) ToDirectConnectGatewayAttachmentArrayOutputWithContext added in v0.0.20

func (o DirectConnectGatewayAttachmentArrayOutput) ToDirectConnectGatewayAttachmentArrayOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentArrayOutput

type DirectConnectGatewayAttachmentInput added in v0.0.20

type DirectConnectGatewayAttachmentInput interface {
	pulumi.Input

	ToDirectConnectGatewayAttachmentOutput() DirectConnectGatewayAttachmentOutput
	ToDirectConnectGatewayAttachmentOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentOutput
}

type DirectConnectGatewayAttachmentMap added in v0.0.20

type DirectConnectGatewayAttachmentMap map[string]DirectConnectGatewayAttachmentInput

func (DirectConnectGatewayAttachmentMap) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentMap) ToDirectConnectGatewayAttachmentMapOutput added in v0.0.20

func (i DirectConnectGatewayAttachmentMap) ToDirectConnectGatewayAttachmentMapOutput() DirectConnectGatewayAttachmentMapOutput

func (DirectConnectGatewayAttachmentMap) ToDirectConnectGatewayAttachmentMapOutputWithContext added in v0.0.20

func (i DirectConnectGatewayAttachmentMap) ToDirectConnectGatewayAttachmentMapOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentMapOutput

type DirectConnectGatewayAttachmentMapInput added in v0.0.20

type DirectConnectGatewayAttachmentMapInput interface {
	pulumi.Input

	ToDirectConnectGatewayAttachmentMapOutput() DirectConnectGatewayAttachmentMapOutput
	ToDirectConnectGatewayAttachmentMapOutputWithContext(context.Context) DirectConnectGatewayAttachmentMapOutput
}

DirectConnectGatewayAttachmentMapInput is an input type that accepts DirectConnectGatewayAttachmentMap and DirectConnectGatewayAttachmentMapOutput values. You can construct a concrete instance of `DirectConnectGatewayAttachmentMapInput` via:

DirectConnectGatewayAttachmentMap{ "key": DirectConnectGatewayAttachmentArgs{...} }

type DirectConnectGatewayAttachmentMapOutput added in v0.0.20

type DirectConnectGatewayAttachmentMapOutput struct{ *pulumi.OutputState }

func (DirectConnectGatewayAttachmentMapOutput) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentMapOutput) MapIndex added in v0.0.20

func (DirectConnectGatewayAttachmentMapOutput) ToDirectConnectGatewayAttachmentMapOutput added in v0.0.20

func (o DirectConnectGatewayAttachmentMapOutput) ToDirectConnectGatewayAttachmentMapOutput() DirectConnectGatewayAttachmentMapOutput

func (DirectConnectGatewayAttachmentMapOutput) ToDirectConnectGatewayAttachmentMapOutputWithContext added in v0.0.20

func (o DirectConnectGatewayAttachmentMapOutput) ToDirectConnectGatewayAttachmentMapOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentMapOutput

type DirectConnectGatewayAttachmentOutput added in v0.0.20

type DirectConnectGatewayAttachmentOutput struct{ *pulumi.OutputState }

func (DirectConnectGatewayAttachmentOutput) Description added in v0.0.20

The description.

func (DirectConnectGatewayAttachmentOutput) DirectConnectGatewayId added in v0.0.20

func (o DirectConnectGatewayAttachmentOutput) DirectConnectGatewayId() pulumi.StringOutput

The id of the direct connect gateway.

func (DirectConnectGatewayAttachmentOutput) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentOutput) ToDirectConnectGatewayAttachmentOutput added in v0.0.20

func (o DirectConnectGatewayAttachmentOutput) ToDirectConnectGatewayAttachmentOutput() DirectConnectGatewayAttachmentOutput

func (DirectConnectGatewayAttachmentOutput) ToDirectConnectGatewayAttachmentOutputWithContext added in v0.0.20

func (o DirectConnectGatewayAttachmentOutput) ToDirectConnectGatewayAttachmentOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentOutput

func (DirectConnectGatewayAttachmentOutput) TransitRouterAttachmentId added in v0.0.20

func (o DirectConnectGatewayAttachmentOutput) TransitRouterAttachmentId() pulumi.StringOutput

The id of the transit router direct connect gateway attachment.

func (DirectConnectGatewayAttachmentOutput) TransitRouterAttachmentName added in v0.0.20

func (o DirectConnectGatewayAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

The name of the transit router direct connect gateway attachment.

func (DirectConnectGatewayAttachmentOutput) TransitRouterId added in v0.0.20

The id of the transit router.

type DirectConnectGatewayAttachmentState added in v0.0.20

type DirectConnectGatewayAttachmentState struct {
	// The description.
	Description pulumi.StringPtrInput
	// The id of the direct connect gateway.
	DirectConnectGatewayId pulumi.StringPtrInput
	// The id of the transit router direct connect gateway attachment.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The name of the transit router direct connect gateway attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringPtrInput
}

func (DirectConnectGatewayAttachmentState) ElementType added in v0.0.20

type DirectConnectGatewayAttachmentsArgs added in v0.0.20

type DirectConnectGatewayAttachmentsArgs struct {
	// ID of the direct connection gateway.
	DirectConnectGatewayId *string `pulumi:"directConnectGatewayId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// ID of the network instance connection.
	TransitRouterAttachmentIds []string `pulumi:"transitRouterAttachmentIds"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
}

A collection of arguments for invoking DirectConnectGatewayAttachments.

type DirectConnectGatewayAttachmentsAttachment added in v0.0.20

type DirectConnectGatewayAttachmentsAttachment struct {
	// The account id.
	AccountId string `pulumi:"accountId"`
	// The create time.
	CreationTime string `pulumi:"creationTime"`
	// The description info.
	Description string `pulumi:"description"`
	// ID of the direct connection gateway.
	DirectConnectGatewayId string `pulumi:"directConnectGatewayId"`
	// The status of the network instance connection.
	Status string `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime string `pulumi:"updateTime"`
}

type DirectConnectGatewayAttachmentsAttachmentArgs added in v0.0.20

type DirectConnectGatewayAttachmentsAttachmentArgs struct {
	// The account id.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The create time.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description info.
	Description pulumi.StringInput `pulumi:"description"`
	// ID of the direct connection gateway.
	DirectConnectGatewayId pulumi.StringInput `pulumi:"directConnectGatewayId"`
	// The status of the network instance connection.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// The id of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (DirectConnectGatewayAttachmentsAttachmentArgs) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentsAttachmentArgs) ToDirectConnectGatewayAttachmentsAttachmentOutput added in v0.0.20

func (i DirectConnectGatewayAttachmentsAttachmentArgs) ToDirectConnectGatewayAttachmentsAttachmentOutput() DirectConnectGatewayAttachmentsAttachmentOutput

func (DirectConnectGatewayAttachmentsAttachmentArgs) ToDirectConnectGatewayAttachmentsAttachmentOutputWithContext added in v0.0.20

func (i DirectConnectGatewayAttachmentsAttachmentArgs) ToDirectConnectGatewayAttachmentsAttachmentOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentsAttachmentOutput

type DirectConnectGatewayAttachmentsAttachmentArray added in v0.0.20

type DirectConnectGatewayAttachmentsAttachmentArray []DirectConnectGatewayAttachmentsAttachmentInput

func (DirectConnectGatewayAttachmentsAttachmentArray) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentsAttachmentArray) ToDirectConnectGatewayAttachmentsAttachmentArrayOutput added in v0.0.20

func (i DirectConnectGatewayAttachmentsAttachmentArray) ToDirectConnectGatewayAttachmentsAttachmentArrayOutput() DirectConnectGatewayAttachmentsAttachmentArrayOutput

func (DirectConnectGatewayAttachmentsAttachmentArray) ToDirectConnectGatewayAttachmentsAttachmentArrayOutputWithContext added in v0.0.20

func (i DirectConnectGatewayAttachmentsAttachmentArray) ToDirectConnectGatewayAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentsAttachmentArrayOutput

type DirectConnectGatewayAttachmentsAttachmentArrayInput added in v0.0.20

type DirectConnectGatewayAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToDirectConnectGatewayAttachmentsAttachmentArrayOutput() DirectConnectGatewayAttachmentsAttachmentArrayOutput
	ToDirectConnectGatewayAttachmentsAttachmentArrayOutputWithContext(context.Context) DirectConnectGatewayAttachmentsAttachmentArrayOutput
}

DirectConnectGatewayAttachmentsAttachmentArrayInput is an input type that accepts DirectConnectGatewayAttachmentsAttachmentArray and DirectConnectGatewayAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `DirectConnectGatewayAttachmentsAttachmentArrayInput` via:

DirectConnectGatewayAttachmentsAttachmentArray{ DirectConnectGatewayAttachmentsAttachmentArgs{...} }

type DirectConnectGatewayAttachmentsAttachmentArrayOutput added in v0.0.20

type DirectConnectGatewayAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (DirectConnectGatewayAttachmentsAttachmentArrayOutput) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentsAttachmentArrayOutput) Index added in v0.0.20

func (DirectConnectGatewayAttachmentsAttachmentArrayOutput) ToDirectConnectGatewayAttachmentsAttachmentArrayOutput added in v0.0.20

func (DirectConnectGatewayAttachmentsAttachmentArrayOutput) ToDirectConnectGatewayAttachmentsAttachmentArrayOutputWithContext added in v0.0.20

func (o DirectConnectGatewayAttachmentsAttachmentArrayOutput) ToDirectConnectGatewayAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentsAttachmentArrayOutput

type DirectConnectGatewayAttachmentsAttachmentInput added in v0.0.20

type DirectConnectGatewayAttachmentsAttachmentInput interface {
	pulumi.Input

	ToDirectConnectGatewayAttachmentsAttachmentOutput() DirectConnectGatewayAttachmentsAttachmentOutput
	ToDirectConnectGatewayAttachmentsAttachmentOutputWithContext(context.Context) DirectConnectGatewayAttachmentsAttachmentOutput
}

DirectConnectGatewayAttachmentsAttachmentInput is an input type that accepts DirectConnectGatewayAttachmentsAttachmentArgs and DirectConnectGatewayAttachmentsAttachmentOutput values. You can construct a concrete instance of `DirectConnectGatewayAttachmentsAttachmentInput` via:

DirectConnectGatewayAttachmentsAttachmentArgs{...}

type DirectConnectGatewayAttachmentsAttachmentOutput added in v0.0.20

type DirectConnectGatewayAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (DirectConnectGatewayAttachmentsAttachmentOutput) AccountId added in v0.0.20

The account id.

func (DirectConnectGatewayAttachmentsAttachmentOutput) CreationTime added in v0.0.20

The create time.

func (DirectConnectGatewayAttachmentsAttachmentOutput) Description added in v0.0.20

The description info.

func (DirectConnectGatewayAttachmentsAttachmentOutput) DirectConnectGatewayId added in v0.0.20

ID of the direct connection gateway.

func (DirectConnectGatewayAttachmentsAttachmentOutput) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentsAttachmentOutput) Status added in v0.0.20

The status of the network instance connection.

func (DirectConnectGatewayAttachmentsAttachmentOutput) ToDirectConnectGatewayAttachmentsAttachmentOutput added in v0.0.20

func (o DirectConnectGatewayAttachmentsAttachmentOutput) ToDirectConnectGatewayAttachmentsAttachmentOutput() DirectConnectGatewayAttachmentsAttachmentOutput

func (DirectConnectGatewayAttachmentsAttachmentOutput) ToDirectConnectGatewayAttachmentsAttachmentOutputWithContext added in v0.0.20

func (o DirectConnectGatewayAttachmentsAttachmentOutput) ToDirectConnectGatewayAttachmentsAttachmentOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentsAttachmentOutput

func (DirectConnectGatewayAttachmentsAttachmentOutput) TransitRouterAttachmentId added in v0.0.20

The id of the transit router attachment.

func (DirectConnectGatewayAttachmentsAttachmentOutput) TransitRouterAttachmentName added in v0.0.20

The name of the transit router attachment.

func (DirectConnectGatewayAttachmentsAttachmentOutput) TransitRouterId added in v0.0.20

The id of the transit router.

func (DirectConnectGatewayAttachmentsAttachmentOutput) UpdateTime added in v0.0.20

The update time.

type DirectConnectGatewayAttachmentsOutputArgs added in v0.0.20

type DirectConnectGatewayAttachmentsOutputArgs struct {
	// ID of the direct connection gateway.
	DirectConnectGatewayId pulumi.StringPtrInput `pulumi:"directConnectGatewayId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// ID of the network instance connection.
	TransitRouterAttachmentIds pulumi.StringArrayInput `pulumi:"transitRouterAttachmentIds"`
	// The id of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
}

A collection of arguments for invoking DirectConnectGatewayAttachments.

func (DirectConnectGatewayAttachmentsOutputArgs) ElementType added in v0.0.20

type DirectConnectGatewayAttachmentsResult added in v0.0.20

type DirectConnectGatewayAttachmentsResult struct {
	// The collection of query.
	Attachments []DirectConnectGatewayAttachmentsAttachment `pulumi:"attachments"`
	// The direct connect gateway id.
	DirectConnectGatewayId *string `pulumi:"directConnectGatewayId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of query.
	TotalCount                 int      `pulumi:"totalCount"`
	TransitRouterAttachmentIds []string `pulumi:"transitRouterAttachmentIds"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
}

A collection of values returned by DirectConnectGatewayAttachments.

func DirectConnectGatewayAttachments added in v0.0.20

Use this data source to query detailed information of transit router direct connect gateway attachments ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.DirectConnectGatewayAttachments(ctx, &transit_router.DirectConnectGatewayAttachmentsArgs{
			TransitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type DirectConnectGatewayAttachmentsResultOutput added in v0.0.20

type DirectConnectGatewayAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by DirectConnectGatewayAttachments.

func (DirectConnectGatewayAttachmentsResultOutput) Attachments added in v0.0.20

The collection of query.

func (DirectConnectGatewayAttachmentsResultOutput) DirectConnectGatewayId added in v0.0.20

The direct connect gateway id.

func (DirectConnectGatewayAttachmentsResultOutput) ElementType added in v0.0.20

func (DirectConnectGatewayAttachmentsResultOutput) Id added in v0.0.20

The provider-assigned unique ID for this managed resource.

func (DirectConnectGatewayAttachmentsResultOutput) OutputFile added in v0.0.20

func (DirectConnectGatewayAttachmentsResultOutput) ToDirectConnectGatewayAttachmentsResultOutput added in v0.0.20

func (o DirectConnectGatewayAttachmentsResultOutput) ToDirectConnectGatewayAttachmentsResultOutput() DirectConnectGatewayAttachmentsResultOutput

func (DirectConnectGatewayAttachmentsResultOutput) ToDirectConnectGatewayAttachmentsResultOutputWithContext added in v0.0.20

func (o DirectConnectGatewayAttachmentsResultOutput) ToDirectConnectGatewayAttachmentsResultOutputWithContext(ctx context.Context) DirectConnectGatewayAttachmentsResultOutput

func (DirectConnectGatewayAttachmentsResultOutput) TotalCount added in v0.0.20

The total count of query.

func (DirectConnectGatewayAttachmentsResultOutput) TransitRouterAttachmentIds added in v0.0.20

func (DirectConnectGatewayAttachmentsResultOutput) TransitRouterId added in v0.0.20

The id of the transit router.

type GrantRule added in v0.0.20

type GrantRule struct {
	pulumi.CustomResourceState

	// The description of the rule.
	Description pulumi.StringOutput `pulumi:"description"`
	// Account ID awaiting authorization for intermediate router instance.
	GrantAccountId pulumi.StringOutput `pulumi:"grantAccountId"`
	// The id of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
}

Provides a resource to manage transit router grant rule ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewGrantRule(ctx, "foo", &transit_router.GrantRuleArgs{
			Description:     pulumi.String("tf-test"),
			GrantAccountId:  pulumi.String("200000xxxx"),
			TransitRouterId: pulumi.String("tr-2bzy39uy6u3282dx0efxiqyq0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TransitRouterGrantRule can be imported using the transit router id and accountId, e.g.

```sh

$ pulumi import volcengine:transit_router/grantRule:GrantRule default trId:accountId

```

func GetGrantRule added in v0.0.20

func GetGrantRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GrantRuleState, opts ...pulumi.ResourceOption) (*GrantRule, error)

GetGrantRule gets an existing GrantRule 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 NewGrantRule added in v0.0.20

func NewGrantRule(ctx *pulumi.Context,
	name string, args *GrantRuleArgs, opts ...pulumi.ResourceOption) (*GrantRule, error)

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

func (*GrantRule) ElementType added in v0.0.20

func (*GrantRule) ElementType() reflect.Type

func (*GrantRule) ToGrantRuleOutput added in v0.0.20

func (i *GrantRule) ToGrantRuleOutput() GrantRuleOutput

func (*GrantRule) ToGrantRuleOutputWithContext added in v0.0.20

func (i *GrantRule) ToGrantRuleOutputWithContext(ctx context.Context) GrantRuleOutput

type GrantRuleArgs added in v0.0.20

type GrantRuleArgs struct {
	// The description of the rule.
	Description pulumi.StringPtrInput
	// Account ID awaiting authorization for intermediate router instance.
	GrantAccountId pulumi.StringInput
	// The id of the transit router.
	TransitRouterId pulumi.StringInput
}

The set of arguments for constructing a GrantRule resource.

func (GrantRuleArgs) ElementType added in v0.0.20

func (GrantRuleArgs) ElementType() reflect.Type

type GrantRuleArray added in v0.0.20

type GrantRuleArray []GrantRuleInput

func (GrantRuleArray) ElementType added in v0.0.20

func (GrantRuleArray) ElementType() reflect.Type

func (GrantRuleArray) ToGrantRuleArrayOutput added in v0.0.20

func (i GrantRuleArray) ToGrantRuleArrayOutput() GrantRuleArrayOutput

func (GrantRuleArray) ToGrantRuleArrayOutputWithContext added in v0.0.20

func (i GrantRuleArray) ToGrantRuleArrayOutputWithContext(ctx context.Context) GrantRuleArrayOutput

type GrantRuleArrayInput added in v0.0.20

type GrantRuleArrayInput interface {
	pulumi.Input

	ToGrantRuleArrayOutput() GrantRuleArrayOutput
	ToGrantRuleArrayOutputWithContext(context.Context) GrantRuleArrayOutput
}

GrantRuleArrayInput is an input type that accepts GrantRuleArray and GrantRuleArrayOutput values. You can construct a concrete instance of `GrantRuleArrayInput` via:

GrantRuleArray{ GrantRuleArgs{...} }

type GrantRuleArrayOutput added in v0.0.20

type GrantRuleArrayOutput struct{ *pulumi.OutputState }

func (GrantRuleArrayOutput) ElementType added in v0.0.20

func (GrantRuleArrayOutput) ElementType() reflect.Type

func (GrantRuleArrayOutput) Index added in v0.0.20

func (GrantRuleArrayOutput) ToGrantRuleArrayOutput added in v0.0.20

func (o GrantRuleArrayOutput) ToGrantRuleArrayOutput() GrantRuleArrayOutput

func (GrantRuleArrayOutput) ToGrantRuleArrayOutputWithContext added in v0.0.20

func (o GrantRuleArrayOutput) ToGrantRuleArrayOutputWithContext(ctx context.Context) GrantRuleArrayOutput

type GrantRuleInput added in v0.0.20

type GrantRuleInput interface {
	pulumi.Input

	ToGrantRuleOutput() GrantRuleOutput
	ToGrantRuleOutputWithContext(ctx context.Context) GrantRuleOutput
}

type GrantRuleMap added in v0.0.20

type GrantRuleMap map[string]GrantRuleInput

func (GrantRuleMap) ElementType added in v0.0.20

func (GrantRuleMap) ElementType() reflect.Type

func (GrantRuleMap) ToGrantRuleMapOutput added in v0.0.20

func (i GrantRuleMap) ToGrantRuleMapOutput() GrantRuleMapOutput

func (GrantRuleMap) ToGrantRuleMapOutputWithContext added in v0.0.20

func (i GrantRuleMap) ToGrantRuleMapOutputWithContext(ctx context.Context) GrantRuleMapOutput

type GrantRuleMapInput added in v0.0.20

type GrantRuleMapInput interface {
	pulumi.Input

	ToGrantRuleMapOutput() GrantRuleMapOutput
	ToGrantRuleMapOutputWithContext(context.Context) GrantRuleMapOutput
}

GrantRuleMapInput is an input type that accepts GrantRuleMap and GrantRuleMapOutput values. You can construct a concrete instance of `GrantRuleMapInput` via:

GrantRuleMap{ "key": GrantRuleArgs{...} }

type GrantRuleMapOutput added in v0.0.20

type GrantRuleMapOutput struct{ *pulumi.OutputState }

func (GrantRuleMapOutput) ElementType added in v0.0.20

func (GrantRuleMapOutput) ElementType() reflect.Type

func (GrantRuleMapOutput) MapIndex added in v0.0.20

func (GrantRuleMapOutput) ToGrantRuleMapOutput added in v0.0.20

func (o GrantRuleMapOutput) ToGrantRuleMapOutput() GrantRuleMapOutput

func (GrantRuleMapOutput) ToGrantRuleMapOutputWithContext added in v0.0.20

func (o GrantRuleMapOutput) ToGrantRuleMapOutputWithContext(ctx context.Context) GrantRuleMapOutput

type GrantRuleOutput added in v0.0.20

type GrantRuleOutput struct{ *pulumi.OutputState }

func (GrantRuleOutput) Description added in v0.0.20

func (o GrantRuleOutput) Description() pulumi.StringOutput

The description of the rule.

func (GrantRuleOutput) ElementType added in v0.0.20

func (GrantRuleOutput) ElementType() reflect.Type

func (GrantRuleOutput) GrantAccountId added in v0.0.20

func (o GrantRuleOutput) GrantAccountId() pulumi.StringOutput

Account ID awaiting authorization for intermediate router instance.

func (GrantRuleOutput) ToGrantRuleOutput added in v0.0.20

func (o GrantRuleOutput) ToGrantRuleOutput() GrantRuleOutput

func (GrantRuleOutput) ToGrantRuleOutputWithContext added in v0.0.20

func (o GrantRuleOutput) ToGrantRuleOutputWithContext(ctx context.Context) GrantRuleOutput

func (GrantRuleOutput) TransitRouterId added in v0.0.20

func (o GrantRuleOutput) TransitRouterId() pulumi.StringOutput

The id of the transit router.

type GrantRuleState added in v0.0.20

type GrantRuleState struct {
	// The description of the rule.
	Description pulumi.StringPtrInput
	// Account ID awaiting authorization for intermediate router instance.
	GrantAccountId pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringPtrInput
}

func (GrantRuleState) ElementType added in v0.0.20

func (GrantRuleState) ElementType() reflect.Type

type GrantRulesArgs added in v0.0.20

type GrantRulesArgs struct {
	// The id of the grant account.
	GrantAccountId *string `pulumi:"grantAccountId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
}

A collection of arguments for invoking GrantRules.

type GrantRulesOutputArgs added in v0.0.20

type GrantRulesOutputArgs struct {
	// The id of the grant account.
	GrantAccountId pulumi.StringPtrInput `pulumi:"grantAccountId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The id of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
}

A collection of arguments for invoking GrantRules.

func (GrantRulesOutputArgs) ElementType added in v0.0.20

func (GrantRulesOutputArgs) ElementType() reflect.Type

type GrantRulesResult added in v0.0.20

type GrantRulesResult struct {
	// The id of the grant account.
	GrantAccountId *string `pulumi:"grantAccountId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The collection of query.
	Rules []GrantRulesRule `pulumi:"rules"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The id of the transaction router.
	TransitRouterId string `pulumi:"transitRouterId"`
}

A collection of values returned by GrantRules.

func GrantRules added in v0.0.20

func GrantRules(ctx *pulumi.Context, args *GrantRulesArgs, opts ...pulumi.InvokeOption) (*GrantRulesResult, error)

Use this data source to query detailed information of transit router grant rules ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.GrantRules(ctx, &transit_router.GrantRulesArgs{
			TransitRouterId: "tr-2bzy39uy6u3282dx0efxiqyq0",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GrantRulesResultOutput added in v0.0.20

type GrantRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by GrantRules.

func GrantRulesOutput added in v0.0.20

func GrantRulesOutput(ctx *pulumi.Context, args GrantRulesOutputArgs, opts ...pulumi.InvokeOption) GrantRulesResultOutput

func (GrantRulesResultOutput) ElementType added in v0.0.20

func (GrantRulesResultOutput) ElementType() reflect.Type

func (GrantRulesResultOutput) GrantAccountId added in v0.0.20

func (o GrantRulesResultOutput) GrantAccountId() pulumi.StringPtrOutput

The id of the grant account.

func (GrantRulesResultOutput) Id added in v0.0.20

The provider-assigned unique ID for this managed resource.

func (GrantRulesResultOutput) OutputFile added in v0.0.20

func (GrantRulesResultOutput) Rules added in v0.0.20

The collection of query.

func (GrantRulesResultOutput) ToGrantRulesResultOutput added in v0.0.20

func (o GrantRulesResultOutput) ToGrantRulesResultOutput() GrantRulesResultOutput

func (GrantRulesResultOutput) ToGrantRulesResultOutputWithContext added in v0.0.20

func (o GrantRulesResultOutput) ToGrantRulesResultOutputWithContext(ctx context.Context) GrantRulesResultOutput

func (GrantRulesResultOutput) TotalCount added in v0.0.20

func (o GrantRulesResultOutput) TotalCount() pulumi.IntOutput

The total count of query.

func (GrantRulesResultOutput) TransitRouterId added in v0.0.20

func (o GrantRulesResultOutput) TransitRouterId() pulumi.StringOutput

The id of the transaction router.

type GrantRulesRule added in v0.0.20

type GrantRulesRule struct {
	// The creation time of the rule.
	CreationTime string `pulumi:"creationTime"`
	// The description of the rule.
	Description string `pulumi:"description"`
	// The id of the grant account.
	GrantAccountId string `pulumi:"grantAccountId"`
	// The status of the rule.
	Status string `pulumi:"status"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The update time of the rule.
	UpdateTime string `pulumi:"updateTime"`
}

type GrantRulesRuleArgs added in v0.0.20

type GrantRulesRuleArgs struct {
	// The creation time of the rule.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description of the rule.
	Description pulumi.StringInput `pulumi:"description"`
	// The id of the grant account.
	GrantAccountId pulumi.StringInput `pulumi:"grantAccountId"`
	// The status of the rule.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The update time of the rule.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (GrantRulesRuleArgs) ElementType added in v0.0.20

func (GrantRulesRuleArgs) ElementType() reflect.Type

func (GrantRulesRuleArgs) ToGrantRulesRuleOutput added in v0.0.20

func (i GrantRulesRuleArgs) ToGrantRulesRuleOutput() GrantRulesRuleOutput

func (GrantRulesRuleArgs) ToGrantRulesRuleOutputWithContext added in v0.0.20

func (i GrantRulesRuleArgs) ToGrantRulesRuleOutputWithContext(ctx context.Context) GrantRulesRuleOutput

type GrantRulesRuleArray added in v0.0.20

type GrantRulesRuleArray []GrantRulesRuleInput

func (GrantRulesRuleArray) ElementType added in v0.0.20

func (GrantRulesRuleArray) ElementType() reflect.Type

func (GrantRulesRuleArray) ToGrantRulesRuleArrayOutput added in v0.0.20

func (i GrantRulesRuleArray) ToGrantRulesRuleArrayOutput() GrantRulesRuleArrayOutput

func (GrantRulesRuleArray) ToGrantRulesRuleArrayOutputWithContext added in v0.0.20

func (i GrantRulesRuleArray) ToGrantRulesRuleArrayOutputWithContext(ctx context.Context) GrantRulesRuleArrayOutput

type GrantRulesRuleArrayInput added in v0.0.20

type GrantRulesRuleArrayInput interface {
	pulumi.Input

	ToGrantRulesRuleArrayOutput() GrantRulesRuleArrayOutput
	ToGrantRulesRuleArrayOutputWithContext(context.Context) GrantRulesRuleArrayOutput
}

GrantRulesRuleArrayInput is an input type that accepts GrantRulesRuleArray and GrantRulesRuleArrayOutput values. You can construct a concrete instance of `GrantRulesRuleArrayInput` via:

GrantRulesRuleArray{ GrantRulesRuleArgs{...} }

type GrantRulesRuleArrayOutput added in v0.0.20

type GrantRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GrantRulesRuleArrayOutput) ElementType added in v0.0.20

func (GrantRulesRuleArrayOutput) ElementType() reflect.Type

func (GrantRulesRuleArrayOutput) Index added in v0.0.20

func (GrantRulesRuleArrayOutput) ToGrantRulesRuleArrayOutput added in v0.0.20

func (o GrantRulesRuleArrayOutput) ToGrantRulesRuleArrayOutput() GrantRulesRuleArrayOutput

func (GrantRulesRuleArrayOutput) ToGrantRulesRuleArrayOutputWithContext added in v0.0.20

func (o GrantRulesRuleArrayOutput) ToGrantRulesRuleArrayOutputWithContext(ctx context.Context) GrantRulesRuleArrayOutput

type GrantRulesRuleInput added in v0.0.20

type GrantRulesRuleInput interface {
	pulumi.Input

	ToGrantRulesRuleOutput() GrantRulesRuleOutput
	ToGrantRulesRuleOutputWithContext(context.Context) GrantRulesRuleOutput
}

GrantRulesRuleInput is an input type that accepts GrantRulesRuleArgs and GrantRulesRuleOutput values. You can construct a concrete instance of `GrantRulesRuleInput` via:

GrantRulesRuleArgs{...}

type GrantRulesRuleOutput added in v0.0.20

type GrantRulesRuleOutput struct{ *pulumi.OutputState }

func (GrantRulesRuleOutput) CreationTime added in v0.0.20

func (o GrantRulesRuleOutput) CreationTime() pulumi.StringOutput

The creation time of the rule.

func (GrantRulesRuleOutput) Description added in v0.0.20

func (o GrantRulesRuleOutput) Description() pulumi.StringOutput

The description of the rule.

func (GrantRulesRuleOutput) ElementType added in v0.0.20

func (GrantRulesRuleOutput) ElementType() reflect.Type

func (GrantRulesRuleOutput) GrantAccountId added in v0.0.20

func (o GrantRulesRuleOutput) GrantAccountId() pulumi.StringOutput

The id of the grant account.

func (GrantRulesRuleOutput) Status added in v0.0.20

The status of the rule.

func (GrantRulesRuleOutput) ToGrantRulesRuleOutput added in v0.0.20

func (o GrantRulesRuleOutput) ToGrantRulesRuleOutput() GrantRulesRuleOutput

func (GrantRulesRuleOutput) ToGrantRulesRuleOutputWithContext added in v0.0.20

func (o GrantRulesRuleOutput) ToGrantRulesRuleOutputWithContext(ctx context.Context) GrantRulesRuleOutput

func (GrantRulesRuleOutput) TransitRouterId added in v0.0.20

func (o GrantRulesRuleOutput) TransitRouterId() pulumi.StringOutput

The id of the transit router.

func (GrantRulesRuleOutput) UpdateTime added in v0.0.20

func (o GrantRulesRuleOutput) UpdateTime() pulumi.StringOutput

The update time of the rule.

type PeerAttachment added in v0.0.20

type PeerAttachment struct {
	pulumi.CustomResourceState

	// The bandwidth of the transit router peer attachment. Unit: Mbps.
	Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"`
	// The creation time of the transit router peer attachment.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the transit router peer attachment.
	Description pulumi.StringOutput `pulumi:"description"`
	// The id of the peer transit router.
	PeerTransitRouterId pulumi.StringOutput `pulumi:"peerTransitRouterId"`
	// The region id of the peer transit router.
	PeerTransitRouterRegionId pulumi.StringOutput `pulumi:"peerTransitRouterRegionId"`
	// The status of the transit router peer attachment.
	Status pulumi.StringOutput `pulumi:"status"`
	// The name of the transit router peer attachment.
	TransitRouterAttachmentName pulumi.StringOutput `pulumi:"transitRouterAttachmentName"`
	// The bandwidth package id of the transit router peer attachment. When specifying this field, the field `bandwidth` must also be specified.
	TransitRouterBandwidthPackageId pulumi.StringPtrOutput `pulumi:"transitRouterBandwidthPackageId"`
	// The id of the local transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
	// The route table id of the transit router peer attachment.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
	// The update time of the transit router peer attachment.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage transit router peer attachment ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewPeerAttachment(ctx, "foo", &transit_router.PeerAttachmentArgs{
			Bandwidth:                       pulumi.Int(2),
			Description:                     pulumi.String("tf-test"),
			PeerTransitRouterId:             pulumi.String("tr-3jgsfiktn0feo3pncmfb5****"),
			PeerTransitRouterRegionId:       pulumi.String("cn-beijing"),
			TransitRouterAttachmentName:     pulumi.String("tf-test-tra"),
			TransitRouterBandwidthPackageId: pulumi.String("tbp-cd-2felfww0i6pkw59gp68bq****"),
			TransitRouterId:                 pulumi.String("tr-12bbdsa6ode6817q7y1f5****"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:transit_router/peerAttachment:PeerAttachment default tr-attach-12be67d0yh2io17q7y1au****

```

func GetPeerAttachment added in v0.0.20

func GetPeerAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PeerAttachmentState, opts ...pulumi.ResourceOption) (*PeerAttachment, error)

GetPeerAttachment gets an existing PeerAttachment 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 NewPeerAttachment added in v0.0.20

func NewPeerAttachment(ctx *pulumi.Context,
	name string, args *PeerAttachmentArgs, opts ...pulumi.ResourceOption) (*PeerAttachment, error)

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

func (*PeerAttachment) ElementType added in v0.0.20

func (*PeerAttachment) ElementType() reflect.Type

func (*PeerAttachment) ToPeerAttachmentOutput added in v0.0.20

func (i *PeerAttachment) ToPeerAttachmentOutput() PeerAttachmentOutput

func (*PeerAttachment) ToPeerAttachmentOutputWithContext added in v0.0.20

func (i *PeerAttachment) ToPeerAttachmentOutputWithContext(ctx context.Context) PeerAttachmentOutput

type PeerAttachmentArgs added in v0.0.20

type PeerAttachmentArgs struct {
	// The bandwidth of the transit router peer attachment. Unit: Mbps.
	Bandwidth pulumi.IntPtrInput
	// The description of the transit router peer attachment.
	Description pulumi.StringPtrInput
	// The id of the peer transit router.
	PeerTransitRouterId pulumi.StringInput
	// The region id of the peer transit router.
	PeerTransitRouterRegionId pulumi.StringInput
	// The name of the transit router peer attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The bandwidth package id of the transit router peer attachment. When specifying this field, the field `bandwidth` must also be specified.
	TransitRouterBandwidthPackageId pulumi.StringPtrInput
	// The id of the local transit router.
	TransitRouterId pulumi.StringInput
}

The set of arguments for constructing a PeerAttachment resource.

func (PeerAttachmentArgs) ElementType added in v0.0.20

func (PeerAttachmentArgs) ElementType() reflect.Type

type PeerAttachmentArray added in v0.0.20

type PeerAttachmentArray []PeerAttachmentInput

func (PeerAttachmentArray) ElementType added in v0.0.20

func (PeerAttachmentArray) ElementType() reflect.Type

func (PeerAttachmentArray) ToPeerAttachmentArrayOutput added in v0.0.20

func (i PeerAttachmentArray) ToPeerAttachmentArrayOutput() PeerAttachmentArrayOutput

func (PeerAttachmentArray) ToPeerAttachmentArrayOutputWithContext added in v0.0.20

func (i PeerAttachmentArray) ToPeerAttachmentArrayOutputWithContext(ctx context.Context) PeerAttachmentArrayOutput

type PeerAttachmentArrayInput added in v0.0.20

type PeerAttachmentArrayInput interface {
	pulumi.Input

	ToPeerAttachmentArrayOutput() PeerAttachmentArrayOutput
	ToPeerAttachmentArrayOutputWithContext(context.Context) PeerAttachmentArrayOutput
}

PeerAttachmentArrayInput is an input type that accepts PeerAttachmentArray and PeerAttachmentArrayOutput values. You can construct a concrete instance of `PeerAttachmentArrayInput` via:

PeerAttachmentArray{ PeerAttachmentArgs{...} }

type PeerAttachmentArrayOutput added in v0.0.20

type PeerAttachmentArrayOutput struct{ *pulumi.OutputState }

func (PeerAttachmentArrayOutput) ElementType added in v0.0.20

func (PeerAttachmentArrayOutput) ElementType() reflect.Type

func (PeerAttachmentArrayOutput) Index added in v0.0.20

func (PeerAttachmentArrayOutput) ToPeerAttachmentArrayOutput added in v0.0.20

func (o PeerAttachmentArrayOutput) ToPeerAttachmentArrayOutput() PeerAttachmentArrayOutput

func (PeerAttachmentArrayOutput) ToPeerAttachmentArrayOutputWithContext added in v0.0.20

func (o PeerAttachmentArrayOutput) ToPeerAttachmentArrayOutputWithContext(ctx context.Context) PeerAttachmentArrayOutput

type PeerAttachmentInput added in v0.0.20

type PeerAttachmentInput interface {
	pulumi.Input

	ToPeerAttachmentOutput() PeerAttachmentOutput
	ToPeerAttachmentOutputWithContext(ctx context.Context) PeerAttachmentOutput
}

type PeerAttachmentMap added in v0.0.20

type PeerAttachmentMap map[string]PeerAttachmentInput

func (PeerAttachmentMap) ElementType added in v0.0.20

func (PeerAttachmentMap) ElementType() reflect.Type

func (PeerAttachmentMap) ToPeerAttachmentMapOutput added in v0.0.20

func (i PeerAttachmentMap) ToPeerAttachmentMapOutput() PeerAttachmentMapOutput

func (PeerAttachmentMap) ToPeerAttachmentMapOutputWithContext added in v0.0.20

func (i PeerAttachmentMap) ToPeerAttachmentMapOutputWithContext(ctx context.Context) PeerAttachmentMapOutput

type PeerAttachmentMapInput added in v0.0.20

type PeerAttachmentMapInput interface {
	pulumi.Input

	ToPeerAttachmentMapOutput() PeerAttachmentMapOutput
	ToPeerAttachmentMapOutputWithContext(context.Context) PeerAttachmentMapOutput
}

PeerAttachmentMapInput is an input type that accepts PeerAttachmentMap and PeerAttachmentMapOutput values. You can construct a concrete instance of `PeerAttachmentMapInput` via:

PeerAttachmentMap{ "key": PeerAttachmentArgs{...} }

type PeerAttachmentMapOutput added in v0.0.20

type PeerAttachmentMapOutput struct{ *pulumi.OutputState }

func (PeerAttachmentMapOutput) ElementType added in v0.0.20

func (PeerAttachmentMapOutput) ElementType() reflect.Type

func (PeerAttachmentMapOutput) MapIndex added in v0.0.20

func (PeerAttachmentMapOutput) ToPeerAttachmentMapOutput added in v0.0.20

func (o PeerAttachmentMapOutput) ToPeerAttachmentMapOutput() PeerAttachmentMapOutput

func (PeerAttachmentMapOutput) ToPeerAttachmentMapOutputWithContext added in v0.0.20

func (o PeerAttachmentMapOutput) ToPeerAttachmentMapOutputWithContext(ctx context.Context) PeerAttachmentMapOutput

type PeerAttachmentOutput added in v0.0.20

type PeerAttachmentOutput struct{ *pulumi.OutputState }

func (PeerAttachmentOutput) Bandwidth added in v0.0.20

The bandwidth of the transit router peer attachment. Unit: Mbps.

func (PeerAttachmentOutput) CreationTime added in v0.0.20

func (o PeerAttachmentOutput) CreationTime() pulumi.StringOutput

The creation time of the transit router peer attachment.

func (PeerAttachmentOutput) Description added in v0.0.20

func (o PeerAttachmentOutput) Description() pulumi.StringOutput

The description of the transit router peer attachment.

func (PeerAttachmentOutput) ElementType added in v0.0.20

func (PeerAttachmentOutput) ElementType() reflect.Type

func (PeerAttachmentOutput) PeerTransitRouterId added in v0.0.20

func (o PeerAttachmentOutput) PeerTransitRouterId() pulumi.StringOutput

The id of the peer transit router.

func (PeerAttachmentOutput) PeerTransitRouterRegionId added in v0.0.20

func (o PeerAttachmentOutput) PeerTransitRouterRegionId() pulumi.StringOutput

The region id of the peer transit router.

func (PeerAttachmentOutput) Status added in v0.0.20

The status of the transit router peer attachment.

func (PeerAttachmentOutput) ToPeerAttachmentOutput added in v0.0.20

func (o PeerAttachmentOutput) ToPeerAttachmentOutput() PeerAttachmentOutput

func (PeerAttachmentOutput) ToPeerAttachmentOutputWithContext added in v0.0.20

func (o PeerAttachmentOutput) ToPeerAttachmentOutputWithContext(ctx context.Context) PeerAttachmentOutput

func (PeerAttachmentOutput) TransitRouterAttachmentName added in v0.0.20

func (o PeerAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

The name of the transit router peer attachment.

func (PeerAttachmentOutput) TransitRouterBandwidthPackageId added in v0.0.20

func (o PeerAttachmentOutput) TransitRouterBandwidthPackageId() pulumi.StringPtrOutput

The bandwidth package id of the transit router peer attachment. When specifying this field, the field `bandwidth` must also be specified.

func (PeerAttachmentOutput) TransitRouterId added in v0.0.20

func (o PeerAttachmentOutput) TransitRouterId() pulumi.StringOutput

The id of the local transit router.

func (PeerAttachmentOutput) TransitRouterRouteTableId added in v0.0.20

func (o PeerAttachmentOutput) TransitRouterRouteTableId() pulumi.StringOutput

The route table id of the transit router peer attachment.

func (PeerAttachmentOutput) UpdateTime added in v0.0.20

func (o PeerAttachmentOutput) UpdateTime() pulumi.StringOutput

The update time of the transit router peer attachment.

type PeerAttachmentState added in v0.0.20

type PeerAttachmentState struct {
	// The bandwidth of the transit router peer attachment. Unit: Mbps.
	Bandwidth pulumi.IntPtrInput
	// The creation time of the transit router peer attachment.
	CreationTime pulumi.StringPtrInput
	// The description of the transit router peer attachment.
	Description pulumi.StringPtrInput
	// The id of the peer transit router.
	PeerTransitRouterId pulumi.StringPtrInput
	// The region id of the peer transit router.
	PeerTransitRouterRegionId pulumi.StringPtrInput
	// The status of the transit router peer attachment.
	Status pulumi.StringPtrInput
	// The name of the transit router peer attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The bandwidth package id of the transit router peer attachment. When specifying this field, the field `bandwidth` must also be specified.
	TransitRouterBandwidthPackageId pulumi.StringPtrInput
	// The id of the local transit router.
	TransitRouterId pulumi.StringPtrInput
	// The route table id of the transit router peer attachment.
	TransitRouterRouteTableId pulumi.StringPtrInput
	// The update time of the transit router peer attachment.
	UpdateTime pulumi.StringPtrInput
}

func (PeerAttachmentState) ElementType added in v0.0.20

func (PeerAttachmentState) ElementType() reflect.Type

type PeerAttachmentsArgs added in v0.0.20

type PeerAttachmentsArgs struct {
	// 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 id of peer transit router.
	PeerTransitRouterId *string `pulumi:"peerTransitRouterId"`
	// The region id of peer transit router.
	PeerTransitRouterRegionId *string `pulumi:"peerTransitRouterRegionId"`
	// The name of transit router peer attachment.
	TransitRouterAttachmentName *string `pulumi:"transitRouterAttachmentName"`
	// The id of local transit router.
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of arguments for invoking PeerAttachments.

type PeerAttachmentsOutputArgs added in v0.0.20

type PeerAttachmentsOutputArgs struct {
	// 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 id of peer transit router.
	PeerTransitRouterId pulumi.StringPtrInput `pulumi:"peerTransitRouterId"`
	// The region id of peer transit router.
	PeerTransitRouterRegionId pulumi.StringPtrInput `pulumi:"peerTransitRouterRegionId"`
	// The name of transit router peer attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput `pulumi:"transitRouterAttachmentName"`
	// The id of local transit router.
	TransitRouterId pulumi.StringPtrInput `pulumi:"transitRouterId"`
}

A collection of arguments for invoking PeerAttachments.

func (PeerAttachmentsOutputArgs) ElementType added in v0.0.20

func (PeerAttachmentsOutputArgs) ElementType() reflect.Type

type PeerAttachmentsResult added in v0.0.20

type PeerAttachmentsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// The id of the peer transit router.
	PeerTransitRouterId *string `pulumi:"peerTransitRouterId"`
	// The region id of the peer transit router.
	PeerTransitRouterRegionId *string `pulumi:"peerTransitRouterRegionId"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The name of the transit router peer attachment.
	TransitRouterAttachmentName *string `pulumi:"transitRouterAttachmentName"`
	// The collection of query.
	TransitRouterAttachments []PeerAttachmentsTransitRouterAttachment `pulumi:"transitRouterAttachments"`
	// The id of the local transit router.
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of values returned by PeerAttachments.

func PeerAttachments added in v0.0.20

func PeerAttachments(ctx *pulumi.Context, args *PeerAttachmentsArgs, opts ...pulumi.InvokeOption) (*PeerAttachmentsResult, error)

Use this data source to query detailed information of transit router peer attachments ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.PeerAttachments(ctx, &transit_router.PeerAttachmentsArgs{
			Ids: []string{
				"tr-attach-12be67d0yh2io17q7y1au****",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type PeerAttachmentsResultOutput added in v0.0.20

type PeerAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by PeerAttachments.

func PeerAttachmentsOutput added in v0.0.20

func (PeerAttachmentsResultOutput) ElementType added in v0.0.20

func (PeerAttachmentsResultOutput) Id added in v0.0.20

The provider-assigned unique ID for this managed resource.

func (PeerAttachmentsResultOutput) Ids added in v0.0.20

func (PeerAttachmentsResultOutput) NameRegex added in v0.0.20

func (PeerAttachmentsResultOutput) OutputFile added in v0.0.20

func (PeerAttachmentsResultOutput) PeerTransitRouterId added in v0.0.20

func (o PeerAttachmentsResultOutput) PeerTransitRouterId() pulumi.StringPtrOutput

The id of the peer transit router.

func (PeerAttachmentsResultOutput) PeerTransitRouterRegionId added in v0.0.20

func (o PeerAttachmentsResultOutput) PeerTransitRouterRegionId() pulumi.StringPtrOutput

The region id of the peer transit router.

func (PeerAttachmentsResultOutput) ToPeerAttachmentsResultOutput added in v0.0.20

func (o PeerAttachmentsResultOutput) ToPeerAttachmentsResultOutput() PeerAttachmentsResultOutput

func (PeerAttachmentsResultOutput) ToPeerAttachmentsResultOutputWithContext added in v0.0.20

func (o PeerAttachmentsResultOutput) ToPeerAttachmentsResultOutputWithContext(ctx context.Context) PeerAttachmentsResultOutput

func (PeerAttachmentsResultOutput) TotalCount added in v0.0.20

The total count of query.

func (PeerAttachmentsResultOutput) TransitRouterAttachmentName added in v0.0.20

func (o PeerAttachmentsResultOutput) TransitRouterAttachmentName() pulumi.StringPtrOutput

The name of the transit router peer attachment.

func (PeerAttachmentsResultOutput) TransitRouterAttachments added in v0.0.20

The collection of query.

func (PeerAttachmentsResultOutput) TransitRouterId added in v0.0.20

The id of the local transit router.

type PeerAttachmentsTransitRouterAttachment added in v0.0.20

type PeerAttachmentsTransitRouterAttachment struct {
	// The bandwidth of the transit router peer attachment.
	Bandwidth int `pulumi:"bandwidth"`
	// The creation time of the transit router peer attachment.
	CreationTime string `pulumi:"creationTime"`
	// The description of the transit router peer attachment.
	Description string `pulumi:"description"`
	// The id of the transit router peer attachment.
	Id string `pulumi:"id"`
	// The id of peer transit router.
	PeerTransitRouterId string `pulumi:"peerTransitRouterId"`
	// The region id of peer transit router.
	PeerTransitRouterRegionId string `pulumi:"peerTransitRouterRegionId"`
	// The status of the transit router peer attachment.
	Status string `pulumi:"status"`
	// The id of the transit router peer attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// The name of transit router peer attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// The bandwidth package id of the transit router peer attachment.
	TransitRouterBandwidthPackageId string `pulumi:"transitRouterBandwidthPackageId"`
	// The id of local transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The route table id of the transit router peer attachment.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
	// The update time of the transit router peer attachment.
	UpdateTime string `pulumi:"updateTime"`
}

type PeerAttachmentsTransitRouterAttachmentArgs added in v0.0.20

type PeerAttachmentsTransitRouterAttachmentArgs struct {
	// The bandwidth of the transit router peer attachment.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The creation time of the transit router peer attachment.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description of the transit router peer attachment.
	Description pulumi.StringInput `pulumi:"description"`
	// The id of the transit router peer attachment.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of peer transit router.
	PeerTransitRouterId pulumi.StringInput `pulumi:"peerTransitRouterId"`
	// The region id of peer transit router.
	PeerTransitRouterRegionId pulumi.StringInput `pulumi:"peerTransitRouterRegionId"`
	// The status of the transit router peer attachment.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the transit router peer attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// The name of transit router peer attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// The bandwidth package id of the transit router peer attachment.
	TransitRouterBandwidthPackageId pulumi.StringInput `pulumi:"transitRouterBandwidthPackageId"`
	// The id of local transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The route table id of the transit router peer attachment.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
	// The update time of the transit router peer attachment.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (PeerAttachmentsTransitRouterAttachmentArgs) ElementType added in v0.0.20

func (PeerAttachmentsTransitRouterAttachmentArgs) ToPeerAttachmentsTransitRouterAttachmentOutput added in v0.0.20

func (i PeerAttachmentsTransitRouterAttachmentArgs) ToPeerAttachmentsTransitRouterAttachmentOutput() PeerAttachmentsTransitRouterAttachmentOutput

func (PeerAttachmentsTransitRouterAttachmentArgs) ToPeerAttachmentsTransitRouterAttachmentOutputWithContext added in v0.0.20

func (i PeerAttachmentsTransitRouterAttachmentArgs) ToPeerAttachmentsTransitRouterAttachmentOutputWithContext(ctx context.Context) PeerAttachmentsTransitRouterAttachmentOutput

type PeerAttachmentsTransitRouterAttachmentArray added in v0.0.20

type PeerAttachmentsTransitRouterAttachmentArray []PeerAttachmentsTransitRouterAttachmentInput

func (PeerAttachmentsTransitRouterAttachmentArray) ElementType added in v0.0.20

func (PeerAttachmentsTransitRouterAttachmentArray) ToPeerAttachmentsTransitRouterAttachmentArrayOutput added in v0.0.20

func (i PeerAttachmentsTransitRouterAttachmentArray) ToPeerAttachmentsTransitRouterAttachmentArrayOutput() PeerAttachmentsTransitRouterAttachmentArrayOutput

func (PeerAttachmentsTransitRouterAttachmentArray) ToPeerAttachmentsTransitRouterAttachmentArrayOutputWithContext added in v0.0.20

func (i PeerAttachmentsTransitRouterAttachmentArray) ToPeerAttachmentsTransitRouterAttachmentArrayOutputWithContext(ctx context.Context) PeerAttachmentsTransitRouterAttachmentArrayOutput

type PeerAttachmentsTransitRouterAttachmentArrayInput added in v0.0.20

type PeerAttachmentsTransitRouterAttachmentArrayInput interface {
	pulumi.Input

	ToPeerAttachmentsTransitRouterAttachmentArrayOutput() PeerAttachmentsTransitRouterAttachmentArrayOutput
	ToPeerAttachmentsTransitRouterAttachmentArrayOutputWithContext(context.Context) PeerAttachmentsTransitRouterAttachmentArrayOutput
}

PeerAttachmentsTransitRouterAttachmentArrayInput is an input type that accepts PeerAttachmentsTransitRouterAttachmentArray and PeerAttachmentsTransitRouterAttachmentArrayOutput values. You can construct a concrete instance of `PeerAttachmentsTransitRouterAttachmentArrayInput` via:

PeerAttachmentsTransitRouterAttachmentArray{ PeerAttachmentsTransitRouterAttachmentArgs{...} }

type PeerAttachmentsTransitRouterAttachmentArrayOutput added in v0.0.20

type PeerAttachmentsTransitRouterAttachmentArrayOutput struct{ *pulumi.OutputState }

func (PeerAttachmentsTransitRouterAttachmentArrayOutput) ElementType added in v0.0.20

func (PeerAttachmentsTransitRouterAttachmentArrayOutput) Index added in v0.0.20

func (PeerAttachmentsTransitRouterAttachmentArrayOutput) ToPeerAttachmentsTransitRouterAttachmentArrayOutput added in v0.0.20

func (o PeerAttachmentsTransitRouterAttachmentArrayOutput) ToPeerAttachmentsTransitRouterAttachmentArrayOutput() PeerAttachmentsTransitRouterAttachmentArrayOutput

func (PeerAttachmentsTransitRouterAttachmentArrayOutput) ToPeerAttachmentsTransitRouterAttachmentArrayOutputWithContext added in v0.0.20

func (o PeerAttachmentsTransitRouterAttachmentArrayOutput) ToPeerAttachmentsTransitRouterAttachmentArrayOutputWithContext(ctx context.Context) PeerAttachmentsTransitRouterAttachmentArrayOutput

type PeerAttachmentsTransitRouterAttachmentInput added in v0.0.20

type PeerAttachmentsTransitRouterAttachmentInput interface {
	pulumi.Input

	ToPeerAttachmentsTransitRouterAttachmentOutput() PeerAttachmentsTransitRouterAttachmentOutput
	ToPeerAttachmentsTransitRouterAttachmentOutputWithContext(context.Context) PeerAttachmentsTransitRouterAttachmentOutput
}

PeerAttachmentsTransitRouterAttachmentInput is an input type that accepts PeerAttachmentsTransitRouterAttachmentArgs and PeerAttachmentsTransitRouterAttachmentOutput values. You can construct a concrete instance of `PeerAttachmentsTransitRouterAttachmentInput` via:

PeerAttachmentsTransitRouterAttachmentArgs{...}

type PeerAttachmentsTransitRouterAttachmentOutput added in v0.0.20

type PeerAttachmentsTransitRouterAttachmentOutput struct{ *pulumi.OutputState }

func (PeerAttachmentsTransitRouterAttachmentOutput) Bandwidth added in v0.0.20

The bandwidth of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) CreationTime added in v0.0.20

The creation time of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) Description added in v0.0.20

The description of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) ElementType added in v0.0.20

func (PeerAttachmentsTransitRouterAttachmentOutput) Id added in v0.0.20

The id of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) PeerTransitRouterId added in v0.0.20

The id of peer transit router.

func (PeerAttachmentsTransitRouterAttachmentOutput) PeerTransitRouterRegionId added in v0.0.20

The region id of peer transit router.

func (PeerAttachmentsTransitRouterAttachmentOutput) Status added in v0.0.20

The status of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) ToPeerAttachmentsTransitRouterAttachmentOutput added in v0.0.20

func (o PeerAttachmentsTransitRouterAttachmentOutput) ToPeerAttachmentsTransitRouterAttachmentOutput() PeerAttachmentsTransitRouterAttachmentOutput

func (PeerAttachmentsTransitRouterAttachmentOutput) ToPeerAttachmentsTransitRouterAttachmentOutputWithContext added in v0.0.20

func (o PeerAttachmentsTransitRouterAttachmentOutput) ToPeerAttachmentsTransitRouterAttachmentOutputWithContext(ctx context.Context) PeerAttachmentsTransitRouterAttachmentOutput

func (PeerAttachmentsTransitRouterAttachmentOutput) TransitRouterAttachmentId added in v0.0.20

The id of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) TransitRouterAttachmentName added in v0.0.20

func (o PeerAttachmentsTransitRouterAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

The name of transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) TransitRouterBandwidthPackageId added in v0.0.20

func (o PeerAttachmentsTransitRouterAttachmentOutput) TransitRouterBandwidthPackageId() pulumi.StringOutput

The bandwidth package id of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) TransitRouterId added in v0.0.20

The id of local transit router.

func (PeerAttachmentsTransitRouterAttachmentOutput) TransitRouterRouteTableId added in v0.0.20

The route table id of the transit router peer attachment.

func (PeerAttachmentsTransitRouterAttachmentOutput) UpdateTime added in v0.0.20

The update time of the transit router peer attachment.

type RouteEntriesArgs

type RouteEntriesArgs struct {
	// The target network segment of the route entry.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The ids of the transit router route entry.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The status of the route entry.
	Status *string `pulumi:"status"`
	// The name of the route entry.
	TransitRouterRouteEntryName *string `pulumi:"transitRouterRouteEntryName"`
	// The id of the route table.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking RouteEntries.

type RouteEntriesEntry

type RouteEntriesEntry struct {
	// The creation time of the route entry.
	CreationTime string `pulumi:"creationTime"`
	// Description of the transit router route entry.
	Description string `pulumi:"description"`
	// The target network segment of the route entry.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// The status of the route entry.
	Status string `pulumi:"status"`
	// The id of the route entry.
	TransitRouterRouteEntryId string `pulumi:"transitRouterRouteEntryId"`
	// The name of the route entry.
	TransitRouterRouteEntryName string `pulumi:"transitRouterRouteEntryName"`
	// The next hot id of the routing entry.
	TransitRouterRouteEntryNextHopId string `pulumi:"transitRouterRouteEntryNextHopId"`
	// The next hop type of the routing entry. The value can be Attachment or BlackHole.
	TransitRouterRouteEntryNextHopType string `pulumi:"transitRouterRouteEntryNextHopType"`
	// The type of the route entry.
	TransitRouterRouteEntryType string `pulumi:"transitRouterRouteEntryType"`
	// The update time of the route entry.
	UpdateTime string `pulumi:"updateTime"`
}

type RouteEntriesEntryArgs

type RouteEntriesEntryArgs struct {
	// The creation time of the route entry.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// Description of the transit router route entry.
	Description pulumi.StringInput `pulumi:"description"`
	// The target network segment of the route entry.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// The status of the route entry.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the route entry.
	TransitRouterRouteEntryId pulumi.StringInput `pulumi:"transitRouterRouteEntryId"`
	// The name of the route entry.
	TransitRouterRouteEntryName pulumi.StringInput `pulumi:"transitRouterRouteEntryName"`
	// The next hot id of the routing entry.
	TransitRouterRouteEntryNextHopId pulumi.StringInput `pulumi:"transitRouterRouteEntryNextHopId"`
	// The next hop type of the routing entry. The value can be Attachment or BlackHole.
	TransitRouterRouteEntryNextHopType pulumi.StringInput `pulumi:"transitRouterRouteEntryNextHopType"`
	// The type of the route entry.
	TransitRouterRouteEntryType pulumi.StringInput `pulumi:"transitRouterRouteEntryType"`
	// The update time of the route entry.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (RouteEntriesEntryArgs) ElementType

func (RouteEntriesEntryArgs) ElementType() reflect.Type

func (RouteEntriesEntryArgs) ToRouteEntriesEntryOutput

func (i RouteEntriesEntryArgs) ToRouteEntriesEntryOutput() RouteEntriesEntryOutput

func (RouteEntriesEntryArgs) ToRouteEntriesEntryOutputWithContext

func (i RouteEntriesEntryArgs) ToRouteEntriesEntryOutputWithContext(ctx context.Context) RouteEntriesEntryOutput

type RouteEntriesEntryArray

type RouteEntriesEntryArray []RouteEntriesEntryInput

func (RouteEntriesEntryArray) ElementType

func (RouteEntriesEntryArray) ElementType() reflect.Type

func (RouteEntriesEntryArray) ToRouteEntriesEntryArrayOutput

func (i RouteEntriesEntryArray) ToRouteEntriesEntryArrayOutput() RouteEntriesEntryArrayOutput

func (RouteEntriesEntryArray) ToRouteEntriesEntryArrayOutputWithContext

func (i RouteEntriesEntryArray) ToRouteEntriesEntryArrayOutputWithContext(ctx context.Context) RouteEntriesEntryArrayOutput

type RouteEntriesEntryArrayInput

type RouteEntriesEntryArrayInput interface {
	pulumi.Input

	ToRouteEntriesEntryArrayOutput() RouteEntriesEntryArrayOutput
	ToRouteEntriesEntryArrayOutputWithContext(context.Context) RouteEntriesEntryArrayOutput
}

RouteEntriesEntryArrayInput is an input type that accepts RouteEntriesEntryArray and RouteEntriesEntryArrayOutput values. You can construct a concrete instance of `RouteEntriesEntryArrayInput` via:

RouteEntriesEntryArray{ RouteEntriesEntryArgs{...} }

type RouteEntriesEntryArrayOutput

type RouteEntriesEntryArrayOutput struct{ *pulumi.OutputState }

func (RouteEntriesEntryArrayOutput) ElementType

func (RouteEntriesEntryArrayOutput) Index

func (RouteEntriesEntryArrayOutput) ToRouteEntriesEntryArrayOutput

func (o RouteEntriesEntryArrayOutput) ToRouteEntriesEntryArrayOutput() RouteEntriesEntryArrayOutput

func (RouteEntriesEntryArrayOutput) ToRouteEntriesEntryArrayOutputWithContext

func (o RouteEntriesEntryArrayOutput) ToRouteEntriesEntryArrayOutputWithContext(ctx context.Context) RouteEntriesEntryArrayOutput

type RouteEntriesEntryInput

type RouteEntriesEntryInput interface {
	pulumi.Input

	ToRouteEntriesEntryOutput() RouteEntriesEntryOutput
	ToRouteEntriesEntryOutputWithContext(context.Context) RouteEntriesEntryOutput
}

RouteEntriesEntryInput is an input type that accepts RouteEntriesEntryArgs and RouteEntriesEntryOutput values. You can construct a concrete instance of `RouteEntriesEntryInput` via:

RouteEntriesEntryArgs{...}

type RouteEntriesEntryOutput

type RouteEntriesEntryOutput struct{ *pulumi.OutputState }

func (RouteEntriesEntryOutput) CreationTime

func (o RouteEntriesEntryOutput) CreationTime() pulumi.StringOutput

The creation time of the route entry.

func (RouteEntriesEntryOutput) Description

Description of the transit router route entry.

func (RouteEntriesEntryOutput) DestinationCidrBlock

func (o RouteEntriesEntryOutput) DestinationCidrBlock() pulumi.StringOutput

The target network segment of the route entry.

func (RouteEntriesEntryOutput) ElementType

func (RouteEntriesEntryOutput) ElementType() reflect.Type

func (RouteEntriesEntryOutput) Status

The status of the route entry.

func (RouteEntriesEntryOutput) ToRouteEntriesEntryOutput

func (o RouteEntriesEntryOutput) ToRouteEntriesEntryOutput() RouteEntriesEntryOutput

func (RouteEntriesEntryOutput) ToRouteEntriesEntryOutputWithContext

func (o RouteEntriesEntryOutput) ToRouteEntriesEntryOutputWithContext(ctx context.Context) RouteEntriesEntryOutput

func (RouteEntriesEntryOutput) TransitRouterRouteEntryId

func (o RouteEntriesEntryOutput) TransitRouterRouteEntryId() pulumi.StringOutput

The id of the route entry.

func (RouteEntriesEntryOutput) TransitRouterRouteEntryName

func (o RouteEntriesEntryOutput) TransitRouterRouteEntryName() pulumi.StringOutput

The name of the route entry.

func (RouteEntriesEntryOutput) TransitRouterRouteEntryNextHopId

func (o RouteEntriesEntryOutput) TransitRouterRouteEntryNextHopId() pulumi.StringOutput

The next hot id of the routing entry.

func (RouteEntriesEntryOutput) TransitRouterRouteEntryNextHopType

func (o RouteEntriesEntryOutput) TransitRouterRouteEntryNextHopType() pulumi.StringOutput

The next hop type of the routing entry. The value can be Attachment or BlackHole.

func (RouteEntriesEntryOutput) TransitRouterRouteEntryType

func (o RouteEntriesEntryOutput) TransitRouterRouteEntryType() pulumi.StringOutput

The type of the route entry.

func (RouteEntriesEntryOutput) UpdateTime

The update time of the route entry.

type RouteEntriesOutputArgs

type RouteEntriesOutputArgs struct {
	// The target network segment of the route entry.
	DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
	// The ids of the transit router route entry.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the route entry.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The name of the route entry.
	TransitRouterRouteEntryName pulumi.StringPtrInput `pulumi:"transitRouterRouteEntryName"`
	// The id of the route table.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking RouteEntries.

func (RouteEntriesOutputArgs) ElementType

func (RouteEntriesOutputArgs) ElementType() reflect.Type

type RouteEntriesResult

type RouteEntriesResult struct {
	// The target network segment of the route entry.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The list of route entries.
	Entries []RouteEntriesEntry `pulumi:"entries"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the route entry.
	Status *string `pulumi:"status"`
	// The total count of data query.
	TotalCount int `pulumi:"totalCount"`
	// The name of the route entry.
	TransitRouterRouteEntryName *string `pulumi:"transitRouterRouteEntryName"`
	TransitRouterRouteTableId   string  `pulumi:"transitRouterRouteTableId"`
}

A collection of values returned by RouteEntries.

func RouteEntries

func RouteEntries(ctx *pulumi.Context, args *RouteEntriesArgs, opts ...pulumi.InvokeOption) (*RouteEntriesResult, error)

Use this data source to query detailed information of transit router route entries ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.RouteEntries(ctx, &transit_router.RouteEntriesArgs{
			Ids: []string{
				"tr-rte-12b7qd5eo3h1c17q7y1sq5ixv",
			},
			TransitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RouteEntriesResultOutput

type RouteEntriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by RouteEntries.

func (RouteEntriesResultOutput) DestinationCidrBlock

func (o RouteEntriesResultOutput) DestinationCidrBlock() pulumi.StringPtrOutput

The target network segment of the route entry.

func (RouteEntriesResultOutput) ElementType

func (RouteEntriesResultOutput) ElementType() reflect.Type

func (RouteEntriesResultOutput) Entries

The list of route entries.

func (RouteEntriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (RouteEntriesResultOutput) Ids

func (RouteEntriesResultOutput) OutputFile

func (RouteEntriesResultOutput) Status

The status of the route entry.

func (RouteEntriesResultOutput) ToRouteEntriesResultOutput

func (o RouteEntriesResultOutput) ToRouteEntriesResultOutput() RouteEntriesResultOutput

func (RouteEntriesResultOutput) ToRouteEntriesResultOutputWithContext

func (o RouteEntriesResultOutput) ToRouteEntriesResultOutputWithContext(ctx context.Context) RouteEntriesResultOutput

func (RouteEntriesResultOutput) TotalCount

func (o RouteEntriesResultOutput) TotalCount() pulumi.IntOutput

The total count of data query.

func (RouteEntriesResultOutput) TransitRouterRouteEntryName

func (o RouteEntriesResultOutput) TransitRouterRouteEntryName() pulumi.StringPtrOutput

The name of the route entry.

func (RouteEntriesResultOutput) TransitRouterRouteTableId

func (o RouteEntriesResultOutput) TransitRouterRouteTableId() pulumi.StringOutput

type RouteEntry

type RouteEntry struct {
	pulumi.CustomResourceState

	// The creation time of the route entry.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// Description of the transit router route entry.
	Description pulumi.StringOutput `pulumi:"description"`
	// The target network segment of the route entry.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// The status of the route entry.
	Status pulumi.StringOutput `pulumi:"status"`
	// The id of the route entry.
	TransitRouterRouteEntryId pulumi.StringOutput `pulumi:"transitRouterRouteEntryId"`
	// The name of the route entry.
	TransitRouterRouteEntryName pulumi.StringOutput `pulumi:"transitRouterRouteEntryName"`
	// The next hot id of the routing entry. When the parameter TransitRouterRouteEntryNextHopType is Attachment, this parameter must be filled.
	TransitRouterRouteEntryNextHopId pulumi.StringPtrOutput `pulumi:"transitRouterRouteEntryNextHopId"`
	// The next hop type of the routing entry. The value can be Attachment or BlackHole.
	TransitRouterRouteEntryNextHopType pulumi.StringOutput `pulumi:"transitRouterRouteEntryNextHopType"`
	// The type of the route entry.
	TransitRouterRouteEntryType pulumi.StringOutput `pulumi:"transitRouterRouteEntryType"`
	// The id of the route table.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
	// The update time of the route entry.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage transit router route entry ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewRouteEntry(ctx, "foo", &transit_router.RouteEntryArgs{
			Description:                        pulumi.String("tf test 23"),
			DestinationCidrBlock:               pulumi.String("192.168.0.0/24"),
			TransitRouterRouteEntryName:        pulumi.String("tf-entry-23"),
			TransitRouterRouteEntryNextHopType: pulumi.String("BlackHole"),
			TransitRouterRouteTableId:          pulumi.String("tr-rtb-12b7qd3fmzf2817q7y2jkbd55"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

transit router route entry can be imported using the table and entry id, e.g.

```sh

$ pulumi import volcengine:transit_router/routeEntry:RouteEntry default tr-rtb-12b7qd3fmzf2817q7y2jkbd55:tr-rte-1i5i8khf9m58gae5kcx6***

```

func GetRouteEntry

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

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

func NewRouteEntry

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

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

func (*RouteEntry) ElementType

func (*RouteEntry) ElementType() reflect.Type

func (*RouteEntry) ToRouteEntryOutput

func (i *RouteEntry) ToRouteEntryOutput() RouteEntryOutput

func (*RouteEntry) ToRouteEntryOutputWithContext

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

type RouteEntryArgs

type RouteEntryArgs struct {
	// Description of the transit router route entry.
	Description pulumi.StringPtrInput
	// The target network segment of the route entry.
	DestinationCidrBlock pulumi.StringInput
	// The name of the route entry.
	TransitRouterRouteEntryName pulumi.StringPtrInput
	// The next hot id of the routing entry. When the parameter TransitRouterRouteEntryNextHopType is Attachment, this parameter must be filled.
	TransitRouterRouteEntryNextHopId pulumi.StringPtrInput
	// The next hop type of the routing entry. The value can be Attachment or BlackHole.
	TransitRouterRouteEntryNextHopType pulumi.StringInput
	// The id of the route table.
	TransitRouterRouteTableId pulumi.StringInput
}

The set of arguments for constructing a RouteEntry resource.

func (RouteEntryArgs) ElementType

func (RouteEntryArgs) ElementType() reflect.Type

type RouteEntryArray

type RouteEntryArray []RouteEntryInput

func (RouteEntryArray) ElementType

func (RouteEntryArray) ElementType() reflect.Type

func (RouteEntryArray) ToRouteEntryArrayOutput

func (i RouteEntryArray) ToRouteEntryArrayOutput() RouteEntryArrayOutput

func (RouteEntryArray) ToRouteEntryArrayOutputWithContext

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

type RouteEntryArrayInput

type RouteEntryArrayInput interface {
	pulumi.Input

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

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

RouteEntryArray{ RouteEntryArgs{...} }

type RouteEntryArrayOutput

type RouteEntryArrayOutput struct{ *pulumi.OutputState }

func (RouteEntryArrayOutput) ElementType

func (RouteEntryArrayOutput) ElementType() reflect.Type

func (RouteEntryArrayOutput) Index

func (RouteEntryArrayOutput) ToRouteEntryArrayOutput

func (o RouteEntryArrayOutput) ToRouteEntryArrayOutput() RouteEntryArrayOutput

func (RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext

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

type RouteEntryInput

type RouteEntryInput interface {
	pulumi.Input

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

type RouteEntryMap

type RouteEntryMap map[string]RouteEntryInput

func (RouteEntryMap) ElementType

func (RouteEntryMap) ElementType() reflect.Type

func (RouteEntryMap) ToRouteEntryMapOutput

func (i RouteEntryMap) ToRouteEntryMapOutput() RouteEntryMapOutput

func (RouteEntryMap) ToRouteEntryMapOutputWithContext

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

type RouteEntryMapInput

type RouteEntryMapInput interface {
	pulumi.Input

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

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

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

type RouteEntryMapOutput

type RouteEntryMapOutput struct{ *pulumi.OutputState }

func (RouteEntryMapOutput) ElementType

func (RouteEntryMapOutput) ElementType() reflect.Type

func (RouteEntryMapOutput) MapIndex

func (RouteEntryMapOutput) ToRouteEntryMapOutput

func (o RouteEntryMapOutput) ToRouteEntryMapOutput() RouteEntryMapOutput

func (RouteEntryMapOutput) ToRouteEntryMapOutputWithContext

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

type RouteEntryOutput

type RouteEntryOutput struct{ *pulumi.OutputState }

func (RouteEntryOutput) CreationTime

func (o RouteEntryOutput) CreationTime() pulumi.StringOutput

The creation time of the route entry.

func (RouteEntryOutput) Description

func (o RouteEntryOutput) Description() pulumi.StringOutput

Description of the transit router route entry.

func (RouteEntryOutput) DestinationCidrBlock

func (o RouteEntryOutput) DestinationCidrBlock() pulumi.StringOutput

The target network segment of the route entry.

func (RouteEntryOutput) ElementType

func (RouteEntryOutput) ElementType() reflect.Type

func (RouteEntryOutput) Status

The status of the route entry.

func (RouteEntryOutput) ToRouteEntryOutput

func (o RouteEntryOutput) ToRouteEntryOutput() RouteEntryOutput

func (RouteEntryOutput) ToRouteEntryOutputWithContext

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

func (RouteEntryOutput) TransitRouterRouteEntryId

func (o RouteEntryOutput) TransitRouterRouteEntryId() pulumi.StringOutput

The id of the route entry.

func (RouteEntryOutput) TransitRouterRouteEntryName

func (o RouteEntryOutput) TransitRouterRouteEntryName() pulumi.StringOutput

The name of the route entry.

func (RouteEntryOutput) TransitRouterRouteEntryNextHopId

func (o RouteEntryOutput) TransitRouterRouteEntryNextHopId() pulumi.StringPtrOutput

The next hot id of the routing entry. When the parameter TransitRouterRouteEntryNextHopType is Attachment, this parameter must be filled.

func (RouteEntryOutput) TransitRouterRouteEntryNextHopType

func (o RouteEntryOutput) TransitRouterRouteEntryNextHopType() pulumi.StringOutput

The next hop type of the routing entry. The value can be Attachment or BlackHole.

func (RouteEntryOutput) TransitRouterRouteEntryType

func (o RouteEntryOutput) TransitRouterRouteEntryType() pulumi.StringOutput

The type of the route entry.

func (RouteEntryOutput) TransitRouterRouteTableId

func (o RouteEntryOutput) TransitRouterRouteTableId() pulumi.StringOutput

The id of the route table.

func (RouteEntryOutput) UpdateTime

func (o RouteEntryOutput) UpdateTime() pulumi.StringOutput

The update time of the route entry.

type RouteEntryState

type RouteEntryState struct {
	// The creation time of the route entry.
	CreationTime pulumi.StringPtrInput
	// Description of the transit router route entry.
	Description pulumi.StringPtrInput
	// The target network segment of the route entry.
	DestinationCidrBlock pulumi.StringPtrInput
	// The status of the route entry.
	Status pulumi.StringPtrInput
	// The id of the route entry.
	TransitRouterRouteEntryId pulumi.StringPtrInput
	// The name of the route entry.
	TransitRouterRouteEntryName pulumi.StringPtrInput
	// The next hot id of the routing entry. When the parameter TransitRouterRouteEntryNextHopType is Attachment, this parameter must be filled.
	TransitRouterRouteEntryNextHopId pulumi.StringPtrInput
	// The next hop type of the routing entry. The value can be Attachment or BlackHole.
	TransitRouterRouteEntryNextHopType pulumi.StringPtrInput
	// The type of the route entry.
	TransitRouterRouteEntryType pulumi.StringPtrInput
	// The id of the route table.
	TransitRouterRouteTableId pulumi.StringPtrInput
	// The update time of the route entry.
	UpdateTime pulumi.StringPtrInput
}

func (RouteEntryState) ElementType

func (RouteEntryState) ElementType() reflect.Type

type RouteTable

type RouteTable struct {
	pulumi.CustomResourceState

	// The creation time of the route table.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// Description of the transit router route table.
	Description pulumi.StringOutput `pulumi:"description"`
	// The status of the route table.
	Status pulumi.StringOutput `pulumi:"status"`
	// Id of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
	// The id of the route table.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
	// The name of the route table.
	TransitRouterRouteTableName pulumi.StringOutput `pulumi:"transitRouterRouteTableName"`
	// The type of route table.
	TransitRouterRouteTableType pulumi.StringOutput `pulumi:"transitRouterRouteTableType"`
	// The update time of the route table.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage transit router route table ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewRouteTable(ctx, "foo", &transit_router.RouteTableArgs{
			Description:                 pulumi.String("tf test23"),
			TransitRouterId:             pulumi.String("tr-2ff4v69tkxji859gp684cm14e"),
			TransitRouterRouteTableName: pulumi.String("tf-table-23"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

transit router route table can be imported using the router id and route table id, e.g.

```sh

$ pulumi import volcengine:transit_router/routeTable:RouteTable default tr-2ff4v69tkxji859gp684cm14e:tr-rtb-hy13n2l4c6c0v****

```

func GetRouteTable

func GetRouteTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTableState, opts ...pulumi.ResourceOption) (*RouteTable, error)

GetRouteTable gets an existing RouteTable 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 NewRouteTable

func NewRouteTable(ctx *pulumi.Context,
	name string, args *RouteTableArgs, opts ...pulumi.ResourceOption) (*RouteTable, error)

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

func (*RouteTable) ElementType

func (*RouteTable) ElementType() reflect.Type

func (*RouteTable) ToRouteTableOutput

func (i *RouteTable) ToRouteTableOutput() RouteTableOutput

func (*RouteTable) ToRouteTableOutputWithContext

func (i *RouteTable) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput

type RouteTableArgs

type RouteTableArgs struct {
	// Description of the transit router route table.
	Description pulumi.StringPtrInput
	// Id of the transit router.
	TransitRouterId pulumi.StringInput
	// The name of the route table.
	TransitRouterRouteTableName pulumi.StringPtrInput
}

The set of arguments for constructing a RouteTable resource.

func (RouteTableArgs) ElementType

func (RouteTableArgs) ElementType() reflect.Type

type RouteTableArray

type RouteTableArray []RouteTableInput

func (RouteTableArray) ElementType

func (RouteTableArray) ElementType() reflect.Type

func (RouteTableArray) ToRouteTableArrayOutput

func (i RouteTableArray) ToRouteTableArrayOutput() RouteTableArrayOutput

func (RouteTableArray) ToRouteTableArrayOutputWithContext

func (i RouteTableArray) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput

type RouteTableArrayInput

type RouteTableArrayInput interface {
	pulumi.Input

	ToRouteTableArrayOutput() RouteTableArrayOutput
	ToRouteTableArrayOutputWithContext(context.Context) RouteTableArrayOutput
}

RouteTableArrayInput is an input type that accepts RouteTableArray and RouteTableArrayOutput values. You can construct a concrete instance of `RouteTableArrayInput` via:

RouteTableArray{ RouteTableArgs{...} }

type RouteTableArrayOutput

type RouteTableArrayOutput struct{ *pulumi.OutputState }

func (RouteTableArrayOutput) ElementType

func (RouteTableArrayOutput) ElementType() reflect.Type

func (RouteTableArrayOutput) Index

func (RouteTableArrayOutput) ToRouteTableArrayOutput

func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput

func (RouteTableArrayOutput) ToRouteTableArrayOutputWithContext

func (o RouteTableArrayOutput) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput

type RouteTableAssociation

type RouteTableAssociation struct {
	pulumi.CustomResourceState

	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
}

Provides a resource to manage transit router route table association ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewRouteTableAssociation(ctx, "foo", &transit_router.RouteTableAssociationArgs{
			TransitRouterAttachmentId: pulumi.String("tr-attach-im73ng3n5kao8gbssz2ddpuq"),
			TransitRouterRouteTableId: pulumi.String("tr-rtb-12b7qd3fmzf2817q7y2jkbd55"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TransitRouterRouteTableAssociation can be imported using the TransitRouterAttachmentId:TransitRouterRouteTableId, e.g.

```sh

$ pulumi import volcengine:transit_router/routeTableAssociation:RouteTableAssociation default tr-attach-13n2l4c****:tr-rt-1i5i8khf9m58gae5kcx6****

```

func GetRouteTableAssociation

func GetRouteTableAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTableAssociationState, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)

GetRouteTableAssociation gets an existing RouteTableAssociation 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 NewRouteTableAssociation

func NewRouteTableAssociation(ctx *pulumi.Context,
	name string, args *RouteTableAssociationArgs, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)

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

func (*RouteTableAssociation) ElementType

func (*RouteTableAssociation) ElementType() reflect.Type

func (*RouteTableAssociation) ToRouteTableAssociationOutput

func (i *RouteTableAssociation) ToRouteTableAssociationOutput() RouteTableAssociationOutput

func (*RouteTableAssociation) ToRouteTableAssociationOutputWithContext

func (i *RouteTableAssociation) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput

type RouteTableAssociationArgs

type RouteTableAssociationArgs struct {
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringInput
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringInput
}

The set of arguments for constructing a RouteTableAssociation resource.

func (RouteTableAssociationArgs) ElementType

func (RouteTableAssociationArgs) ElementType() reflect.Type

type RouteTableAssociationArray

type RouteTableAssociationArray []RouteTableAssociationInput

func (RouteTableAssociationArray) ElementType

func (RouteTableAssociationArray) ElementType() reflect.Type

func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutput

func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput

func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext

func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput

type RouteTableAssociationArrayInput

type RouteTableAssociationArrayInput interface {
	pulumi.Input

	ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
	ToRouteTableAssociationArrayOutputWithContext(context.Context) RouteTableAssociationArrayOutput
}

RouteTableAssociationArrayInput is an input type that accepts RouteTableAssociationArray and RouteTableAssociationArrayOutput values. You can construct a concrete instance of `RouteTableAssociationArrayInput` via:

RouteTableAssociationArray{ RouteTableAssociationArgs{...} }

type RouteTableAssociationArrayOutput

type RouteTableAssociationArrayOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationArrayOutput) ElementType

func (RouteTableAssociationArrayOutput) Index

func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput

func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput

func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext

func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput

type RouteTableAssociationInput

type RouteTableAssociationInput interface {
	pulumi.Input

	ToRouteTableAssociationOutput() RouteTableAssociationOutput
	ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
}

type RouteTableAssociationMap

type RouteTableAssociationMap map[string]RouteTableAssociationInput

func (RouteTableAssociationMap) ElementType

func (RouteTableAssociationMap) ElementType() reflect.Type

func (RouteTableAssociationMap) ToRouteTableAssociationMapOutput

func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput

func (RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext

func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput

type RouteTableAssociationMapInput

type RouteTableAssociationMapInput interface {
	pulumi.Input

	ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
	ToRouteTableAssociationMapOutputWithContext(context.Context) RouteTableAssociationMapOutput
}

RouteTableAssociationMapInput is an input type that accepts RouteTableAssociationMap and RouteTableAssociationMapOutput values. You can construct a concrete instance of `RouteTableAssociationMapInput` via:

RouteTableAssociationMap{ "key": RouteTableAssociationArgs{...} }

type RouteTableAssociationMapOutput

type RouteTableAssociationMapOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationMapOutput) ElementType

func (RouteTableAssociationMapOutput) MapIndex

func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput

func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput

func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext

func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput

type RouteTableAssociationOutput

type RouteTableAssociationOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationOutput) ElementType

func (RouteTableAssociationOutput) ToRouteTableAssociationOutput

func (o RouteTableAssociationOutput) ToRouteTableAssociationOutput() RouteTableAssociationOutput

func (RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext

func (o RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput

func (RouteTableAssociationOutput) TransitRouterAttachmentId

func (o RouteTableAssociationOutput) TransitRouterAttachmentId() pulumi.StringOutput

The ID of the network instance connection.

func (RouteTableAssociationOutput) TransitRouterRouteTableId

func (o RouteTableAssociationOutput) TransitRouterRouteTableId() pulumi.StringOutput

The ID of the routing table associated with the transit router instance.

type RouteTableAssociationState

type RouteTableAssociationState struct {
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringPtrInput
}

func (RouteTableAssociationState) ElementType

func (RouteTableAssociationState) ElementType() reflect.Type

type RouteTableAssociationsArgs

type RouteTableAssociationsArgs struct {
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId *string `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking RouteTableAssociations.

type RouteTableAssociationsAssociation

type RouteTableAssociationsAssociation struct {
	// The status of the route table.
	Status string `pulumi:"status"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

type RouteTableAssociationsAssociationArgs

type RouteTableAssociationsAssociationArgs struct {
	// The status of the route table.
	Status pulumi.StringInput `pulumi:"status"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

func (RouteTableAssociationsAssociationArgs) ElementType

func (RouteTableAssociationsAssociationArgs) ToRouteTableAssociationsAssociationOutput

func (i RouteTableAssociationsAssociationArgs) ToRouteTableAssociationsAssociationOutput() RouteTableAssociationsAssociationOutput

func (RouteTableAssociationsAssociationArgs) ToRouteTableAssociationsAssociationOutputWithContext

func (i RouteTableAssociationsAssociationArgs) ToRouteTableAssociationsAssociationOutputWithContext(ctx context.Context) RouteTableAssociationsAssociationOutput

type RouteTableAssociationsAssociationArray

type RouteTableAssociationsAssociationArray []RouteTableAssociationsAssociationInput

func (RouteTableAssociationsAssociationArray) ElementType

func (RouteTableAssociationsAssociationArray) ToRouteTableAssociationsAssociationArrayOutput

func (i RouteTableAssociationsAssociationArray) ToRouteTableAssociationsAssociationArrayOutput() RouteTableAssociationsAssociationArrayOutput

func (RouteTableAssociationsAssociationArray) ToRouteTableAssociationsAssociationArrayOutputWithContext

func (i RouteTableAssociationsAssociationArray) ToRouteTableAssociationsAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationsAssociationArrayOutput

type RouteTableAssociationsAssociationArrayInput

type RouteTableAssociationsAssociationArrayInput interface {
	pulumi.Input

	ToRouteTableAssociationsAssociationArrayOutput() RouteTableAssociationsAssociationArrayOutput
	ToRouteTableAssociationsAssociationArrayOutputWithContext(context.Context) RouteTableAssociationsAssociationArrayOutput
}

RouteTableAssociationsAssociationArrayInput is an input type that accepts RouteTableAssociationsAssociationArray and RouteTableAssociationsAssociationArrayOutput values. You can construct a concrete instance of `RouteTableAssociationsAssociationArrayInput` via:

RouteTableAssociationsAssociationArray{ RouteTableAssociationsAssociationArgs{...} }

type RouteTableAssociationsAssociationArrayOutput

type RouteTableAssociationsAssociationArrayOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationsAssociationArrayOutput) ElementType

func (RouteTableAssociationsAssociationArrayOutput) Index

func (RouteTableAssociationsAssociationArrayOutput) ToRouteTableAssociationsAssociationArrayOutput

func (o RouteTableAssociationsAssociationArrayOutput) ToRouteTableAssociationsAssociationArrayOutput() RouteTableAssociationsAssociationArrayOutput

func (RouteTableAssociationsAssociationArrayOutput) ToRouteTableAssociationsAssociationArrayOutputWithContext

func (o RouteTableAssociationsAssociationArrayOutput) ToRouteTableAssociationsAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationsAssociationArrayOutput

type RouteTableAssociationsAssociationInput

type RouteTableAssociationsAssociationInput interface {
	pulumi.Input

	ToRouteTableAssociationsAssociationOutput() RouteTableAssociationsAssociationOutput
	ToRouteTableAssociationsAssociationOutputWithContext(context.Context) RouteTableAssociationsAssociationOutput
}

RouteTableAssociationsAssociationInput is an input type that accepts RouteTableAssociationsAssociationArgs and RouteTableAssociationsAssociationOutput values. You can construct a concrete instance of `RouteTableAssociationsAssociationInput` via:

RouteTableAssociationsAssociationArgs{...}

type RouteTableAssociationsAssociationOutput

type RouteTableAssociationsAssociationOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationsAssociationOutput) ElementType

func (RouteTableAssociationsAssociationOutput) Status

The status of the route table.

func (RouteTableAssociationsAssociationOutput) ToRouteTableAssociationsAssociationOutput

func (o RouteTableAssociationsAssociationOutput) ToRouteTableAssociationsAssociationOutput() RouteTableAssociationsAssociationOutput

func (RouteTableAssociationsAssociationOutput) ToRouteTableAssociationsAssociationOutputWithContext

func (o RouteTableAssociationsAssociationOutput) ToRouteTableAssociationsAssociationOutputWithContext(ctx context.Context) RouteTableAssociationsAssociationOutput

func (RouteTableAssociationsAssociationOutput) TransitRouterAttachmentId

func (o RouteTableAssociationsAssociationOutput) TransitRouterAttachmentId() pulumi.StringOutput

The ID of the network instance connection.

func (RouteTableAssociationsAssociationOutput) TransitRouterRouteTableId

func (o RouteTableAssociationsAssociationOutput) TransitRouterRouteTableId() pulumi.StringOutput

The ID of the routing table associated with the transit router instance.

type RouteTableAssociationsOutputArgs

type RouteTableAssociationsOutputArgs struct {
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringPtrInput `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking RouteTableAssociations.

func (RouteTableAssociationsOutputArgs) ElementType

type RouteTableAssociationsResult

type RouteTableAssociationsResult struct {
	// The list of route table associations.
	Associations []RouteTableAssociationsAssociation `pulumi:"associations"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of data query.
	TotalCount int `pulumi:"totalCount"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId *string `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of values returned by RouteTableAssociations.

func RouteTableAssociations

func RouteTableAssociations(ctx *pulumi.Context, args *RouteTableAssociationsArgs, opts ...pulumi.InvokeOption) (*RouteTableAssociationsResult, error)

Use this data source to query detailed information of transit router route table associations ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.RouteTableAssociations(ctx, &transit_router.RouteTableAssociationsArgs{
			TransitRouterAttachmentId: pulumi.StringRef("tr-attach-im73ng3n5kao8gbssz2ddpuq"),
			TransitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RouteTableAssociationsResultOutput

type RouteTableAssociationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by RouteTableAssociations.

func (RouteTableAssociationsResultOutput) Associations

The list of route table associations.

func (RouteTableAssociationsResultOutput) ElementType

func (RouteTableAssociationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (RouteTableAssociationsResultOutput) OutputFile

func (RouteTableAssociationsResultOutput) ToRouteTableAssociationsResultOutput

func (o RouteTableAssociationsResultOutput) ToRouteTableAssociationsResultOutput() RouteTableAssociationsResultOutput

func (RouteTableAssociationsResultOutput) ToRouteTableAssociationsResultOutputWithContext

func (o RouteTableAssociationsResultOutput) ToRouteTableAssociationsResultOutputWithContext(ctx context.Context) RouteTableAssociationsResultOutput

func (RouteTableAssociationsResultOutput) TotalCount

The total count of data query.

func (RouteTableAssociationsResultOutput) TransitRouterAttachmentId

func (o RouteTableAssociationsResultOutput) TransitRouterAttachmentId() pulumi.StringPtrOutput

The ID of the network instance connection.

func (RouteTableAssociationsResultOutput) TransitRouterRouteTableId

func (o RouteTableAssociationsResultOutput) TransitRouterRouteTableId() pulumi.StringOutput

The ID of the routing table associated with the transit router instance.

type RouteTableInput

type RouteTableInput interface {
	pulumi.Input

	ToRouteTableOutput() RouteTableOutput
	ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
}

type RouteTableMap

type RouteTableMap map[string]RouteTableInput

func (RouteTableMap) ElementType

func (RouteTableMap) ElementType() reflect.Type

func (RouteTableMap) ToRouteTableMapOutput

func (i RouteTableMap) ToRouteTableMapOutput() RouteTableMapOutput

func (RouteTableMap) ToRouteTableMapOutputWithContext

func (i RouteTableMap) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput

type RouteTableMapInput

type RouteTableMapInput interface {
	pulumi.Input

	ToRouteTableMapOutput() RouteTableMapOutput
	ToRouteTableMapOutputWithContext(context.Context) RouteTableMapOutput
}

RouteTableMapInput is an input type that accepts RouteTableMap and RouteTableMapOutput values. You can construct a concrete instance of `RouteTableMapInput` via:

RouteTableMap{ "key": RouteTableArgs{...} }

type RouteTableMapOutput

type RouteTableMapOutput struct{ *pulumi.OutputState }

func (RouteTableMapOutput) ElementType

func (RouteTableMapOutput) ElementType() reflect.Type

func (RouteTableMapOutput) MapIndex

func (RouteTableMapOutput) ToRouteTableMapOutput

func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput

func (RouteTableMapOutput) ToRouteTableMapOutputWithContext

func (o RouteTableMapOutput) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput

type RouteTableOutput

type RouteTableOutput struct{ *pulumi.OutputState }

func (RouteTableOutput) CreationTime

func (o RouteTableOutput) CreationTime() pulumi.StringOutput

The creation time of the route table.

func (RouteTableOutput) Description

func (o RouteTableOutput) Description() pulumi.StringOutput

Description of the transit router route table.

func (RouteTableOutput) ElementType

func (RouteTableOutput) ElementType() reflect.Type

func (RouteTableOutput) Status

The status of the route table.

func (RouteTableOutput) ToRouteTableOutput

func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput

func (RouteTableOutput) ToRouteTableOutputWithContext

func (o RouteTableOutput) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput

func (RouteTableOutput) TransitRouterId

func (o RouteTableOutput) TransitRouterId() pulumi.StringOutput

Id of the transit router.

func (RouteTableOutput) TransitRouterRouteTableId

func (o RouteTableOutput) TransitRouterRouteTableId() pulumi.StringOutput

The id of the route table.

func (RouteTableOutput) TransitRouterRouteTableName

func (o RouteTableOutput) TransitRouterRouteTableName() pulumi.StringOutput

The name of the route table.

func (RouteTableOutput) TransitRouterRouteTableType

func (o RouteTableOutput) TransitRouterRouteTableType() pulumi.StringOutput

The type of route table.

func (RouteTableOutput) UpdateTime

func (o RouteTableOutput) UpdateTime() pulumi.StringOutput

The update time of the route table.

type RouteTablePropagation

type RouteTablePropagation struct {
	pulumi.CustomResourceState

	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
}

Provides a resource to manage transit router route table propagation ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewRouteTablePropagation(ctx, "foo", &transit_router.RouteTablePropagationArgs{
			TransitRouterAttachmentId: pulumi.String("tr-attach-im73ng3n5kao8gbssz2ddpuq"),
			TransitRouterRouteTableId: pulumi.String("tr-rtb-12b7qd3fmzf2817q7y2jkbd55"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TransitRouterRouteTablePropagation can be imported using the propagation:TransitRouterAttachmentId:TransitRouterRouteTableId, e.g.

```sh

$ pulumi import volcengine:transit_router/routeTablePropagation:RouteTablePropagation default propagation:tr-attach-13n2l4c****:tr-rt-1i5i8khf9m58gae5kcx6****

```

func GetRouteTablePropagation

func GetRouteTablePropagation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTablePropagationState, opts ...pulumi.ResourceOption) (*RouteTablePropagation, error)

GetRouteTablePropagation gets an existing RouteTablePropagation 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 NewRouteTablePropagation

func NewRouteTablePropagation(ctx *pulumi.Context,
	name string, args *RouteTablePropagationArgs, opts ...pulumi.ResourceOption) (*RouteTablePropagation, error)

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

func (*RouteTablePropagation) ElementType

func (*RouteTablePropagation) ElementType() reflect.Type

func (*RouteTablePropagation) ToRouteTablePropagationOutput

func (i *RouteTablePropagation) ToRouteTablePropagationOutput() RouteTablePropagationOutput

func (*RouteTablePropagation) ToRouteTablePropagationOutputWithContext

func (i *RouteTablePropagation) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput

type RouteTablePropagationArgs

type RouteTablePropagationArgs struct {
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringInput
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringInput
}

The set of arguments for constructing a RouteTablePropagation resource.

func (RouteTablePropagationArgs) ElementType

func (RouteTablePropagationArgs) ElementType() reflect.Type

type RouteTablePropagationArray

type RouteTablePropagationArray []RouteTablePropagationInput

func (RouteTablePropagationArray) ElementType

func (RouteTablePropagationArray) ElementType() reflect.Type

func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutput

func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput

func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext

func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput

type RouteTablePropagationArrayInput

type RouteTablePropagationArrayInput interface {
	pulumi.Input

	ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput
	ToRouteTablePropagationArrayOutputWithContext(context.Context) RouteTablePropagationArrayOutput
}

RouteTablePropagationArrayInput is an input type that accepts RouteTablePropagationArray and RouteTablePropagationArrayOutput values. You can construct a concrete instance of `RouteTablePropagationArrayInput` via:

RouteTablePropagationArray{ RouteTablePropagationArgs{...} }

type RouteTablePropagationArrayOutput

type RouteTablePropagationArrayOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationArrayOutput) ElementType

func (RouteTablePropagationArrayOutput) Index

func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput

func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput

func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext

func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput

type RouteTablePropagationInput

type RouteTablePropagationInput interface {
	pulumi.Input

	ToRouteTablePropagationOutput() RouteTablePropagationOutput
	ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput
}

type RouteTablePropagationMap

type RouteTablePropagationMap map[string]RouteTablePropagationInput

func (RouteTablePropagationMap) ElementType

func (RouteTablePropagationMap) ElementType() reflect.Type

func (RouteTablePropagationMap) ToRouteTablePropagationMapOutput

func (i RouteTablePropagationMap) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput

func (RouteTablePropagationMap) ToRouteTablePropagationMapOutputWithContext

func (i RouteTablePropagationMap) ToRouteTablePropagationMapOutputWithContext(ctx context.Context) RouteTablePropagationMapOutput

type RouteTablePropagationMapInput

type RouteTablePropagationMapInput interface {
	pulumi.Input

	ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput
	ToRouteTablePropagationMapOutputWithContext(context.Context) RouteTablePropagationMapOutput
}

RouteTablePropagationMapInput is an input type that accepts RouteTablePropagationMap and RouteTablePropagationMapOutput values. You can construct a concrete instance of `RouteTablePropagationMapInput` via:

RouteTablePropagationMap{ "key": RouteTablePropagationArgs{...} }

type RouteTablePropagationMapOutput

type RouteTablePropagationMapOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationMapOutput) ElementType

func (RouteTablePropagationMapOutput) MapIndex

func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput

func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput

func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext

func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext(ctx context.Context) RouteTablePropagationMapOutput

type RouteTablePropagationOutput

type RouteTablePropagationOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationOutput) ElementType

func (RouteTablePropagationOutput) ToRouteTablePropagationOutput

func (o RouteTablePropagationOutput) ToRouteTablePropagationOutput() RouteTablePropagationOutput

func (RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext

func (o RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput

func (RouteTablePropagationOutput) TransitRouterAttachmentId

func (o RouteTablePropagationOutput) TransitRouterAttachmentId() pulumi.StringOutput

The ID of the network instance connection.

func (RouteTablePropagationOutput) TransitRouterRouteTableId

func (o RouteTablePropagationOutput) TransitRouterRouteTableId() pulumi.StringOutput

The ID of the routing table associated with the transit router instance.

type RouteTablePropagationState

type RouteTablePropagationState struct {
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringPtrInput
}

func (RouteTablePropagationState) ElementType

func (RouteTablePropagationState) ElementType() reflect.Type

type RouteTablePropagationsArgs

type RouteTablePropagationsArgs struct {
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId *string `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking RouteTablePropagations.

type RouteTablePropagationsOutputArgs

type RouteTablePropagationsOutputArgs struct {
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringPtrInput `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking RouteTablePropagations.

func (RouteTablePropagationsOutputArgs) ElementType

type RouteTablePropagationsPropagation

type RouteTablePropagationsPropagation struct {
	// The creation time of the route table propagation.
	CreationTime string `pulumi:"creationTime"`
	// The status of the route table.
	Status string `pulumi:"status"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

type RouteTablePropagationsPropagationArgs

type RouteTablePropagationsPropagationArgs struct {
	// The creation time of the route table propagation.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The status of the route table.
	Status pulumi.StringInput `pulumi:"status"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

func (RouteTablePropagationsPropagationArgs) ElementType

func (RouteTablePropagationsPropagationArgs) ToRouteTablePropagationsPropagationOutput

func (i RouteTablePropagationsPropagationArgs) ToRouteTablePropagationsPropagationOutput() RouteTablePropagationsPropagationOutput

func (RouteTablePropagationsPropagationArgs) ToRouteTablePropagationsPropagationOutputWithContext

func (i RouteTablePropagationsPropagationArgs) ToRouteTablePropagationsPropagationOutputWithContext(ctx context.Context) RouteTablePropagationsPropagationOutput

type RouteTablePropagationsPropagationArray

type RouteTablePropagationsPropagationArray []RouteTablePropagationsPropagationInput

func (RouteTablePropagationsPropagationArray) ElementType

func (RouteTablePropagationsPropagationArray) ToRouteTablePropagationsPropagationArrayOutput

func (i RouteTablePropagationsPropagationArray) ToRouteTablePropagationsPropagationArrayOutput() RouteTablePropagationsPropagationArrayOutput

func (RouteTablePropagationsPropagationArray) ToRouteTablePropagationsPropagationArrayOutputWithContext

func (i RouteTablePropagationsPropagationArray) ToRouteTablePropagationsPropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationsPropagationArrayOutput

type RouteTablePropagationsPropagationArrayInput

type RouteTablePropagationsPropagationArrayInput interface {
	pulumi.Input

	ToRouteTablePropagationsPropagationArrayOutput() RouteTablePropagationsPropagationArrayOutput
	ToRouteTablePropagationsPropagationArrayOutputWithContext(context.Context) RouteTablePropagationsPropagationArrayOutput
}

RouteTablePropagationsPropagationArrayInput is an input type that accepts RouteTablePropagationsPropagationArray and RouteTablePropagationsPropagationArrayOutput values. You can construct a concrete instance of `RouteTablePropagationsPropagationArrayInput` via:

RouteTablePropagationsPropagationArray{ RouteTablePropagationsPropagationArgs{...} }

type RouteTablePropagationsPropagationArrayOutput

type RouteTablePropagationsPropagationArrayOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationsPropagationArrayOutput) ElementType

func (RouteTablePropagationsPropagationArrayOutput) Index

func (RouteTablePropagationsPropagationArrayOutput) ToRouteTablePropagationsPropagationArrayOutput

func (o RouteTablePropagationsPropagationArrayOutput) ToRouteTablePropagationsPropagationArrayOutput() RouteTablePropagationsPropagationArrayOutput

func (RouteTablePropagationsPropagationArrayOutput) ToRouteTablePropagationsPropagationArrayOutputWithContext

func (o RouteTablePropagationsPropagationArrayOutput) ToRouteTablePropagationsPropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationsPropagationArrayOutput

type RouteTablePropagationsPropagationInput

type RouteTablePropagationsPropagationInput interface {
	pulumi.Input

	ToRouteTablePropagationsPropagationOutput() RouteTablePropagationsPropagationOutput
	ToRouteTablePropagationsPropagationOutputWithContext(context.Context) RouteTablePropagationsPropagationOutput
}

RouteTablePropagationsPropagationInput is an input type that accepts RouteTablePropagationsPropagationArgs and RouteTablePropagationsPropagationOutput values. You can construct a concrete instance of `RouteTablePropagationsPropagationInput` via:

RouteTablePropagationsPropagationArgs{...}

type RouteTablePropagationsPropagationOutput

type RouteTablePropagationsPropagationOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationsPropagationOutput) CreationTime

The creation time of the route table propagation.

func (RouteTablePropagationsPropagationOutput) ElementType

func (RouteTablePropagationsPropagationOutput) Status

The status of the route table.

func (RouteTablePropagationsPropagationOutput) ToRouteTablePropagationsPropagationOutput

func (o RouteTablePropagationsPropagationOutput) ToRouteTablePropagationsPropagationOutput() RouteTablePropagationsPropagationOutput

func (RouteTablePropagationsPropagationOutput) ToRouteTablePropagationsPropagationOutputWithContext

func (o RouteTablePropagationsPropagationOutput) ToRouteTablePropagationsPropagationOutputWithContext(ctx context.Context) RouteTablePropagationsPropagationOutput

func (RouteTablePropagationsPropagationOutput) TransitRouterAttachmentId

func (o RouteTablePropagationsPropagationOutput) TransitRouterAttachmentId() pulumi.StringOutput

The ID of the network instance connection.

func (RouteTablePropagationsPropagationOutput) TransitRouterRouteTableId

func (o RouteTablePropagationsPropagationOutput) TransitRouterRouteTableId() pulumi.StringOutput

The ID of the routing table associated with the transit router instance.

type RouteTablePropagationsResult

type RouteTablePropagationsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The list of route table propagations.
	Propagations []RouteTablePropagationsPropagation `pulumi:"propagations"`
	// The total count of data query.
	TotalCount int `pulumi:"totalCount"`
	// The ID of the network instance connection.
	TransitRouterAttachmentId *string `pulumi:"transitRouterAttachmentId"`
	// The ID of the routing table associated with the transit router instance.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of values returned by RouteTablePropagations.

func RouteTablePropagations

func RouteTablePropagations(ctx *pulumi.Context, args *RouteTablePropagationsArgs, opts ...pulumi.InvokeOption) (*RouteTablePropagationsResult, error)

Use this data source to query detailed information of transit router route table propagations ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.RouteTablePropagations(ctx, &transit_router.RouteTablePropagationsArgs{
			TransitRouterAttachmentId: pulumi.StringRef("tr-attach-im73ng3n5kao8gbssz2ddpuq"),
			TransitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RouteTablePropagationsResultOutput

type RouteTablePropagationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by RouteTablePropagations.

func (RouteTablePropagationsResultOutput) ElementType

func (RouteTablePropagationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (RouteTablePropagationsResultOutput) OutputFile

func (RouteTablePropagationsResultOutput) Propagations

The list of route table propagations.

func (RouteTablePropagationsResultOutput) ToRouteTablePropagationsResultOutput

func (o RouteTablePropagationsResultOutput) ToRouteTablePropagationsResultOutput() RouteTablePropagationsResultOutput

func (RouteTablePropagationsResultOutput) ToRouteTablePropagationsResultOutputWithContext

func (o RouteTablePropagationsResultOutput) ToRouteTablePropagationsResultOutputWithContext(ctx context.Context) RouteTablePropagationsResultOutput

func (RouteTablePropagationsResultOutput) TotalCount

The total count of data query.

func (RouteTablePropagationsResultOutput) TransitRouterAttachmentId

func (o RouteTablePropagationsResultOutput) TransitRouterAttachmentId() pulumi.StringPtrOutput

The ID of the network instance connection.

func (RouteTablePropagationsResultOutput) TransitRouterRouteTableId

func (o RouteTablePropagationsResultOutput) TransitRouterRouteTableId() pulumi.StringOutput

The ID of the routing table associated with the transit router instance.

type RouteTableState

type RouteTableState struct {
	// The creation time of the route table.
	CreationTime pulumi.StringPtrInput
	// Description of the transit router route table.
	Description pulumi.StringPtrInput
	// The status of the route table.
	Status pulumi.StringPtrInput
	// Id of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The id of the route table.
	TransitRouterRouteTableId pulumi.StringPtrInput
	// The name of the route table.
	TransitRouterRouteTableName pulumi.StringPtrInput
	// The type of route table.
	TransitRouterRouteTableType pulumi.StringPtrInput
	// The update time of the route table.
	UpdateTime pulumi.StringPtrInput
}

func (RouteTableState) ElementType

func (RouteTableState) ElementType() reflect.Type

type RouteTablesArgs

type RouteTablesArgs struct {
	// The ids of the transit router route table.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The type of the route table. The value can be System or Custom.
	TransitRouterRouteTableType *string `pulumi:"transitRouterRouteTableType"`
}

A collection of arguments for invoking RouteTables.

type RouteTablesOutputArgs

type RouteTablesOutputArgs struct {
	// The ids of the transit router route table.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The id of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The type of the route table. The value can be System or Custom.
	TransitRouterRouteTableType pulumi.StringPtrInput `pulumi:"transitRouterRouteTableType"`
}

A collection of arguments for invoking RouteTables.

func (RouteTablesOutputArgs) ElementType

func (RouteTablesOutputArgs) ElementType() reflect.Type

type RouteTablesResult

type RouteTablesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The list of route tables query.
	RouteTables []RouteTablesRouteTable `pulumi:"routeTables"`
	// The total count of data query.
	TotalCount      int    `pulumi:"totalCount"`
	TransitRouterId string `pulumi:"transitRouterId"`
	// The type of route table.
	TransitRouterRouteTableType *string `pulumi:"transitRouterRouteTableType"`
}

A collection of values returned by RouteTables.

func RouteTables

func RouteTables(ctx *pulumi.Context, args *RouteTablesArgs, opts ...pulumi.InvokeOption) (*RouteTablesResult, error)

Use this data source to query detailed information of transit router route tables ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.RouteTables(ctx, &transit_router.RouteTablesArgs{
			Ids: []string{
				"tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
			},
			TransitRouterId: "tr-2ff4v69tkxji859gp684cm14e",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RouteTablesResultOutput

type RouteTablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by RouteTables.

func (RouteTablesResultOutput) ElementType

func (RouteTablesResultOutput) ElementType() reflect.Type

func (RouteTablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (RouteTablesResultOutput) Ids

func (RouteTablesResultOutput) OutputFile

func (RouteTablesResultOutput) RouteTables

The list of route tables query.

func (RouteTablesResultOutput) ToRouteTablesResultOutput

func (o RouteTablesResultOutput) ToRouteTablesResultOutput() RouteTablesResultOutput

func (RouteTablesResultOutput) ToRouteTablesResultOutputWithContext

func (o RouteTablesResultOutput) ToRouteTablesResultOutputWithContext(ctx context.Context) RouteTablesResultOutput

func (RouteTablesResultOutput) TotalCount

func (o RouteTablesResultOutput) TotalCount() pulumi.IntOutput

The total count of data query.

func (RouteTablesResultOutput) TransitRouterId

func (o RouteTablesResultOutput) TransitRouterId() pulumi.StringOutput

func (RouteTablesResultOutput) TransitRouterRouteTableType

func (o RouteTablesResultOutput) TransitRouterRouteTableType() pulumi.StringPtrOutput

The type of route table.

type RouteTablesRouteTable

type RouteTablesRouteTable struct {
	// The creation time of the route table.
	CreationTime string `pulumi:"creationTime"`
	// The description.
	Description string `pulumi:"description"`
	// The status of the route table.
	Status string `pulumi:"status"`
	// The id of the route table.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
	// The name of the route table.
	TransitRouterRouteTableName string `pulumi:"transitRouterRouteTableName"`
	// The type of the route table. The value can be System or Custom.
	TransitRouterRouteTableType string `pulumi:"transitRouterRouteTableType"`
	// The update time of the route table.
	UpdateTime string `pulumi:"updateTime"`
}

type RouteTablesRouteTableArgs

type RouteTablesRouteTableArgs struct {
	// The creation time of the route table.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description.
	Description pulumi.StringInput `pulumi:"description"`
	// The status of the route table.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the route table.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
	// The name of the route table.
	TransitRouterRouteTableName pulumi.StringInput `pulumi:"transitRouterRouteTableName"`
	// The type of the route table. The value can be System or Custom.
	TransitRouterRouteTableType pulumi.StringInput `pulumi:"transitRouterRouteTableType"`
	// The update time of the route table.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (RouteTablesRouteTableArgs) ElementType

func (RouteTablesRouteTableArgs) ElementType() reflect.Type

func (RouteTablesRouteTableArgs) ToRouteTablesRouteTableOutput

func (i RouteTablesRouteTableArgs) ToRouteTablesRouteTableOutput() RouteTablesRouteTableOutput

func (RouteTablesRouteTableArgs) ToRouteTablesRouteTableOutputWithContext

func (i RouteTablesRouteTableArgs) ToRouteTablesRouteTableOutputWithContext(ctx context.Context) RouteTablesRouteTableOutput

type RouteTablesRouteTableArray

type RouteTablesRouteTableArray []RouteTablesRouteTableInput

func (RouteTablesRouteTableArray) ElementType

func (RouteTablesRouteTableArray) ElementType() reflect.Type

func (RouteTablesRouteTableArray) ToRouteTablesRouteTableArrayOutput

func (i RouteTablesRouteTableArray) ToRouteTablesRouteTableArrayOutput() RouteTablesRouteTableArrayOutput

func (RouteTablesRouteTableArray) ToRouteTablesRouteTableArrayOutputWithContext

func (i RouteTablesRouteTableArray) ToRouteTablesRouteTableArrayOutputWithContext(ctx context.Context) RouteTablesRouteTableArrayOutput

type RouteTablesRouteTableArrayInput

type RouteTablesRouteTableArrayInput interface {
	pulumi.Input

	ToRouteTablesRouteTableArrayOutput() RouteTablesRouteTableArrayOutput
	ToRouteTablesRouteTableArrayOutputWithContext(context.Context) RouteTablesRouteTableArrayOutput
}

RouteTablesRouteTableArrayInput is an input type that accepts RouteTablesRouteTableArray and RouteTablesRouteTableArrayOutput values. You can construct a concrete instance of `RouteTablesRouteTableArrayInput` via:

RouteTablesRouteTableArray{ RouteTablesRouteTableArgs{...} }

type RouteTablesRouteTableArrayOutput

type RouteTablesRouteTableArrayOutput struct{ *pulumi.OutputState }

func (RouteTablesRouteTableArrayOutput) ElementType

func (RouteTablesRouteTableArrayOutput) Index

func (RouteTablesRouteTableArrayOutput) ToRouteTablesRouteTableArrayOutput

func (o RouteTablesRouteTableArrayOutput) ToRouteTablesRouteTableArrayOutput() RouteTablesRouteTableArrayOutput

func (RouteTablesRouteTableArrayOutput) ToRouteTablesRouteTableArrayOutputWithContext

func (o RouteTablesRouteTableArrayOutput) ToRouteTablesRouteTableArrayOutputWithContext(ctx context.Context) RouteTablesRouteTableArrayOutput

type RouteTablesRouteTableInput

type RouteTablesRouteTableInput interface {
	pulumi.Input

	ToRouteTablesRouteTableOutput() RouteTablesRouteTableOutput
	ToRouteTablesRouteTableOutputWithContext(context.Context) RouteTablesRouteTableOutput
}

RouteTablesRouteTableInput is an input type that accepts RouteTablesRouteTableArgs and RouteTablesRouteTableOutput values. You can construct a concrete instance of `RouteTablesRouteTableInput` via:

RouteTablesRouteTableArgs{...}

type RouteTablesRouteTableOutput

type RouteTablesRouteTableOutput struct{ *pulumi.OutputState }

func (RouteTablesRouteTableOutput) CreationTime

The creation time of the route table.

func (RouteTablesRouteTableOutput) Description

The description.

func (RouteTablesRouteTableOutput) ElementType

func (RouteTablesRouteTableOutput) Status

The status of the route table.

func (RouteTablesRouteTableOutput) ToRouteTablesRouteTableOutput

func (o RouteTablesRouteTableOutput) ToRouteTablesRouteTableOutput() RouteTablesRouteTableOutput

func (RouteTablesRouteTableOutput) ToRouteTablesRouteTableOutputWithContext

func (o RouteTablesRouteTableOutput) ToRouteTablesRouteTableOutputWithContext(ctx context.Context) RouteTablesRouteTableOutput

func (RouteTablesRouteTableOutput) TransitRouterRouteTableId

func (o RouteTablesRouteTableOutput) TransitRouterRouteTableId() pulumi.StringOutput

The id of the route table.

func (RouteTablesRouteTableOutput) TransitRouterRouteTableName

func (o RouteTablesRouteTableOutput) TransitRouterRouteTableName() pulumi.StringOutput

The name of the route table.

func (RouteTablesRouteTableOutput) TransitRouterRouteTableType

func (o RouteTablesRouteTableOutput) TransitRouterRouteTableType() pulumi.StringOutput

The type of the route table. The value can be System or Custom.

func (RouteTablesRouteTableOutput) UpdateTime

The update time of the route table.

type SharedTransitRouterState added in v0.0.20

type SharedTransitRouterState struct {
	pulumi.CustomResourceState

	// `Accept` or `Reject` the shared transit router.
	Action pulumi.StringOutput `pulumi:"action"`
	// The id of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
}

Provides a resource to manage transit router shared transit router state ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewSharedTransitRouterState(ctx, "foo", &transit_router.SharedTransitRouterStateArgs{
			Action:          pulumi.String("Reject"),
			TransitRouterId: pulumi.String("tr-2bzy39uy6u3282dx0efxiqyq0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:transit_router/sharedTransitRouterState:SharedTransitRouterState default state:transitRouterId

```

func GetSharedTransitRouterState added in v0.0.20

func GetSharedTransitRouterState(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SharedTransitRouterStateState, opts ...pulumi.ResourceOption) (*SharedTransitRouterState, error)

GetSharedTransitRouterState gets an existing SharedTransitRouterState 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 NewSharedTransitRouterState added in v0.0.20

func NewSharedTransitRouterState(ctx *pulumi.Context,
	name string, args *SharedTransitRouterStateArgs, opts ...pulumi.ResourceOption) (*SharedTransitRouterState, error)

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

func (*SharedTransitRouterState) ElementType added in v0.0.20

func (*SharedTransitRouterState) ElementType() reflect.Type

func (*SharedTransitRouterState) ToSharedTransitRouterStateOutput added in v0.0.20

func (i *SharedTransitRouterState) ToSharedTransitRouterStateOutput() SharedTransitRouterStateOutput

func (*SharedTransitRouterState) ToSharedTransitRouterStateOutputWithContext added in v0.0.20

func (i *SharedTransitRouterState) ToSharedTransitRouterStateOutputWithContext(ctx context.Context) SharedTransitRouterStateOutput

type SharedTransitRouterStateArgs added in v0.0.20

type SharedTransitRouterStateArgs struct {
	// `Accept` or `Reject` the shared transit router.
	Action pulumi.StringInput
	// The id of the transit router.
	TransitRouterId pulumi.StringInput
}

The set of arguments for constructing a SharedTransitRouterState resource.

func (SharedTransitRouterStateArgs) ElementType added in v0.0.20

type SharedTransitRouterStateArray added in v0.0.20

type SharedTransitRouterStateArray []SharedTransitRouterStateInput

func (SharedTransitRouterStateArray) ElementType added in v0.0.20

func (SharedTransitRouterStateArray) ToSharedTransitRouterStateArrayOutput added in v0.0.20

func (i SharedTransitRouterStateArray) ToSharedTransitRouterStateArrayOutput() SharedTransitRouterStateArrayOutput

func (SharedTransitRouterStateArray) ToSharedTransitRouterStateArrayOutputWithContext added in v0.0.20

func (i SharedTransitRouterStateArray) ToSharedTransitRouterStateArrayOutputWithContext(ctx context.Context) SharedTransitRouterStateArrayOutput

type SharedTransitRouterStateArrayInput added in v0.0.20

type SharedTransitRouterStateArrayInput interface {
	pulumi.Input

	ToSharedTransitRouterStateArrayOutput() SharedTransitRouterStateArrayOutput
	ToSharedTransitRouterStateArrayOutputWithContext(context.Context) SharedTransitRouterStateArrayOutput
}

SharedTransitRouterStateArrayInput is an input type that accepts SharedTransitRouterStateArray and SharedTransitRouterStateArrayOutput values. You can construct a concrete instance of `SharedTransitRouterStateArrayInput` via:

SharedTransitRouterStateArray{ SharedTransitRouterStateArgs{...} }

type SharedTransitRouterStateArrayOutput added in v0.0.20

type SharedTransitRouterStateArrayOutput struct{ *pulumi.OutputState }

func (SharedTransitRouterStateArrayOutput) ElementType added in v0.0.20

func (SharedTransitRouterStateArrayOutput) Index added in v0.0.20

func (SharedTransitRouterStateArrayOutput) ToSharedTransitRouterStateArrayOutput added in v0.0.20

func (o SharedTransitRouterStateArrayOutput) ToSharedTransitRouterStateArrayOutput() SharedTransitRouterStateArrayOutput

func (SharedTransitRouterStateArrayOutput) ToSharedTransitRouterStateArrayOutputWithContext added in v0.0.20

func (o SharedTransitRouterStateArrayOutput) ToSharedTransitRouterStateArrayOutputWithContext(ctx context.Context) SharedTransitRouterStateArrayOutput

type SharedTransitRouterStateInput added in v0.0.20

type SharedTransitRouterStateInput interface {
	pulumi.Input

	ToSharedTransitRouterStateOutput() SharedTransitRouterStateOutput
	ToSharedTransitRouterStateOutputWithContext(ctx context.Context) SharedTransitRouterStateOutput
}

type SharedTransitRouterStateMap added in v0.0.20

type SharedTransitRouterStateMap map[string]SharedTransitRouterStateInput

func (SharedTransitRouterStateMap) ElementType added in v0.0.20

func (SharedTransitRouterStateMap) ToSharedTransitRouterStateMapOutput added in v0.0.20

func (i SharedTransitRouterStateMap) ToSharedTransitRouterStateMapOutput() SharedTransitRouterStateMapOutput

func (SharedTransitRouterStateMap) ToSharedTransitRouterStateMapOutputWithContext added in v0.0.20

func (i SharedTransitRouterStateMap) ToSharedTransitRouterStateMapOutputWithContext(ctx context.Context) SharedTransitRouterStateMapOutput

type SharedTransitRouterStateMapInput added in v0.0.20

type SharedTransitRouterStateMapInput interface {
	pulumi.Input

	ToSharedTransitRouterStateMapOutput() SharedTransitRouterStateMapOutput
	ToSharedTransitRouterStateMapOutputWithContext(context.Context) SharedTransitRouterStateMapOutput
}

SharedTransitRouterStateMapInput is an input type that accepts SharedTransitRouterStateMap and SharedTransitRouterStateMapOutput values. You can construct a concrete instance of `SharedTransitRouterStateMapInput` via:

SharedTransitRouterStateMap{ "key": SharedTransitRouterStateArgs{...} }

type SharedTransitRouterStateMapOutput added in v0.0.20

type SharedTransitRouterStateMapOutput struct{ *pulumi.OutputState }

func (SharedTransitRouterStateMapOutput) ElementType added in v0.0.20

func (SharedTransitRouterStateMapOutput) MapIndex added in v0.0.20

func (SharedTransitRouterStateMapOutput) ToSharedTransitRouterStateMapOutput added in v0.0.20

func (o SharedTransitRouterStateMapOutput) ToSharedTransitRouterStateMapOutput() SharedTransitRouterStateMapOutput

func (SharedTransitRouterStateMapOutput) ToSharedTransitRouterStateMapOutputWithContext added in v0.0.20

func (o SharedTransitRouterStateMapOutput) ToSharedTransitRouterStateMapOutputWithContext(ctx context.Context) SharedTransitRouterStateMapOutput

type SharedTransitRouterStateOutput added in v0.0.20

type SharedTransitRouterStateOutput struct{ *pulumi.OutputState }

func (SharedTransitRouterStateOutput) Action added in v0.0.20

`Accept` or `Reject` the shared transit router.

func (SharedTransitRouterStateOutput) ElementType added in v0.0.20

func (SharedTransitRouterStateOutput) ToSharedTransitRouterStateOutput added in v0.0.20

func (o SharedTransitRouterStateOutput) ToSharedTransitRouterStateOutput() SharedTransitRouterStateOutput

func (SharedTransitRouterStateOutput) ToSharedTransitRouterStateOutputWithContext added in v0.0.20

func (o SharedTransitRouterStateOutput) ToSharedTransitRouterStateOutputWithContext(ctx context.Context) SharedTransitRouterStateOutput

func (SharedTransitRouterStateOutput) TransitRouterId added in v0.0.20

The id of the transit router.

type SharedTransitRouterStateState added in v0.0.20

type SharedTransitRouterStateState struct {
	// `Accept` or `Reject` the shared transit router.
	Action pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringPtrInput
}

func (SharedTransitRouterStateState) ElementType added in v0.0.20

type TransitRouter

type TransitRouter struct {
	pulumi.CustomResourceState

	// The ID of account.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The business status of the transit router.
	BusinessStatus pulumi.StringOutput `pulumi:"businessStatus"`
	// The create time.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the transit router.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The overdue time.
	OverdueTime pulumi.StringOutput `pulumi:"overdueTime"`
	// The status of the transit router.
	Status pulumi.StringOutput `pulumi:"status"`
	// The attachments of transit router.
	TransitRouterAttachments TransitRouterTransitRouterAttachmentArrayOutput `pulumi:"transitRouterAttachments"`
	// The ID of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
	// The name of the transit router.
	TransitRouterName pulumi.StringOutput `pulumi:"transitRouterName"`
	// The update time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage transit router ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewTransitRouter(ctx, "foo", &transit_router.TransitRouterArgs{
			Description:       pulumi.String("acc-test"),
			TransitRouterName: pulumi.String("acc-test-tr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import volcengine:transit_router/transitRouter:TransitRouter default tr-2d6fr7mzya2gw58ozfes5g2oh

```

func GetTransitRouter

func GetTransitRouter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterState, opts ...pulumi.ResourceOption) (*TransitRouter, error)

GetTransitRouter gets an existing TransitRouter 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 NewTransitRouter

func NewTransitRouter(ctx *pulumi.Context,
	name string, args *TransitRouterArgs, opts ...pulumi.ResourceOption) (*TransitRouter, error)

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

func (*TransitRouter) ElementType

func (*TransitRouter) ElementType() reflect.Type

func (*TransitRouter) ToTransitRouterOutput

func (i *TransitRouter) ToTransitRouterOutput() TransitRouterOutput

func (*TransitRouter) ToTransitRouterOutputWithContext

func (i *TransitRouter) ToTransitRouterOutputWithContext(ctx context.Context) TransitRouterOutput

type TransitRouterArgs

type TransitRouterArgs struct {
	// The description of the transit router.
	Description pulumi.StringPtrInput
	// The name of the transit router.
	TransitRouterName pulumi.StringPtrInput
}

The set of arguments for constructing a TransitRouter resource.

func (TransitRouterArgs) ElementType

func (TransitRouterArgs) ElementType() reflect.Type

type TransitRouterArray

type TransitRouterArray []TransitRouterInput

func (TransitRouterArray) ElementType

func (TransitRouterArray) ElementType() reflect.Type

func (TransitRouterArray) ToTransitRouterArrayOutput

func (i TransitRouterArray) ToTransitRouterArrayOutput() TransitRouterArrayOutput

func (TransitRouterArray) ToTransitRouterArrayOutputWithContext

func (i TransitRouterArray) ToTransitRouterArrayOutputWithContext(ctx context.Context) TransitRouterArrayOutput

type TransitRouterArrayInput

type TransitRouterArrayInput interface {
	pulumi.Input

	ToTransitRouterArrayOutput() TransitRouterArrayOutput
	ToTransitRouterArrayOutputWithContext(context.Context) TransitRouterArrayOutput
}

TransitRouterArrayInput is an input type that accepts TransitRouterArray and TransitRouterArrayOutput values. You can construct a concrete instance of `TransitRouterArrayInput` via:

TransitRouterArray{ TransitRouterArgs{...} }

type TransitRouterArrayOutput

type TransitRouterArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterArrayOutput) ElementType

func (TransitRouterArrayOutput) ElementType() reflect.Type

func (TransitRouterArrayOutput) Index

func (TransitRouterArrayOutput) ToTransitRouterArrayOutput

func (o TransitRouterArrayOutput) ToTransitRouterArrayOutput() TransitRouterArrayOutput

func (TransitRouterArrayOutput) ToTransitRouterArrayOutputWithContext

func (o TransitRouterArrayOutput) ToTransitRouterArrayOutputWithContext(ctx context.Context) TransitRouterArrayOutput

type TransitRouterInput

type TransitRouterInput interface {
	pulumi.Input

	ToTransitRouterOutput() TransitRouterOutput
	ToTransitRouterOutputWithContext(ctx context.Context) TransitRouterOutput
}

type TransitRouterMap

type TransitRouterMap map[string]TransitRouterInput

func (TransitRouterMap) ElementType

func (TransitRouterMap) ElementType() reflect.Type

func (TransitRouterMap) ToTransitRouterMapOutput

func (i TransitRouterMap) ToTransitRouterMapOutput() TransitRouterMapOutput

func (TransitRouterMap) ToTransitRouterMapOutputWithContext

func (i TransitRouterMap) ToTransitRouterMapOutputWithContext(ctx context.Context) TransitRouterMapOutput

type TransitRouterMapInput

type TransitRouterMapInput interface {
	pulumi.Input

	ToTransitRouterMapOutput() TransitRouterMapOutput
	ToTransitRouterMapOutputWithContext(context.Context) TransitRouterMapOutput
}

TransitRouterMapInput is an input type that accepts TransitRouterMap and TransitRouterMapOutput values. You can construct a concrete instance of `TransitRouterMapInput` via:

TransitRouterMap{ "key": TransitRouterArgs{...} }

type TransitRouterMapOutput

type TransitRouterMapOutput struct{ *pulumi.OutputState }

func (TransitRouterMapOutput) ElementType

func (TransitRouterMapOutput) ElementType() reflect.Type

func (TransitRouterMapOutput) MapIndex

func (TransitRouterMapOutput) ToTransitRouterMapOutput

func (o TransitRouterMapOutput) ToTransitRouterMapOutput() TransitRouterMapOutput

func (TransitRouterMapOutput) ToTransitRouterMapOutputWithContext

func (o TransitRouterMapOutput) ToTransitRouterMapOutputWithContext(ctx context.Context) TransitRouterMapOutput

type TransitRouterOutput

type TransitRouterOutput struct{ *pulumi.OutputState }

func (TransitRouterOutput) AccountId

func (o TransitRouterOutput) AccountId() pulumi.StringOutput

The ID of account.

func (TransitRouterOutput) BusinessStatus

func (o TransitRouterOutput) BusinessStatus() pulumi.StringOutput

The business status of the transit router.

func (TransitRouterOutput) CreationTime

func (o TransitRouterOutput) CreationTime() pulumi.StringOutput

The create time.

func (TransitRouterOutput) Description

func (o TransitRouterOutput) Description() pulumi.StringPtrOutput

The description of the transit router.

func (TransitRouterOutput) ElementType

func (TransitRouterOutput) ElementType() reflect.Type

func (TransitRouterOutput) OverdueTime

func (o TransitRouterOutput) OverdueTime() pulumi.StringOutput

The overdue time.

func (TransitRouterOutput) Status

The status of the transit router.

func (TransitRouterOutput) ToTransitRouterOutput

func (o TransitRouterOutput) ToTransitRouterOutput() TransitRouterOutput

func (TransitRouterOutput) ToTransitRouterOutputWithContext

func (o TransitRouterOutput) ToTransitRouterOutputWithContext(ctx context.Context) TransitRouterOutput

func (TransitRouterOutput) TransitRouterAttachments

The attachments of transit router.

func (TransitRouterOutput) TransitRouterId

func (o TransitRouterOutput) TransitRouterId() pulumi.StringOutput

The ID of the transit router.

func (TransitRouterOutput) TransitRouterName

func (o TransitRouterOutput) TransitRouterName() pulumi.StringOutput

The name of the transit router.

func (TransitRouterOutput) UpdateTime

func (o TransitRouterOutput) UpdateTime() pulumi.StringOutput

The update time.

type TransitRouterState

type TransitRouterState struct {
	// The ID of account.
	AccountId pulumi.StringPtrInput
	// The business status of the transit router.
	BusinessStatus pulumi.StringPtrInput
	// The create time.
	CreationTime pulumi.StringPtrInput
	// The description of the transit router.
	Description pulumi.StringPtrInput
	// The overdue time.
	OverdueTime pulumi.StringPtrInput
	// The status of the transit router.
	Status pulumi.StringPtrInput
	// The attachments of transit router.
	TransitRouterAttachments TransitRouterTransitRouterAttachmentArrayInput
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The name of the transit router.
	TransitRouterName pulumi.StringPtrInput
	// The update time.
	UpdateTime pulumi.StringPtrInput
}

func (TransitRouterState) ElementType

func (TransitRouterState) ElementType() reflect.Type

type TransitRouterTransitRouterAttachment

type TransitRouterTransitRouterAttachment struct {
	// The create time.
	CreationTime *string `pulumi:"creationTime"`
	// The id of resource.
	ResourceId *string `pulumi:"resourceId"`
	// The type of resource.
	ResourceType *string `pulumi:"resourceType"`
	// The status of the transit router.
	Status *string `pulumi:"status"`
	// The id of transit router attachment.
	TransitRouterAttachmentId *string `pulumi:"transitRouterAttachmentId"`
	// The name of transit router attachment.
	TransitRouterAttachmentName *string `pulumi:"transitRouterAttachmentName"`
	// The id of transit router route table.
	TransitRouterRouteTableId *string `pulumi:"transitRouterRouteTableId"`
	// The update time.
	UpdateTime *string `pulumi:"updateTime"`
}

type TransitRouterTransitRouterAttachmentArgs

type TransitRouterTransitRouterAttachmentArgs struct {
	// The create time.
	CreationTime pulumi.StringPtrInput `pulumi:"creationTime"`
	// The id of resource.
	ResourceId pulumi.StringPtrInput `pulumi:"resourceId"`
	// The type of resource.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
	// The status of the transit router.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The id of transit router attachment.
	TransitRouterAttachmentId pulumi.StringPtrInput `pulumi:"transitRouterAttachmentId"`
	// The name of transit router attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput `pulumi:"transitRouterAttachmentName"`
	// The id of transit router route table.
	TransitRouterRouteTableId pulumi.StringPtrInput `pulumi:"transitRouterRouteTableId"`
	// The update time.
	UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"`
}

func (TransitRouterTransitRouterAttachmentArgs) ElementType

func (TransitRouterTransitRouterAttachmentArgs) ToTransitRouterTransitRouterAttachmentOutput

func (i TransitRouterTransitRouterAttachmentArgs) ToTransitRouterTransitRouterAttachmentOutput() TransitRouterTransitRouterAttachmentOutput

func (TransitRouterTransitRouterAttachmentArgs) ToTransitRouterTransitRouterAttachmentOutputWithContext

func (i TransitRouterTransitRouterAttachmentArgs) ToTransitRouterTransitRouterAttachmentOutputWithContext(ctx context.Context) TransitRouterTransitRouterAttachmentOutput

type TransitRouterTransitRouterAttachmentArray

type TransitRouterTransitRouterAttachmentArray []TransitRouterTransitRouterAttachmentInput

func (TransitRouterTransitRouterAttachmentArray) ElementType

func (TransitRouterTransitRouterAttachmentArray) ToTransitRouterTransitRouterAttachmentArrayOutput

func (i TransitRouterTransitRouterAttachmentArray) ToTransitRouterTransitRouterAttachmentArrayOutput() TransitRouterTransitRouterAttachmentArrayOutput

func (TransitRouterTransitRouterAttachmentArray) ToTransitRouterTransitRouterAttachmentArrayOutputWithContext

func (i TransitRouterTransitRouterAttachmentArray) ToTransitRouterTransitRouterAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterTransitRouterAttachmentArrayOutput

type TransitRouterTransitRouterAttachmentArrayInput

type TransitRouterTransitRouterAttachmentArrayInput interface {
	pulumi.Input

	ToTransitRouterTransitRouterAttachmentArrayOutput() TransitRouterTransitRouterAttachmentArrayOutput
	ToTransitRouterTransitRouterAttachmentArrayOutputWithContext(context.Context) TransitRouterTransitRouterAttachmentArrayOutput
}

TransitRouterTransitRouterAttachmentArrayInput is an input type that accepts TransitRouterTransitRouterAttachmentArray and TransitRouterTransitRouterAttachmentArrayOutput values. You can construct a concrete instance of `TransitRouterTransitRouterAttachmentArrayInput` via:

TransitRouterTransitRouterAttachmentArray{ TransitRouterTransitRouterAttachmentArgs{...} }

type TransitRouterTransitRouterAttachmentArrayOutput

type TransitRouterTransitRouterAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterTransitRouterAttachmentArrayOutput) ElementType

func (TransitRouterTransitRouterAttachmentArrayOutput) Index

func (TransitRouterTransitRouterAttachmentArrayOutput) ToTransitRouterTransitRouterAttachmentArrayOutput

func (o TransitRouterTransitRouterAttachmentArrayOutput) ToTransitRouterTransitRouterAttachmentArrayOutput() TransitRouterTransitRouterAttachmentArrayOutput

func (TransitRouterTransitRouterAttachmentArrayOutput) ToTransitRouterTransitRouterAttachmentArrayOutputWithContext

func (o TransitRouterTransitRouterAttachmentArrayOutput) ToTransitRouterTransitRouterAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterTransitRouterAttachmentArrayOutput

type TransitRouterTransitRouterAttachmentInput

type TransitRouterTransitRouterAttachmentInput interface {
	pulumi.Input

	ToTransitRouterTransitRouterAttachmentOutput() TransitRouterTransitRouterAttachmentOutput
	ToTransitRouterTransitRouterAttachmentOutputWithContext(context.Context) TransitRouterTransitRouterAttachmentOutput
}

TransitRouterTransitRouterAttachmentInput is an input type that accepts TransitRouterTransitRouterAttachmentArgs and TransitRouterTransitRouterAttachmentOutput values. You can construct a concrete instance of `TransitRouterTransitRouterAttachmentInput` via:

TransitRouterTransitRouterAttachmentArgs{...}

type TransitRouterTransitRouterAttachmentOutput

type TransitRouterTransitRouterAttachmentOutput struct{ *pulumi.OutputState }

func (TransitRouterTransitRouterAttachmentOutput) CreationTime

The create time.

func (TransitRouterTransitRouterAttachmentOutput) ElementType

func (TransitRouterTransitRouterAttachmentOutput) ResourceId

The id of resource.

func (TransitRouterTransitRouterAttachmentOutput) ResourceType

The type of resource.

func (TransitRouterTransitRouterAttachmentOutput) Status

The status of the transit router.

func (TransitRouterTransitRouterAttachmentOutput) ToTransitRouterTransitRouterAttachmentOutput

func (o TransitRouterTransitRouterAttachmentOutput) ToTransitRouterTransitRouterAttachmentOutput() TransitRouterTransitRouterAttachmentOutput

func (TransitRouterTransitRouterAttachmentOutput) ToTransitRouterTransitRouterAttachmentOutputWithContext

func (o TransitRouterTransitRouterAttachmentOutput) ToTransitRouterTransitRouterAttachmentOutputWithContext(ctx context.Context) TransitRouterTransitRouterAttachmentOutput

func (TransitRouterTransitRouterAttachmentOutput) TransitRouterAttachmentId

The id of transit router attachment.

func (TransitRouterTransitRouterAttachmentOutput) TransitRouterAttachmentName

func (o TransitRouterTransitRouterAttachmentOutput) TransitRouterAttachmentName() pulumi.StringPtrOutput

The name of transit router attachment.

func (TransitRouterTransitRouterAttachmentOutput) TransitRouterRouteTableId

The id of transit router route table.

func (TransitRouterTransitRouterAttachmentOutput) UpdateTime

The update time.

type TransitRoutersArgs

type TransitRoutersArgs struct {
	// A list of Transit Router ids.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The name info.
	TransitRouterName *string `pulumi:"transitRouterName"`
}

A collection of arguments for invoking TransitRouters.

type TransitRoutersOutputArgs

type TransitRoutersOutputArgs struct {
	// A list of Transit Router ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name info.
	TransitRouterName pulumi.StringPtrInput `pulumi:"transitRouterName"`
}

A collection of arguments for invoking TransitRouters.

func (TransitRoutersOutputArgs) ElementType

func (TransitRoutersOutputArgs) ElementType() reflect.Type

type TransitRoutersResult

type TransitRoutersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The name of the transit router.
	TransitRouterName *string `pulumi:"transitRouterName"`
	// The collection of query.
	TransitRouters []TransitRoutersTransitRouter `pulumi:"transitRouters"`
}

A collection of values returned by TransitRouters.

func TransitRouters

func TransitRouters(ctx *pulumi.Context, args *TransitRoutersArgs, opts ...pulumi.InvokeOption) (*TransitRoutersResult, error)

Use this data source to query detailed information of transit routers ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.TransitRouters(ctx, &transit_router.TransitRoutersArgs{
			Ids: []string{
				"tr-2d6fr7mzya2gw58ozfes5g2oh",
			},
			TransitRouterName: pulumi.StringRef("tf2"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type TransitRoutersResultOutput

type TransitRoutersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by TransitRouters.

func (TransitRoutersResultOutput) ElementType

func (TransitRoutersResultOutput) ElementType() reflect.Type

func (TransitRoutersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (TransitRoutersResultOutput) Ids

func (TransitRoutersResultOutput) OutputFile

func (TransitRoutersResultOutput) ToTransitRoutersResultOutput

func (o TransitRoutersResultOutput) ToTransitRoutersResultOutput() TransitRoutersResultOutput

func (TransitRoutersResultOutput) ToTransitRoutersResultOutputWithContext

func (o TransitRoutersResultOutput) ToTransitRoutersResultOutputWithContext(ctx context.Context) TransitRoutersResultOutput

func (TransitRoutersResultOutput) TotalCount

The total count of query.

func (TransitRoutersResultOutput) TransitRouterName

func (o TransitRoutersResultOutput) TransitRouterName() pulumi.StringPtrOutput

The name of the transit router.

func (TransitRoutersResultOutput) TransitRouters

The collection of query.

type TransitRoutersTransitRouter

type TransitRoutersTransitRouter struct {
	// The ID of account.
	AccountId string `pulumi:"accountId"`
	// The business status of the transit router.
	BusinessStatus string `pulumi:"businessStatus"`
	// The create time.
	CreationTime string `pulumi:"creationTime"`
	// The description info.
	Description string `pulumi:"description"`
	// The ID of the transit router.
	Id string `pulumi:"id"`
	// The overdue time.
	OverdueTime string `pulumi:"overdueTime"`
	// The status of the transit router.
	Status string `pulumi:"status"`
	// The attachments of transit router.
	TransitRouterAttachments []TransitRoutersTransitRouterTransitRouterAttachment `pulumi:"transitRouterAttachments"`
	// The ID of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The name info.
	TransitRouterName string `pulumi:"transitRouterName"`
	// The update time.
	UpdateTime string `pulumi:"updateTime"`
}

type TransitRoutersTransitRouterArgs

type TransitRoutersTransitRouterArgs struct {
	// The ID of account.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The business status of the transit router.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The create time.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description info.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the transit router.
	Id pulumi.StringInput `pulumi:"id"`
	// The overdue time.
	OverdueTime pulumi.StringInput `pulumi:"overdueTime"`
	// The status of the transit router.
	Status pulumi.StringInput `pulumi:"status"`
	// The attachments of transit router.
	TransitRouterAttachments TransitRoutersTransitRouterTransitRouterAttachmentArrayInput `pulumi:"transitRouterAttachments"`
	// The ID of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The name info.
	TransitRouterName pulumi.StringInput `pulumi:"transitRouterName"`
	// The update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (TransitRoutersTransitRouterArgs) ElementType

func (TransitRoutersTransitRouterArgs) ToTransitRoutersTransitRouterOutput

func (i TransitRoutersTransitRouterArgs) ToTransitRoutersTransitRouterOutput() TransitRoutersTransitRouterOutput

func (TransitRoutersTransitRouterArgs) ToTransitRoutersTransitRouterOutputWithContext

func (i TransitRoutersTransitRouterArgs) ToTransitRoutersTransitRouterOutputWithContext(ctx context.Context) TransitRoutersTransitRouterOutput

type TransitRoutersTransitRouterArray

type TransitRoutersTransitRouterArray []TransitRoutersTransitRouterInput

func (TransitRoutersTransitRouterArray) ElementType

func (TransitRoutersTransitRouterArray) ToTransitRoutersTransitRouterArrayOutput

func (i TransitRoutersTransitRouterArray) ToTransitRoutersTransitRouterArrayOutput() TransitRoutersTransitRouterArrayOutput

func (TransitRoutersTransitRouterArray) ToTransitRoutersTransitRouterArrayOutputWithContext

func (i TransitRoutersTransitRouterArray) ToTransitRoutersTransitRouterArrayOutputWithContext(ctx context.Context) TransitRoutersTransitRouterArrayOutput

type TransitRoutersTransitRouterArrayInput

type TransitRoutersTransitRouterArrayInput interface {
	pulumi.Input

	ToTransitRoutersTransitRouterArrayOutput() TransitRoutersTransitRouterArrayOutput
	ToTransitRoutersTransitRouterArrayOutputWithContext(context.Context) TransitRoutersTransitRouterArrayOutput
}

TransitRoutersTransitRouterArrayInput is an input type that accepts TransitRoutersTransitRouterArray and TransitRoutersTransitRouterArrayOutput values. You can construct a concrete instance of `TransitRoutersTransitRouterArrayInput` via:

TransitRoutersTransitRouterArray{ TransitRoutersTransitRouterArgs{...} }

type TransitRoutersTransitRouterArrayOutput

type TransitRoutersTransitRouterArrayOutput struct{ *pulumi.OutputState }

func (TransitRoutersTransitRouterArrayOutput) ElementType

func (TransitRoutersTransitRouterArrayOutput) Index

func (TransitRoutersTransitRouterArrayOutput) ToTransitRoutersTransitRouterArrayOutput

func (o TransitRoutersTransitRouterArrayOutput) ToTransitRoutersTransitRouterArrayOutput() TransitRoutersTransitRouterArrayOutput

func (TransitRoutersTransitRouterArrayOutput) ToTransitRoutersTransitRouterArrayOutputWithContext

func (o TransitRoutersTransitRouterArrayOutput) ToTransitRoutersTransitRouterArrayOutputWithContext(ctx context.Context) TransitRoutersTransitRouterArrayOutput

type TransitRoutersTransitRouterInput

type TransitRoutersTransitRouterInput interface {
	pulumi.Input

	ToTransitRoutersTransitRouterOutput() TransitRoutersTransitRouterOutput
	ToTransitRoutersTransitRouterOutputWithContext(context.Context) TransitRoutersTransitRouterOutput
}

TransitRoutersTransitRouterInput is an input type that accepts TransitRoutersTransitRouterArgs and TransitRoutersTransitRouterOutput values. You can construct a concrete instance of `TransitRoutersTransitRouterInput` via:

TransitRoutersTransitRouterArgs{...}

type TransitRoutersTransitRouterOutput

type TransitRoutersTransitRouterOutput struct{ *pulumi.OutputState }

func (TransitRoutersTransitRouterOutput) AccountId

The ID of account.

func (TransitRoutersTransitRouterOutput) BusinessStatus

The business status of the transit router.

func (TransitRoutersTransitRouterOutput) CreationTime

The create time.

func (TransitRoutersTransitRouterOutput) Description

The description info.

func (TransitRoutersTransitRouterOutput) ElementType

func (TransitRoutersTransitRouterOutput) Id

The ID of the transit router.

func (TransitRoutersTransitRouterOutput) OverdueTime

The overdue time.

func (TransitRoutersTransitRouterOutput) Status

The status of the transit router.

func (TransitRoutersTransitRouterOutput) ToTransitRoutersTransitRouterOutput

func (o TransitRoutersTransitRouterOutput) ToTransitRoutersTransitRouterOutput() TransitRoutersTransitRouterOutput

func (TransitRoutersTransitRouterOutput) ToTransitRoutersTransitRouterOutputWithContext

func (o TransitRoutersTransitRouterOutput) ToTransitRoutersTransitRouterOutputWithContext(ctx context.Context) TransitRoutersTransitRouterOutput

func (TransitRoutersTransitRouterOutput) TransitRouterAttachments

The attachments of transit router.

func (TransitRoutersTransitRouterOutput) TransitRouterId

The ID of the transit router.

func (TransitRoutersTransitRouterOutput) TransitRouterName

The name info.

func (TransitRoutersTransitRouterOutput) UpdateTime

The update time.

type TransitRoutersTransitRouterTransitRouterAttachment

type TransitRoutersTransitRouterTransitRouterAttachment struct {
	// The create time.
	CreationTime string `pulumi:"creationTime"`
	// The id of resource.
	ResourceId string `pulumi:"resourceId"`
	// The type of resource.
	ResourceType string `pulumi:"resourceType"`
	// The status of the transit router.
	Status string `pulumi:"status"`
	// The id of transit router attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// The name of transit router attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// The id of transit router route table.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
	// The update time.
	UpdateTime string `pulumi:"updateTime"`
}

type TransitRoutersTransitRouterTransitRouterAttachmentArgs

type TransitRoutersTransitRouterTransitRouterAttachmentArgs struct {
	// The create time.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The id of resource.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The type of resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The status of the transit router.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// The name of transit router attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// The id of transit router route table.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
	// The update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (TransitRoutersTransitRouterTransitRouterAttachmentArgs) ElementType

func (TransitRoutersTransitRouterTransitRouterAttachmentArgs) ToTransitRoutersTransitRouterTransitRouterAttachmentOutput

func (TransitRoutersTransitRouterTransitRouterAttachmentArgs) ToTransitRoutersTransitRouterTransitRouterAttachmentOutputWithContext

func (i TransitRoutersTransitRouterTransitRouterAttachmentArgs) ToTransitRoutersTransitRouterTransitRouterAttachmentOutputWithContext(ctx context.Context) TransitRoutersTransitRouterTransitRouterAttachmentOutput

type TransitRoutersTransitRouterTransitRouterAttachmentArray

type TransitRoutersTransitRouterTransitRouterAttachmentArray []TransitRoutersTransitRouterTransitRouterAttachmentInput

func (TransitRoutersTransitRouterTransitRouterAttachmentArray) ElementType

func (TransitRoutersTransitRouterTransitRouterAttachmentArray) ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutput

func (i TransitRoutersTransitRouterTransitRouterAttachmentArray) ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutput() TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput

func (TransitRoutersTransitRouterTransitRouterAttachmentArray) ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutputWithContext

func (i TransitRoutersTransitRouterTransitRouterAttachmentArray) ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutputWithContext(ctx context.Context) TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput

type TransitRoutersTransitRouterTransitRouterAttachmentArrayInput

type TransitRoutersTransitRouterTransitRouterAttachmentArrayInput interface {
	pulumi.Input

	ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutput() TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput
	ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutputWithContext(context.Context) TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput
}

TransitRoutersTransitRouterTransitRouterAttachmentArrayInput is an input type that accepts TransitRoutersTransitRouterTransitRouterAttachmentArray and TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput values. You can construct a concrete instance of `TransitRoutersTransitRouterTransitRouterAttachmentArrayInput` via:

TransitRoutersTransitRouterTransitRouterAttachmentArray{ TransitRoutersTransitRouterTransitRouterAttachmentArgs{...} }

type TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput

type TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput) ElementType

func (TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput) Index

func (TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput) ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutput

func (TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput) ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutputWithContext

func (o TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput) ToTransitRoutersTransitRouterTransitRouterAttachmentArrayOutputWithContext(ctx context.Context) TransitRoutersTransitRouterTransitRouterAttachmentArrayOutput

type TransitRoutersTransitRouterTransitRouterAttachmentInput

type TransitRoutersTransitRouterTransitRouterAttachmentInput interface {
	pulumi.Input

	ToTransitRoutersTransitRouterTransitRouterAttachmentOutput() TransitRoutersTransitRouterTransitRouterAttachmentOutput
	ToTransitRoutersTransitRouterTransitRouterAttachmentOutputWithContext(context.Context) TransitRoutersTransitRouterTransitRouterAttachmentOutput
}

TransitRoutersTransitRouterTransitRouterAttachmentInput is an input type that accepts TransitRoutersTransitRouterTransitRouterAttachmentArgs and TransitRoutersTransitRouterTransitRouterAttachmentOutput values. You can construct a concrete instance of `TransitRoutersTransitRouterTransitRouterAttachmentInput` via:

TransitRoutersTransitRouterTransitRouterAttachmentArgs{...}

type TransitRoutersTransitRouterTransitRouterAttachmentOutput

type TransitRoutersTransitRouterTransitRouterAttachmentOutput struct{ *pulumi.OutputState }

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) CreationTime

The create time.

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) ElementType

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) ResourceId

The id of resource.

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) ResourceType

The type of resource.

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) Status

The status of the transit router.

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) ToTransitRoutersTransitRouterTransitRouterAttachmentOutput

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) ToTransitRoutersTransitRouterTransitRouterAttachmentOutputWithContext

func (o TransitRoutersTransitRouterTransitRouterAttachmentOutput) ToTransitRoutersTransitRouterTransitRouterAttachmentOutputWithContext(ctx context.Context) TransitRoutersTransitRouterTransitRouterAttachmentOutput

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) TransitRouterAttachmentId

The id of transit router attachment.

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) TransitRouterAttachmentName

The name of transit router attachment.

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) TransitRouterRouteTableId

The id of transit router route table.

func (TransitRoutersTransitRouterTransitRouterAttachmentOutput) UpdateTime

The update time.

type VpcAttachment

type VpcAttachment struct {
	pulumi.CustomResourceState

	// The attach points of transit router vpc attachment.
	AttachPoints VpcAttachmentAttachPointArrayOutput `pulumi:"attachPoints"`
	// The create time.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the transit router vpc attachment.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The status of the transit router.
	Status pulumi.StringOutput `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router vpc attachment.
	TransitRouterAttachmentName pulumi.StringOutput `pulumi:"transitRouterAttachmentName"`
	// The id of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The ID of vpc.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to manage transit router vpc attachment ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewVpcAttachment(ctx, "foo", &transit_router.VpcAttachmentArgs{
			AttachPoints: transit_router.VpcAttachmentAttachPointArray{
				&transit_router.VpcAttachmentAttachPointArgs{
					SubnetId: pulumi.String("subnet-3refsrxdswsn45zsk2hmdg4zx"),
					ZoneId:   pulumi.String("cn-beijing-a"),
				},
				&transit_router.VpcAttachmentAttachPointArgs{
					SubnetId: pulumi.String("subnet-2d68bh74345q858ozfekrm8fj"),
					ZoneId:   pulumi.String("cn-beijing-a"),
				},
			},
			Description:                 pulumi.String("desc"),
			TransitRouterAttachmentName: pulumi.String("tfname1"),
			TransitRouterId:             pulumi.String("tr-2d6fr7f39unsw58ozfe1ow21x"),
			VpcId:                       pulumi.String("vpc-2bysvq1xx543k2dx0eeulpeiv"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TransitRouterVpcAttachment can be imported using the transitRouterId:attachmentId, e.g.

```sh

$ pulumi import volcengine:transit_router/vpcAttachment:VpcAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****

```

func GetVpcAttachment

func GetVpcAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcAttachmentState, opts ...pulumi.ResourceOption) (*VpcAttachment, error)

GetVpcAttachment gets an existing VpcAttachment 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 NewVpcAttachment

func NewVpcAttachment(ctx *pulumi.Context,
	name string, args *VpcAttachmentArgs, opts ...pulumi.ResourceOption) (*VpcAttachment, error)

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

func (*VpcAttachment) ElementType

func (*VpcAttachment) ElementType() reflect.Type

func (*VpcAttachment) ToVpcAttachmentOutput

func (i *VpcAttachment) ToVpcAttachmentOutput() VpcAttachmentOutput

func (*VpcAttachment) ToVpcAttachmentOutputWithContext

func (i *VpcAttachment) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput

type VpcAttachmentArgs

type VpcAttachmentArgs struct {
	// The attach points of transit router vpc attachment.
	AttachPoints VpcAttachmentAttachPointArrayInput
	// The description of the transit router vpc attachment.
	Description pulumi.StringPtrInput
	// The name of the transit router vpc attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringInput
	// The ID of vpc.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VpcAttachment resource.

func (VpcAttachmentArgs) ElementType

func (VpcAttachmentArgs) ElementType() reflect.Type

type VpcAttachmentArray

type VpcAttachmentArray []VpcAttachmentInput

func (VpcAttachmentArray) ElementType

func (VpcAttachmentArray) ElementType() reflect.Type

func (VpcAttachmentArray) ToVpcAttachmentArrayOutput

func (i VpcAttachmentArray) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput

func (VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext

func (i VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput

type VpcAttachmentArrayInput

type VpcAttachmentArrayInput interface {
	pulumi.Input

	ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput
	ToVpcAttachmentArrayOutputWithContext(context.Context) VpcAttachmentArrayOutput
}

VpcAttachmentArrayInput is an input type that accepts VpcAttachmentArray and VpcAttachmentArrayOutput values. You can construct a concrete instance of `VpcAttachmentArrayInput` via:

VpcAttachmentArray{ VpcAttachmentArgs{...} }

type VpcAttachmentArrayOutput

type VpcAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentArrayOutput) ElementType

func (VpcAttachmentArrayOutput) ElementType() reflect.Type

func (VpcAttachmentArrayOutput) Index

func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput

func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput

func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext

func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput

type VpcAttachmentAttachPoint

type VpcAttachmentAttachPoint struct {
	// The id of subnet.
	SubnetId string `pulumi:"subnetId"`
	// The id of zone.
	ZoneId string `pulumi:"zoneId"`
}

type VpcAttachmentAttachPointArgs

type VpcAttachmentAttachPointArgs struct {
	// The id of subnet.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The id of zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (VpcAttachmentAttachPointArgs) ElementType

func (VpcAttachmentAttachPointArgs) ToVpcAttachmentAttachPointOutput

func (i VpcAttachmentAttachPointArgs) ToVpcAttachmentAttachPointOutput() VpcAttachmentAttachPointOutput

func (VpcAttachmentAttachPointArgs) ToVpcAttachmentAttachPointOutputWithContext

func (i VpcAttachmentAttachPointArgs) ToVpcAttachmentAttachPointOutputWithContext(ctx context.Context) VpcAttachmentAttachPointOutput

type VpcAttachmentAttachPointArray

type VpcAttachmentAttachPointArray []VpcAttachmentAttachPointInput

func (VpcAttachmentAttachPointArray) ElementType

func (VpcAttachmentAttachPointArray) ToVpcAttachmentAttachPointArrayOutput

func (i VpcAttachmentAttachPointArray) ToVpcAttachmentAttachPointArrayOutput() VpcAttachmentAttachPointArrayOutput

func (VpcAttachmentAttachPointArray) ToVpcAttachmentAttachPointArrayOutputWithContext

func (i VpcAttachmentAttachPointArray) ToVpcAttachmentAttachPointArrayOutputWithContext(ctx context.Context) VpcAttachmentAttachPointArrayOutput

type VpcAttachmentAttachPointArrayInput

type VpcAttachmentAttachPointArrayInput interface {
	pulumi.Input

	ToVpcAttachmentAttachPointArrayOutput() VpcAttachmentAttachPointArrayOutput
	ToVpcAttachmentAttachPointArrayOutputWithContext(context.Context) VpcAttachmentAttachPointArrayOutput
}

VpcAttachmentAttachPointArrayInput is an input type that accepts VpcAttachmentAttachPointArray and VpcAttachmentAttachPointArrayOutput values. You can construct a concrete instance of `VpcAttachmentAttachPointArrayInput` via:

VpcAttachmentAttachPointArray{ VpcAttachmentAttachPointArgs{...} }

type VpcAttachmentAttachPointArrayOutput

type VpcAttachmentAttachPointArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAttachPointArrayOutput) ElementType

func (VpcAttachmentAttachPointArrayOutput) Index

func (VpcAttachmentAttachPointArrayOutput) ToVpcAttachmentAttachPointArrayOutput

func (o VpcAttachmentAttachPointArrayOutput) ToVpcAttachmentAttachPointArrayOutput() VpcAttachmentAttachPointArrayOutput

func (VpcAttachmentAttachPointArrayOutput) ToVpcAttachmentAttachPointArrayOutputWithContext

func (o VpcAttachmentAttachPointArrayOutput) ToVpcAttachmentAttachPointArrayOutputWithContext(ctx context.Context) VpcAttachmentAttachPointArrayOutput

type VpcAttachmentAttachPointInput

type VpcAttachmentAttachPointInput interface {
	pulumi.Input

	ToVpcAttachmentAttachPointOutput() VpcAttachmentAttachPointOutput
	ToVpcAttachmentAttachPointOutputWithContext(context.Context) VpcAttachmentAttachPointOutput
}

VpcAttachmentAttachPointInput is an input type that accepts VpcAttachmentAttachPointArgs and VpcAttachmentAttachPointOutput values. You can construct a concrete instance of `VpcAttachmentAttachPointInput` via:

VpcAttachmentAttachPointArgs{...}

type VpcAttachmentAttachPointOutput

type VpcAttachmentAttachPointOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAttachPointOutput) ElementType

func (VpcAttachmentAttachPointOutput) SubnetId

The id of subnet.

func (VpcAttachmentAttachPointOutput) ToVpcAttachmentAttachPointOutput

func (o VpcAttachmentAttachPointOutput) ToVpcAttachmentAttachPointOutput() VpcAttachmentAttachPointOutput

func (VpcAttachmentAttachPointOutput) ToVpcAttachmentAttachPointOutputWithContext

func (o VpcAttachmentAttachPointOutput) ToVpcAttachmentAttachPointOutputWithContext(ctx context.Context) VpcAttachmentAttachPointOutput

func (VpcAttachmentAttachPointOutput) ZoneId

The id of zone.

type VpcAttachmentInput

type VpcAttachmentInput interface {
	pulumi.Input

	ToVpcAttachmentOutput() VpcAttachmentOutput
	ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput
}

type VpcAttachmentMap

type VpcAttachmentMap map[string]VpcAttachmentInput

func (VpcAttachmentMap) ElementType

func (VpcAttachmentMap) ElementType() reflect.Type

func (VpcAttachmentMap) ToVpcAttachmentMapOutput

func (i VpcAttachmentMap) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput

func (VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext

func (i VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput

type VpcAttachmentMapInput

type VpcAttachmentMapInput interface {
	pulumi.Input

	ToVpcAttachmentMapOutput() VpcAttachmentMapOutput
	ToVpcAttachmentMapOutputWithContext(context.Context) VpcAttachmentMapOutput
}

VpcAttachmentMapInput is an input type that accepts VpcAttachmentMap and VpcAttachmentMapOutput values. You can construct a concrete instance of `VpcAttachmentMapInput` via:

VpcAttachmentMap{ "key": VpcAttachmentArgs{...} }

type VpcAttachmentMapOutput

type VpcAttachmentMapOutput struct{ *pulumi.OutputState }

func (VpcAttachmentMapOutput) ElementType

func (VpcAttachmentMapOutput) ElementType() reflect.Type

func (VpcAttachmentMapOutput) MapIndex

func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutput

func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput

func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext

func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput

type VpcAttachmentOutput

type VpcAttachmentOutput struct{ *pulumi.OutputState }

func (VpcAttachmentOutput) AttachPoints

The attach points of transit router vpc attachment.

func (VpcAttachmentOutput) CreationTime

func (o VpcAttachmentOutput) CreationTime() pulumi.StringOutput

The create time.

func (VpcAttachmentOutput) Description

func (o VpcAttachmentOutput) Description() pulumi.StringPtrOutput

The description of the transit router vpc attachment.

func (VpcAttachmentOutput) ElementType

func (VpcAttachmentOutput) ElementType() reflect.Type

func (VpcAttachmentOutput) Status

The status of the transit router.

func (VpcAttachmentOutput) ToVpcAttachmentOutput

func (o VpcAttachmentOutput) ToVpcAttachmentOutput() VpcAttachmentOutput

func (VpcAttachmentOutput) ToVpcAttachmentOutputWithContext

func (o VpcAttachmentOutput) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput

func (VpcAttachmentOutput) TransitRouterAttachmentId

func (o VpcAttachmentOutput) TransitRouterAttachmentId() pulumi.StringOutput

The id of the transit router attachment.

func (VpcAttachmentOutput) TransitRouterAttachmentName

func (o VpcAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

The name of the transit router vpc attachment.

func (VpcAttachmentOutput) TransitRouterId

func (o VpcAttachmentOutput) TransitRouterId() pulumi.StringOutput

The id of the transit router.

func (VpcAttachmentOutput) UpdateTime

func (o VpcAttachmentOutput) UpdateTime() pulumi.StringOutput

The update time.

func (VpcAttachmentOutput) VpcId

The ID of vpc.

type VpcAttachmentState

type VpcAttachmentState struct {
	// The attach points of transit router vpc attachment.
	AttachPoints VpcAttachmentAttachPointArrayInput
	// The create time.
	CreationTime pulumi.StringPtrInput
	// The description of the transit router vpc attachment.
	Description pulumi.StringPtrInput
	// The status of the transit router.
	Status pulumi.StringPtrInput
	// The id of the transit router attachment.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The name of the transit router vpc attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The update time.
	UpdateTime pulumi.StringPtrInput
	// The ID of vpc.
	VpcId pulumi.StringPtrInput
}

func (VpcAttachmentState) ElementType

func (VpcAttachmentState) ElementType() reflect.Type

type VpcAttachmentsArgs

type VpcAttachmentsArgs struct {
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// A list of Transit Router Attachment ids.
	TransitRouterAttachmentIds []string `pulumi:"transitRouterAttachmentIds"`
	// The id of transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The id of vpc.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking VpcAttachments.

type VpcAttachmentsAttachment

type VpcAttachmentsAttachment struct {
	// The collection of attach points.
	AttachPoints []VpcAttachmentsAttachmentAttachPoint `pulumi:"attachPoints"`
	// The create time.
	CreationTime string `pulumi:"creationTime"`
	// The description info.
	Description string `pulumi:"description"`
	// The status of the transit router.
	Status string `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// The id of transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime string `pulumi:"updateTime"`
	// The id of vpc.
	VpcId string `pulumi:"vpcId"`
}

type VpcAttachmentsAttachmentArgs

type VpcAttachmentsAttachmentArgs struct {
	// The collection of attach points.
	AttachPoints VpcAttachmentsAttachmentAttachPointArrayInput `pulumi:"attachPoints"`
	// The create time.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description info.
	Description pulumi.StringInput `pulumi:"description"`
	// The status of the transit router.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// The id of transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The id of vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (VpcAttachmentsAttachmentArgs) ElementType

func (VpcAttachmentsAttachmentArgs) ToVpcAttachmentsAttachmentOutput

func (i VpcAttachmentsAttachmentArgs) ToVpcAttachmentsAttachmentOutput() VpcAttachmentsAttachmentOutput

func (VpcAttachmentsAttachmentArgs) ToVpcAttachmentsAttachmentOutputWithContext

func (i VpcAttachmentsAttachmentArgs) ToVpcAttachmentsAttachmentOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentOutput

type VpcAttachmentsAttachmentArray

type VpcAttachmentsAttachmentArray []VpcAttachmentsAttachmentInput

func (VpcAttachmentsAttachmentArray) ElementType

func (VpcAttachmentsAttachmentArray) ToVpcAttachmentsAttachmentArrayOutput

func (i VpcAttachmentsAttachmentArray) ToVpcAttachmentsAttachmentArrayOutput() VpcAttachmentsAttachmentArrayOutput

func (VpcAttachmentsAttachmentArray) ToVpcAttachmentsAttachmentArrayOutputWithContext

func (i VpcAttachmentsAttachmentArray) ToVpcAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentArrayOutput

type VpcAttachmentsAttachmentArrayInput

type VpcAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToVpcAttachmentsAttachmentArrayOutput() VpcAttachmentsAttachmentArrayOutput
	ToVpcAttachmentsAttachmentArrayOutputWithContext(context.Context) VpcAttachmentsAttachmentArrayOutput
}

VpcAttachmentsAttachmentArrayInput is an input type that accepts VpcAttachmentsAttachmentArray and VpcAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `VpcAttachmentsAttachmentArrayInput` via:

VpcAttachmentsAttachmentArray{ VpcAttachmentsAttachmentArgs{...} }

type VpcAttachmentsAttachmentArrayOutput

type VpcAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentsAttachmentArrayOutput) ElementType

func (VpcAttachmentsAttachmentArrayOutput) Index

func (VpcAttachmentsAttachmentArrayOutput) ToVpcAttachmentsAttachmentArrayOutput

func (o VpcAttachmentsAttachmentArrayOutput) ToVpcAttachmentsAttachmentArrayOutput() VpcAttachmentsAttachmentArrayOutput

func (VpcAttachmentsAttachmentArrayOutput) ToVpcAttachmentsAttachmentArrayOutputWithContext

func (o VpcAttachmentsAttachmentArrayOutput) ToVpcAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentArrayOutput

type VpcAttachmentsAttachmentAttachPoint

type VpcAttachmentsAttachmentAttachPoint struct {
	// The ID of network interface.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// The ID of subnet.
	SubnetId string `pulumi:"subnetId"`
	// The ID of zone.
	ZoneId string `pulumi:"zoneId"`
}

type VpcAttachmentsAttachmentAttachPointArgs

type VpcAttachmentsAttachmentAttachPointArgs struct {
	// The ID of network interface.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	// The ID of subnet.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The ID of zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (VpcAttachmentsAttachmentAttachPointArgs) ElementType

func (VpcAttachmentsAttachmentAttachPointArgs) ToVpcAttachmentsAttachmentAttachPointOutput

func (i VpcAttachmentsAttachmentAttachPointArgs) ToVpcAttachmentsAttachmentAttachPointOutput() VpcAttachmentsAttachmentAttachPointOutput

func (VpcAttachmentsAttachmentAttachPointArgs) ToVpcAttachmentsAttachmentAttachPointOutputWithContext

func (i VpcAttachmentsAttachmentAttachPointArgs) ToVpcAttachmentsAttachmentAttachPointOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentAttachPointOutput

type VpcAttachmentsAttachmentAttachPointArray

type VpcAttachmentsAttachmentAttachPointArray []VpcAttachmentsAttachmentAttachPointInput

func (VpcAttachmentsAttachmentAttachPointArray) ElementType

func (VpcAttachmentsAttachmentAttachPointArray) ToVpcAttachmentsAttachmentAttachPointArrayOutput

func (i VpcAttachmentsAttachmentAttachPointArray) ToVpcAttachmentsAttachmentAttachPointArrayOutput() VpcAttachmentsAttachmentAttachPointArrayOutput

func (VpcAttachmentsAttachmentAttachPointArray) ToVpcAttachmentsAttachmentAttachPointArrayOutputWithContext

func (i VpcAttachmentsAttachmentAttachPointArray) ToVpcAttachmentsAttachmentAttachPointArrayOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentAttachPointArrayOutput

type VpcAttachmentsAttachmentAttachPointArrayInput

type VpcAttachmentsAttachmentAttachPointArrayInput interface {
	pulumi.Input

	ToVpcAttachmentsAttachmentAttachPointArrayOutput() VpcAttachmentsAttachmentAttachPointArrayOutput
	ToVpcAttachmentsAttachmentAttachPointArrayOutputWithContext(context.Context) VpcAttachmentsAttachmentAttachPointArrayOutput
}

VpcAttachmentsAttachmentAttachPointArrayInput is an input type that accepts VpcAttachmentsAttachmentAttachPointArray and VpcAttachmentsAttachmentAttachPointArrayOutput values. You can construct a concrete instance of `VpcAttachmentsAttachmentAttachPointArrayInput` via:

VpcAttachmentsAttachmentAttachPointArray{ VpcAttachmentsAttachmentAttachPointArgs{...} }

type VpcAttachmentsAttachmentAttachPointArrayOutput

type VpcAttachmentsAttachmentAttachPointArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentsAttachmentAttachPointArrayOutput) ElementType

func (VpcAttachmentsAttachmentAttachPointArrayOutput) Index

func (VpcAttachmentsAttachmentAttachPointArrayOutput) ToVpcAttachmentsAttachmentAttachPointArrayOutput

func (o VpcAttachmentsAttachmentAttachPointArrayOutput) ToVpcAttachmentsAttachmentAttachPointArrayOutput() VpcAttachmentsAttachmentAttachPointArrayOutput

func (VpcAttachmentsAttachmentAttachPointArrayOutput) ToVpcAttachmentsAttachmentAttachPointArrayOutputWithContext

func (o VpcAttachmentsAttachmentAttachPointArrayOutput) ToVpcAttachmentsAttachmentAttachPointArrayOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentAttachPointArrayOutput

type VpcAttachmentsAttachmentAttachPointInput

type VpcAttachmentsAttachmentAttachPointInput interface {
	pulumi.Input

	ToVpcAttachmentsAttachmentAttachPointOutput() VpcAttachmentsAttachmentAttachPointOutput
	ToVpcAttachmentsAttachmentAttachPointOutputWithContext(context.Context) VpcAttachmentsAttachmentAttachPointOutput
}

VpcAttachmentsAttachmentAttachPointInput is an input type that accepts VpcAttachmentsAttachmentAttachPointArgs and VpcAttachmentsAttachmentAttachPointOutput values. You can construct a concrete instance of `VpcAttachmentsAttachmentAttachPointInput` via:

VpcAttachmentsAttachmentAttachPointArgs{...}

type VpcAttachmentsAttachmentAttachPointOutput

type VpcAttachmentsAttachmentAttachPointOutput struct{ *pulumi.OutputState }

func (VpcAttachmentsAttachmentAttachPointOutput) ElementType

func (VpcAttachmentsAttachmentAttachPointOutput) NetworkInterfaceId

The ID of network interface.

func (VpcAttachmentsAttachmentAttachPointOutput) SubnetId

The ID of subnet.

func (VpcAttachmentsAttachmentAttachPointOutput) ToVpcAttachmentsAttachmentAttachPointOutput

func (o VpcAttachmentsAttachmentAttachPointOutput) ToVpcAttachmentsAttachmentAttachPointOutput() VpcAttachmentsAttachmentAttachPointOutput

func (VpcAttachmentsAttachmentAttachPointOutput) ToVpcAttachmentsAttachmentAttachPointOutputWithContext

func (o VpcAttachmentsAttachmentAttachPointOutput) ToVpcAttachmentsAttachmentAttachPointOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentAttachPointOutput

func (VpcAttachmentsAttachmentAttachPointOutput) ZoneId

The ID of zone.

type VpcAttachmentsAttachmentInput

type VpcAttachmentsAttachmentInput interface {
	pulumi.Input

	ToVpcAttachmentsAttachmentOutput() VpcAttachmentsAttachmentOutput
	ToVpcAttachmentsAttachmentOutputWithContext(context.Context) VpcAttachmentsAttachmentOutput
}

VpcAttachmentsAttachmentInput is an input type that accepts VpcAttachmentsAttachmentArgs and VpcAttachmentsAttachmentOutput values. You can construct a concrete instance of `VpcAttachmentsAttachmentInput` via:

VpcAttachmentsAttachmentArgs{...}

type VpcAttachmentsAttachmentOutput

type VpcAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (VpcAttachmentsAttachmentOutput) AttachPoints

The collection of attach points.

func (VpcAttachmentsAttachmentOutput) CreationTime

The create time.

func (VpcAttachmentsAttachmentOutput) Description

The description info.

func (VpcAttachmentsAttachmentOutput) ElementType

func (VpcAttachmentsAttachmentOutput) Status

The status of the transit router.

func (VpcAttachmentsAttachmentOutput) ToVpcAttachmentsAttachmentOutput

func (o VpcAttachmentsAttachmentOutput) ToVpcAttachmentsAttachmentOutput() VpcAttachmentsAttachmentOutput

func (VpcAttachmentsAttachmentOutput) ToVpcAttachmentsAttachmentOutputWithContext

func (o VpcAttachmentsAttachmentOutput) ToVpcAttachmentsAttachmentOutputWithContext(ctx context.Context) VpcAttachmentsAttachmentOutput

func (VpcAttachmentsAttachmentOutput) TransitRouterAttachmentId

func (o VpcAttachmentsAttachmentOutput) TransitRouterAttachmentId() pulumi.StringOutput

The id of the transit router attachment.

func (VpcAttachmentsAttachmentOutput) TransitRouterAttachmentName

func (o VpcAttachmentsAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

The name of the transit router attachment.

func (VpcAttachmentsAttachmentOutput) TransitRouterId

The id of transit router.

func (VpcAttachmentsAttachmentOutput) UpdateTime

The update time.

func (VpcAttachmentsAttachmentOutput) VpcId

The id of vpc.

type VpcAttachmentsOutputArgs

type VpcAttachmentsOutputArgs struct {
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A list of Transit Router Attachment ids.
	TransitRouterAttachmentIds pulumi.StringArrayInput `pulumi:"transitRouterAttachmentIds"`
	// The id of transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The id of vpc.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking VpcAttachments.

func (VpcAttachmentsOutputArgs) ElementType

func (VpcAttachmentsOutputArgs) ElementType() reflect.Type

type VpcAttachmentsResult

type VpcAttachmentsResult struct {
	// The collection of query.
	Attachments []VpcAttachmentsAttachment `pulumi:"attachments"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of query.
	TotalCount                 int      `pulumi:"totalCount"`
	TransitRouterAttachmentIds []string `pulumi:"transitRouterAttachmentIds"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The ID of vpc.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by VpcAttachments.

func VpcAttachments

func VpcAttachments(ctx *pulumi.Context, args *VpcAttachmentsArgs, opts ...pulumi.InvokeOption) (*VpcAttachmentsResult, error)

Use this data source to query detailed information of transit router vpc attachments ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.VpcAttachments(ctx, &transit_router.VpcAttachmentsArgs{
			TransitRouterAttachmentIds: []string{
				"tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt",
			},
			TransitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type VpcAttachmentsResultOutput

type VpcAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by VpcAttachments.

func (VpcAttachmentsResultOutput) Attachments

The collection of query.

func (VpcAttachmentsResultOutput) ElementType

func (VpcAttachmentsResultOutput) ElementType() reflect.Type

func (VpcAttachmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (VpcAttachmentsResultOutput) OutputFile

func (VpcAttachmentsResultOutput) ToVpcAttachmentsResultOutput

func (o VpcAttachmentsResultOutput) ToVpcAttachmentsResultOutput() VpcAttachmentsResultOutput

func (VpcAttachmentsResultOutput) ToVpcAttachmentsResultOutputWithContext

func (o VpcAttachmentsResultOutput) ToVpcAttachmentsResultOutputWithContext(ctx context.Context) VpcAttachmentsResultOutput

func (VpcAttachmentsResultOutput) TotalCount

The total count of query.

func (VpcAttachmentsResultOutput) TransitRouterAttachmentIds

func (o VpcAttachmentsResultOutput) TransitRouterAttachmentIds() pulumi.StringArrayOutput

func (VpcAttachmentsResultOutput) TransitRouterId

func (o VpcAttachmentsResultOutput) TransitRouterId() pulumi.StringOutput

The id of the transit router.

func (VpcAttachmentsResultOutput) VpcId

The ID of vpc.

type VpnAttachment

type VpnAttachment struct {
	pulumi.CustomResourceState

	// The create time.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the transit router vpn attachment.
	Description pulumi.StringOutput `pulumi:"description"`
	// The status of the transit router.
	Status pulumi.StringOutput `pulumi:"status"`
	// The id of the transit router vpn attachment.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router vpn attachment.
	TransitRouterAttachmentName pulumi.StringOutput `pulumi:"transitRouterAttachmentName"`
	// The id of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The ID of the IPSec connection.
	VpnConnectionId pulumi.StringOutput `pulumi:"vpnConnectionId"`
	// The ID of the availability zone.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a resource to manage transit router vpn attachment ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.NewVpnAttachment(ctx, "foo", &transit_router.VpnAttachmentArgs{
			Description:                 pulumi.String("desc"),
			TransitRouterAttachmentName: pulumi.String("tf-test"),
			TransitRouterId:             pulumi.String("tr-2d6frp10q687458ozfep4****"),
			VpnConnectionId:             pulumi.String("vgc-3reidwjf1t1c05zsk2hik****"),
			ZoneId:                      pulumi.String("cn-beijing-a"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TransitRouterVpnAttachment can be imported using the transitRouterId:attachmentId, e.g.

```sh

$ pulumi import volcengine:transit_router/vpnAttachment:VpnAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****

```

func GetVpnAttachment

func GetVpnAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpnAttachmentState, opts ...pulumi.ResourceOption) (*VpnAttachment, error)

GetVpnAttachment gets an existing VpnAttachment 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 NewVpnAttachment

func NewVpnAttachment(ctx *pulumi.Context,
	name string, args *VpnAttachmentArgs, opts ...pulumi.ResourceOption) (*VpnAttachment, error)

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

func (*VpnAttachment) ElementType

func (*VpnAttachment) ElementType() reflect.Type

func (*VpnAttachment) ToVpnAttachmentOutput

func (i *VpnAttachment) ToVpnAttachmentOutput() VpnAttachmentOutput

func (*VpnAttachment) ToVpnAttachmentOutputWithContext

func (i *VpnAttachment) ToVpnAttachmentOutputWithContext(ctx context.Context) VpnAttachmentOutput

type VpnAttachmentArgs

type VpnAttachmentArgs struct {
	// The description of the transit router vpn attachment.
	Description pulumi.StringPtrInput
	// The name of the transit router vpn attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringInput
	// The ID of the IPSec connection.
	VpnConnectionId pulumi.StringInput
	// The ID of the availability zone.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a VpnAttachment resource.

func (VpnAttachmentArgs) ElementType

func (VpnAttachmentArgs) ElementType() reflect.Type

type VpnAttachmentArray

type VpnAttachmentArray []VpnAttachmentInput

func (VpnAttachmentArray) ElementType

func (VpnAttachmentArray) ElementType() reflect.Type

func (VpnAttachmentArray) ToVpnAttachmentArrayOutput

func (i VpnAttachmentArray) ToVpnAttachmentArrayOutput() VpnAttachmentArrayOutput

func (VpnAttachmentArray) ToVpnAttachmentArrayOutputWithContext

func (i VpnAttachmentArray) ToVpnAttachmentArrayOutputWithContext(ctx context.Context) VpnAttachmentArrayOutput

type VpnAttachmentArrayInput

type VpnAttachmentArrayInput interface {
	pulumi.Input

	ToVpnAttachmentArrayOutput() VpnAttachmentArrayOutput
	ToVpnAttachmentArrayOutputWithContext(context.Context) VpnAttachmentArrayOutput
}

VpnAttachmentArrayInput is an input type that accepts VpnAttachmentArray and VpnAttachmentArrayOutput values. You can construct a concrete instance of `VpnAttachmentArrayInput` via:

VpnAttachmentArray{ VpnAttachmentArgs{...} }

type VpnAttachmentArrayOutput

type VpnAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VpnAttachmentArrayOutput) ElementType

func (VpnAttachmentArrayOutput) ElementType() reflect.Type

func (VpnAttachmentArrayOutput) Index

func (VpnAttachmentArrayOutput) ToVpnAttachmentArrayOutput

func (o VpnAttachmentArrayOutput) ToVpnAttachmentArrayOutput() VpnAttachmentArrayOutput

func (VpnAttachmentArrayOutput) ToVpnAttachmentArrayOutputWithContext

func (o VpnAttachmentArrayOutput) ToVpnAttachmentArrayOutputWithContext(ctx context.Context) VpnAttachmentArrayOutput

type VpnAttachmentInput

type VpnAttachmentInput interface {
	pulumi.Input

	ToVpnAttachmentOutput() VpnAttachmentOutput
	ToVpnAttachmentOutputWithContext(ctx context.Context) VpnAttachmentOutput
}

type VpnAttachmentMap

type VpnAttachmentMap map[string]VpnAttachmentInput

func (VpnAttachmentMap) ElementType

func (VpnAttachmentMap) ElementType() reflect.Type

func (VpnAttachmentMap) ToVpnAttachmentMapOutput

func (i VpnAttachmentMap) ToVpnAttachmentMapOutput() VpnAttachmentMapOutput

func (VpnAttachmentMap) ToVpnAttachmentMapOutputWithContext

func (i VpnAttachmentMap) ToVpnAttachmentMapOutputWithContext(ctx context.Context) VpnAttachmentMapOutput

type VpnAttachmentMapInput

type VpnAttachmentMapInput interface {
	pulumi.Input

	ToVpnAttachmentMapOutput() VpnAttachmentMapOutput
	ToVpnAttachmentMapOutputWithContext(context.Context) VpnAttachmentMapOutput
}

VpnAttachmentMapInput is an input type that accepts VpnAttachmentMap and VpnAttachmentMapOutput values. You can construct a concrete instance of `VpnAttachmentMapInput` via:

VpnAttachmentMap{ "key": VpnAttachmentArgs{...} }

type VpnAttachmentMapOutput

type VpnAttachmentMapOutput struct{ *pulumi.OutputState }

func (VpnAttachmentMapOutput) ElementType

func (VpnAttachmentMapOutput) ElementType() reflect.Type

func (VpnAttachmentMapOutput) MapIndex

func (VpnAttachmentMapOutput) ToVpnAttachmentMapOutput

func (o VpnAttachmentMapOutput) ToVpnAttachmentMapOutput() VpnAttachmentMapOutput

func (VpnAttachmentMapOutput) ToVpnAttachmentMapOutputWithContext

func (o VpnAttachmentMapOutput) ToVpnAttachmentMapOutputWithContext(ctx context.Context) VpnAttachmentMapOutput

type VpnAttachmentOutput

type VpnAttachmentOutput struct{ *pulumi.OutputState }

func (VpnAttachmentOutput) CreationTime

func (o VpnAttachmentOutput) CreationTime() pulumi.StringOutput

The create time.

func (VpnAttachmentOutput) Description

func (o VpnAttachmentOutput) Description() pulumi.StringOutput

The description of the transit router vpn attachment.

func (VpnAttachmentOutput) ElementType

func (VpnAttachmentOutput) ElementType() reflect.Type

func (VpnAttachmentOutput) Status

The status of the transit router.

func (VpnAttachmentOutput) ToVpnAttachmentOutput

func (o VpnAttachmentOutput) ToVpnAttachmentOutput() VpnAttachmentOutput

func (VpnAttachmentOutput) ToVpnAttachmentOutputWithContext

func (o VpnAttachmentOutput) ToVpnAttachmentOutputWithContext(ctx context.Context) VpnAttachmentOutput

func (VpnAttachmentOutput) TransitRouterAttachmentId

func (o VpnAttachmentOutput) TransitRouterAttachmentId() pulumi.StringOutput

The id of the transit router vpn attachment.

func (VpnAttachmentOutput) TransitRouterAttachmentName

func (o VpnAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

The name of the transit router vpn attachment.

func (VpnAttachmentOutput) TransitRouterId

func (o VpnAttachmentOutput) TransitRouterId() pulumi.StringOutput

The id of the transit router.

func (VpnAttachmentOutput) UpdateTime

func (o VpnAttachmentOutput) UpdateTime() pulumi.StringOutput

The update time.

func (VpnAttachmentOutput) VpnConnectionId

func (o VpnAttachmentOutput) VpnConnectionId() pulumi.StringOutput

The ID of the IPSec connection.

func (VpnAttachmentOutput) ZoneId

The ID of the availability zone.

type VpnAttachmentState

type VpnAttachmentState struct {
	// The create time.
	CreationTime pulumi.StringPtrInput
	// The description of the transit router vpn attachment.
	Description pulumi.StringPtrInput
	// The status of the transit router.
	Status pulumi.StringPtrInput
	// The id of the transit router vpn attachment.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The name of the transit router vpn attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The id of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The update time.
	UpdateTime pulumi.StringPtrInput
	// The ID of the IPSec connection.
	VpnConnectionId pulumi.StringPtrInput
	// The ID of the availability zone.
	ZoneId pulumi.StringPtrInput
}

func (VpnAttachmentState) ElementType

func (VpnAttachmentState) ElementType() reflect.Type

type VpnAttachmentsArgs

type VpnAttachmentsArgs struct {
	// The ID list of the VPN attachment.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The ID of the IPSec connection.
	VpnConnectionId *string `pulumi:"vpnConnectionId"`
}

A collection of arguments for invoking VpnAttachments.

type VpnAttachmentsAttachment

type VpnAttachmentsAttachment struct {
	// The create time.
	CreationTime string `pulumi:"creationTime"`
	// The description info.
	Description string `pulumi:"description"`
	// The status of the transit router.
	Status string `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime string `pulumi:"updateTime"`
	// The ID of the IPSec connection.
	VpnConnectionId string `pulumi:"vpnConnectionId"`
	// The ID of the availability zone.
	ZoneId string `pulumi:"zoneId"`
}

type VpnAttachmentsAttachmentArgs

type VpnAttachmentsAttachmentArgs struct {
	// The create time.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description info.
	Description pulumi.StringInput `pulumi:"description"`
	// The status of the transit router.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of the transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// The id of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The ID of the IPSec connection.
	VpnConnectionId pulumi.StringInput `pulumi:"vpnConnectionId"`
	// The ID of the availability zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (VpnAttachmentsAttachmentArgs) ElementType

func (VpnAttachmentsAttachmentArgs) ToVpnAttachmentsAttachmentOutput

func (i VpnAttachmentsAttachmentArgs) ToVpnAttachmentsAttachmentOutput() VpnAttachmentsAttachmentOutput

func (VpnAttachmentsAttachmentArgs) ToVpnAttachmentsAttachmentOutputWithContext

func (i VpnAttachmentsAttachmentArgs) ToVpnAttachmentsAttachmentOutputWithContext(ctx context.Context) VpnAttachmentsAttachmentOutput

type VpnAttachmentsAttachmentArray

type VpnAttachmentsAttachmentArray []VpnAttachmentsAttachmentInput

func (VpnAttachmentsAttachmentArray) ElementType

func (VpnAttachmentsAttachmentArray) ToVpnAttachmentsAttachmentArrayOutput

func (i VpnAttachmentsAttachmentArray) ToVpnAttachmentsAttachmentArrayOutput() VpnAttachmentsAttachmentArrayOutput

func (VpnAttachmentsAttachmentArray) ToVpnAttachmentsAttachmentArrayOutputWithContext

func (i VpnAttachmentsAttachmentArray) ToVpnAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) VpnAttachmentsAttachmentArrayOutput

type VpnAttachmentsAttachmentArrayInput

type VpnAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToVpnAttachmentsAttachmentArrayOutput() VpnAttachmentsAttachmentArrayOutput
	ToVpnAttachmentsAttachmentArrayOutputWithContext(context.Context) VpnAttachmentsAttachmentArrayOutput
}

VpnAttachmentsAttachmentArrayInput is an input type that accepts VpnAttachmentsAttachmentArray and VpnAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `VpnAttachmentsAttachmentArrayInput` via:

VpnAttachmentsAttachmentArray{ VpnAttachmentsAttachmentArgs{...} }

type VpnAttachmentsAttachmentArrayOutput

type VpnAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VpnAttachmentsAttachmentArrayOutput) ElementType

func (VpnAttachmentsAttachmentArrayOutput) Index

func (VpnAttachmentsAttachmentArrayOutput) ToVpnAttachmentsAttachmentArrayOutput

func (o VpnAttachmentsAttachmentArrayOutput) ToVpnAttachmentsAttachmentArrayOutput() VpnAttachmentsAttachmentArrayOutput

func (VpnAttachmentsAttachmentArrayOutput) ToVpnAttachmentsAttachmentArrayOutputWithContext

func (o VpnAttachmentsAttachmentArrayOutput) ToVpnAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) VpnAttachmentsAttachmentArrayOutput

type VpnAttachmentsAttachmentInput

type VpnAttachmentsAttachmentInput interface {
	pulumi.Input

	ToVpnAttachmentsAttachmentOutput() VpnAttachmentsAttachmentOutput
	ToVpnAttachmentsAttachmentOutputWithContext(context.Context) VpnAttachmentsAttachmentOutput
}

VpnAttachmentsAttachmentInput is an input type that accepts VpnAttachmentsAttachmentArgs and VpnAttachmentsAttachmentOutput values. You can construct a concrete instance of `VpnAttachmentsAttachmentInput` via:

VpnAttachmentsAttachmentArgs{...}

type VpnAttachmentsAttachmentOutput

type VpnAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (VpnAttachmentsAttachmentOutput) CreationTime

The create time.

func (VpnAttachmentsAttachmentOutput) Description

The description info.

func (VpnAttachmentsAttachmentOutput) ElementType

func (VpnAttachmentsAttachmentOutput) Status

The status of the transit router.

func (VpnAttachmentsAttachmentOutput) ToVpnAttachmentsAttachmentOutput

func (o VpnAttachmentsAttachmentOutput) ToVpnAttachmentsAttachmentOutput() VpnAttachmentsAttachmentOutput

func (VpnAttachmentsAttachmentOutput) ToVpnAttachmentsAttachmentOutputWithContext

func (o VpnAttachmentsAttachmentOutput) ToVpnAttachmentsAttachmentOutputWithContext(ctx context.Context) VpnAttachmentsAttachmentOutput

func (VpnAttachmentsAttachmentOutput) TransitRouterAttachmentId

func (o VpnAttachmentsAttachmentOutput) TransitRouterAttachmentId() pulumi.StringOutput

The id of the transit router attachment.

func (VpnAttachmentsAttachmentOutput) TransitRouterAttachmentName

func (o VpnAttachmentsAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

The name of the transit router attachment.

func (VpnAttachmentsAttachmentOutput) TransitRouterId

The id of the transit router.

func (VpnAttachmentsAttachmentOutput) UpdateTime

The update time.

func (VpnAttachmentsAttachmentOutput) VpnConnectionId

The ID of the IPSec connection.

func (VpnAttachmentsAttachmentOutput) ZoneId

The ID of the availability zone.

type VpnAttachmentsOutputArgs

type VpnAttachmentsOutputArgs struct {
	// The ID list of the VPN attachment.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The id of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The ID of the IPSec connection.
	VpnConnectionId pulumi.StringPtrInput `pulumi:"vpnConnectionId"`
}

A collection of arguments for invoking VpnAttachments.

func (VpnAttachmentsOutputArgs) ElementType

func (VpnAttachmentsOutputArgs) ElementType() reflect.Type

type VpnAttachmentsResult

type VpnAttachmentsResult struct {
	// The collection of query.
	Attachments []VpnAttachmentsAttachment `pulumi:"attachments"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The id of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The ID of the IPSec connection.
	VpnConnectionId *string `pulumi:"vpnConnectionId"`
}

A collection of values returned by VpnAttachments.

func VpnAttachments

func VpnAttachments(ctx *pulumi.Context, args *VpnAttachmentsArgs, opts ...pulumi.InvokeOption) (*VpnAttachmentsResult, error)

Use this data source to query detailed information of transit router vpn attachments ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := transit_router.VpnAttachments(ctx, &transit_router.VpnAttachmentsArgs{
			Ids: []string{
				"tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt",
			},
			TransitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type VpnAttachmentsResultOutput

type VpnAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by VpnAttachments.

func (VpnAttachmentsResultOutput) Attachments

The collection of query.

func (VpnAttachmentsResultOutput) ElementType

func (VpnAttachmentsResultOutput) ElementType() reflect.Type

func (VpnAttachmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (VpnAttachmentsResultOutput) Ids

func (VpnAttachmentsResultOutput) OutputFile

func (VpnAttachmentsResultOutput) ToVpnAttachmentsResultOutput

func (o VpnAttachmentsResultOutput) ToVpnAttachmentsResultOutput() VpnAttachmentsResultOutput

func (VpnAttachmentsResultOutput) ToVpnAttachmentsResultOutputWithContext

func (o VpnAttachmentsResultOutput) ToVpnAttachmentsResultOutputWithContext(ctx context.Context) VpnAttachmentsResultOutput

func (VpnAttachmentsResultOutput) TotalCount

The total count of query.

func (VpnAttachmentsResultOutput) TransitRouterId

func (o VpnAttachmentsResultOutput) TransitRouterId() pulumi.StringOutput

The id of the transit router.

func (VpnAttachmentsResultOutput) VpnConnectionId

The ID of the IPSec connection.

Jump to

Keyboard shortcuts

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