dc

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 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 Gateway

type Gateway struct {
	pulumi.CustomResourceState

	// Type of CCN route. Valid value: `BGP` and `STATIC`. The property is available when the DCG type is CCN gateway and BGP enabled.
	CnnRouteType pulumi.StringOutput `pulumi:"cnnRouteType"`
	// Creation time of resource.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Indicates whether the BGP is enabled.
	EnableBgp pulumi.BoolOutput `pulumi:"enableBgp"`
	// Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	GatewayType pulumi.StringPtrOutput `pulumi:"gatewayType"`
	// Name of the DCG.
	Name pulumi.StringOutput `pulumi:"name"`
	// If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID.
	NetworkInstanceId pulumi.StringOutput `pulumi:"networkInstanceId"`
	// Type of associated network. Valid value: `VPC` and `CCN`.
	NetworkType pulumi.StringOutput `pulumi:"networkType"`
}

Provides a resource to creating direct connect gateway instance.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := Vpc.NewInstance(ctx, "main", &Vpc.InstanceArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = Dc.NewGateway(ctx, "vpcMain", &Dc.GatewayArgs{
			NetworkInstanceId: main.ID(),
			NetworkType:       pulumi.String("VPC"),
			GatewayType:       pulumi.String("NAT"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct connect gateway instance can be imported, e.g.

```sh

$ pulumi import tencentcloud:Dc/gateway:Gateway instance dcg-id

```

func GetGateway

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

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

func NewGateway

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

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

func (*Gateway) ElementType

func (*Gateway) ElementType() reflect.Type

func (*Gateway) ToGatewayOutput

func (i *Gateway) ToGatewayOutput() GatewayOutput

func (*Gateway) ToGatewayOutputWithContext

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

type GatewayArgs

type GatewayArgs struct {
	// Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	GatewayType pulumi.StringPtrInput
	// Name of the DCG.
	Name pulumi.StringPtrInput
	// If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID.
	NetworkInstanceId pulumi.StringInput
	// Type of associated network. Valid value: `VPC` and `CCN`.
	NetworkType pulumi.StringInput
}

The set of arguments for constructing a Gateway resource.

func (GatewayArgs) ElementType

func (GatewayArgs) ElementType() reflect.Type

type GatewayArray

type GatewayArray []GatewayInput

func (GatewayArray) ElementType

func (GatewayArray) ElementType() reflect.Type

func (GatewayArray) ToGatewayArrayOutput

func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArray) ToGatewayArrayOutputWithContext

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

type GatewayArrayInput

type GatewayArrayInput interface {
	pulumi.Input

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

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

GatewayArray{ GatewayArgs{...} }

type GatewayArrayOutput

type GatewayArrayOutput struct{ *pulumi.OutputState }

func (GatewayArrayOutput) ElementType

func (GatewayArrayOutput) ElementType() reflect.Type

func (GatewayArrayOutput) Index

func (GatewayArrayOutput) ToGatewayArrayOutput

func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArrayOutput) ToGatewayArrayOutputWithContext

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

type GatewayAttachment added in v0.1.5

type GatewayAttachment struct {
	pulumi.CustomResourceState

	// DirectConnectGatewayId.
	DirectConnectGatewayId pulumi.StringOutput `pulumi:"directConnectGatewayId"`
	// NatGatewayId.
	NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"`
	// vpc id.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to create a dcGatewayAttachment

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.NewGatewayAttachment(ctx, "dcGatewayAttachment", &Dc.GatewayAttachmentArgs{
			DirectConnectGatewayId: pulumi.String("dcg-dmbhf7jf"),
			NatGatewayId:           pulumi.String("nat-7kanjc6y"),
			VpcId:                  pulumi.String("vpc-4h9v4mo3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import tencentcloud:Dc/gatewayAttachment:GatewayAttachment dc_gateway_attachment vpcId#dcgId#ngId

```

func GetGatewayAttachment added in v0.1.5

func GetGatewayAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayAttachmentState, opts ...pulumi.ResourceOption) (*GatewayAttachment, error)

GetGatewayAttachment gets an existing GatewayAttachment 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 NewGatewayAttachment added in v0.1.5

func NewGatewayAttachment(ctx *pulumi.Context,
	name string, args *GatewayAttachmentArgs, opts ...pulumi.ResourceOption) (*GatewayAttachment, error)

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

func (*GatewayAttachment) ElementType added in v0.1.5

func (*GatewayAttachment) ElementType() reflect.Type

func (*GatewayAttachment) ToGatewayAttachmentOutput added in v0.1.5

func (i *GatewayAttachment) ToGatewayAttachmentOutput() GatewayAttachmentOutput

func (*GatewayAttachment) ToGatewayAttachmentOutputWithContext added in v0.1.5

func (i *GatewayAttachment) ToGatewayAttachmentOutputWithContext(ctx context.Context) GatewayAttachmentOutput

type GatewayAttachmentArgs added in v0.1.5

type GatewayAttachmentArgs struct {
	// DirectConnectGatewayId.
	DirectConnectGatewayId pulumi.StringInput
	// NatGatewayId.
	NatGatewayId pulumi.StringInput
	// vpc id.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a GatewayAttachment resource.

func (GatewayAttachmentArgs) ElementType added in v0.1.5

func (GatewayAttachmentArgs) ElementType() reflect.Type

type GatewayAttachmentArray added in v0.1.5

type GatewayAttachmentArray []GatewayAttachmentInput

func (GatewayAttachmentArray) ElementType added in v0.1.5

func (GatewayAttachmentArray) ElementType() reflect.Type

func (GatewayAttachmentArray) ToGatewayAttachmentArrayOutput added in v0.1.5

func (i GatewayAttachmentArray) ToGatewayAttachmentArrayOutput() GatewayAttachmentArrayOutput

func (GatewayAttachmentArray) ToGatewayAttachmentArrayOutputWithContext added in v0.1.5

func (i GatewayAttachmentArray) ToGatewayAttachmentArrayOutputWithContext(ctx context.Context) GatewayAttachmentArrayOutput

type GatewayAttachmentArrayInput added in v0.1.5

type GatewayAttachmentArrayInput interface {
	pulumi.Input

	ToGatewayAttachmentArrayOutput() GatewayAttachmentArrayOutput
	ToGatewayAttachmentArrayOutputWithContext(context.Context) GatewayAttachmentArrayOutput
}

GatewayAttachmentArrayInput is an input type that accepts GatewayAttachmentArray and GatewayAttachmentArrayOutput values. You can construct a concrete instance of `GatewayAttachmentArrayInput` via:

GatewayAttachmentArray{ GatewayAttachmentArgs{...} }

type GatewayAttachmentArrayOutput added in v0.1.5

type GatewayAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GatewayAttachmentArrayOutput) ElementType added in v0.1.5

func (GatewayAttachmentArrayOutput) Index added in v0.1.5

func (GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutput added in v0.1.5

func (o GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutput() GatewayAttachmentArrayOutput

func (GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutputWithContext added in v0.1.5

func (o GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutputWithContext(ctx context.Context) GatewayAttachmentArrayOutput

type GatewayAttachmentInput added in v0.1.5

type GatewayAttachmentInput interface {
	pulumi.Input

	ToGatewayAttachmentOutput() GatewayAttachmentOutput
	ToGatewayAttachmentOutputWithContext(ctx context.Context) GatewayAttachmentOutput
}

type GatewayAttachmentMap added in v0.1.5

type GatewayAttachmentMap map[string]GatewayAttachmentInput

func (GatewayAttachmentMap) ElementType added in v0.1.5

func (GatewayAttachmentMap) ElementType() reflect.Type

func (GatewayAttachmentMap) ToGatewayAttachmentMapOutput added in v0.1.5

func (i GatewayAttachmentMap) ToGatewayAttachmentMapOutput() GatewayAttachmentMapOutput

func (GatewayAttachmentMap) ToGatewayAttachmentMapOutputWithContext added in v0.1.5

func (i GatewayAttachmentMap) ToGatewayAttachmentMapOutputWithContext(ctx context.Context) GatewayAttachmentMapOutput

type GatewayAttachmentMapInput added in v0.1.5

type GatewayAttachmentMapInput interface {
	pulumi.Input

	ToGatewayAttachmentMapOutput() GatewayAttachmentMapOutput
	ToGatewayAttachmentMapOutputWithContext(context.Context) GatewayAttachmentMapOutput
}

GatewayAttachmentMapInput is an input type that accepts GatewayAttachmentMap and GatewayAttachmentMapOutput values. You can construct a concrete instance of `GatewayAttachmentMapInput` via:

GatewayAttachmentMap{ "key": GatewayAttachmentArgs{...} }

type GatewayAttachmentMapOutput added in v0.1.5

type GatewayAttachmentMapOutput struct{ *pulumi.OutputState }

func (GatewayAttachmentMapOutput) ElementType added in v0.1.5

func (GatewayAttachmentMapOutput) ElementType() reflect.Type

func (GatewayAttachmentMapOutput) MapIndex added in v0.1.5

func (GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutput added in v0.1.5

func (o GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutput() GatewayAttachmentMapOutput

func (GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutputWithContext added in v0.1.5

func (o GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutputWithContext(ctx context.Context) GatewayAttachmentMapOutput

type GatewayAttachmentOutput added in v0.1.5

type GatewayAttachmentOutput struct{ *pulumi.OutputState }

func (GatewayAttachmentOutput) DirectConnectGatewayId added in v0.1.5

func (o GatewayAttachmentOutput) DirectConnectGatewayId() pulumi.StringOutput

DirectConnectGatewayId.

func (GatewayAttachmentOutput) ElementType added in v0.1.5

func (GatewayAttachmentOutput) ElementType() reflect.Type

func (GatewayAttachmentOutput) NatGatewayId added in v0.1.5

func (o GatewayAttachmentOutput) NatGatewayId() pulumi.StringOutput

NatGatewayId.

func (GatewayAttachmentOutput) ToGatewayAttachmentOutput added in v0.1.5

func (o GatewayAttachmentOutput) ToGatewayAttachmentOutput() GatewayAttachmentOutput

func (GatewayAttachmentOutput) ToGatewayAttachmentOutputWithContext added in v0.1.5

func (o GatewayAttachmentOutput) ToGatewayAttachmentOutputWithContext(ctx context.Context) GatewayAttachmentOutput

func (GatewayAttachmentOutput) VpcId added in v0.1.5

vpc id.

type GatewayAttachmentState added in v0.1.5

type GatewayAttachmentState struct {
	// DirectConnectGatewayId.
	DirectConnectGatewayId pulumi.StringPtrInput
	// NatGatewayId.
	NatGatewayId pulumi.StringPtrInput
	// vpc id.
	VpcId pulumi.StringPtrInput
}

func (GatewayAttachmentState) ElementType added in v0.1.5

func (GatewayAttachmentState) ElementType() reflect.Type

type GatewayCcnRoute

type GatewayCcnRoute struct {
	pulumi.CustomResourceState

	// As path list of the BGP.
	AsPaths pulumi.StringArrayOutput `pulumi:"asPaths"`
	// A network address segment of IDC.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// ID of the DCG.
	DcgId pulumi.StringOutput `pulumi:"dcgId"`
}

Provides a resource to creating direct connect gateway route entry.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := Ccn.NewInstance(ctx, "main", &Ccn.InstanceArgs{
			Description: pulumi.String("ci-temp-test-ccn-des"),
			Qos:         pulumi.String("AG"),
		})
		if err != nil {
			return err
		}
		ccnMain, err := Dc.NewGateway(ctx, "ccnMain", &Dc.GatewayArgs{
			NetworkInstanceId: main.ID(),
			NetworkType:       pulumi.String("CCN"),
			GatewayType:       pulumi.String("NORMAL"),
		})
		if err != nil {
			return err
		}
		_, err = Dc.NewGatewayCcnRoute(ctx, "route1", &Dc.GatewayCcnRouteArgs{
			DcgId:     ccnMain.ID(),
			CidrBlock: pulumi.String("10.1.1.0/32"),
		})
		if err != nil {
			return err
		}
		_, err = Dc.NewGatewayCcnRoute(ctx, "route2", &Dc.GatewayCcnRouteArgs{
			DcgId:     ccnMain.ID(),
			CidrBlock: pulumi.String("192.1.1.0/32"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetGatewayCcnRoute

func GetGatewayCcnRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayCcnRouteState, opts ...pulumi.ResourceOption) (*GatewayCcnRoute, error)

GetGatewayCcnRoute gets an existing GatewayCcnRoute 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 NewGatewayCcnRoute

func NewGatewayCcnRoute(ctx *pulumi.Context,
	name string, args *GatewayCcnRouteArgs, opts ...pulumi.ResourceOption) (*GatewayCcnRoute, error)

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

func (*GatewayCcnRoute) ElementType

func (*GatewayCcnRoute) ElementType() reflect.Type

func (*GatewayCcnRoute) ToGatewayCcnRouteOutput

func (i *GatewayCcnRoute) ToGatewayCcnRouteOutput() GatewayCcnRouteOutput

func (*GatewayCcnRoute) ToGatewayCcnRouteOutputWithContext

func (i *GatewayCcnRoute) ToGatewayCcnRouteOutputWithContext(ctx context.Context) GatewayCcnRouteOutput

type GatewayCcnRouteArgs

type GatewayCcnRouteArgs struct {
	// A network address segment of IDC.
	CidrBlock pulumi.StringInput
	// ID of the DCG.
	DcgId pulumi.StringInput
}

The set of arguments for constructing a GatewayCcnRoute resource.

func (GatewayCcnRouteArgs) ElementType

func (GatewayCcnRouteArgs) ElementType() reflect.Type

type GatewayCcnRouteArray

type GatewayCcnRouteArray []GatewayCcnRouteInput

func (GatewayCcnRouteArray) ElementType

func (GatewayCcnRouteArray) ElementType() reflect.Type

func (GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutput

func (i GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutput() GatewayCcnRouteArrayOutput

func (GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutputWithContext

func (i GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutputWithContext(ctx context.Context) GatewayCcnRouteArrayOutput

type GatewayCcnRouteArrayInput

type GatewayCcnRouteArrayInput interface {
	pulumi.Input

	ToGatewayCcnRouteArrayOutput() GatewayCcnRouteArrayOutput
	ToGatewayCcnRouteArrayOutputWithContext(context.Context) GatewayCcnRouteArrayOutput
}

GatewayCcnRouteArrayInput is an input type that accepts GatewayCcnRouteArray and GatewayCcnRouteArrayOutput values. You can construct a concrete instance of `GatewayCcnRouteArrayInput` via:

GatewayCcnRouteArray{ GatewayCcnRouteArgs{...} }

type GatewayCcnRouteArrayOutput

type GatewayCcnRouteArrayOutput struct{ *pulumi.OutputState }

func (GatewayCcnRouteArrayOutput) ElementType

func (GatewayCcnRouteArrayOutput) ElementType() reflect.Type

func (GatewayCcnRouteArrayOutput) Index

func (GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutput

func (o GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutput() GatewayCcnRouteArrayOutput

func (GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutputWithContext

func (o GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutputWithContext(ctx context.Context) GatewayCcnRouteArrayOutput

type GatewayCcnRouteInput

type GatewayCcnRouteInput interface {
	pulumi.Input

	ToGatewayCcnRouteOutput() GatewayCcnRouteOutput
	ToGatewayCcnRouteOutputWithContext(ctx context.Context) GatewayCcnRouteOutput
}

type GatewayCcnRouteMap

type GatewayCcnRouteMap map[string]GatewayCcnRouteInput

func (GatewayCcnRouteMap) ElementType

func (GatewayCcnRouteMap) ElementType() reflect.Type

func (GatewayCcnRouteMap) ToGatewayCcnRouteMapOutput

func (i GatewayCcnRouteMap) ToGatewayCcnRouteMapOutput() GatewayCcnRouteMapOutput

func (GatewayCcnRouteMap) ToGatewayCcnRouteMapOutputWithContext

func (i GatewayCcnRouteMap) ToGatewayCcnRouteMapOutputWithContext(ctx context.Context) GatewayCcnRouteMapOutput

type GatewayCcnRouteMapInput

type GatewayCcnRouteMapInput interface {
	pulumi.Input

	ToGatewayCcnRouteMapOutput() GatewayCcnRouteMapOutput
	ToGatewayCcnRouteMapOutputWithContext(context.Context) GatewayCcnRouteMapOutput
}

GatewayCcnRouteMapInput is an input type that accepts GatewayCcnRouteMap and GatewayCcnRouteMapOutput values. You can construct a concrete instance of `GatewayCcnRouteMapInput` via:

GatewayCcnRouteMap{ "key": GatewayCcnRouteArgs{...} }

type GatewayCcnRouteMapOutput

type GatewayCcnRouteMapOutput struct{ *pulumi.OutputState }

func (GatewayCcnRouteMapOutput) ElementType

func (GatewayCcnRouteMapOutput) ElementType() reflect.Type

func (GatewayCcnRouteMapOutput) MapIndex

func (GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutput

func (o GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutput() GatewayCcnRouteMapOutput

func (GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutputWithContext

func (o GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutputWithContext(ctx context.Context) GatewayCcnRouteMapOutput

type GatewayCcnRouteOutput

type GatewayCcnRouteOutput struct{ *pulumi.OutputState }

func (GatewayCcnRouteOutput) AsPaths

As path list of the BGP.

func (GatewayCcnRouteOutput) CidrBlock

A network address segment of IDC.

func (GatewayCcnRouteOutput) DcgId

ID of the DCG.

func (GatewayCcnRouteOutput) ElementType

func (GatewayCcnRouteOutput) ElementType() reflect.Type

func (GatewayCcnRouteOutput) ToGatewayCcnRouteOutput

func (o GatewayCcnRouteOutput) ToGatewayCcnRouteOutput() GatewayCcnRouteOutput

func (GatewayCcnRouteOutput) ToGatewayCcnRouteOutputWithContext

func (o GatewayCcnRouteOutput) ToGatewayCcnRouteOutputWithContext(ctx context.Context) GatewayCcnRouteOutput

type GatewayCcnRouteState

type GatewayCcnRouteState struct {
	// As path list of the BGP.
	AsPaths pulumi.StringArrayInput
	// A network address segment of IDC.
	CidrBlock pulumi.StringPtrInput
	// ID of the DCG.
	DcgId pulumi.StringPtrInput
}

func (GatewayCcnRouteState) ElementType

func (GatewayCcnRouteState) ElementType() reflect.Type

type GatewayInput

type GatewayInput interface {
	pulumi.Input

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

type GatewayMap

type GatewayMap map[string]GatewayInput

func (GatewayMap) ElementType

func (GatewayMap) ElementType() reflect.Type

func (GatewayMap) ToGatewayMapOutput

func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMap) ToGatewayMapOutputWithContext

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

type GatewayMapInput

type GatewayMapInput interface {
	pulumi.Input

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

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

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

type GatewayMapOutput

type GatewayMapOutput struct{ *pulumi.OutputState }

func (GatewayMapOutput) ElementType

func (GatewayMapOutput) ElementType() reflect.Type

func (GatewayMapOutput) MapIndex

func (GatewayMapOutput) ToGatewayMapOutput

func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMapOutput) ToGatewayMapOutputWithContext

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

type GatewayOutput

type GatewayOutput struct{ *pulumi.OutputState }

func (GatewayOutput) CnnRouteType

func (o GatewayOutput) CnnRouteType() pulumi.StringOutput

Type of CCN route. Valid value: `BGP` and `STATIC`. The property is available when the DCG type is CCN gateway and BGP enabled.

func (GatewayOutput) CreateTime

func (o GatewayOutput) CreateTime() pulumi.StringOutput

Creation time of resource.

func (GatewayOutput) ElementType

func (GatewayOutput) ElementType() reflect.Type

func (GatewayOutput) EnableBgp

func (o GatewayOutput) EnableBgp() pulumi.BoolOutput

Indicates whether the BGP is enabled.

func (GatewayOutput) GatewayType

func (o GatewayOutput) GatewayType() pulumi.StringPtrOutput

Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.

func (GatewayOutput) Name

Name of the DCG.

func (GatewayOutput) NetworkInstanceId

func (o GatewayOutput) NetworkInstanceId() pulumi.StringOutput

If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID.

func (GatewayOutput) NetworkType

func (o GatewayOutput) NetworkType() pulumi.StringOutput

Type of associated network. Valid value: `VPC` and `CCN`.

func (GatewayOutput) ToGatewayOutput

func (o GatewayOutput) ToGatewayOutput() GatewayOutput

func (GatewayOutput) ToGatewayOutputWithContext

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

type GatewayState

type GatewayState struct {
	// Type of CCN route. Valid value: `BGP` and `STATIC`. The property is available when the DCG type is CCN gateway and BGP enabled.
	CnnRouteType pulumi.StringPtrInput
	// Creation time of resource.
	CreateTime pulumi.StringPtrInput
	// Indicates whether the BGP is enabled.
	EnableBgp pulumi.BoolPtrInput
	// Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
	GatewayType pulumi.StringPtrInput
	// Name of the DCG.
	Name pulumi.StringPtrInput
	// If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID.
	NetworkInstanceId pulumi.StringPtrInput
	// Type of associated network. Valid value: `VPC` and `CCN`.
	NetworkType pulumi.StringPtrInput
}

func (GatewayState) ElementType

func (GatewayState) ElementType() reflect.Type

type GetAccessPointsAccessPointSet added in v0.1.5

type GetAccessPointsAccessPointSet struct {
	// Unique access point ID.
	AccessPointId string `pulumi:"accessPointId"`
	// Access point name.
	AccessPointName string `pulumi:"accessPointName"`
	// Access point type. Valid values: `VXLAN`, `QCPL`, and `QCAR`.Note: this field may return `null`, indicating that no valid values can be obtained.
	AccessPointType string `pulumi:"accessPointType"`
	// Access point regionNote: this field may return `null`, indicating that no valid values can be obtained.
	Area string `pulumi:"area"`
	// Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return `null`, indicating that no valid value is obtained.
	AvailablePortTypes []string `pulumi:"availablePortTypes"`
	// City where the access point is locatedNote: this field may return `null`, indicating that no valid values can be obtained.
	City string `pulumi:"city"`
	// Latitude and longitude of the access pointNote: this field may return `null`, indicating that no valid values can be obtained.
	Coordinates []GetAccessPointsAccessPointSetCoordinate `pulumi:"coordinates"`
	// List of ISPs supported by access point.
	LineOperators []string `pulumi:"lineOperators"`
	// Access point location.
	Location string `pulumi:"location"`
	// Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID.
	RegionId string `pulumi:"regionId"`
	// Access point status. Valid values: available, unavailable.
	State string `pulumi:"state"`
}

type GetAccessPointsAccessPointSetArgs added in v0.1.5

type GetAccessPointsAccessPointSetArgs struct {
	// Unique access point ID.
	AccessPointId pulumi.StringInput `pulumi:"accessPointId"`
	// Access point name.
	AccessPointName pulumi.StringInput `pulumi:"accessPointName"`
	// Access point type. Valid values: `VXLAN`, `QCPL`, and `QCAR`.Note: this field may return `null`, indicating that no valid values can be obtained.
	AccessPointType pulumi.StringInput `pulumi:"accessPointType"`
	// Access point regionNote: this field may return `null`, indicating that no valid values can be obtained.
	Area pulumi.StringInput `pulumi:"area"`
	// Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return `null`, indicating that no valid value is obtained.
	AvailablePortTypes pulumi.StringArrayInput `pulumi:"availablePortTypes"`
	// City where the access point is locatedNote: this field may return `null`, indicating that no valid values can be obtained.
	City pulumi.StringInput `pulumi:"city"`
	// Latitude and longitude of the access pointNote: this field may return `null`, indicating that no valid values can be obtained.
	Coordinates GetAccessPointsAccessPointSetCoordinateArrayInput `pulumi:"coordinates"`
	// List of ISPs supported by access point.
	LineOperators pulumi.StringArrayInput `pulumi:"lineOperators"`
	// Access point location.
	Location pulumi.StringInput `pulumi:"location"`
	// Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// Access point status. Valid values: available, unavailable.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetAccessPointsAccessPointSetArgs) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutput added in v0.1.5

func (i GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput

func (GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutputWithContext added in v0.1.5

func (i GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetOutput

type GetAccessPointsAccessPointSetArray added in v0.1.5

type GetAccessPointsAccessPointSetArray []GetAccessPointsAccessPointSetInput

func (GetAccessPointsAccessPointSetArray) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutput added in v0.1.5

func (i GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput

func (GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutputWithContext added in v0.1.5

func (i GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetArrayOutput

type GetAccessPointsAccessPointSetArrayInput added in v0.1.5

type GetAccessPointsAccessPointSetArrayInput interface {
	pulumi.Input

	ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput
	ToGetAccessPointsAccessPointSetArrayOutputWithContext(context.Context) GetAccessPointsAccessPointSetArrayOutput
}

GetAccessPointsAccessPointSetArrayInput is an input type that accepts GetAccessPointsAccessPointSetArray and GetAccessPointsAccessPointSetArrayOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetArrayInput` via:

GetAccessPointsAccessPointSetArray{ GetAccessPointsAccessPointSetArgs{...} }

type GetAccessPointsAccessPointSetArrayOutput added in v0.1.5

type GetAccessPointsAccessPointSetArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointsAccessPointSetArrayOutput) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetArrayOutput) Index added in v0.1.5

func (GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutput added in v0.1.5

func (o GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput

func (GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutputWithContext added in v0.1.5

func (o GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetArrayOutput

type GetAccessPointsAccessPointSetCoordinate added in v0.1.5

type GetAccessPointsAccessPointSetCoordinate struct {
	// Latitude.
	Lat float64 `pulumi:"lat"`
	// Longitude.
	Lng float64 `pulumi:"lng"`
}

type GetAccessPointsAccessPointSetCoordinateArgs added in v0.1.5

type GetAccessPointsAccessPointSetCoordinateArgs struct {
	// Latitude.
	Lat pulumi.Float64Input `pulumi:"lat"`
	// Longitude.
	Lng pulumi.Float64Input `pulumi:"lng"`
}

func (GetAccessPointsAccessPointSetCoordinateArgs) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutput added in v0.1.5

func (i GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput

func (GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext added in v0.1.5

func (i GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateOutput

type GetAccessPointsAccessPointSetCoordinateArray added in v0.1.5

type GetAccessPointsAccessPointSetCoordinateArray []GetAccessPointsAccessPointSetCoordinateInput

func (GetAccessPointsAccessPointSetCoordinateArray) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutput added in v0.1.5

func (i GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput

func (GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext added in v0.1.5

func (i GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput

type GetAccessPointsAccessPointSetCoordinateArrayInput added in v0.1.5

type GetAccessPointsAccessPointSetCoordinateArrayInput interface {
	pulumi.Input

	ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput
	ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput
}

GetAccessPointsAccessPointSetCoordinateArrayInput is an input type that accepts GetAccessPointsAccessPointSetCoordinateArray and GetAccessPointsAccessPointSetCoordinateArrayOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetCoordinateArrayInput` via:

GetAccessPointsAccessPointSetCoordinateArray{ GetAccessPointsAccessPointSetCoordinateArgs{...} }

type GetAccessPointsAccessPointSetCoordinateArrayOutput added in v0.1.5

type GetAccessPointsAccessPointSetCoordinateArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetCoordinateArrayOutput) Index added in v0.1.5

func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutput added in v0.1.5

func (o GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput

func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext added in v0.1.5

func (o GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput

type GetAccessPointsAccessPointSetCoordinateInput added in v0.1.5

type GetAccessPointsAccessPointSetCoordinateInput interface {
	pulumi.Input

	ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput
	ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(context.Context) GetAccessPointsAccessPointSetCoordinateOutput
}

GetAccessPointsAccessPointSetCoordinateInput is an input type that accepts GetAccessPointsAccessPointSetCoordinateArgs and GetAccessPointsAccessPointSetCoordinateOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetCoordinateInput` via:

GetAccessPointsAccessPointSetCoordinateArgs{...}

type GetAccessPointsAccessPointSetCoordinateOutput added in v0.1.5

type GetAccessPointsAccessPointSetCoordinateOutput struct{ *pulumi.OutputState }

func (GetAccessPointsAccessPointSetCoordinateOutput) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetCoordinateOutput) Lat added in v0.1.5

Latitude.

func (GetAccessPointsAccessPointSetCoordinateOutput) Lng added in v0.1.5

Longitude.

func (GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutput added in v0.1.5

func (o GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput

func (GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext added in v0.1.5

func (o GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateOutput

type GetAccessPointsAccessPointSetInput added in v0.1.5

type GetAccessPointsAccessPointSetInput interface {
	pulumi.Input

	ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput
	ToGetAccessPointsAccessPointSetOutputWithContext(context.Context) GetAccessPointsAccessPointSetOutput
}

GetAccessPointsAccessPointSetInput is an input type that accepts GetAccessPointsAccessPointSetArgs and GetAccessPointsAccessPointSetOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetInput` via:

GetAccessPointsAccessPointSetArgs{...}

type GetAccessPointsAccessPointSetOutput added in v0.1.5

type GetAccessPointsAccessPointSetOutput struct{ *pulumi.OutputState }

func (GetAccessPointsAccessPointSetOutput) AccessPointId added in v0.1.5

Unique access point ID.

func (GetAccessPointsAccessPointSetOutput) AccessPointName added in v0.1.5

Access point name.

func (GetAccessPointsAccessPointSetOutput) AccessPointType added in v0.1.5

Access point type. Valid values: `VXLAN`, `QCPL`, and `QCAR`.Note: this field may return `null`, indicating that no valid values can be obtained.

func (GetAccessPointsAccessPointSetOutput) Area added in v0.1.5

Access point regionNote: this field may return `null`, indicating that no valid values can be obtained.

func (GetAccessPointsAccessPointSetOutput) AvailablePortTypes added in v0.1.5

Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return `null`, indicating that no valid value is obtained.

func (GetAccessPointsAccessPointSetOutput) City added in v0.1.5

City where the access point is locatedNote: this field may return `null`, indicating that no valid values can be obtained.

func (GetAccessPointsAccessPointSetOutput) Coordinates added in v0.1.5

Latitude and longitude of the access pointNote: this field may return `null`, indicating that no valid values can be obtained.

func (GetAccessPointsAccessPointSetOutput) ElementType added in v0.1.5

func (GetAccessPointsAccessPointSetOutput) LineOperators added in v0.1.5

List of ISPs supported by access point.

func (GetAccessPointsAccessPointSetOutput) Location added in v0.1.5

Access point location.

func (GetAccessPointsAccessPointSetOutput) RegionId added in v0.1.5

Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID.

func (GetAccessPointsAccessPointSetOutput) State added in v0.1.5

Access point status. Valid values: available, unavailable.

func (GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutput added in v0.1.5

func (o GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput

func (GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutputWithContext added in v0.1.5

func (o GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetOutput

type GetAccessPointsArgs added in v0.1.5

type GetAccessPointsArgs struct {
	// Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID.
	RegionId *string `pulumi:"regionId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAccessPoints.

type GetAccessPointsOutputArgs added in v0.1.5

type GetAccessPointsOutputArgs struct {
	// Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID.
	RegionId pulumi.StringPtrInput `pulumi:"regionId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAccessPoints.

func (GetAccessPointsOutputArgs) ElementType added in v0.1.5

func (GetAccessPointsOutputArgs) ElementType() reflect.Type

type GetAccessPointsResult added in v0.1.5

type GetAccessPointsResult struct {
	// Access point information.
	AccessPointSets []GetAccessPointsAccessPointSet `pulumi:"accessPointSets"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ID of the region that manages the access point.
	RegionId         *string `pulumi:"regionId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getAccessPoints.

func GetAccessPoints added in v0.1.5

func GetAccessPoints(ctx *pulumi.Context, args *GetAccessPointsArgs, opts ...pulumi.InvokeOption) (*GetAccessPointsResult, error)

Use this data source to query detailed information of dc accessPoints

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.GetAccessPoints(ctx, &dc.GetAccessPointsArgs{
			RegionId: pulumi.StringRef("ap-guangzhou"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAccessPointsResultOutput added in v0.1.5

type GetAccessPointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessPoints.

func GetAccessPointsOutput added in v0.1.5

func (GetAccessPointsResultOutput) AccessPointSets added in v0.1.5

Access point information.

func (GetAccessPointsResultOutput) ElementType added in v0.1.5

func (GetAccessPointsResultOutput) Id added in v0.1.5

The provider-assigned unique ID for this managed resource.

func (GetAccessPointsResultOutput) RegionId added in v0.1.5

ID of the region that manages the access point.

func (GetAccessPointsResultOutput) ResultOutputFile added in v0.1.5

func (o GetAccessPointsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetAccessPointsResultOutput) ToGetAccessPointsResultOutput added in v0.1.5

func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutput() GetAccessPointsResultOutput

func (GetAccessPointsResultOutput) ToGetAccessPointsResultOutputWithContext added in v0.1.5

func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutputWithContext(ctx context.Context) GetAccessPointsResultOutput

type GetGatewayCcnRoutesArgs

type GetGatewayCcnRoutesArgs struct {
	// ID of the DCG to be queried.
	DcgId string `pulumi:"dcgId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getGatewayCcnRoutes.

type GetGatewayCcnRoutesInstanceList

type GetGatewayCcnRoutesInstanceList struct {
	// As path list of the BGP.
	AsPaths []string `pulumi:"asPaths"`
	// A network address segment of IDC.
	CidrBlock string `pulumi:"cidrBlock"`
	// ID of the DCG to be queried.
	DcgId string `pulumi:"dcgId"`
	// ID of the DCG route.
	RouteId string `pulumi:"routeId"`
}

type GetGatewayCcnRoutesInstanceListArgs

type GetGatewayCcnRoutesInstanceListArgs struct {
	// As path list of the BGP.
	AsPaths pulumi.StringArrayInput `pulumi:"asPaths"`
	// A network address segment of IDC.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// ID of the DCG to be queried.
	DcgId pulumi.StringInput `pulumi:"dcgId"`
	// ID of the DCG route.
	RouteId pulumi.StringInput `pulumi:"routeId"`
}

func (GetGatewayCcnRoutesInstanceListArgs) ElementType

func (GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutput

func (i GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput

func (GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutputWithContext

func (i GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListOutput

type GetGatewayCcnRoutesInstanceListArray

type GetGatewayCcnRoutesInstanceListArray []GetGatewayCcnRoutesInstanceListInput

func (GetGatewayCcnRoutesInstanceListArray) ElementType

func (GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutput

func (i GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput

func (GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext

func (i GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListArrayOutput

type GetGatewayCcnRoutesInstanceListArrayInput

type GetGatewayCcnRoutesInstanceListArrayInput interface {
	pulumi.Input

	ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput
	ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(context.Context) GetGatewayCcnRoutesInstanceListArrayOutput
}

GetGatewayCcnRoutesInstanceListArrayInput is an input type that accepts GetGatewayCcnRoutesInstanceListArray and GetGatewayCcnRoutesInstanceListArrayOutput values. You can construct a concrete instance of `GetGatewayCcnRoutesInstanceListArrayInput` via:

GetGatewayCcnRoutesInstanceListArray{ GetGatewayCcnRoutesInstanceListArgs{...} }

type GetGatewayCcnRoutesInstanceListArrayOutput

type GetGatewayCcnRoutesInstanceListArrayOutput struct{ *pulumi.OutputState }

func (GetGatewayCcnRoutesInstanceListArrayOutput) ElementType

func (GetGatewayCcnRoutesInstanceListArrayOutput) Index

func (GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutput

func (o GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput

func (GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext

func (o GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListArrayOutput

type GetGatewayCcnRoutesInstanceListInput

type GetGatewayCcnRoutesInstanceListInput interface {
	pulumi.Input

	ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput
	ToGetGatewayCcnRoutesInstanceListOutputWithContext(context.Context) GetGatewayCcnRoutesInstanceListOutput
}

GetGatewayCcnRoutesInstanceListInput is an input type that accepts GetGatewayCcnRoutesInstanceListArgs and GetGatewayCcnRoutesInstanceListOutput values. You can construct a concrete instance of `GetGatewayCcnRoutesInstanceListInput` via:

GetGatewayCcnRoutesInstanceListArgs{...}

type GetGatewayCcnRoutesInstanceListOutput

type GetGatewayCcnRoutesInstanceListOutput struct{ *pulumi.OutputState }

func (GetGatewayCcnRoutesInstanceListOutput) AsPaths

As path list of the BGP.

func (GetGatewayCcnRoutesInstanceListOutput) CidrBlock

A network address segment of IDC.

func (GetGatewayCcnRoutesInstanceListOutput) DcgId

ID of the DCG to be queried.

func (GetGatewayCcnRoutesInstanceListOutput) ElementType

func (GetGatewayCcnRoutesInstanceListOutput) RouteId

ID of the DCG route.

func (GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutput

func (o GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput

func (GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutputWithContext

func (o GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListOutput

type GetGatewayCcnRoutesOutputArgs

type GetGatewayCcnRoutesOutputArgs struct {
	// ID of the DCG to be queried.
	DcgId pulumi.StringInput `pulumi:"dcgId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getGatewayCcnRoutes.

func (GetGatewayCcnRoutesOutputArgs) ElementType

type GetGatewayCcnRoutesResult

type GetGatewayCcnRoutesResult struct {
	// ID of the DCG.
	DcgId string `pulumi:"dcgId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Information list of the DCG route entries.
	InstanceLists    []GetGatewayCcnRoutesInstanceList `pulumi:"instanceLists"`
	ResultOutputFile *string                           `pulumi:"resultOutputFile"`
}

A collection of values returned by getGatewayCcnRoutes.

func GetGatewayCcnRoutes

func GetGatewayCcnRoutes(ctx *pulumi.Context, args *GetGatewayCcnRoutesArgs, opts ...pulumi.InvokeOption) (*GetGatewayCcnRoutesResult, error)

Use this data source to query detailed information of direct connect gateway route entries.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := Ccn.NewInstance(ctx, "main", &Ccn.InstanceArgs{
			Description: pulumi.String("ci-temp-test-ccn-des"),
			Qos:         pulumi.String("AG"),
		})
		if err != nil {
			return err
		}
		ccnMain, err := Dc.NewGateway(ctx, "ccnMain", &Dc.GatewayArgs{
			NetworkInstanceId: main.ID(),
			NetworkType:       pulumi.String("CCN"),
			GatewayType:       pulumi.String("NORMAL"),
		})
		if err != nil {
			return err
		}
		_, err = Dc.NewGatewayCcnRoute(ctx, "route1", &Dc.GatewayCcnRouteArgs{
			DcgId:     ccnMain.ID(),
			CidrBlock: pulumi.String("10.1.1.0/32"),
		})
		if err != nil {
			return err
		}
		_, err = Dc.NewGatewayCcnRoute(ctx, "route2", &Dc.GatewayCcnRouteArgs{
			DcgId:     ccnMain.ID(),
			CidrBlock: pulumi.String("192.1.1.0/32"),
		})
		if err != nil {
			return err
		}
		_ = Dc.GetGatewayCcnRoutesOutput(ctx, dc.GetGatewayCcnRoutesOutputArgs{
			DcgId: ccnMain.ID(),
		}, nil)
		return nil
	})
}

```

type GetGatewayCcnRoutesResultOutput

type GetGatewayCcnRoutesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGatewayCcnRoutes.

func (GetGatewayCcnRoutesResultOutput) DcgId

ID of the DCG.

func (GetGatewayCcnRoutesResultOutput) ElementType

func (GetGatewayCcnRoutesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGatewayCcnRoutesResultOutput) InstanceLists

Information list of the DCG route entries.

func (GetGatewayCcnRoutesResultOutput) ResultOutputFile

func (GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutput

func (o GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutput() GetGatewayCcnRoutesResultOutput

func (GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutputWithContext

func (o GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutputWithContext(ctx context.Context) GetGatewayCcnRoutesResultOutput

type GetGatewayInstancesArgs

type GetGatewayInstancesArgs struct {
	// ID of the DCG to be queried.
	DcgId *string `pulumi:"dcgId"`
	// Name of the DCG to be queried.
	Name *string `pulumi:"name"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getGatewayInstances.

type GetGatewayInstancesInstanceList

type GetGatewayInstancesInstanceList struct {
	// Type of CCN route. Valid values: `BGP` and `STATIC`.
	CnnRouteType string `pulumi:"cnnRouteType"`
	// Creation time of resource.
	CreateTime string `pulumi:"createTime"`
	// ID of the DCG to be queried.
	DcgId string `pulumi:"dcgId"`
	// IP of the DCG.
	DcgIp string `pulumi:"dcgIp"`
	// Indicates whether the BGP is enabled.
	EnableBgp bool `pulumi:"enableBgp"`
	// Type of the gateway. Valid values: `NORMAL` and `NAT`. Default is `NORMAL`.
	GatewayType string `pulumi:"gatewayType"`
	// Name of the DCG to be queried.
	Name string `pulumi:"name"`
	// Type of associated network. Valid values: `VPC` and `CCN`.
	NetworkInstanceId string `pulumi:"networkInstanceId"`
	// IP of the DCG.
	NetworkType string `pulumi:"networkType"`
}

type GetGatewayInstancesInstanceListArgs

type GetGatewayInstancesInstanceListArgs struct {
	// Type of CCN route. Valid values: `BGP` and `STATIC`.
	CnnRouteType pulumi.StringInput `pulumi:"cnnRouteType"`
	// Creation time of resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// ID of the DCG to be queried.
	DcgId pulumi.StringInput `pulumi:"dcgId"`
	// IP of the DCG.
	DcgIp pulumi.StringInput `pulumi:"dcgIp"`
	// Indicates whether the BGP is enabled.
	EnableBgp pulumi.BoolInput `pulumi:"enableBgp"`
	// Type of the gateway. Valid values: `NORMAL` and `NAT`. Default is `NORMAL`.
	GatewayType pulumi.StringInput `pulumi:"gatewayType"`
	// Name of the DCG to be queried.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of associated network. Valid values: `VPC` and `CCN`.
	NetworkInstanceId pulumi.StringInput `pulumi:"networkInstanceId"`
	// IP of the DCG.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
}

func (GetGatewayInstancesInstanceListArgs) ElementType

func (GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutput

func (i GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput

func (GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutputWithContext

func (i GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListOutput

type GetGatewayInstancesInstanceListArray

type GetGatewayInstancesInstanceListArray []GetGatewayInstancesInstanceListInput

func (GetGatewayInstancesInstanceListArray) ElementType

func (GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutput

func (i GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput

func (GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutputWithContext

func (i GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListArrayOutput

type GetGatewayInstancesInstanceListArrayInput

type GetGatewayInstancesInstanceListArrayInput interface {
	pulumi.Input

	ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput
	ToGetGatewayInstancesInstanceListArrayOutputWithContext(context.Context) GetGatewayInstancesInstanceListArrayOutput
}

GetGatewayInstancesInstanceListArrayInput is an input type that accepts GetGatewayInstancesInstanceListArray and GetGatewayInstancesInstanceListArrayOutput values. You can construct a concrete instance of `GetGatewayInstancesInstanceListArrayInput` via:

GetGatewayInstancesInstanceListArray{ GetGatewayInstancesInstanceListArgs{...} }

type GetGatewayInstancesInstanceListArrayOutput

type GetGatewayInstancesInstanceListArrayOutput struct{ *pulumi.OutputState }

func (GetGatewayInstancesInstanceListArrayOutput) ElementType

func (GetGatewayInstancesInstanceListArrayOutput) Index

func (GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutput

func (o GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput

func (GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutputWithContext

func (o GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListArrayOutput

type GetGatewayInstancesInstanceListInput

type GetGatewayInstancesInstanceListInput interface {
	pulumi.Input

	ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput
	ToGetGatewayInstancesInstanceListOutputWithContext(context.Context) GetGatewayInstancesInstanceListOutput
}

GetGatewayInstancesInstanceListInput is an input type that accepts GetGatewayInstancesInstanceListArgs and GetGatewayInstancesInstanceListOutput values. You can construct a concrete instance of `GetGatewayInstancesInstanceListInput` via:

GetGatewayInstancesInstanceListArgs{...}

type GetGatewayInstancesInstanceListOutput

type GetGatewayInstancesInstanceListOutput struct{ *pulumi.OutputState }

func (GetGatewayInstancesInstanceListOutput) CnnRouteType

Type of CCN route. Valid values: `BGP` and `STATIC`.

func (GetGatewayInstancesInstanceListOutput) CreateTime

Creation time of resource.

func (GetGatewayInstancesInstanceListOutput) DcgId

ID of the DCG to be queried.

func (GetGatewayInstancesInstanceListOutput) DcgIp

IP of the DCG.

func (GetGatewayInstancesInstanceListOutput) ElementType

func (GetGatewayInstancesInstanceListOutput) EnableBgp

Indicates whether the BGP is enabled.

func (GetGatewayInstancesInstanceListOutput) GatewayType

Type of the gateway. Valid values: `NORMAL` and `NAT`. Default is `NORMAL`.

func (GetGatewayInstancesInstanceListOutput) Name

Name of the DCG to be queried.

func (GetGatewayInstancesInstanceListOutput) NetworkInstanceId

Type of associated network. Valid values: `VPC` and `CCN`.

func (GetGatewayInstancesInstanceListOutput) NetworkType

IP of the DCG.

func (GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutput

func (o GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput

func (GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutputWithContext

func (o GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListOutput

type GetGatewayInstancesOutputArgs

type GetGatewayInstancesOutputArgs struct {
	// ID of the DCG to be queried.
	DcgId pulumi.StringPtrInput `pulumi:"dcgId"`
	// Name of the DCG to be queried.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getGatewayInstances.

func (GetGatewayInstancesOutputArgs) ElementType

type GetGatewayInstancesResult

type GetGatewayInstancesResult struct {
	// ID of the DCG.
	DcgId *string `pulumi:"dcgId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Information list of the DCG.
	InstanceLists []GetGatewayInstancesInstanceList `pulumi:"instanceLists"`
	// Name of the DCG.
	Name             *string `pulumi:"name"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getGatewayInstances.

func GetGatewayInstances

func GetGatewayInstances(ctx *pulumi.Context, args *GetGatewayInstancesArgs, opts ...pulumi.InvokeOption) (*GetGatewayInstancesResult, error)

Use this data source to query detailed information of direct connect gateway instances.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := Ccn.NewInstance(ctx, "main", &Ccn.InstanceArgs{
			Description: pulumi.String("ci-temp-test-ccn-des"),
			Qos:         pulumi.String("AG"),
		})
		if err != nil {
			return err
		}
		ccnMain, err := Dc.NewGateway(ctx, "ccnMain", &Dc.GatewayArgs{
			NetworkInstanceId: main.ID(),
			NetworkType:       pulumi.String("CCN"),
			GatewayType:       pulumi.String("NORMAL"),
		})
		if err != nil {
			return err
		}
		_ = Dc.GetGatewayInstancesOutput(ctx, dc.GetGatewayInstancesOutputArgs{
			Name: ccnMain.Name,
		}, nil)
		_ = Dc.GetGatewayInstancesOutput(ctx, dc.GetGatewayInstancesOutputArgs{
			DcgId: ccnMain.ID(),
		}, nil)
		return nil
	})
}

```

type GetGatewayInstancesResultOutput

type GetGatewayInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGatewayInstances.

func (GetGatewayInstancesResultOutput) DcgId

ID of the DCG.

func (GetGatewayInstancesResultOutput) ElementType

func (GetGatewayInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGatewayInstancesResultOutput) InstanceLists

Information list of the DCG.

func (GetGatewayInstancesResultOutput) Name

Name of the DCG.

func (GetGatewayInstancesResultOutput) ResultOutputFile

func (GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutput

func (o GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutput() GetGatewayInstancesResultOutput

func (GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutputWithContext

func (o GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutputWithContext(ctx context.Context) GetGatewayInstancesResultOutput

type GetInstancesArgs

type GetInstancesArgs struct {
	// ID of the DC to be queried.
	DcId *string `pulumi:"dcId"`
	// Name of the DC 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 {
	// Access point ID of tne DC.
	AccessPointId string `pulumi:"accessPointId"`
	// Bandwidth of the DC.
	Bandwidth int `pulumi:"bandwidth"`
	// The circuit code provided by the operator for the DC.
	CircuitCode string `pulumi:"circuitCode"`
	// Creation time of resource.
	CreateTime string `pulumi:"createTime"`
	// Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
	CustomerAddress string `pulumi:"customerAddress"`
	// Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
	CustomerEmail string `pulumi:"customerEmail"`
	// Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
	CustomerName string `pulumi:"customerName"`
	// Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
	CustomerPhone string `pulumi:"customerPhone"`
	// ID of the DC to be queried.
	DcId string `pulumi:"dcId"`
	// Enable time of resource.
	EnabledTime string `pulumi:"enabledTime"`
	// Expire date of resource.
	ExpiredTime string `pulumi:"expiredTime"`
	// Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
	FaultReportContactPerson string `pulumi:"faultReportContactPerson"`
	// Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
	FaultReportContactPhone string `pulumi:"faultReportContactPhone"`
	// Operator of the DC, and available values include `ChinaTelecom`, `ChinaMobile`, `ChinaUnicom`, `In-houseWiring`, `ChinaOther` and `InternationalOperator`.
	LineOperator string `pulumi:"lineOperator"`
	// The DC location where the connection is located.
	Location string `pulumi:"location"`
	// Name of the DC to be queried.
	Name string `pulumi:"name"`
	// Port type of the DC in client, and available values include `100Base-T`, `1000Base-T`, `1000Base-LX`, `10GBase-T` and `10GBase-LR`. The default value is `1000Base-LX`.
	PortType string `pulumi:"portType"`
	// ID of the redundant DC.
	RedundantDcId string `pulumi:"redundantDcId"`
	// State of the DC, and available values include `REJECTED`, `TOPAY`, `PAID`, `ALLOCATED`, `AVAILABLE`, `DELETING` and `DELETED`.
	State string `pulumi:"state"`
	// Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
	TencentAddress string `pulumi:"tencentAddress"`
}

type GetInstancesInstanceListArgs

type GetInstancesInstanceListArgs struct {
	// Access point ID of tne DC.
	AccessPointId pulumi.StringInput `pulumi:"accessPointId"`
	// Bandwidth of the DC.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The circuit code provided by the operator for the DC.
	CircuitCode pulumi.StringInput `pulumi:"circuitCode"`
	// Creation time of resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
	CustomerAddress pulumi.StringInput `pulumi:"customerAddress"`
	// Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
	CustomerEmail pulumi.StringInput `pulumi:"customerEmail"`
	// Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
	CustomerName pulumi.StringInput `pulumi:"customerName"`
	// Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
	CustomerPhone pulumi.StringInput `pulumi:"customerPhone"`
	// ID of the DC to be queried.
	DcId pulumi.StringInput `pulumi:"dcId"`
	// Enable time of resource.
	EnabledTime pulumi.StringInput `pulumi:"enabledTime"`
	// Expire date of resource.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
	FaultReportContactPerson pulumi.StringInput `pulumi:"faultReportContactPerson"`
	// Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
	FaultReportContactPhone pulumi.StringInput `pulumi:"faultReportContactPhone"`
	// Operator of the DC, and available values include `ChinaTelecom`, `ChinaMobile`, `ChinaUnicom`, `In-houseWiring`, `ChinaOther` and `InternationalOperator`.
	LineOperator pulumi.StringInput `pulumi:"lineOperator"`
	// The DC location where the connection is located.
	Location pulumi.StringInput `pulumi:"location"`
	// Name of the DC to be queried.
	Name pulumi.StringInput `pulumi:"name"`
	// Port type of the DC in client, and available values include `100Base-T`, `1000Base-T`, `1000Base-LX`, `10GBase-T` and `10GBase-LR`. The default value is `1000Base-LX`.
	PortType pulumi.StringInput `pulumi:"portType"`
	// ID of the redundant DC.
	RedundantDcId pulumi.StringInput `pulumi:"redundantDcId"`
	// State of the DC, and available values include `REJECTED`, `TOPAY`, `PAID`, `ALLOCATED`, `AVAILABLE`, `DELETING` and `DELETED`.
	State pulumi.StringInput `pulumi:"state"`
	// Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
	TencentAddress pulumi.StringInput `pulumi:"tencentAddress"`
}

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

Access point ID of tne DC.

func (GetInstancesInstanceListOutput) Bandwidth

Bandwidth of the DC.

func (GetInstancesInstanceListOutput) CircuitCode

The circuit code provided by the operator for the DC.

func (GetInstancesInstanceListOutput) CreateTime

Creation time of resource.

func (GetInstancesInstanceListOutput) CustomerAddress

Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.

func (GetInstancesInstanceListOutput) CustomerEmail

Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.

func (GetInstancesInstanceListOutput) CustomerName

Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.

func (GetInstancesInstanceListOutput) CustomerPhone

Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.

func (GetInstancesInstanceListOutput) DcId

ID of the DC to be queried.

func (GetInstancesInstanceListOutput) ElementType

func (GetInstancesInstanceListOutput) EnabledTime

Enable time of resource.

func (GetInstancesInstanceListOutput) ExpiredTime

Expire date of resource.

func (GetInstancesInstanceListOutput) FaultReportContactPerson

func (o GetInstancesInstanceListOutput) FaultReportContactPerson() pulumi.StringOutput

Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.

func (GetInstancesInstanceListOutput) FaultReportContactPhone

func (o GetInstancesInstanceListOutput) FaultReportContactPhone() pulumi.StringOutput

Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.

func (GetInstancesInstanceListOutput) LineOperator

Operator of the DC, and available values include `ChinaTelecom`, `ChinaMobile`, `ChinaUnicom`, `In-houseWiring`, `ChinaOther` and `InternationalOperator`.

func (GetInstancesInstanceListOutput) Location

The DC location where the connection is located.

func (GetInstancesInstanceListOutput) Name

Name of the DC to be queried.

func (GetInstancesInstanceListOutput) PortType

Port type of the DC in client, and available values include `100Base-T`, `1000Base-T`, `1000Base-LX`, `10GBase-T` and `10GBase-LR`. The default value is `1000Base-LX`.

func (GetInstancesInstanceListOutput) RedundantDcId

ID of the redundant DC.

func (GetInstancesInstanceListOutput) State

State of the DC, and available values include `REJECTED`, `TOPAY`, `PAID`, `ALLOCATED`, `AVAILABLE`, `DELETING` and `DELETED`.

func (GetInstancesInstanceListOutput) TencentAddress

Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.

func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput

func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput

func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext

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

type GetInstancesOutputArgs

type GetInstancesOutputArgs struct {
	// ID of the DC to be queried.
	DcId pulumi.StringPtrInput `pulumi:"dcId"`
	// Name of the DC 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 DC.
	DcId *string `pulumi:"dcId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Information list of the DC.
	InstanceLists []GetInstancesInstanceList `pulumi:"instanceLists"`
	// Name of the DC.
	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 DC instances.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.GetInstances(ctx, &dc.GetInstancesArgs{
			Name: pulumi.StringRef("t"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = Dc.GetInstances(ctx, &dc.GetInstancesArgs{
			DcxId: "dc-kax48sg7",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInstancesResultOutput

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func (GetInstancesResultOutput) DcId

ID of the DC.

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

func (GetInstancesResultOutput) Name

Name of the DC.

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 GetInternetAddressQuotaArgs added in v0.1.5

type GetInternetAddressQuotaArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInternetAddressQuota.

type GetInternetAddressQuotaOutputArgs added in v0.1.5

type GetInternetAddressQuotaOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInternetAddressQuota.

func (GetInternetAddressQuotaOutputArgs) ElementType added in v0.1.5

type GetInternetAddressQuotaResult added in v0.1.5

type GetInternetAddressQuotaResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Number of used BGP type IPv4 Internet addresses.
	Ipv4BgpNum int `pulumi:"ipv4BgpNum"`
	// BGP type IPv4 Internet address quota.
	Ipv4BgpQuota int `pulumi:"ipv4BgpQuota"`
	// The number of non-BGP Internet addresses used.
	Ipv4OtherNum int `pulumi:"ipv4OtherNum"`
	// Non-BGP type IPv4 Internet address quota.
	Ipv4OtherQuota int `pulumi:"ipv4OtherQuota"`
	// The minimum prefix length allowed on the IPv6 Internet public network.
	Ipv6PrefixLen    int     `pulumi:"ipv6PrefixLen"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getInternetAddressQuota.

func GetInternetAddressQuota added in v0.1.5

func GetInternetAddressQuota(ctx *pulumi.Context, args *GetInternetAddressQuotaArgs, opts ...pulumi.InvokeOption) (*GetInternetAddressQuotaResult, error)

Use this data source to query detailed information of dc internetAddressQuota

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.GetInternetAddressQuota(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInternetAddressQuotaResultOutput added in v0.1.5

type GetInternetAddressQuotaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInternetAddressQuota.

func (GetInternetAddressQuotaResultOutput) ElementType added in v0.1.5

func (GetInternetAddressQuotaResultOutput) Id added in v0.1.5

The provider-assigned unique ID for this managed resource.

func (GetInternetAddressQuotaResultOutput) Ipv4BgpNum added in v0.1.5

Number of used BGP type IPv4 Internet addresses.

func (GetInternetAddressQuotaResultOutput) Ipv4BgpQuota added in v0.1.5

BGP type IPv4 Internet address quota.

func (GetInternetAddressQuotaResultOutput) Ipv4OtherNum added in v0.1.5

The number of non-BGP Internet addresses used.

func (GetInternetAddressQuotaResultOutput) Ipv4OtherQuota added in v0.1.5

Non-BGP type IPv4 Internet address quota.

func (GetInternetAddressQuotaResultOutput) Ipv6PrefixLen added in v0.1.5

The minimum prefix length allowed on the IPv6 Internet public network.

func (GetInternetAddressQuotaResultOutput) ResultOutputFile added in v0.1.5

func (GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutput added in v0.1.5

func (o GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutput() GetInternetAddressQuotaResultOutput

func (GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutputWithContext added in v0.1.5

func (o GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutputWithContext(ctx context.Context) GetInternetAddressQuotaResultOutput

type GetInternetAddressStatisticsArgs added in v0.1.5

type GetInternetAddressStatisticsArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInternetAddressStatistics.

type GetInternetAddressStatisticsInternetAddressStatistic added in v0.1.5

type GetInternetAddressStatisticsInternetAddressStatistic struct {
	// region.
	Region string `pulumi:"region"`
	// Number of Internet public network addresses.
	SubnetNum int `pulumi:"subnetNum"`
}

type GetInternetAddressStatisticsInternetAddressStatisticArgs added in v0.1.5

type GetInternetAddressStatisticsInternetAddressStatisticArgs struct {
	// region.
	Region pulumi.StringInput `pulumi:"region"`
	// Number of Internet public network addresses.
	SubnetNum pulumi.IntInput `pulumi:"subnetNum"`
}

func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ElementType added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutput added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext added in v0.1.5

func (i GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput

type GetInternetAddressStatisticsInternetAddressStatisticArray added in v0.1.5

type GetInternetAddressStatisticsInternetAddressStatisticArray []GetInternetAddressStatisticsInternetAddressStatisticInput

func (GetInternetAddressStatisticsInternetAddressStatisticArray) ElementType added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput added in v0.1.5

func (i GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput

func (GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext added in v0.1.5

func (i GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput

type GetInternetAddressStatisticsInternetAddressStatisticArrayInput added in v0.1.5

type GetInternetAddressStatisticsInternetAddressStatisticArrayInput interface {
	pulumi.Input

	ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
	ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
}

GetInternetAddressStatisticsInternetAddressStatisticArrayInput is an input type that accepts GetInternetAddressStatisticsInternetAddressStatisticArray and GetInternetAddressStatisticsInternetAddressStatisticArrayOutput values. You can construct a concrete instance of `GetInternetAddressStatisticsInternetAddressStatisticArrayInput` via:

GetInternetAddressStatisticsInternetAddressStatisticArray{ GetInternetAddressStatisticsInternetAddressStatisticArgs{...} }

type GetInternetAddressStatisticsInternetAddressStatisticArrayOutput added in v0.1.5

type GetInternetAddressStatisticsInternetAddressStatisticArrayOutput struct{ *pulumi.OutputState }

func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ElementType added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) Index added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext added in v0.1.5

func (o GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput

type GetInternetAddressStatisticsInternetAddressStatisticInput added in v0.1.5

type GetInternetAddressStatisticsInternetAddressStatisticInput interface {
	pulumi.Input

	ToGetInternetAddressStatisticsInternetAddressStatisticOutput() GetInternetAddressStatisticsInternetAddressStatisticOutput
	ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput
}

GetInternetAddressStatisticsInternetAddressStatisticInput is an input type that accepts GetInternetAddressStatisticsInternetAddressStatisticArgs and GetInternetAddressStatisticsInternetAddressStatisticOutput values. You can construct a concrete instance of `GetInternetAddressStatisticsInternetAddressStatisticInput` via:

GetInternetAddressStatisticsInternetAddressStatisticArgs{...}

type GetInternetAddressStatisticsInternetAddressStatisticOutput added in v0.1.5

type GetInternetAddressStatisticsInternetAddressStatisticOutput struct{ *pulumi.OutputState }

func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ElementType added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticOutput) Region added in v0.1.5

region.

func (GetInternetAddressStatisticsInternetAddressStatisticOutput) SubnetNum added in v0.1.5

Number of Internet public network addresses.

func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutput added in v0.1.5

func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext added in v0.1.5

func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput

type GetInternetAddressStatisticsOutputArgs added in v0.1.5

type GetInternetAddressStatisticsOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInternetAddressStatistics.

func (GetInternetAddressStatisticsOutputArgs) ElementType added in v0.1.5

type GetInternetAddressStatisticsResult added in v0.1.5

type GetInternetAddressStatisticsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Statistical Information List of Internet Public Network Addresses.
	InternetAddressStatistics []GetInternetAddressStatisticsInternetAddressStatistic `pulumi:"internetAddressStatistics"`
	ResultOutputFile          *string                                                `pulumi:"resultOutputFile"`
}

A collection of values returned by getInternetAddressStatistics.

func GetInternetAddressStatistics added in v0.1.5

func GetInternetAddressStatistics(ctx *pulumi.Context, args *GetInternetAddressStatisticsArgs, opts ...pulumi.InvokeOption) (*GetInternetAddressStatisticsResult, error)

Use this data source to query detailed information of dc internetAddressStatistics

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.GetInternetAddressStatistics(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInternetAddressStatisticsResultOutput added in v0.1.5

type GetInternetAddressStatisticsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInternetAddressStatistics.

func (GetInternetAddressStatisticsResultOutput) ElementType added in v0.1.5

func (GetInternetAddressStatisticsResultOutput) Id added in v0.1.5

The provider-assigned unique ID for this managed resource.

func (GetInternetAddressStatisticsResultOutput) InternetAddressStatistics added in v0.1.5

Statistical Information List of Internet Public Network Addresses.

func (GetInternetAddressStatisticsResultOutput) ResultOutputFile added in v0.1.5

func (GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutput added in v0.1.5

func (o GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutput() GetInternetAddressStatisticsResultOutput

func (GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutputWithContext added in v0.1.5

func (o GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutputWithContext(ctx context.Context) GetInternetAddressStatisticsResultOutput

type GetPublicDirectConnectTunnelRoutesArgs added in v0.1.5

type GetPublicDirectConnectTunnelRoutesArgs struct {
	// direct connect tunnel id.
	DirectConnectTunnelId string `pulumi:"directConnectTunnelId"`
	// filter condition: route-type: route type, value: BGP/STATIC route-subnet: route cidr, value such as: 192.68.1.0/24.
	Filters []GetPublicDirectConnectTunnelRoutesFilter `pulumi:"filters"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getPublicDirectConnectTunnelRoutes.

type GetPublicDirectConnectTunnelRoutesFilter added in v0.1.5

type GetPublicDirectConnectTunnelRoutesFilter struct {
	// Fields to be filtered.
	Name string `pulumi:"name"`
	// filter value of the field.
	Values []string `pulumi:"values"`
}

type GetPublicDirectConnectTunnelRoutesFilterArgs added in v0.1.5

type GetPublicDirectConnectTunnelRoutesFilterArgs struct {
	// Fields to be filtered.
	Name pulumi.StringInput `pulumi:"name"`
	// filter value of the field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetPublicDirectConnectTunnelRoutesFilterArgs) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutput added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput

func (GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput

type GetPublicDirectConnectTunnelRoutesFilterArray added in v0.1.5

type GetPublicDirectConnectTunnelRoutesFilterArray []GetPublicDirectConnectTunnelRoutesFilterInput

func (GetPublicDirectConnectTunnelRoutesFilterArray) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput

func (GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput

type GetPublicDirectConnectTunnelRoutesFilterArrayInput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesFilterArrayInput interface {
	pulumi.Input

	ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput
	ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput
}

GetPublicDirectConnectTunnelRoutesFilterArrayInput is an input type that accepts GetPublicDirectConnectTunnelRoutesFilterArray and GetPublicDirectConnectTunnelRoutesFilterArrayOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesFilterArrayInput` via:

GetPublicDirectConnectTunnelRoutesFilterArray{ GetPublicDirectConnectTunnelRoutesFilterArgs{...} }

type GetPublicDirectConnectTunnelRoutesFilterArrayOutput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) Index added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput

func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput

type GetPublicDirectConnectTunnelRoutesFilterInput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesFilterInput interface {
	pulumi.Input

	ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput
	ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput
}

GetPublicDirectConnectTunnelRoutesFilterInput is an input type that accepts GetPublicDirectConnectTunnelRoutesFilterArgs and GetPublicDirectConnectTunnelRoutesFilterOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesFilterInput` via:

GetPublicDirectConnectTunnelRoutesFilterArgs{...}

type GetPublicDirectConnectTunnelRoutesFilterOutput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesFilterOutput struct{ *pulumi.OutputState }

func (GetPublicDirectConnectTunnelRoutesFilterOutput) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesFilterOutput) Name added in v0.1.5

Fields to be filtered.

func (GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutput added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput

func (GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput

func (GetPublicDirectConnectTunnelRoutesFilterOutput) Values added in v0.1.5

filter value of the field.

type GetPublicDirectConnectTunnelRoutesOutputArgs added in v0.1.5

type GetPublicDirectConnectTunnelRoutesOutputArgs struct {
	// direct connect tunnel id.
	DirectConnectTunnelId pulumi.StringInput `pulumi:"directConnectTunnelId"`
	// filter condition: route-type: route type, value: BGP/STATIC route-subnet: route cidr, value such as: 192.68.1.0/24.
	Filters GetPublicDirectConnectTunnelRoutesFilterArrayInput `pulumi:"filters"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getPublicDirectConnectTunnelRoutes.

func (GetPublicDirectConnectTunnelRoutesOutputArgs) ElementType added in v0.1.5

type GetPublicDirectConnectTunnelRoutesResult added in v0.1.5

type GetPublicDirectConnectTunnelRoutesResult struct {
	DirectConnectTunnelId string                                     `pulumi:"directConnectTunnelId"`
	Filters               []GetPublicDirectConnectTunnelRoutesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Internet tunnel route list.
	Routes []GetPublicDirectConnectTunnelRoutesRoute `pulumi:"routes"`
}

A collection of values returned by getPublicDirectConnectTunnelRoutes.

func GetPublicDirectConnectTunnelRoutes added in v0.1.5

Use this data source to query detailed information of dc publicDirectConnectTunnelRoutes

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.GetPublicDirectConnectTunnelRoutes(ctx, &dc.GetPublicDirectConnectTunnelRoutesArgs{
			DirectConnectTunnelId: "dcx-4z49tnws",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPublicDirectConnectTunnelRoutesResultOutput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPublicDirectConnectTunnelRoutes.

func (GetPublicDirectConnectTunnelRoutesResultOutput) DirectConnectTunnelId added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesResultOutput) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesResultOutput) Filters added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesResultOutput) Id added in v0.1.5

The provider-assigned unique ID for this managed resource.

func (GetPublicDirectConnectTunnelRoutesResultOutput) ResultOutputFile added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesResultOutput) Routes added in v0.1.5

Internet tunnel route list.

func (GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutput added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutput() GetPublicDirectConnectTunnelRoutesResultOutput

func (GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutputWithContext added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesResultOutput

type GetPublicDirectConnectTunnelRoutesRoute added in v0.1.5

type GetPublicDirectConnectTunnelRoutesRoute struct {
	// ASPath info.
	AsPaths []string `pulumi:"asPaths"`
	// Network CIDR.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// Route next hop ip.
	NextHop string `pulumi:"nextHop"`
	// direct connect tunnel route id.
	RouteId string `pulumi:"routeId"`
	// Route type: BGP/STATIC route.
	RouteType string `pulumi:"routeType"`
	// ENABLE: routing is enabled, DISABLE: routing is disabled.
	Status string `pulumi:"status"`
}

type GetPublicDirectConnectTunnelRoutesRouteArgs added in v0.1.5

type GetPublicDirectConnectTunnelRoutesRouteArgs struct {
	// ASPath info.
	AsPaths pulumi.StringArrayInput `pulumi:"asPaths"`
	// Network CIDR.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// Route next hop ip.
	NextHop pulumi.StringInput `pulumi:"nextHop"`
	// direct connect tunnel route id.
	RouteId pulumi.StringInput `pulumi:"routeId"`
	// Route type: BGP/STATIC route.
	RouteType pulumi.StringInput `pulumi:"routeType"`
	// ENABLE: routing is enabled, DISABLE: routing is disabled.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetPublicDirectConnectTunnelRoutesRouteArgs) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutput added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput

func (GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput

type GetPublicDirectConnectTunnelRoutesRouteArray added in v0.1.5

type GetPublicDirectConnectTunnelRoutesRouteArray []GetPublicDirectConnectTunnelRoutesRouteInput

func (GetPublicDirectConnectTunnelRoutesRouteArray) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput

func (GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext added in v0.1.5

func (i GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput

type GetPublicDirectConnectTunnelRoutesRouteArrayInput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesRouteArrayInput interface {
	pulumi.Input

	ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput
	ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput
}

GetPublicDirectConnectTunnelRoutesRouteArrayInput is an input type that accepts GetPublicDirectConnectTunnelRoutesRouteArray and GetPublicDirectConnectTunnelRoutesRouteArrayOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesRouteArrayInput` via:

GetPublicDirectConnectTunnelRoutesRouteArray{ GetPublicDirectConnectTunnelRoutesRouteArgs{...} }

type GetPublicDirectConnectTunnelRoutesRouteArrayOutput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesRouteArrayOutput struct{ *pulumi.OutputState }

func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) Index added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput

func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput

type GetPublicDirectConnectTunnelRoutesRouteInput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesRouteInput interface {
	pulumi.Input

	ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput
	ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput
}

GetPublicDirectConnectTunnelRoutesRouteInput is an input type that accepts GetPublicDirectConnectTunnelRoutesRouteArgs and GetPublicDirectConnectTunnelRoutesRouteOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesRouteInput` via:

GetPublicDirectConnectTunnelRoutesRouteArgs{...}

type GetPublicDirectConnectTunnelRoutesRouteOutput added in v0.1.5

type GetPublicDirectConnectTunnelRoutesRouteOutput struct{ *pulumi.OutputState }

func (GetPublicDirectConnectTunnelRoutesRouteOutput) AsPaths added in v0.1.5

ASPath info.

func (GetPublicDirectConnectTunnelRoutesRouteOutput) DestinationCidrBlock added in v0.1.5

Network CIDR.

func (GetPublicDirectConnectTunnelRoutesRouteOutput) ElementType added in v0.1.5

func (GetPublicDirectConnectTunnelRoutesRouteOutput) NextHop added in v0.1.5

Route next hop ip.

func (GetPublicDirectConnectTunnelRoutesRouteOutput) RouteId added in v0.1.5

direct connect tunnel route id.

func (GetPublicDirectConnectTunnelRoutesRouteOutput) RouteType added in v0.1.5

Route type: BGP/STATIC route.

func (GetPublicDirectConnectTunnelRoutesRouteOutput) Status added in v0.1.5

ENABLE: routing is enabled, DISABLE: routing is disabled.

func (GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutput added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput

func (GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext added in v0.1.5

func (o GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput

type Instance added in v0.1.5

type Instance struct {
	pulumi.CustomResourceState

	// Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available.
	AccessPointId pulumi.StringOutput `pulumi:"accessPointId"`
	// Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
	Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"`
	// Circuit code of a connection, which is provided by the ISP or connection provider.
	CircuitCode pulumi.StringPtrOutput `pulumi:"circuitCode"`
	// User-side IP address for connection debugging, which is automatically assigned by default.
	CustomerAddress pulumi.StringPtrOutput `pulumi:"customerAddress"`
	// Email address of connection applicant, which is obtained from the account system by default.
	CustomerContactMail pulumi.StringPtrOutput `pulumi:"customerContactMail"`
	// Contact number of connection applicant, which is obtained from the account system by default.
	CustomerContactNumber pulumi.StringPtrOutput `pulumi:"customerContactNumber"`
	// Name of connection applicant, which is obtained from the account system by default.
	CustomerName pulumi.StringPtrOutput `pulumi:"customerName"`
	// Connection name.
	DirectConnectName pulumi.StringOutput `pulumi:"directConnectName"`
	// Fault reporting contact number.
	FaultReportContactNumber pulumi.StringPtrOutput `pulumi:"faultReportContactNumber"`
	// Fault reporting contact person.
	FaultReportContactPerson pulumi.StringPtrOutput `pulumi:"faultReportContactPerson"`
	// ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
	LineOperator pulumi.StringOutput `pulumi:"lineOperator"`
	// Local IDC location.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
	PortType pulumi.StringOutput `pulumi:"portType"`
	// ID of redundant connection.
	RedundantDirectConnectId pulumi.StringPtrOutput `pulumi:"redundantDirectConnectId"`
	// Whether the connection applicant has signed the service agreement. Default value: true.
	SignLaw pulumi.BoolPtrOutput `pulumi:"signLaw"`
	// Tencent-side IP address for connection debugging, which is automatically assigned by default.
	TencentAddress pulumi.StringPtrOutput `pulumi:"tencentAddress"`
	// VLAN for connection debugging, which is enabled and automatically assigned by default.
	Vlan pulumi.IntPtrOutput `pulumi:"vlan"`
}

Provides a resource to create a dc instance

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.NewInstance(ctx, "instance", &Dc.InstanceArgs{
			AccessPointId:         pulumi.String("ap-shenzhen-b-ft"),
			Bandwidth:             pulumi.Int(10),
			CustomerContactNumber: pulumi.String("0"),
			DirectConnectName:     pulumi.String("terraform-for-test"),
			LineOperator:          pulumi.String("In-houseWiring"),
			PortType:              pulumi.String("10GBase-LR"),
			SignLaw:               pulumi.Bool(true),
			Vlan:                  -1,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dc instance can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dc/instance:Instance instance dc_id

```

func GetInstance added in v0.1.5

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 added in v0.1.5

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 added in v0.1.5

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput added in v0.1.5

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext added in v0.1.5

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

type InstanceArgs added in v0.1.5

type InstanceArgs struct {
	// Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available.
	AccessPointId pulumi.StringInput
	// Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
	Bandwidth pulumi.IntPtrInput
	// Circuit code of a connection, which is provided by the ISP or connection provider.
	CircuitCode pulumi.StringPtrInput
	// User-side IP address for connection debugging, which is automatically assigned by default.
	CustomerAddress pulumi.StringPtrInput
	// Email address of connection applicant, which is obtained from the account system by default.
	CustomerContactMail pulumi.StringPtrInput
	// Contact number of connection applicant, which is obtained from the account system by default.
	CustomerContactNumber pulumi.StringPtrInput
	// Name of connection applicant, which is obtained from the account system by default.
	CustomerName pulumi.StringPtrInput
	// Connection name.
	DirectConnectName pulumi.StringInput
	// Fault reporting contact number.
	FaultReportContactNumber pulumi.StringPtrInput
	// Fault reporting contact person.
	FaultReportContactPerson pulumi.StringPtrInput
	// ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
	LineOperator pulumi.StringInput
	// Local IDC location.
	Location pulumi.StringPtrInput
	// Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
	PortType pulumi.StringInput
	// ID of redundant connection.
	RedundantDirectConnectId pulumi.StringPtrInput
	// Whether the connection applicant has signed the service agreement. Default value: true.
	SignLaw pulumi.BoolPtrInput
	// Tencent-side IP address for connection debugging, which is automatically assigned by default.
	TencentAddress pulumi.StringPtrInput
	// VLAN for connection debugging, which is enabled and automatically assigned by default.
	Vlan pulumi.IntPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v0.1.5

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray added in v0.1.5

type InstanceArray []InstanceInput

func (InstanceArray) ElementType added in v0.1.5

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput added in v0.1.5

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext added in v0.1.5

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

type InstanceArrayInput added in v0.1.5

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 added in v0.1.5

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType added in v0.1.5

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index added in v0.1.5

func (InstanceArrayOutput) ToInstanceArrayOutput added in v0.1.5

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext added in v0.1.5

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

type InstanceInput added in v0.1.5

type InstanceInput interface {
	pulumi.Input

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

type InstanceMap added in v0.1.5

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType added in v0.1.5

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput added in v0.1.5

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext added in v0.1.5

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

type InstanceMapInput added in v0.1.5

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 added in v0.1.5

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType added in v0.1.5

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex added in v0.1.5

func (InstanceMapOutput) ToInstanceMapOutput added in v0.1.5

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext added in v0.1.5

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

type InstanceOutput added in v0.1.5

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AccessPointId added in v0.1.5

func (o InstanceOutput) AccessPointId() pulumi.StringOutput

Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available.

func (InstanceOutput) Bandwidth added in v0.1.5

func (o InstanceOutput) Bandwidth() pulumi.IntPtrOutput

Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.

func (InstanceOutput) CircuitCode added in v0.1.5

func (o InstanceOutput) CircuitCode() pulumi.StringPtrOutput

Circuit code of a connection, which is provided by the ISP or connection provider.

func (InstanceOutput) CustomerAddress added in v0.1.5

func (o InstanceOutput) CustomerAddress() pulumi.StringPtrOutput

User-side IP address for connection debugging, which is automatically assigned by default.

func (InstanceOutput) CustomerContactMail added in v0.1.5

func (o InstanceOutput) CustomerContactMail() pulumi.StringPtrOutput

Email address of connection applicant, which is obtained from the account system by default.

func (InstanceOutput) CustomerContactNumber added in v0.1.5

func (o InstanceOutput) CustomerContactNumber() pulumi.StringPtrOutput

Contact number of connection applicant, which is obtained from the account system by default.

func (InstanceOutput) CustomerName added in v0.1.5

func (o InstanceOutput) CustomerName() pulumi.StringPtrOutput

Name of connection applicant, which is obtained from the account system by default.

func (InstanceOutput) DirectConnectName added in v0.1.5

func (o InstanceOutput) DirectConnectName() pulumi.StringOutput

Connection name.

func (InstanceOutput) ElementType added in v0.1.5

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) FaultReportContactNumber added in v0.1.5

func (o InstanceOutput) FaultReportContactNumber() pulumi.StringPtrOutput

Fault reporting contact number.

func (InstanceOutput) FaultReportContactPerson added in v0.1.5

func (o InstanceOutput) FaultReportContactPerson() pulumi.StringPtrOutput

Fault reporting contact person.

func (InstanceOutput) LineOperator added in v0.1.5

func (o InstanceOutput) LineOperator() pulumi.StringOutput

ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).

func (InstanceOutput) Location added in v0.1.5

func (o InstanceOutput) Location() pulumi.StringPtrOutput

Local IDC location.

func (InstanceOutput) PortType added in v0.1.5

func (o InstanceOutput) PortType() pulumi.StringOutput

Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.

func (InstanceOutput) RedundantDirectConnectId added in v0.1.5

func (o InstanceOutput) RedundantDirectConnectId() pulumi.StringPtrOutput

ID of redundant connection.

func (InstanceOutput) SignLaw added in v0.1.5

func (o InstanceOutput) SignLaw() pulumi.BoolPtrOutput

Whether the connection applicant has signed the service agreement. Default value: true.

func (InstanceOutput) TencentAddress added in v0.1.5

func (o InstanceOutput) TencentAddress() pulumi.StringPtrOutput

Tencent-side IP address for connection debugging, which is automatically assigned by default.

func (InstanceOutput) ToInstanceOutput added in v0.1.5

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext added in v0.1.5

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

func (InstanceOutput) Vlan added in v0.1.5

VLAN for connection debugging, which is enabled and automatically assigned by default.

type InstanceState added in v0.1.5

type InstanceState struct {
	// Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available.
	AccessPointId pulumi.StringPtrInput
	// Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
	Bandwidth pulumi.IntPtrInput
	// Circuit code of a connection, which is provided by the ISP or connection provider.
	CircuitCode pulumi.StringPtrInput
	// User-side IP address for connection debugging, which is automatically assigned by default.
	CustomerAddress pulumi.StringPtrInput
	// Email address of connection applicant, which is obtained from the account system by default.
	CustomerContactMail pulumi.StringPtrInput
	// Contact number of connection applicant, which is obtained from the account system by default.
	CustomerContactNumber pulumi.StringPtrInput
	// Name of connection applicant, which is obtained from the account system by default.
	CustomerName pulumi.StringPtrInput
	// Connection name.
	DirectConnectName pulumi.StringPtrInput
	// Fault reporting contact number.
	FaultReportContactNumber pulumi.StringPtrInput
	// Fault reporting contact person.
	FaultReportContactPerson pulumi.StringPtrInput
	// ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
	LineOperator pulumi.StringPtrInput
	// Local IDC location.
	Location pulumi.StringPtrInput
	// Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
	PortType pulumi.StringPtrInput
	// ID of redundant connection.
	RedundantDirectConnectId pulumi.StringPtrInput
	// Whether the connection applicant has signed the service agreement. Default value: true.
	SignLaw pulumi.BoolPtrInput
	// Tencent-side IP address for connection debugging, which is automatically assigned by default.
	TencentAddress pulumi.StringPtrInput
	// VLAN for connection debugging, which is enabled and automatically assigned by default.
	Vlan pulumi.IntPtrInput
}

func (InstanceState) ElementType added in v0.1.5

func (InstanceState) ElementType() reflect.Type

type InternetAddress added in v0.1.5

type InternetAddress struct {
	pulumi.CustomResourceState

	// 0: IPv4, 1: IPv6.
	AddrProto pulumi.IntOutput `pulumi:"addrProto"`
	// 0: BGP, 1: china telecom, 2: china mobile, 3: china unicom.
	AddrType pulumi.IntOutput `pulumi:"addrType"`
	// CIDR address mask.
	MaskLen pulumi.IntOutput `pulumi:"maskLen"`
}

Provides a resource to create a dc internetAddress

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.NewInternetAddress(ctx, "internetAddress", &Dc.InternetAddressArgs{
			AddrProto: pulumi.Int(0),
			AddrType:  pulumi.Int(2),
			MaskLen:   pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dc internet_address can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dc/internetAddress:InternetAddress internet_address internet_address_id

```

func GetInternetAddress added in v0.1.5

func GetInternetAddress(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InternetAddressState, opts ...pulumi.ResourceOption) (*InternetAddress, error)

GetInternetAddress gets an existing InternetAddress 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 NewInternetAddress added in v0.1.5

func NewInternetAddress(ctx *pulumi.Context,
	name string, args *InternetAddressArgs, opts ...pulumi.ResourceOption) (*InternetAddress, error)

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

func (*InternetAddress) ElementType added in v0.1.5

func (*InternetAddress) ElementType() reflect.Type

func (*InternetAddress) ToInternetAddressOutput added in v0.1.5

func (i *InternetAddress) ToInternetAddressOutput() InternetAddressOutput

func (*InternetAddress) ToInternetAddressOutputWithContext added in v0.1.5

func (i *InternetAddress) ToInternetAddressOutputWithContext(ctx context.Context) InternetAddressOutput

type InternetAddressArgs added in v0.1.5

type InternetAddressArgs struct {
	// 0: IPv4, 1: IPv6.
	AddrProto pulumi.IntInput
	// 0: BGP, 1: china telecom, 2: china mobile, 3: china unicom.
	AddrType pulumi.IntInput
	// CIDR address mask.
	MaskLen pulumi.IntInput
}

The set of arguments for constructing a InternetAddress resource.

func (InternetAddressArgs) ElementType added in v0.1.5

func (InternetAddressArgs) ElementType() reflect.Type

type InternetAddressArray added in v0.1.5

type InternetAddressArray []InternetAddressInput

func (InternetAddressArray) ElementType added in v0.1.5

func (InternetAddressArray) ElementType() reflect.Type

func (InternetAddressArray) ToInternetAddressArrayOutput added in v0.1.5

func (i InternetAddressArray) ToInternetAddressArrayOutput() InternetAddressArrayOutput

func (InternetAddressArray) ToInternetAddressArrayOutputWithContext added in v0.1.5

func (i InternetAddressArray) ToInternetAddressArrayOutputWithContext(ctx context.Context) InternetAddressArrayOutput

type InternetAddressArrayInput added in v0.1.5

type InternetAddressArrayInput interface {
	pulumi.Input

	ToInternetAddressArrayOutput() InternetAddressArrayOutput
	ToInternetAddressArrayOutputWithContext(context.Context) InternetAddressArrayOutput
}

InternetAddressArrayInput is an input type that accepts InternetAddressArray and InternetAddressArrayOutput values. You can construct a concrete instance of `InternetAddressArrayInput` via:

InternetAddressArray{ InternetAddressArgs{...} }

type InternetAddressArrayOutput added in v0.1.5

type InternetAddressArrayOutput struct{ *pulumi.OutputState }

func (InternetAddressArrayOutput) ElementType added in v0.1.5

func (InternetAddressArrayOutput) ElementType() reflect.Type

func (InternetAddressArrayOutput) Index added in v0.1.5

func (InternetAddressArrayOutput) ToInternetAddressArrayOutput added in v0.1.5

func (o InternetAddressArrayOutput) ToInternetAddressArrayOutput() InternetAddressArrayOutput

func (InternetAddressArrayOutput) ToInternetAddressArrayOutputWithContext added in v0.1.5

func (o InternetAddressArrayOutput) ToInternetAddressArrayOutputWithContext(ctx context.Context) InternetAddressArrayOutput

type InternetAddressConfig added in v0.1.5

type InternetAddressConfig struct {
	pulumi.CustomResourceState

	// whether enable internet address.
	Enable pulumi.BoolOutput `pulumi:"enable"`
	// internet public address id.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

Provides a resource to create a dc internetAddressConfig

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		internetAddress, err := Dc.NewInternetAddress(ctx, "internetAddress", &Dc.InternetAddressArgs{
			MaskLen:   pulumi.Int(30),
			AddrType:  pulumi.Int(2),
			AddrProto: pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		_, err = Dc.NewInternetAddressConfig(ctx, "internetAddressConfig", &Dc.InternetAddressConfigArgs{
			InstanceId: internetAddress.ID(),
			Enable:     pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dc internet_address_config can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dc/internetAddressConfig:InternetAddressConfig internet_address_config internet_address_id

```

func GetInternetAddressConfig added in v0.1.5

func GetInternetAddressConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InternetAddressConfigState, opts ...pulumi.ResourceOption) (*InternetAddressConfig, error)

GetInternetAddressConfig gets an existing InternetAddressConfig 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 NewInternetAddressConfig added in v0.1.5

func NewInternetAddressConfig(ctx *pulumi.Context,
	name string, args *InternetAddressConfigArgs, opts ...pulumi.ResourceOption) (*InternetAddressConfig, error)

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

func (*InternetAddressConfig) ElementType added in v0.1.5

func (*InternetAddressConfig) ElementType() reflect.Type

func (*InternetAddressConfig) ToInternetAddressConfigOutput added in v0.1.5

func (i *InternetAddressConfig) ToInternetAddressConfigOutput() InternetAddressConfigOutput

func (*InternetAddressConfig) ToInternetAddressConfigOutputWithContext added in v0.1.5

func (i *InternetAddressConfig) ToInternetAddressConfigOutputWithContext(ctx context.Context) InternetAddressConfigOutput

type InternetAddressConfigArgs added in v0.1.5

type InternetAddressConfigArgs struct {
	// whether enable internet address.
	Enable pulumi.BoolInput
	// internet public address id.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a InternetAddressConfig resource.

func (InternetAddressConfigArgs) ElementType added in v0.1.5

func (InternetAddressConfigArgs) ElementType() reflect.Type

type InternetAddressConfigArray added in v0.1.5

type InternetAddressConfigArray []InternetAddressConfigInput

func (InternetAddressConfigArray) ElementType added in v0.1.5

func (InternetAddressConfigArray) ElementType() reflect.Type

func (InternetAddressConfigArray) ToInternetAddressConfigArrayOutput added in v0.1.5

func (i InternetAddressConfigArray) ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput

func (InternetAddressConfigArray) ToInternetAddressConfigArrayOutputWithContext added in v0.1.5

func (i InternetAddressConfigArray) ToInternetAddressConfigArrayOutputWithContext(ctx context.Context) InternetAddressConfigArrayOutput

type InternetAddressConfigArrayInput added in v0.1.5

type InternetAddressConfigArrayInput interface {
	pulumi.Input

	ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput
	ToInternetAddressConfigArrayOutputWithContext(context.Context) InternetAddressConfigArrayOutput
}

InternetAddressConfigArrayInput is an input type that accepts InternetAddressConfigArray and InternetAddressConfigArrayOutput values. You can construct a concrete instance of `InternetAddressConfigArrayInput` via:

InternetAddressConfigArray{ InternetAddressConfigArgs{...} }

type InternetAddressConfigArrayOutput added in v0.1.5

type InternetAddressConfigArrayOutput struct{ *pulumi.OutputState }

func (InternetAddressConfigArrayOutput) ElementType added in v0.1.5

func (InternetAddressConfigArrayOutput) Index added in v0.1.5

func (InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutput added in v0.1.5

func (o InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput

func (InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutputWithContext added in v0.1.5

func (o InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutputWithContext(ctx context.Context) InternetAddressConfigArrayOutput

type InternetAddressConfigInput added in v0.1.5

type InternetAddressConfigInput interface {
	pulumi.Input

	ToInternetAddressConfigOutput() InternetAddressConfigOutput
	ToInternetAddressConfigOutputWithContext(ctx context.Context) InternetAddressConfigOutput
}

type InternetAddressConfigMap added in v0.1.5

type InternetAddressConfigMap map[string]InternetAddressConfigInput

func (InternetAddressConfigMap) ElementType added in v0.1.5

func (InternetAddressConfigMap) ElementType() reflect.Type

func (InternetAddressConfigMap) ToInternetAddressConfigMapOutput added in v0.1.5

func (i InternetAddressConfigMap) ToInternetAddressConfigMapOutput() InternetAddressConfigMapOutput

func (InternetAddressConfigMap) ToInternetAddressConfigMapOutputWithContext added in v0.1.5

func (i InternetAddressConfigMap) ToInternetAddressConfigMapOutputWithContext(ctx context.Context) InternetAddressConfigMapOutput

type InternetAddressConfigMapInput added in v0.1.5

type InternetAddressConfigMapInput interface {
	pulumi.Input

	ToInternetAddressConfigMapOutput() InternetAddressConfigMapOutput
	ToInternetAddressConfigMapOutputWithContext(context.Context) InternetAddressConfigMapOutput
}

InternetAddressConfigMapInput is an input type that accepts InternetAddressConfigMap and InternetAddressConfigMapOutput values. You can construct a concrete instance of `InternetAddressConfigMapInput` via:

InternetAddressConfigMap{ "key": InternetAddressConfigArgs{...} }

type InternetAddressConfigMapOutput added in v0.1.5

type InternetAddressConfigMapOutput struct{ *pulumi.OutputState }

func (InternetAddressConfigMapOutput) ElementType added in v0.1.5

func (InternetAddressConfigMapOutput) MapIndex added in v0.1.5

func (InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutput added in v0.1.5

func (o InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutput() InternetAddressConfigMapOutput

func (InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutputWithContext added in v0.1.5

func (o InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutputWithContext(ctx context.Context) InternetAddressConfigMapOutput

type InternetAddressConfigOutput added in v0.1.5

type InternetAddressConfigOutput struct{ *pulumi.OutputState }

func (InternetAddressConfigOutput) ElementType added in v0.1.5

func (InternetAddressConfigOutput) Enable added in v0.1.5

whether enable internet address.

func (InternetAddressConfigOutput) InstanceId added in v0.1.5

internet public address id.

func (InternetAddressConfigOutput) ToInternetAddressConfigOutput added in v0.1.5

func (o InternetAddressConfigOutput) ToInternetAddressConfigOutput() InternetAddressConfigOutput

func (InternetAddressConfigOutput) ToInternetAddressConfigOutputWithContext added in v0.1.5

func (o InternetAddressConfigOutput) ToInternetAddressConfigOutputWithContext(ctx context.Context) InternetAddressConfigOutput

type InternetAddressConfigState added in v0.1.5

type InternetAddressConfigState struct {
	// whether enable internet address.
	Enable pulumi.BoolPtrInput
	// internet public address id.
	InstanceId pulumi.StringPtrInput
}

func (InternetAddressConfigState) ElementType added in v0.1.5

func (InternetAddressConfigState) ElementType() reflect.Type

type InternetAddressInput added in v0.1.5

type InternetAddressInput interface {
	pulumi.Input

	ToInternetAddressOutput() InternetAddressOutput
	ToInternetAddressOutputWithContext(ctx context.Context) InternetAddressOutput
}

type InternetAddressMap added in v0.1.5

type InternetAddressMap map[string]InternetAddressInput

func (InternetAddressMap) ElementType added in v0.1.5

func (InternetAddressMap) ElementType() reflect.Type

func (InternetAddressMap) ToInternetAddressMapOutput added in v0.1.5

func (i InternetAddressMap) ToInternetAddressMapOutput() InternetAddressMapOutput

func (InternetAddressMap) ToInternetAddressMapOutputWithContext added in v0.1.5

func (i InternetAddressMap) ToInternetAddressMapOutputWithContext(ctx context.Context) InternetAddressMapOutput

type InternetAddressMapInput added in v0.1.5

type InternetAddressMapInput interface {
	pulumi.Input

	ToInternetAddressMapOutput() InternetAddressMapOutput
	ToInternetAddressMapOutputWithContext(context.Context) InternetAddressMapOutput
}

InternetAddressMapInput is an input type that accepts InternetAddressMap and InternetAddressMapOutput values. You can construct a concrete instance of `InternetAddressMapInput` via:

InternetAddressMap{ "key": InternetAddressArgs{...} }

type InternetAddressMapOutput added in v0.1.5

type InternetAddressMapOutput struct{ *pulumi.OutputState }

func (InternetAddressMapOutput) ElementType added in v0.1.5

func (InternetAddressMapOutput) ElementType() reflect.Type

func (InternetAddressMapOutput) MapIndex added in v0.1.5

func (InternetAddressMapOutput) ToInternetAddressMapOutput added in v0.1.5

func (o InternetAddressMapOutput) ToInternetAddressMapOutput() InternetAddressMapOutput

func (InternetAddressMapOutput) ToInternetAddressMapOutputWithContext added in v0.1.5

func (o InternetAddressMapOutput) ToInternetAddressMapOutputWithContext(ctx context.Context) InternetAddressMapOutput

type InternetAddressOutput added in v0.1.5

type InternetAddressOutput struct{ *pulumi.OutputState }

func (InternetAddressOutput) AddrProto added in v0.1.5

func (o InternetAddressOutput) AddrProto() pulumi.IntOutput

0: IPv4, 1: IPv6.

func (InternetAddressOutput) AddrType added in v0.1.5

func (o InternetAddressOutput) AddrType() pulumi.IntOutput

0: BGP, 1: china telecom, 2: china mobile, 3: china unicom.

func (InternetAddressOutput) ElementType added in v0.1.5

func (InternetAddressOutput) ElementType() reflect.Type

func (InternetAddressOutput) MaskLen added in v0.1.5

CIDR address mask.

func (InternetAddressOutput) ToInternetAddressOutput added in v0.1.5

func (o InternetAddressOutput) ToInternetAddressOutput() InternetAddressOutput

func (InternetAddressOutput) ToInternetAddressOutputWithContext added in v0.1.5

func (o InternetAddressOutput) ToInternetAddressOutputWithContext(ctx context.Context) InternetAddressOutput

type InternetAddressState added in v0.1.5

type InternetAddressState struct {
	// 0: IPv4, 1: IPv6.
	AddrProto pulumi.IntPtrInput
	// 0: BGP, 1: china telecom, 2: china mobile, 3: china unicom.
	AddrType pulumi.IntPtrInput
	// CIDR address mask.
	MaskLen pulumi.IntPtrInput
}

func (InternetAddressState) ElementType added in v0.1.5

func (InternetAddressState) ElementType() reflect.Type

type ShareDcxConfig added in v0.1.5

type ShareDcxConfig struct {
	pulumi.CustomResourceState

	// the direct connect owner accept or reject the apply of direct connect tunnel.
	DirectConnectTunnelId pulumi.StringOutput `pulumi:"directConnectTunnelId"`
	// if accept or reject direct connect tunnel.
	Enable pulumi.BoolOutput `pulumi:"enable"`
}

Provides a resource to create a dc shareDcxConfig

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dc.NewShareDcxConfig(ctx, "shareDcxConfig", &Dc.ShareDcxConfigArgs{
			DirectConnectTunnelId: pulumi.String("dcx-4z49tnws"),
			Enable:                pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dc share_dcx_config can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dc/shareDcxConfig:ShareDcxConfig share_dcx_config dcx_id

```

func GetShareDcxConfig added in v0.1.5

func GetShareDcxConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareDcxConfigState, opts ...pulumi.ResourceOption) (*ShareDcxConfig, error)

GetShareDcxConfig gets an existing ShareDcxConfig 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 NewShareDcxConfig added in v0.1.5

func NewShareDcxConfig(ctx *pulumi.Context,
	name string, args *ShareDcxConfigArgs, opts ...pulumi.ResourceOption) (*ShareDcxConfig, error)

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

func (*ShareDcxConfig) ElementType added in v0.1.5

func (*ShareDcxConfig) ElementType() reflect.Type

func (*ShareDcxConfig) ToShareDcxConfigOutput added in v0.1.5

func (i *ShareDcxConfig) ToShareDcxConfigOutput() ShareDcxConfigOutput

func (*ShareDcxConfig) ToShareDcxConfigOutputWithContext added in v0.1.5

func (i *ShareDcxConfig) ToShareDcxConfigOutputWithContext(ctx context.Context) ShareDcxConfigOutput

type ShareDcxConfigArgs added in v0.1.5

type ShareDcxConfigArgs struct {
	// the direct connect owner accept or reject the apply of direct connect tunnel.
	DirectConnectTunnelId pulumi.StringInput
	// if accept or reject direct connect tunnel.
	Enable pulumi.BoolInput
}

The set of arguments for constructing a ShareDcxConfig resource.

func (ShareDcxConfigArgs) ElementType added in v0.1.5

func (ShareDcxConfigArgs) ElementType() reflect.Type

type ShareDcxConfigArray added in v0.1.5

type ShareDcxConfigArray []ShareDcxConfigInput

func (ShareDcxConfigArray) ElementType added in v0.1.5

func (ShareDcxConfigArray) ElementType() reflect.Type

func (ShareDcxConfigArray) ToShareDcxConfigArrayOutput added in v0.1.5

func (i ShareDcxConfigArray) ToShareDcxConfigArrayOutput() ShareDcxConfigArrayOutput

func (ShareDcxConfigArray) ToShareDcxConfigArrayOutputWithContext added in v0.1.5

func (i ShareDcxConfigArray) ToShareDcxConfigArrayOutputWithContext(ctx context.Context) ShareDcxConfigArrayOutput

type ShareDcxConfigArrayInput added in v0.1.5

type ShareDcxConfigArrayInput interface {
	pulumi.Input

	ToShareDcxConfigArrayOutput() ShareDcxConfigArrayOutput
	ToShareDcxConfigArrayOutputWithContext(context.Context) ShareDcxConfigArrayOutput
}

ShareDcxConfigArrayInput is an input type that accepts ShareDcxConfigArray and ShareDcxConfigArrayOutput values. You can construct a concrete instance of `ShareDcxConfigArrayInput` via:

ShareDcxConfigArray{ ShareDcxConfigArgs{...} }

type ShareDcxConfigArrayOutput added in v0.1.5

type ShareDcxConfigArrayOutput struct{ *pulumi.OutputState }

func (ShareDcxConfigArrayOutput) ElementType added in v0.1.5

func (ShareDcxConfigArrayOutput) ElementType() reflect.Type

func (ShareDcxConfigArrayOutput) Index added in v0.1.5

func (ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutput added in v0.1.5

func (o ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutput() ShareDcxConfigArrayOutput

func (ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutputWithContext added in v0.1.5

func (o ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutputWithContext(ctx context.Context) ShareDcxConfigArrayOutput

type ShareDcxConfigInput added in v0.1.5

type ShareDcxConfigInput interface {
	pulumi.Input

	ToShareDcxConfigOutput() ShareDcxConfigOutput
	ToShareDcxConfigOutputWithContext(ctx context.Context) ShareDcxConfigOutput
}

type ShareDcxConfigMap added in v0.1.5

type ShareDcxConfigMap map[string]ShareDcxConfigInput

func (ShareDcxConfigMap) ElementType added in v0.1.5

func (ShareDcxConfigMap) ElementType() reflect.Type

func (ShareDcxConfigMap) ToShareDcxConfigMapOutput added in v0.1.5

func (i ShareDcxConfigMap) ToShareDcxConfigMapOutput() ShareDcxConfigMapOutput

func (ShareDcxConfigMap) ToShareDcxConfigMapOutputWithContext added in v0.1.5

func (i ShareDcxConfigMap) ToShareDcxConfigMapOutputWithContext(ctx context.Context) ShareDcxConfigMapOutput

type ShareDcxConfigMapInput added in v0.1.5

type ShareDcxConfigMapInput interface {
	pulumi.Input

	ToShareDcxConfigMapOutput() ShareDcxConfigMapOutput
	ToShareDcxConfigMapOutputWithContext(context.Context) ShareDcxConfigMapOutput
}

ShareDcxConfigMapInput is an input type that accepts ShareDcxConfigMap and ShareDcxConfigMapOutput values. You can construct a concrete instance of `ShareDcxConfigMapInput` via:

ShareDcxConfigMap{ "key": ShareDcxConfigArgs{...} }

type ShareDcxConfigMapOutput added in v0.1.5

type ShareDcxConfigMapOutput struct{ *pulumi.OutputState }

func (ShareDcxConfigMapOutput) ElementType added in v0.1.5

func (ShareDcxConfigMapOutput) ElementType() reflect.Type

func (ShareDcxConfigMapOutput) MapIndex added in v0.1.5

func (ShareDcxConfigMapOutput) ToShareDcxConfigMapOutput added in v0.1.5

func (o ShareDcxConfigMapOutput) ToShareDcxConfigMapOutput() ShareDcxConfigMapOutput

func (ShareDcxConfigMapOutput) ToShareDcxConfigMapOutputWithContext added in v0.1.5

func (o ShareDcxConfigMapOutput) ToShareDcxConfigMapOutputWithContext(ctx context.Context) ShareDcxConfigMapOutput

type ShareDcxConfigOutput added in v0.1.5

type ShareDcxConfigOutput struct{ *pulumi.OutputState }

func (ShareDcxConfigOutput) DirectConnectTunnelId added in v0.1.5

func (o ShareDcxConfigOutput) DirectConnectTunnelId() pulumi.StringOutput

the direct connect owner accept or reject the apply of direct connect tunnel.

func (ShareDcxConfigOutput) ElementType added in v0.1.5

func (ShareDcxConfigOutput) ElementType() reflect.Type

func (ShareDcxConfigOutput) Enable added in v0.1.5

if accept or reject direct connect tunnel.

func (ShareDcxConfigOutput) ToShareDcxConfigOutput added in v0.1.5

func (o ShareDcxConfigOutput) ToShareDcxConfigOutput() ShareDcxConfigOutput

func (ShareDcxConfigOutput) ToShareDcxConfigOutputWithContext added in v0.1.5

func (o ShareDcxConfigOutput) ToShareDcxConfigOutputWithContext(ctx context.Context) ShareDcxConfigOutput

type ShareDcxConfigState added in v0.1.5

type ShareDcxConfigState struct {
	// the direct connect owner accept or reject the apply of direct connect tunnel.
	DirectConnectTunnelId pulumi.StringPtrInput
	// if accept or reject direct connect tunnel.
	Enable pulumi.BoolPtrInput
}

func (ShareDcxConfigState) ElementType added in v0.1.5

func (ShareDcxConfigState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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