dcx

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.5

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type GetInstancesArgs

type GetInstancesArgs struct {
	// ID of the dedicated tunnels to be queried.
	DcxId *string `pulumi:"dcxId"`
	// Name of the dedicated tunnels to be queried.
	Name *string `pulumi:"name"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstanceList

type GetInstancesInstanceList struct {
	// Bandwidth of the DC.
	Bandwidth int `pulumi:"bandwidth"`
	// BGP ASN of the user.
	BgpAsn int `pulumi:"bgpAsn"`
	// BGP key of the user.
	BgpAuthKey string `pulumi:"bgpAuthKey"`
	// Creation time of resource.
	CreateTime string `pulumi:"createTime"`
	// Interconnect IP of the DC within client.
	CustomerAddress string `pulumi:"customerAddress"`
	// ID of the DC.
	DcId string `pulumi:"dcId"`
	// ID of the DC Gateway. Currently only new in the console.
	DcgId string `pulumi:"dcgId"`
	// ID of the dedicated tunnels to be queried.
	DcxId string `pulumi:"dcxId"`
	// Name of the dedicated tunnels to be queried.
	Name string `pulumi:"name"`
	// The region of the dedicated tunnel.
	NetworkRegion string `pulumi:"networkRegion"`
	// Type of the network. Valid values: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	NetworkType string `pulumi:"networkType"`
	// Static route, the network address of the user IDC.
	RouteFilterPrefixes []string `pulumi:"routeFilterPrefixes"`
	// Type of the route. Valid values: `BGP` and `STATIC`. The default value is `BGP`.
	RouteType string `pulumi:"routeType"`
	// State of the dedicated tunnels. Valid values: `PENDING`, `ALLOCATING`, `ALLOCATED`, `ALTERING`, `DELETING`, `DELETED`, `COMFIRMING` and `REJECTED`.
	State string `pulumi:"state"`
	// Interconnect IP of the DC within Tencent.
	TencentAddress string `pulumi:"tencentAddress"`
	// Vlan of the dedicated tunnels.  Valid value ranges: [0-3000]. `0` means that only one tunnel can be created for the physical connect.
	Vlan int `pulumi:"vlan"`
	// ID of the VPC or BMVPC.
	VpcId string `pulumi:"vpcId"`
}

type GetInstancesInstanceListArgs

type GetInstancesInstanceListArgs struct {
	// Bandwidth of the DC.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// BGP ASN of the user.
	BgpAsn pulumi.IntInput `pulumi:"bgpAsn"`
	// BGP key of the user.
	BgpAuthKey pulumi.StringInput `pulumi:"bgpAuthKey"`
	// Creation time of resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Interconnect IP of the DC within client.
	CustomerAddress pulumi.StringInput `pulumi:"customerAddress"`
	// ID of the DC.
	DcId pulumi.StringInput `pulumi:"dcId"`
	// ID of the DC Gateway. Currently only new in the console.
	DcgId pulumi.StringInput `pulumi:"dcgId"`
	// ID of the dedicated tunnels to be queried.
	DcxId pulumi.StringInput `pulumi:"dcxId"`
	// Name of the dedicated tunnels to be queried.
	Name pulumi.StringInput `pulumi:"name"`
	// The region of the dedicated tunnel.
	NetworkRegion pulumi.StringInput `pulumi:"networkRegion"`
	// Type of the network. Valid values: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// Static route, the network address of the user IDC.
	RouteFilterPrefixes pulumi.StringArrayInput `pulumi:"routeFilterPrefixes"`
	// Type of the route. Valid values: `BGP` and `STATIC`. The default value is `BGP`.
	RouteType pulumi.StringInput `pulumi:"routeType"`
	// State of the dedicated tunnels. Valid values: `PENDING`, `ALLOCATING`, `ALLOCATED`, `ALTERING`, `DELETING`, `DELETED`, `COMFIRMING` and `REJECTED`.
	State pulumi.StringInput `pulumi:"state"`
	// Interconnect IP of the DC within Tencent.
	TencentAddress pulumi.StringInput `pulumi:"tencentAddress"`
	// Vlan of the dedicated tunnels.  Valid value ranges: [0-3000]. `0` means that only one tunnel can be created for the physical connect.
	Vlan pulumi.IntInput `pulumi:"vlan"`
	// ID of the VPC or BMVPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetInstancesInstanceListArgs) ElementType

func (GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutput

func (i GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput

func (GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutputWithContext

func (i GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput

type GetInstancesInstanceListArray

type GetInstancesInstanceListArray []GetInstancesInstanceListInput

func (GetInstancesInstanceListArray) ElementType

func (GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutput

func (i GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput

func (GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutputWithContext

func (i GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceListArrayOutput

type GetInstancesInstanceListArrayInput

type GetInstancesInstanceListArrayInput interface {
	pulumi.Input

	ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput
	ToGetInstancesInstanceListArrayOutputWithContext(context.Context) GetInstancesInstanceListArrayOutput
}

GetInstancesInstanceListArrayInput is an input type that accepts GetInstancesInstanceListArray and GetInstancesInstanceListArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceListArrayInput` via:

GetInstancesInstanceListArray{ GetInstancesInstanceListArgs{...} }

type GetInstancesInstanceListArrayOutput

type GetInstancesInstanceListArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceListArrayOutput) ElementType

func (GetInstancesInstanceListArrayOutput) Index

func (GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutput

func (o GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput

func (GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutputWithContext

func (o GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceListArrayOutput

type GetInstancesInstanceListInput

type GetInstancesInstanceListInput interface {
	pulumi.Input

	ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput
	ToGetInstancesInstanceListOutputWithContext(context.Context) GetInstancesInstanceListOutput
}

GetInstancesInstanceListInput is an input type that accepts GetInstancesInstanceListArgs and GetInstancesInstanceListOutput values. You can construct a concrete instance of `GetInstancesInstanceListInput` via:

GetInstancesInstanceListArgs{...}

type GetInstancesInstanceListOutput

type GetInstancesInstanceListOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceListOutput) Bandwidth

Bandwidth of the DC.

func (GetInstancesInstanceListOutput) BgpAsn

BGP ASN of the user.

func (GetInstancesInstanceListOutput) BgpAuthKey

BGP key of the user.

func (GetInstancesInstanceListOutput) CreateTime

Creation time of resource.

func (GetInstancesInstanceListOutput) CustomerAddress

Interconnect IP of the DC within client.

func (GetInstancesInstanceListOutput) DcId

ID of the DC.

func (GetInstancesInstanceListOutput) DcgId

ID of the DC Gateway. Currently only new in the console.

func (GetInstancesInstanceListOutput) DcxId

ID of the dedicated tunnels to be queried.

func (GetInstancesInstanceListOutput) ElementType

func (GetInstancesInstanceListOutput) Name

Name of the dedicated tunnels to be queried.

func (GetInstancesInstanceListOutput) NetworkRegion

The region of the dedicated tunnel.

func (GetInstancesInstanceListOutput) NetworkType

Type of the network. Valid values: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.

func (GetInstancesInstanceListOutput) RouteFilterPrefixes

Static route, the network address of the user IDC.

func (GetInstancesInstanceListOutput) RouteType

Type of the route. Valid values: `BGP` and `STATIC`. The default value is `BGP`.

func (GetInstancesInstanceListOutput) State

State of the dedicated tunnels. Valid values: `PENDING`, `ALLOCATING`, `ALLOCATED`, `ALTERING`, `DELETING`, `DELETED`, `COMFIRMING` and `REJECTED`.

func (GetInstancesInstanceListOutput) TencentAddress

Interconnect IP of the DC within Tencent.

func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput

func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput

func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext

func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput

func (GetInstancesInstanceListOutput) Vlan

Vlan of the dedicated tunnels. Valid value ranges: [0-3000]. `0` means that only one tunnel can be created for the physical connect.

func (GetInstancesInstanceListOutput) VpcId

ID of the VPC or BMVPC.

type GetInstancesOutputArgs

type GetInstancesOutputArgs struct {
	// ID of the dedicated tunnels to be queried.
	DcxId pulumi.StringPtrInput `pulumi:"dcxId"`
	// Name of the dedicated tunnels to be queried.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	// ID of the dedicated tunnel.
	DcxId *string `pulumi:"dcxId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Information list of the dedicated tunnels.
	InstanceLists []GetInstancesInstanceList `pulumi:"instanceLists"`
	// Name of the dedicated tunnel.
	Name             *string `pulumi:"name"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getInstances.

func GetInstances

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

Use this data source to query detailed information of dedicated tunnels instances.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcx"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcx.GetInstances(ctx, &dcx.GetInstancesArgs{
			Name: pulumi.StringRef("main"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Dcx.GetInstances(ctx, &dcx.GetInstancesArgs{
			DcxId: pulumi.StringRef("dcx-3ikuw30k"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInstancesResultOutput

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func (GetInstancesResultOutput) DcxId

ID of the dedicated tunnel.

func (GetInstancesResultOutput) ElementType

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) InstanceLists

Information list of the dedicated tunnels.

func (GetInstancesResultOutput) Name

Name of the dedicated tunnel.

func (GetInstancesResultOutput) ResultOutputFile

func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutput

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Bandwidth of the DC.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// BGP ASN of the user. A required field within BGP.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// BGP key of the user.
	BgpAuthKey pulumi.StringPtrOutput `pulumi:"bgpAuthKey"`
	// Creation time of resource.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Interconnect IP of the DC within client.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// ID of the DC to be queried, application deployment offline.
	DcId pulumi.StringOutput `pulumi:"dcId"`
	// ID of the DC Gateway. Currently only new in the console.
	DcgId pulumi.StringOutput `pulumi:"dcgId"`
	// Name of the dedicated tunnel.
	Name pulumi.StringOutput `pulumi:"name"`
	// Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	NetworkType pulumi.StringPtrOutput `pulumi:"networkType"`
	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	RouteFilterPrefixes pulumi.StringArrayOutput `pulumi:"routeFilterPrefixes"`
	// Type of the route, and available values include BGP and STATIC. The default value is `BGP`.
	RouteType pulumi.StringPtrOutput `pulumi:"routeType"`
	// State of the dedicated tunnels. Valid value: `PENDING`, `ALLOCATING`, `ALLOCATED`, `ALTERING`, `DELETING`, `DELETED`, `COMFIRMING` and `REJECTED`.
	State pulumi.StringOutput `pulumi:"state"`
	// Interconnect IP of the DC within Tencent.
	TencentAddress pulumi.StringOutput `pulumi:"tencentAddress"`
	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect.
	Vlan pulumi.IntPtrOutput `pulumi:"vlan"`
	// ID of the VPC or BMVPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to creating dedicated tunnels instances.

> **NOTE:** 1. ID of the DC is queried, can only apply for this resource offline.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcx"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		dcId := "dc-kax48sg7"
		if param := cfg.Get("dcId"); param != "" {
			dcId = param
		}
		dcgId := "dcg-dmbhf7jf"
		if param := cfg.Get("dcgId"); param != "" {
			dcgId = param
		}
		vpcId := "vpc-4h9v4mo3"
		if param := cfg.Get("vpcId"); param != "" {
			vpcId = param
		}
		_, err := Dcx.NewInstance(ctx, "bgpMain", &Dcx.InstanceArgs{
			Bandwidth:   pulumi.Int(900),
			DcId:        pulumi.String(dcId),
			DcgId:       pulumi.String(dcgId),
			NetworkType: pulumi.String("VPC"),
			RouteType:   pulumi.String("BGP"),
			Vlan:        pulumi.Int(306),
			VpcId:       pulumi.String(vpcId),
		})
		if err != nil {
			return err
		}
		_, err = Dcx.NewInstance(ctx, "staticMain", &Dcx.InstanceArgs{
			Bandwidth:   pulumi.Int(900),
			DcId:        pulumi.String(dcId),
			DcgId:       pulumi.String(dcgId),
			NetworkType: pulumi.String("VPC"),
			RouteType:   pulumi.String("STATIC"),
			Vlan:        pulumi.Int(301),
			VpcId:       pulumi.String(vpcId),
			RouteFilterPrefixes: pulumi.StringArray{
				pulumi.String("10.10.10.101/32"),
			},
			TencentAddress:  pulumi.String("100.93.46.1/30"),
			CustomerAddress: pulumi.String("100.93.46.2/30"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// Bandwidth of the DC.
	Bandwidth pulumi.IntPtrInput
	// BGP ASN of the user. A required field within BGP.
	BgpAsn pulumi.IntPtrInput
	// BGP key of the user.
	BgpAuthKey pulumi.StringPtrInput
	// Interconnect IP of the DC within client.
	CustomerAddress pulumi.StringPtrInput
	// ID of the DC to be queried, application deployment offline.
	DcId pulumi.StringInput
	// ID of the DC Gateway. Currently only new in the console.
	DcgId pulumi.StringInput
	// Name of the dedicated tunnel.
	Name pulumi.StringPtrInput
	// Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	NetworkType pulumi.StringPtrInput
	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	RouteFilterPrefixes pulumi.StringArrayInput
	// Type of the route, and available values include BGP and STATIC. The default value is `BGP`.
	RouteType pulumi.StringPtrInput
	// Interconnect IP of the DC within Tencent.
	TencentAddress pulumi.StringPtrInput
	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect.
	Vlan pulumi.IntPtrInput
	// ID of the VPC or BMVPC.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) Bandwidth

func (o InstanceOutput) Bandwidth() pulumi.IntOutput

Bandwidth of the DC.

func (InstanceOutput) BgpAsn

func (o InstanceOutput) BgpAsn() pulumi.IntOutput

BGP ASN of the user. A required field within BGP.

func (InstanceOutput) BgpAuthKey

func (o InstanceOutput) BgpAuthKey() pulumi.StringPtrOutput

BGP key of the user.

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Creation time of resource.

func (InstanceOutput) CustomerAddress

func (o InstanceOutput) CustomerAddress() pulumi.StringOutput

Interconnect IP of the DC within client.

func (InstanceOutput) DcId

ID of the DC to be queried, application deployment offline.

func (InstanceOutput) DcgId

ID of the DC Gateway. Currently only new in the console.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Name

Name of the dedicated tunnel.

func (InstanceOutput) NetworkType

func (o InstanceOutput) NetworkType() pulumi.StringPtrOutput

Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.

func (InstanceOutput) RouteFilterPrefixes

func (o InstanceOutput) RouteFilterPrefixes() pulumi.StringArrayOutput

Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.

func (InstanceOutput) RouteType

func (o InstanceOutput) RouteType() pulumi.StringPtrOutput

Type of the route, and available values include BGP and STATIC. The default value is `BGP`.

func (InstanceOutput) State

State of the dedicated tunnels. Valid value: `PENDING`, `ALLOCATING`, `ALLOCATED`, `ALTERING`, `DELETING`, `DELETED`, `COMFIRMING` and `REJECTED`.

func (InstanceOutput) TencentAddress

func (o InstanceOutput) TencentAddress() pulumi.StringOutput

Interconnect IP of the DC within Tencent.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) Vlan

Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect.

func (InstanceOutput) VpcId

ID of the VPC or BMVPC.

type InstanceState

type InstanceState struct {
	// Bandwidth of the DC.
	Bandwidth pulumi.IntPtrInput
	// BGP ASN of the user. A required field within BGP.
	BgpAsn pulumi.IntPtrInput
	// BGP key of the user.
	BgpAuthKey pulumi.StringPtrInput
	// Creation time of resource.
	CreateTime pulumi.StringPtrInput
	// Interconnect IP of the DC within client.
	CustomerAddress pulumi.StringPtrInput
	// ID of the DC to be queried, application deployment offline.
	DcId pulumi.StringPtrInput
	// ID of the DC Gateway. Currently only new in the console.
	DcgId pulumi.StringPtrInput
	// Name of the dedicated tunnel.
	Name pulumi.StringPtrInput
	// Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`.
	NetworkType pulumi.StringPtrInput
	// Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
	RouteFilterPrefixes pulumi.StringArrayInput
	// Type of the route, and available values include BGP and STATIC. The default value is `BGP`.
	RouteType pulumi.StringPtrInput
	// State of the dedicated tunnels. Valid value: `PENDING`, `ALLOCATING`, `ALLOCATED`, `ALTERING`, `DELETING`, `DELETED`, `COMFIRMING` and `REJECTED`.
	State pulumi.StringPtrInput
	// Interconnect IP of the DC within Tencent.
	TencentAddress pulumi.StringPtrInput
	// Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect.
	Vlan pulumi.IntPtrInput
	// ID of the VPC or BMVPC.
	VpcId pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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