vpc

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 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 Acl

type Acl struct {
	pulumi.CustomResourceState

	// Creation time of ACL.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
	Egresses pulumi.StringArrayOutput `pulumi:"egresses"`
	// Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
	Ingresses pulumi.StringArrayOutput `pulumi:"ingresses"`
	// Name of the network ACL.
	Name pulumi.StringOutput `pulumi:"name"`
	// Tags of the vpc acl.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// ID of the VPC instance.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provide a resource to create a VPC ACL instance.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := Vpc.GetInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = Vpc.NewAcl(ctx, "foo", &Vpc.AclArgs{
			VpcId: pulumi.String(_default.InstanceLists[0].VpcId),
			Ingresses: pulumi.StringArray{
				pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"),
				pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"),
			},
			Egresses: pulumi.StringArray{
				pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"),
				pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Vpc ACL can be imported, e.g.

```sh

$ pulumi import tencentcloud:Vpc/acl:Acl default acl-id

```

func GetAcl

func GetAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)

GetAcl gets an existing Acl 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 NewAcl

func NewAcl(ctx *pulumi.Context,
	name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)

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

func (*Acl) ElementType

func (*Acl) ElementType() reflect.Type

func (*Acl) ToAclOutput

func (i *Acl) ToAclOutput() AclOutput

func (*Acl) ToAclOutputWithContext

func (i *Acl) ToAclOutputWithContext(ctx context.Context) AclOutput

type AclArgs

type AclArgs struct {
	// Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
	Egresses pulumi.StringArrayInput
	// Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
	Ingresses pulumi.StringArrayInput
	// Name of the network ACL.
	Name pulumi.StringPtrInput
	// Tags of the vpc acl.
	Tags pulumi.MapInput
	// ID of the VPC instance.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Acl resource.

func (AclArgs) ElementType

func (AclArgs) ElementType() reflect.Type

type AclArray

type AclArray []AclInput

func (AclArray) ElementType

func (AclArray) ElementType() reflect.Type

func (AclArray) ToAclArrayOutput

func (i AclArray) ToAclArrayOutput() AclArrayOutput

func (AclArray) ToAclArrayOutputWithContext

func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclArrayInput

type AclArrayInput interface {
	pulumi.Input

	ToAclArrayOutput() AclArrayOutput
	ToAclArrayOutputWithContext(context.Context) AclArrayOutput
}

AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:

AclArray{ AclArgs{...} }

type AclArrayOutput

type AclArrayOutput struct{ *pulumi.OutputState }

func (AclArrayOutput) ElementType

func (AclArrayOutput) ElementType() reflect.Type

func (AclArrayOutput) Index

func (AclArrayOutput) ToAclArrayOutput

func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput

func (AclArrayOutput) ToAclArrayOutputWithContext

func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclAttachment

type AclAttachment struct {
	pulumi.CustomResourceState

	// ID of the attached ACL.
	AclId pulumi.StringOutput `pulumi:"aclId"`
	// The Subnet instance ID.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
}

Provide a resource to attach an existing subnet to Network ACL.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		idInstances, err := Vpc.GetInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		foo, err := Vpc.NewAcl(ctx, "foo", &Vpc.AclArgs{
			VpcId: pulumi.String(idInstances.InstanceLists[0].VpcId),
			Ingresses: pulumi.StringArray{
				pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"),
				pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"),
			},
			Egresses: pulumi.StringArray{
				pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"),
				pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"),
			},
		})
		if err != nil {
			return err
		}
		_, err = Vpc.NewAclAttachment(ctx, "attachment", &Vpc.AclAttachmentArgs{
			AclId:    foo.ID(),
			SubnetId: pulumi.String(idInstances.InstanceLists[0].SubnetIds[0]),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Acl attachment can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Vpc/aclAttachment:AclAttachment attachment acl-eotx5qsg#subnet-91x0geu6

```

func GetAclAttachment

func GetAclAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclAttachmentState, opts ...pulumi.ResourceOption) (*AclAttachment, error)

GetAclAttachment gets an existing AclAttachment 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 NewAclAttachment

func NewAclAttachment(ctx *pulumi.Context,
	name string, args *AclAttachmentArgs, opts ...pulumi.ResourceOption) (*AclAttachment, error)

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

func (*AclAttachment) ElementType

func (*AclAttachment) ElementType() reflect.Type

func (*AclAttachment) ToAclAttachmentOutput

func (i *AclAttachment) ToAclAttachmentOutput() AclAttachmentOutput

func (*AclAttachment) ToAclAttachmentOutputWithContext

func (i *AclAttachment) ToAclAttachmentOutputWithContext(ctx context.Context) AclAttachmentOutput

type AclAttachmentArgs

type AclAttachmentArgs struct {
	// ID of the attached ACL.
	AclId pulumi.StringInput
	// The Subnet instance ID.
	SubnetId pulumi.StringInput
}

The set of arguments for constructing a AclAttachment resource.

func (AclAttachmentArgs) ElementType

func (AclAttachmentArgs) ElementType() reflect.Type

type AclAttachmentArray

type AclAttachmentArray []AclAttachmentInput

func (AclAttachmentArray) ElementType

func (AclAttachmentArray) ElementType() reflect.Type

func (AclAttachmentArray) ToAclAttachmentArrayOutput

func (i AclAttachmentArray) ToAclAttachmentArrayOutput() AclAttachmentArrayOutput

func (AclAttachmentArray) ToAclAttachmentArrayOutputWithContext

func (i AclAttachmentArray) ToAclAttachmentArrayOutputWithContext(ctx context.Context) AclAttachmentArrayOutput

type AclAttachmentArrayInput

type AclAttachmentArrayInput interface {
	pulumi.Input

	ToAclAttachmentArrayOutput() AclAttachmentArrayOutput
	ToAclAttachmentArrayOutputWithContext(context.Context) AclAttachmentArrayOutput
}

AclAttachmentArrayInput is an input type that accepts AclAttachmentArray and AclAttachmentArrayOutput values. You can construct a concrete instance of `AclAttachmentArrayInput` via:

AclAttachmentArray{ AclAttachmentArgs{...} }

type AclAttachmentArrayOutput

type AclAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AclAttachmentArrayOutput) ElementType

func (AclAttachmentArrayOutput) ElementType() reflect.Type

func (AclAttachmentArrayOutput) Index

func (AclAttachmentArrayOutput) ToAclAttachmentArrayOutput

func (o AclAttachmentArrayOutput) ToAclAttachmentArrayOutput() AclAttachmentArrayOutput

func (AclAttachmentArrayOutput) ToAclAttachmentArrayOutputWithContext

func (o AclAttachmentArrayOutput) ToAclAttachmentArrayOutputWithContext(ctx context.Context) AclAttachmentArrayOutput

type AclAttachmentInput

type AclAttachmentInput interface {
	pulumi.Input

	ToAclAttachmentOutput() AclAttachmentOutput
	ToAclAttachmentOutputWithContext(ctx context.Context) AclAttachmentOutput
}

type AclAttachmentMap

type AclAttachmentMap map[string]AclAttachmentInput

func (AclAttachmentMap) ElementType

func (AclAttachmentMap) ElementType() reflect.Type

func (AclAttachmentMap) ToAclAttachmentMapOutput

func (i AclAttachmentMap) ToAclAttachmentMapOutput() AclAttachmentMapOutput

func (AclAttachmentMap) ToAclAttachmentMapOutputWithContext

func (i AclAttachmentMap) ToAclAttachmentMapOutputWithContext(ctx context.Context) AclAttachmentMapOutput

type AclAttachmentMapInput

type AclAttachmentMapInput interface {
	pulumi.Input

	ToAclAttachmentMapOutput() AclAttachmentMapOutput
	ToAclAttachmentMapOutputWithContext(context.Context) AclAttachmentMapOutput
}

AclAttachmentMapInput is an input type that accepts AclAttachmentMap and AclAttachmentMapOutput values. You can construct a concrete instance of `AclAttachmentMapInput` via:

AclAttachmentMap{ "key": AclAttachmentArgs{...} }

type AclAttachmentMapOutput

type AclAttachmentMapOutput struct{ *pulumi.OutputState }

func (AclAttachmentMapOutput) ElementType

func (AclAttachmentMapOutput) ElementType() reflect.Type

func (AclAttachmentMapOutput) MapIndex

func (AclAttachmentMapOutput) ToAclAttachmentMapOutput

func (o AclAttachmentMapOutput) ToAclAttachmentMapOutput() AclAttachmentMapOutput

func (AclAttachmentMapOutput) ToAclAttachmentMapOutputWithContext

func (o AclAttachmentMapOutput) ToAclAttachmentMapOutputWithContext(ctx context.Context) AclAttachmentMapOutput

type AclAttachmentOutput

type AclAttachmentOutput struct{ *pulumi.OutputState }

func (AclAttachmentOutput) AclId

ID of the attached ACL.

func (AclAttachmentOutput) ElementType

func (AclAttachmentOutput) ElementType() reflect.Type

func (AclAttachmentOutput) SubnetId

The Subnet instance ID.

func (AclAttachmentOutput) ToAclAttachmentOutput

func (o AclAttachmentOutput) ToAclAttachmentOutput() AclAttachmentOutput

func (AclAttachmentOutput) ToAclAttachmentOutputWithContext

func (o AclAttachmentOutput) ToAclAttachmentOutputWithContext(ctx context.Context) AclAttachmentOutput

type AclAttachmentState

type AclAttachmentState struct {
	// ID of the attached ACL.
	AclId pulumi.StringPtrInput
	// The Subnet instance ID.
	SubnetId pulumi.StringPtrInput
}

func (AclAttachmentState) ElementType

func (AclAttachmentState) ElementType() reflect.Type

type AclInput

type AclInput interface {
	pulumi.Input

	ToAclOutput() AclOutput
	ToAclOutputWithContext(ctx context.Context) AclOutput
}

type AclMap

type AclMap map[string]AclInput

func (AclMap) ElementType

func (AclMap) ElementType() reflect.Type

func (AclMap) ToAclMapOutput

func (i AclMap) ToAclMapOutput() AclMapOutput

func (AclMap) ToAclMapOutputWithContext

func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclMapInput

type AclMapInput interface {
	pulumi.Input

	ToAclMapOutput() AclMapOutput
	ToAclMapOutputWithContext(context.Context) AclMapOutput
}

AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:

AclMap{ "key": AclArgs{...} }

type AclMapOutput

type AclMapOutput struct{ *pulumi.OutputState }

func (AclMapOutput) ElementType

func (AclMapOutput) ElementType() reflect.Type

func (AclMapOutput) MapIndex

func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput

func (AclMapOutput) ToAclMapOutput

func (o AclMapOutput) ToAclMapOutput() AclMapOutput

func (AclMapOutput) ToAclMapOutputWithContext

func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclOutput

type AclOutput struct{ *pulumi.OutputState }

func (AclOutput) CreateTime

func (o AclOutput) CreateTime() pulumi.StringOutput

Creation time of ACL.

func (AclOutput) Egresses

func (o AclOutput) Egresses() pulumi.StringArrayOutput

Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.

func (AclOutput) ElementType

func (AclOutput) ElementType() reflect.Type

func (AclOutput) Ingresses

func (o AclOutput) Ingresses() pulumi.StringArrayOutput

Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.

func (AclOutput) Name

func (o AclOutput) Name() pulumi.StringOutput

Name of the network ACL.

func (AclOutput) Tags added in v0.1.3

func (o AclOutput) Tags() pulumi.MapOutput

Tags of the vpc acl.

func (AclOutput) ToAclOutput

func (o AclOutput) ToAclOutput() AclOutput

func (AclOutput) ToAclOutputWithContext

func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput

func (AclOutput) VpcId

func (o AclOutput) VpcId() pulumi.StringOutput

ID of the VPC instance.

type AclState

type AclState struct {
	// Creation time of ACL.
	CreateTime pulumi.StringPtrInput
	// Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
	Egresses pulumi.StringArrayInput
	// Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
	Ingresses pulumi.StringArrayInput
	// Name of the network ACL.
	Name pulumi.StringPtrInput
	// Tags of the vpc acl.
	Tags pulumi.MapInput
	// ID of the VPC instance.
	VpcId pulumi.StringPtrInput
}

func (AclState) ElementType

func (AclState) ElementType() reflect.Type

type BandwidthPackage added in v0.1.3

type BandwidthPackage struct {
	pulumi.CustomResourceState

	// Bandwidth package name.
	BandwidthPackageName pulumi.StringPtrOutput `pulumi:"bandwidthPackageName"`
	// Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction).
	ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"`
	// Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
	InternetMaxBandwidth pulumi.IntPtrOutput `pulumi:"internetMaxBandwidth"`
	// Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package.
	NetworkType pulumi.StringPtrOutput `pulumi:"networkType"`
	// Tag description list.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a resource to create a vpc bandwidthPackage

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vpc.NewBandwidthPackage(ctx, "bandwidthPackage", &Vpc.BandwidthPackageArgs{
			BandwidthPackageName: pulumi.String("test-001"),
			ChargeType:           pulumi.String("TOP5_POSTPAID_BY_MONTH"),
			NetworkType:          pulumi.String("BGP"),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

vpc bandwidth_package can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Vpc/bandwidthPackage:BandwidthPackage bandwidth_package bandwidthPackage_id

```

func GetBandwidthPackage added in v0.1.3

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

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

func NewBandwidthPackage added in v0.1.3

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

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

func (*BandwidthPackage) ElementType added in v0.1.3

func (*BandwidthPackage) ElementType() reflect.Type

func (*BandwidthPackage) ToBandwidthPackageOutput added in v0.1.3

func (i *BandwidthPackage) ToBandwidthPackageOutput() BandwidthPackageOutput

func (*BandwidthPackage) ToBandwidthPackageOutputWithContext added in v0.1.3

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

type BandwidthPackageArgs added in v0.1.3

type BandwidthPackageArgs struct {
	// Bandwidth package name.
	BandwidthPackageName pulumi.StringPtrInput
	// Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction).
	ChargeType pulumi.StringPtrInput
	// Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
	InternetMaxBandwidth pulumi.IntPtrInput
	// Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package.
	NetworkType pulumi.StringPtrInput
	// Tag description list.
	Tags pulumi.MapInput
}

The set of arguments for constructing a BandwidthPackage resource.

func (BandwidthPackageArgs) ElementType added in v0.1.3

func (BandwidthPackageArgs) ElementType() reflect.Type

type BandwidthPackageArray added in v0.1.3

type BandwidthPackageArray []BandwidthPackageInput

func (BandwidthPackageArray) ElementType added in v0.1.3

func (BandwidthPackageArray) ElementType() reflect.Type

func (BandwidthPackageArray) ToBandwidthPackageArrayOutput added in v0.1.3

func (i BandwidthPackageArray) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput

func (BandwidthPackageArray) ToBandwidthPackageArrayOutputWithContext added in v0.1.3

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

type BandwidthPackageArrayInput added in v0.1.3

type BandwidthPackageArrayInput interface {
	pulumi.Input

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

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

BandwidthPackageArray{ BandwidthPackageArgs{...} }

type BandwidthPackageArrayOutput added in v0.1.3

type BandwidthPackageArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageArrayOutput) ElementType added in v0.1.3

func (BandwidthPackageArrayOutput) Index added in v0.1.3

func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput added in v0.1.3

func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput

func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext added in v0.1.3

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

type BandwidthPackageAttachment added in v0.1.3

type BandwidthPackageAttachment struct {
	pulumi.CustomResourceState

	// Bandwidth package unique ID, in the form of `bwp-xxxx`.
	BandwidthPackageId pulumi.StringOutput `pulumi:"bandwidthPackageId"`
	// Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP.
	NetworkType pulumi.StringPtrOutput `pulumi:"networkType"`
	// Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// Resource types, including `Address`, `LoadBalance`.
	ResourceType pulumi.StringPtrOutput `pulumi:"resourceType"`
}

Provides a resource to create a vpc bandwidthPackageAttachment

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vpc.NewBandwidthPackageAttachment(ctx, "bandwidthPackageAttachment", &Vpc.BandwidthPackageAttachmentArgs{
			BandwidthPackageId: pulumi.String("bwp-atmf0p9g"),
			NetworkType:        pulumi.String("BGP"),
			Protocol:           pulumi.String(""),
			ResourceId:         pulumi.String("lb-dv1ai6ma"),
			ResourceType:       pulumi.String("LoadBalance"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetBandwidthPackageAttachment added in v0.1.3

func GetBandwidthPackageAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BandwidthPackageAttachmentState, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)

GetBandwidthPackageAttachment gets an existing BandwidthPackageAttachment 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 NewBandwidthPackageAttachment added in v0.1.3

func NewBandwidthPackageAttachment(ctx *pulumi.Context,
	name string, args *BandwidthPackageAttachmentArgs, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)

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

func (*BandwidthPackageAttachment) ElementType added in v0.1.3

func (*BandwidthPackageAttachment) ElementType() reflect.Type

func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutput added in v0.1.3

func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput

func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutputWithContext added in v0.1.3

func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput

type BandwidthPackageAttachmentArgs added in v0.1.3

type BandwidthPackageAttachmentArgs struct {
	// Bandwidth package unique ID, in the form of `bwp-xxxx`.
	BandwidthPackageId pulumi.StringInput
	// Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP.
	NetworkType pulumi.StringPtrInput
	// Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported.
	Protocol pulumi.StringPtrInput
	// The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`.
	ResourceId pulumi.StringInput
	// Resource types, including `Address`, `LoadBalance`.
	ResourceType pulumi.StringPtrInput
}

The set of arguments for constructing a BandwidthPackageAttachment resource.

func (BandwidthPackageAttachmentArgs) ElementType added in v0.1.3

type BandwidthPackageAttachmentArray added in v0.1.3

type BandwidthPackageAttachmentArray []BandwidthPackageAttachmentInput

func (BandwidthPackageAttachmentArray) ElementType added in v0.1.3

func (BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutput added in v0.1.3

func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput

func (BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutputWithContext added in v0.1.3

func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput

type BandwidthPackageAttachmentArrayInput added in v0.1.3

type BandwidthPackageAttachmentArrayInput interface {
	pulumi.Input

	ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput
	ToBandwidthPackageAttachmentArrayOutputWithContext(context.Context) BandwidthPackageAttachmentArrayOutput
}

BandwidthPackageAttachmentArrayInput is an input type that accepts BandwidthPackageAttachmentArray and BandwidthPackageAttachmentArrayOutput values. You can construct a concrete instance of `BandwidthPackageAttachmentArrayInput` via:

BandwidthPackageAttachmentArray{ BandwidthPackageAttachmentArgs{...} }

type BandwidthPackageAttachmentArrayOutput added in v0.1.3

type BandwidthPackageAttachmentArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAttachmentArrayOutput) ElementType added in v0.1.3

func (BandwidthPackageAttachmentArrayOutput) Index added in v0.1.3

func (BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutput added in v0.1.3

func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput

func (BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutputWithContext added in v0.1.3

func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput

type BandwidthPackageAttachmentInput added in v0.1.3

type BandwidthPackageAttachmentInput interface {
	pulumi.Input

	ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput
	ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput
}

type BandwidthPackageAttachmentMap added in v0.1.3

type BandwidthPackageAttachmentMap map[string]BandwidthPackageAttachmentInput

func (BandwidthPackageAttachmentMap) ElementType added in v0.1.3

func (BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutput added in v0.1.3

func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput

func (BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutputWithContext added in v0.1.3

func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput

type BandwidthPackageAttachmentMapInput added in v0.1.3

type BandwidthPackageAttachmentMapInput interface {
	pulumi.Input

	ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput
	ToBandwidthPackageAttachmentMapOutputWithContext(context.Context) BandwidthPackageAttachmentMapOutput
}

BandwidthPackageAttachmentMapInput is an input type that accepts BandwidthPackageAttachmentMap and BandwidthPackageAttachmentMapOutput values. You can construct a concrete instance of `BandwidthPackageAttachmentMapInput` via:

BandwidthPackageAttachmentMap{ "key": BandwidthPackageAttachmentArgs{...} }

type BandwidthPackageAttachmentMapOutput added in v0.1.3

type BandwidthPackageAttachmentMapOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAttachmentMapOutput) ElementType added in v0.1.3

func (BandwidthPackageAttachmentMapOutput) MapIndex added in v0.1.3

func (BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutput added in v0.1.3

func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput

func (BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutputWithContext added in v0.1.3

func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput

type BandwidthPackageAttachmentOutput added in v0.1.3

type BandwidthPackageAttachmentOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAttachmentOutput) BandwidthPackageId added in v0.1.3

func (o BandwidthPackageAttachmentOutput) BandwidthPackageId() pulumi.StringOutput

Bandwidth package unique ID, in the form of `bwp-xxxx`.

func (BandwidthPackageAttachmentOutput) ElementType added in v0.1.3

func (BandwidthPackageAttachmentOutput) NetworkType added in v0.1.3

Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP.

func (BandwidthPackageAttachmentOutput) Protocol added in v0.1.3

Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported.

func (BandwidthPackageAttachmentOutput) ResourceId added in v0.1.3

The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`.

func (BandwidthPackageAttachmentOutput) ResourceType added in v0.1.3

Resource types, including `Address`, `LoadBalance`.

func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutput added in v0.1.3

func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput

func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutputWithContext added in v0.1.3

func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput

type BandwidthPackageAttachmentState added in v0.1.3

type BandwidthPackageAttachmentState struct {
	// Bandwidth package unique ID, in the form of `bwp-xxxx`.
	BandwidthPackageId pulumi.StringPtrInput
	// Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP.
	NetworkType pulumi.StringPtrInput
	// Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported.
	Protocol pulumi.StringPtrInput
	// The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`.
	ResourceId pulumi.StringPtrInput
	// Resource types, including `Address`, `LoadBalance`.
	ResourceType pulumi.StringPtrInput
}

func (BandwidthPackageAttachmentState) ElementType added in v0.1.3

type BandwidthPackageInput added in v0.1.3

type BandwidthPackageInput interface {
	pulumi.Input

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

type BandwidthPackageMap added in v0.1.3

type BandwidthPackageMap map[string]BandwidthPackageInput

func (BandwidthPackageMap) ElementType added in v0.1.3

func (BandwidthPackageMap) ElementType() reflect.Type

func (BandwidthPackageMap) ToBandwidthPackageMapOutput added in v0.1.3

func (i BandwidthPackageMap) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput

func (BandwidthPackageMap) ToBandwidthPackageMapOutputWithContext added in v0.1.3

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

type BandwidthPackageMapInput added in v0.1.3

type BandwidthPackageMapInput interface {
	pulumi.Input

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

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

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

type BandwidthPackageMapOutput added in v0.1.3

type BandwidthPackageMapOutput struct{ *pulumi.OutputState }

func (BandwidthPackageMapOutput) ElementType added in v0.1.3

func (BandwidthPackageMapOutput) ElementType() reflect.Type

func (BandwidthPackageMapOutput) MapIndex added in v0.1.3

func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutput added in v0.1.3

func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput

func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext added in v0.1.3

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

type BandwidthPackageOutput added in v0.1.3

type BandwidthPackageOutput struct{ *pulumi.OutputState }

func (BandwidthPackageOutput) BandwidthPackageName added in v0.1.3

func (o BandwidthPackageOutput) BandwidthPackageName() pulumi.StringPtrOutput

Bandwidth package name.

func (BandwidthPackageOutput) ChargeType added in v0.1.3

Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction).

func (BandwidthPackageOutput) ElementType added in v0.1.3

func (BandwidthPackageOutput) ElementType() reflect.Type

func (BandwidthPackageOutput) InternetMaxBandwidth added in v0.1.3

func (o BandwidthPackageOutput) InternetMaxBandwidth() pulumi.IntPtrOutput

Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.

func (BandwidthPackageOutput) NetworkType added in v0.1.3

Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package.

func (BandwidthPackageOutput) Tags added in v0.1.3

Tag description list.

func (BandwidthPackageOutput) ToBandwidthPackageOutput added in v0.1.3

func (o BandwidthPackageOutput) ToBandwidthPackageOutput() BandwidthPackageOutput

func (BandwidthPackageOutput) ToBandwidthPackageOutputWithContext added in v0.1.3

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

type BandwidthPackageState added in v0.1.3

type BandwidthPackageState struct {
	// Bandwidth package name.
	BandwidthPackageName pulumi.StringPtrInput
	// Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction).
	ChargeType pulumi.StringPtrInput
	// Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
	InternetMaxBandwidth pulumi.IntPtrInput
	// Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package.
	NetworkType pulumi.StringPtrInput
	// Tag description list.
	Tags pulumi.MapInput
}

func (BandwidthPackageState) ElementType added in v0.1.3

func (BandwidthPackageState) ElementType() reflect.Type

type EndPoint added in v0.1.3

type EndPoint struct {
	pulumi.CustomResourceState

	// Create Time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Name of endpoint.
	EndPointName pulumi.StringOutput `pulumi:"endPointName"`
	// APPID.
	EndPointOwner pulumi.StringOutput `pulumi:"endPointOwner"`
	// ID of endpoint service.
	EndPointServiceId pulumi.StringOutput `pulumi:"endPointServiceId"`
	// VIP of endpoint ip.
	EndPointVip pulumi.StringPtrOutput `pulumi:"endPointVip"`
	// state of end point.
	State pulumi.StringOutput `pulumi:"state"`
	// ID of subnet instance.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// ID of vpc instance.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to create a vpc endPoint

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vpc.NewEndPoint(ctx, "endPoint", &Vpc.EndPointArgs{
			EndPointName:      pulumi.String("terraform-test"),
			EndPointServiceId: pulumi.String("vpcsvc-69y13tdb"),
			EndPointVip:       pulumi.String("10.0.2.1"),
			SubnetId:          pulumi.String("subnet-ljyn7h30"),
			VpcId:             pulumi.String("vpc-391sv4w3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

vpc end_point can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Vpc/endPoint:EndPoint end_point end_point_id

```

func GetEndPoint added in v0.1.3

func GetEndPoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndPointState, opts ...pulumi.ResourceOption) (*EndPoint, error)

GetEndPoint gets an existing EndPoint 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 NewEndPoint added in v0.1.3

func NewEndPoint(ctx *pulumi.Context,
	name string, args *EndPointArgs, opts ...pulumi.ResourceOption) (*EndPoint, error)

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

func (*EndPoint) ElementType added in v0.1.3

func (*EndPoint) ElementType() reflect.Type

func (*EndPoint) ToEndPointOutput added in v0.1.3

func (i *EndPoint) ToEndPointOutput() EndPointOutput

func (*EndPoint) ToEndPointOutputWithContext added in v0.1.3

func (i *EndPoint) ToEndPointOutputWithContext(ctx context.Context) EndPointOutput

type EndPointArgs added in v0.1.3

type EndPointArgs struct {
	// Name of endpoint.
	EndPointName pulumi.StringInput
	// ID of endpoint service.
	EndPointServiceId pulumi.StringInput
	// VIP of endpoint ip.
	EndPointVip pulumi.StringPtrInput
	// ID of subnet instance.
	SubnetId pulumi.StringInput
	// ID of vpc instance.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a EndPoint resource.

func (EndPointArgs) ElementType added in v0.1.3

func (EndPointArgs) ElementType() reflect.Type

type EndPointArray added in v0.1.3

type EndPointArray []EndPointInput

func (EndPointArray) ElementType added in v0.1.3

func (EndPointArray) ElementType() reflect.Type

func (EndPointArray) ToEndPointArrayOutput added in v0.1.3

func (i EndPointArray) ToEndPointArrayOutput() EndPointArrayOutput

func (EndPointArray) ToEndPointArrayOutputWithContext added in v0.1.3

func (i EndPointArray) ToEndPointArrayOutputWithContext(ctx context.Context) EndPointArrayOutput

type EndPointArrayInput added in v0.1.3

type EndPointArrayInput interface {
	pulumi.Input

	ToEndPointArrayOutput() EndPointArrayOutput
	ToEndPointArrayOutputWithContext(context.Context) EndPointArrayOutput
}

EndPointArrayInput is an input type that accepts EndPointArray and EndPointArrayOutput values. You can construct a concrete instance of `EndPointArrayInput` via:

EndPointArray{ EndPointArgs{...} }

type EndPointArrayOutput added in v0.1.3

type EndPointArrayOutput struct{ *pulumi.OutputState }

func (EndPointArrayOutput) ElementType added in v0.1.3

func (EndPointArrayOutput) ElementType() reflect.Type

func (EndPointArrayOutput) Index added in v0.1.3

func (EndPointArrayOutput) ToEndPointArrayOutput added in v0.1.3

func (o EndPointArrayOutput) ToEndPointArrayOutput() EndPointArrayOutput

func (EndPointArrayOutput) ToEndPointArrayOutputWithContext added in v0.1.3

func (o EndPointArrayOutput) ToEndPointArrayOutputWithContext(ctx context.Context) EndPointArrayOutput

type EndPointInput added in v0.1.3

type EndPointInput interface {
	pulumi.Input

	ToEndPointOutput() EndPointOutput
	ToEndPointOutputWithContext(ctx context.Context) EndPointOutput
}

type EndPointMap added in v0.1.3

type EndPointMap map[string]EndPointInput

func (EndPointMap) ElementType added in v0.1.3

func (EndPointMap) ElementType() reflect.Type

func (EndPointMap) ToEndPointMapOutput added in v0.1.3

func (i EndPointMap) ToEndPointMapOutput() EndPointMapOutput

func (EndPointMap) ToEndPointMapOutputWithContext added in v0.1.3

func (i EndPointMap) ToEndPointMapOutputWithContext(ctx context.Context) EndPointMapOutput

type EndPointMapInput added in v0.1.3

type EndPointMapInput interface {
	pulumi.Input

	ToEndPointMapOutput() EndPointMapOutput
	ToEndPointMapOutputWithContext(context.Context) EndPointMapOutput
}

EndPointMapInput is an input type that accepts EndPointMap and EndPointMapOutput values. You can construct a concrete instance of `EndPointMapInput` via:

EndPointMap{ "key": EndPointArgs{...} }

type EndPointMapOutput added in v0.1.3

type EndPointMapOutput struct{ *pulumi.OutputState }

func (EndPointMapOutput) ElementType added in v0.1.3

func (EndPointMapOutput) ElementType() reflect.Type

func (EndPointMapOutput) MapIndex added in v0.1.3

func (EndPointMapOutput) ToEndPointMapOutput added in v0.1.3

func (o EndPointMapOutput) ToEndPointMapOutput() EndPointMapOutput

func (EndPointMapOutput) ToEndPointMapOutputWithContext added in v0.1.3

func (o EndPointMapOutput) ToEndPointMapOutputWithContext(ctx context.Context) EndPointMapOutput

type EndPointOutput added in v0.1.3

type EndPointOutput struct{ *pulumi.OutputState }

func (EndPointOutput) CreateTime added in v0.1.3

func (o EndPointOutput) CreateTime() pulumi.StringOutput

Create Time.

func (EndPointOutput) ElementType added in v0.1.3

func (EndPointOutput) ElementType() reflect.Type

func (EndPointOutput) EndPointName added in v0.1.3

func (o EndPointOutput) EndPointName() pulumi.StringOutput

Name of endpoint.

func (EndPointOutput) EndPointOwner added in v0.1.3

func (o EndPointOutput) EndPointOwner() pulumi.StringOutput

APPID.

func (EndPointOutput) EndPointServiceId added in v0.1.3

func (o EndPointOutput) EndPointServiceId() pulumi.StringOutput

ID of endpoint service.

func (EndPointOutput) EndPointVip added in v0.1.3

func (o EndPointOutput) EndPointVip() pulumi.StringPtrOutput

VIP of endpoint ip.

func (EndPointOutput) State added in v0.1.3

state of end point.

func (EndPointOutput) SubnetId added in v0.1.3

func (o EndPointOutput) SubnetId() pulumi.StringOutput

ID of subnet instance.

func (EndPointOutput) ToEndPointOutput added in v0.1.3

func (o EndPointOutput) ToEndPointOutput() EndPointOutput

func (EndPointOutput) ToEndPointOutputWithContext added in v0.1.3

func (o EndPointOutput) ToEndPointOutputWithContext(ctx context.Context) EndPointOutput

func (EndPointOutput) VpcId added in v0.1.3

ID of vpc instance.

type EndPointService added in v0.1.3

type EndPointService struct {
	pulumi.CustomResourceState

	// Whether to automatically accept.
	AutoAcceptFlag pulumi.BoolOutput `pulumi:"autoAcceptFlag"`
	// Create Time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Count of end point.
	EndPointCount pulumi.IntOutput `pulumi:"endPointCount"`
	// Name of end point service.
	EndPointServiceName pulumi.StringOutput `pulumi:"endPointServiceName"`
	// Id of service instance, like lb-xxx.
	ServiceInstanceId pulumi.StringOutput `pulumi:"serviceInstanceId"`
	// APPID.
	ServiceOwner pulumi.StringOutput `pulumi:"serviceOwner"`
	// Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`.
	ServiceType pulumi.StringOutput `pulumi:"serviceType"`
	// VIP of backend service.
	ServiceVip pulumi.StringOutput `pulumi:"serviceVip"`
	// ID of vpc instance.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to create a vpc endPointService

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vpc.NewEndPointService(ctx, "endPointService", &Vpc.EndPointServiceArgs{
			AutoAcceptFlag:      pulumi.Bool(false),
			EndPointServiceName: pulumi.String("terraform-endpoint-service"),
			ServiceInstanceId:   pulumi.String("lb-o5f6x7ke"),
			ServiceType:         pulumi.String("CLB"),
			VpcId:               pulumi.String("vpc-391sv4w3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

vpc end_point_service can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Vpc/endPointService:EndPointService end_point_service end_point_service_id

```

func GetEndPointService added in v0.1.3

func GetEndPointService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndPointServiceState, opts ...pulumi.ResourceOption) (*EndPointService, error)

GetEndPointService gets an existing EndPointService 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 NewEndPointService added in v0.1.3

func NewEndPointService(ctx *pulumi.Context,
	name string, args *EndPointServiceArgs, opts ...pulumi.ResourceOption) (*EndPointService, error)

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

func (*EndPointService) ElementType added in v0.1.3

func (*EndPointService) ElementType() reflect.Type

func (*EndPointService) ToEndPointServiceOutput added in v0.1.3

func (i *EndPointService) ToEndPointServiceOutput() EndPointServiceOutput

func (*EndPointService) ToEndPointServiceOutputWithContext added in v0.1.3

func (i *EndPointService) ToEndPointServiceOutputWithContext(ctx context.Context) EndPointServiceOutput

type EndPointServiceArgs added in v0.1.3

type EndPointServiceArgs struct {
	// Whether to automatically accept.
	AutoAcceptFlag pulumi.BoolInput
	// Name of end point service.
	EndPointServiceName pulumi.StringInput
	// Id of service instance, like lb-xxx.
	ServiceInstanceId pulumi.StringInput
	// Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`.
	ServiceType pulumi.StringPtrInput
	// ID of vpc instance.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a EndPointService resource.

func (EndPointServiceArgs) ElementType added in v0.1.3

func (EndPointServiceArgs) ElementType() reflect.Type

type EndPointServiceArray added in v0.1.3

type EndPointServiceArray []EndPointServiceInput

func (EndPointServiceArray) ElementType added in v0.1.3

func (EndPointServiceArray) ElementType() reflect.Type

func (EndPointServiceArray) ToEndPointServiceArrayOutput added in v0.1.3

func (i EndPointServiceArray) ToEndPointServiceArrayOutput() EndPointServiceArrayOutput

func (EndPointServiceArray) ToEndPointServiceArrayOutputWithContext added in v0.1.3

func (i EndPointServiceArray) ToEndPointServiceArrayOutputWithContext(ctx context.Context) EndPointServiceArrayOutput

type EndPointServiceArrayInput added in v0.1.3

type EndPointServiceArrayInput interface {
	pulumi.Input

	ToEndPointServiceArrayOutput() EndPointServiceArrayOutput
	ToEndPointServiceArrayOutputWithContext(context.Context) EndPointServiceArrayOutput
}

EndPointServiceArrayInput is an input type that accepts EndPointServiceArray and EndPointServiceArrayOutput values. You can construct a concrete instance of `EndPointServiceArrayInput` via:

EndPointServiceArray{ EndPointServiceArgs{...} }

type EndPointServiceArrayOutput added in v0.1.3

type EndPointServiceArrayOutput struct{ *pulumi.OutputState }

func (EndPointServiceArrayOutput) ElementType added in v0.1.3

func (EndPointServiceArrayOutput) ElementType() reflect.Type

func (EndPointServiceArrayOutput) Index added in v0.1.3

func (EndPointServiceArrayOutput) ToEndPointServiceArrayOutput added in v0.1.3

func (o EndPointServiceArrayOutput) ToEndPointServiceArrayOutput() EndPointServiceArrayOutput

func (EndPointServiceArrayOutput) ToEndPointServiceArrayOutputWithContext added in v0.1.3

func (o EndPointServiceArrayOutput) ToEndPointServiceArrayOutputWithContext(ctx context.Context) EndPointServiceArrayOutput

type EndPointServiceInput added in v0.1.3

type EndPointServiceInput interface {
	pulumi.Input

	ToEndPointServiceOutput() EndPointServiceOutput
	ToEndPointServiceOutputWithContext(ctx context.Context) EndPointServiceOutput
}

type EndPointServiceMap added in v0.1.3

type EndPointServiceMap map[string]EndPointServiceInput

func (EndPointServiceMap) ElementType added in v0.1.3

func (EndPointServiceMap) ElementType() reflect.Type

func (EndPointServiceMap) ToEndPointServiceMapOutput added in v0.1.3

func (i EndPointServiceMap) ToEndPointServiceMapOutput() EndPointServiceMapOutput

func (EndPointServiceMap) ToEndPointServiceMapOutputWithContext added in v0.1.3

func (i EndPointServiceMap) ToEndPointServiceMapOutputWithContext(ctx context.Context) EndPointServiceMapOutput

type EndPointServiceMapInput added in v0.1.3

type EndPointServiceMapInput interface {
	pulumi.Input

	ToEndPointServiceMapOutput() EndPointServiceMapOutput
	ToEndPointServiceMapOutputWithContext(context.Context) EndPointServiceMapOutput
}

EndPointServiceMapInput is an input type that accepts EndPointServiceMap and EndPointServiceMapOutput values. You can construct a concrete instance of `EndPointServiceMapInput` via:

EndPointServiceMap{ "key": EndPointServiceArgs{...} }

type EndPointServiceMapOutput added in v0.1.3

type EndPointServiceMapOutput struct{ *pulumi.OutputState }

func (EndPointServiceMapOutput) ElementType added in v0.1.3

func (EndPointServiceMapOutput) ElementType() reflect.Type

func (EndPointServiceMapOutput) MapIndex added in v0.1.3

func (EndPointServiceMapOutput) ToEndPointServiceMapOutput added in v0.1.3

func (o EndPointServiceMapOutput) ToEndPointServiceMapOutput() EndPointServiceMapOutput

func (EndPointServiceMapOutput) ToEndPointServiceMapOutputWithContext added in v0.1.3

func (o EndPointServiceMapOutput) ToEndPointServiceMapOutputWithContext(ctx context.Context) EndPointServiceMapOutput

type EndPointServiceOutput added in v0.1.3

type EndPointServiceOutput struct{ *pulumi.OutputState }

func (EndPointServiceOutput) AutoAcceptFlag added in v0.1.3

func (o EndPointServiceOutput) AutoAcceptFlag() pulumi.BoolOutput

Whether to automatically accept.

func (EndPointServiceOutput) CreateTime added in v0.1.3

func (o EndPointServiceOutput) CreateTime() pulumi.StringOutput

Create Time.

func (EndPointServiceOutput) ElementType added in v0.1.3

func (EndPointServiceOutput) ElementType() reflect.Type

func (EndPointServiceOutput) EndPointCount added in v0.1.3

func (o EndPointServiceOutput) EndPointCount() pulumi.IntOutput

Count of end point.

func (EndPointServiceOutput) EndPointServiceName added in v0.1.3

func (o EndPointServiceOutput) EndPointServiceName() pulumi.StringOutput

Name of end point service.

func (EndPointServiceOutput) ServiceInstanceId added in v0.1.3

func (o EndPointServiceOutput) ServiceInstanceId() pulumi.StringOutput

Id of service instance, like lb-xxx.

func (EndPointServiceOutput) ServiceOwner added in v0.1.3

func (o EndPointServiceOutput) ServiceOwner() pulumi.StringOutput

APPID.

func (EndPointServiceOutput) ServiceType added in v0.1.3

func (o EndPointServiceOutput) ServiceType() pulumi.StringOutput

Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`.

func (EndPointServiceOutput) ServiceVip added in v0.1.3

func (o EndPointServiceOutput) ServiceVip() pulumi.StringOutput

VIP of backend service.

func (EndPointServiceOutput) ToEndPointServiceOutput added in v0.1.3

func (o EndPointServiceOutput) ToEndPointServiceOutput() EndPointServiceOutput

func (EndPointServiceOutput) ToEndPointServiceOutputWithContext added in v0.1.3

func (o EndPointServiceOutput) ToEndPointServiceOutputWithContext(ctx context.Context) EndPointServiceOutput

func (EndPointServiceOutput) VpcId added in v0.1.3

ID of vpc instance.

type EndPointServiceState added in v0.1.3

type EndPointServiceState struct {
	// Whether to automatically accept.
	AutoAcceptFlag pulumi.BoolPtrInput
	// Create Time.
	CreateTime pulumi.StringPtrInput
	// Count of end point.
	EndPointCount pulumi.IntPtrInput
	// Name of end point service.
	EndPointServiceName pulumi.StringPtrInput
	// Id of service instance, like lb-xxx.
	ServiceInstanceId pulumi.StringPtrInput
	// APPID.
	ServiceOwner pulumi.StringPtrInput
	// Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`.
	ServiceType pulumi.StringPtrInput
	// VIP of backend service.
	ServiceVip pulumi.StringPtrInput
	// ID of vpc instance.
	VpcId pulumi.StringPtrInput
}

func (EndPointServiceState) ElementType added in v0.1.3

func (EndPointServiceState) ElementType() reflect.Type

type EndPointServiceWhiteList added in v0.1.3

type EndPointServiceWhiteList struct {
	pulumi.CustomResourceState

	// Create Time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Description of white list.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// ID of endpoint service.
	EndPointServiceId pulumi.StringOutput `pulumi:"endPointServiceId"`
	// APPID.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// UIN.
	UserUin pulumi.StringOutput `pulumi:"userUin"`
}

Provides a resource to create a vpc endPointServiceWhiteList

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vpc.NewEndPointServiceWhiteList(ctx, "endPointServiceWhiteList", &Vpc.EndPointServiceWhiteListArgs{
			Description:       pulumi.String("terraform for test"),
			EndPointServiceId: pulumi.String("vpcsvc-69y13tdb"),
			UserUin:           pulumi.String("100020512675"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

vpc end_point_service_white_list can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Vpc/endPointServiceWhiteList:EndPointServiceWhiteList end_point_service_white_list end_point_service_white_list_id

```

func GetEndPointServiceWhiteList added in v0.1.3

func GetEndPointServiceWhiteList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndPointServiceWhiteListState, opts ...pulumi.ResourceOption) (*EndPointServiceWhiteList, error)

GetEndPointServiceWhiteList gets an existing EndPointServiceWhiteList 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 NewEndPointServiceWhiteList added in v0.1.3

func NewEndPointServiceWhiteList(ctx *pulumi.Context,
	name string, args *EndPointServiceWhiteListArgs, opts ...pulumi.ResourceOption) (*EndPointServiceWhiteList, error)

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

func (*EndPointServiceWhiteList) ElementType added in v0.1.3

func (*EndPointServiceWhiteList) ElementType() reflect.Type

func (*EndPointServiceWhiteList) ToEndPointServiceWhiteListOutput added in v0.1.3

func (i *EndPointServiceWhiteList) ToEndPointServiceWhiteListOutput() EndPointServiceWhiteListOutput

func (*EndPointServiceWhiteList) ToEndPointServiceWhiteListOutputWithContext added in v0.1.3

func (i *EndPointServiceWhiteList) ToEndPointServiceWhiteListOutputWithContext(ctx context.Context) EndPointServiceWhiteListOutput

type EndPointServiceWhiteListArgs added in v0.1.3

type EndPointServiceWhiteListArgs struct {
	// Description of white list.
	Description pulumi.StringPtrInput
	// ID of endpoint service.
	EndPointServiceId pulumi.StringInput
	// UIN.
	UserUin pulumi.StringInput
}

The set of arguments for constructing a EndPointServiceWhiteList resource.

func (EndPointServiceWhiteListArgs) ElementType added in v0.1.3

type EndPointServiceWhiteListArray added in v0.1.3

type EndPointServiceWhiteListArray []EndPointServiceWhiteListInput

func (EndPointServiceWhiteListArray) ElementType added in v0.1.3

func (EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutput added in v0.1.3

func (i EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput

func (EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutputWithContext added in v0.1.3

func (i EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutputWithContext(ctx context.Context) EndPointServiceWhiteListArrayOutput

type EndPointServiceWhiteListArrayInput added in v0.1.3

type EndPointServiceWhiteListArrayInput interface {
	pulumi.Input

	ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput
	ToEndPointServiceWhiteListArrayOutputWithContext(context.Context) EndPointServiceWhiteListArrayOutput
}

EndPointServiceWhiteListArrayInput is an input type that accepts EndPointServiceWhiteListArray and EndPointServiceWhiteListArrayOutput values. You can construct a concrete instance of `EndPointServiceWhiteListArrayInput` via:

EndPointServiceWhiteListArray{ EndPointServiceWhiteListArgs{...} }

type EndPointServiceWhiteListArrayOutput added in v0.1.3

type EndPointServiceWhiteListArrayOutput struct{ *pulumi.OutputState }

func (EndPointServiceWhiteListArrayOutput) ElementType added in v0.1.3

func (EndPointServiceWhiteListArrayOutput) Index added in v0.1.3

func (EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutput added in v0.1.3

func (o EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput

func (EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutputWithContext added in v0.1.3

func (o EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutputWithContext(ctx context.Context) EndPointServiceWhiteListArrayOutput

type EndPointServiceWhiteListInput added in v0.1.3

type EndPointServiceWhiteListInput interface {
	pulumi.Input

	ToEndPointServiceWhiteListOutput() EndPointServiceWhiteListOutput
	ToEndPointServiceWhiteListOutputWithContext(ctx context.Context) EndPointServiceWhiteListOutput
}

type EndPointServiceWhiteListMap added in v0.1.3

type EndPointServiceWhiteListMap map[string]EndPointServiceWhiteListInput

func (EndPointServiceWhiteListMap) ElementType added in v0.1.3

func (EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutput added in v0.1.3

func (i EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput

func (EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutputWithContext added in v0.1.3

func (i EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutputWithContext(ctx context.Context) EndPointServiceWhiteListMapOutput

type EndPointServiceWhiteListMapInput added in v0.1.3

type EndPointServiceWhiteListMapInput interface {
	pulumi.Input

	ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput
	ToEndPointServiceWhiteListMapOutputWithContext(context.Context) EndPointServiceWhiteListMapOutput
}

EndPointServiceWhiteListMapInput is an input type that accepts EndPointServiceWhiteListMap and EndPointServiceWhiteListMapOutput values. You can construct a concrete instance of `EndPointServiceWhiteListMapInput` via:

EndPointServiceWhiteListMap{ "key": EndPointServiceWhiteListArgs{...} }

type EndPointServiceWhiteListMapOutput added in v0.1.3

type EndPointServiceWhiteListMapOutput struct{ *pulumi.OutputState }

func (EndPointServiceWhiteListMapOutput) ElementType added in v0.1.3

func (EndPointServiceWhiteListMapOutput) MapIndex added in v0.1.3

func (EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutput added in v0.1.3

func (o EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput

func (EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutputWithContext added in v0.1.3

func (o EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutputWithContext(ctx context.Context) EndPointServiceWhiteListMapOutput

type EndPointServiceWhiteListOutput added in v0.1.3

type EndPointServiceWhiteListOutput struct{ *pulumi.OutputState }

func (EndPointServiceWhiteListOutput) CreateTime added in v0.1.3

Create Time.

func (EndPointServiceWhiteListOutput) Description added in v0.1.3

Description of white list.

func (EndPointServiceWhiteListOutput) ElementType added in v0.1.3

func (EndPointServiceWhiteListOutput) EndPointServiceId added in v0.1.3

func (o EndPointServiceWhiteListOutput) EndPointServiceId() pulumi.StringOutput

ID of endpoint service.

func (EndPointServiceWhiteListOutput) Owner added in v0.1.3

APPID.

func (EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutput added in v0.1.3

func (o EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutput() EndPointServiceWhiteListOutput

func (EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutputWithContext added in v0.1.3

func (o EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutputWithContext(ctx context.Context) EndPointServiceWhiteListOutput

func (EndPointServiceWhiteListOutput) UserUin added in v0.1.3

UIN.

type EndPointServiceWhiteListState added in v0.1.3

type EndPointServiceWhiteListState struct {
	// Create Time.
	CreateTime pulumi.StringPtrInput
	// Description of white list.
	Description pulumi.StringPtrInput
	// ID of endpoint service.
	EndPointServiceId pulumi.StringPtrInput
	// APPID.
	Owner pulumi.StringPtrInput
	// UIN.
	UserUin pulumi.StringPtrInput
}

func (EndPointServiceWhiteListState) ElementType added in v0.1.3

type EndPointState added in v0.1.3

type EndPointState struct {
	// Create Time.
	CreateTime pulumi.StringPtrInput
	// Name of endpoint.
	EndPointName pulumi.StringPtrInput
	// APPID.
	EndPointOwner pulumi.StringPtrInput
	// ID of endpoint service.
	EndPointServiceId pulumi.StringPtrInput
	// VIP of endpoint ip.
	EndPointVip pulumi.StringPtrInput
	// state of end point.
	State pulumi.StringPtrInput
	// ID of subnet instance.
	SubnetId pulumi.StringPtrInput
	// ID of vpc instance.
	VpcId pulumi.StringPtrInput
}

func (EndPointState) ElementType added in v0.1.3

func (EndPointState) ElementType() reflect.Type

type FlowLog added in v0.1.3

type FlowLog struct {
	pulumi.CustomResourceState

	// Specify flow log storage id.
	CloudLogId pulumi.StringPtrOutput `pulumi:"cloudLogId"`
	// Specify flow log storage region, default using current.
	CloudLogRegion pulumi.StringOutput `pulumi:"cloudLogRegion"`
	// Specify flow Log description.
	FlowLogDescription pulumi.StringPtrOutput `pulumi:"flowLogDescription"`
	// Specify flow log name.
	FlowLogName pulumi.StringOutput `pulumi:"flowLogName"`
	// Specify consumer detail, required while `storageType` is `ckafka`.
	FlowLogStorage FlowLogFlowLogStorageOutput `pulumi:"flowLogStorage"`
	// Specify resource unique Id of `resourceType` configured.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`.
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// Specify consumer type, values: `cls`, `ckafka`.
	StorageType pulumi.StringPtrOutput `pulumi:"storageType"`
	// Tag description list.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`.
	TrafficType pulumi.StringOutput `pulumi:"trafficType"`
	// Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides a resource to create a vpc flowLog

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vpc.NewFlowLog(ctx, "flowLog", &Vpc.FlowLogArgs{
			CloudLogId:         pulumi.String("a1b2c3d4-e5f6a7b8-c9d0e1f2-a3b4c5d6"),
			FlowLogDescription: pulumi.String("My testing log"),
			FlowLogName:        pulumi.String("foo"),
			ResourceId:         pulumi.String("eni-xxxxxxxx"),
			ResourceType:       pulumi.String("NETWORKINTERFACE"),
			StorageType:        pulumi.String("cls"),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
			TrafficType: pulumi.String("ALL"),
			VpcId:       pulumi.String("vpc-xxxxxxxx"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

vpc flow_log can be imported using the flow log Id combine vpc Id, e.g.

```sh

$ pulumi import tencentcloud:Vpc/flowLog:FlowLog flow_log flow_log_id fl-xxxx1234#vpc-yyyy5678

```

func GetFlowLog added in v0.1.3

func GetFlowLog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlowLogState, opts ...pulumi.ResourceOption) (*FlowLog, error)

GetFlowLog gets an existing FlowLog 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 NewFlowLog added in v0.1.3

func NewFlowLog(ctx *pulumi.Context,
	name string, args *FlowLogArgs, opts ...pulumi.ResourceOption) (*FlowLog, error)

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

func (*FlowLog) ElementType added in v0.1.3

func (*FlowLog) ElementType() reflect.Type

func (*FlowLog) ToFlowLogOutput added in v0.1.3

func (i *FlowLog) ToFlowLogOutput() FlowLogOutput

func (*FlowLog) ToFlowLogOutputWithContext added in v0.1.3

func (i *FlowLog) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput

type FlowLogArgs added in v0.1.3

type FlowLogArgs struct {
	// Specify flow log storage id.
	CloudLogId pulumi.StringPtrInput
	// Specify flow log storage region, default using current.
	CloudLogRegion pulumi.StringPtrInput
	// Specify flow Log description.
	FlowLogDescription pulumi.StringPtrInput
	// Specify flow log name.
	FlowLogName pulumi.StringInput
	// Specify consumer detail, required while `storageType` is `ckafka`.
	FlowLogStorage FlowLogFlowLogStoragePtrInput
	// Specify resource unique Id of `resourceType` configured.
	ResourceId pulumi.StringInput
	// Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`.
	ResourceType pulumi.StringInput
	// Specify consumer type, values: `cls`, `ckafka`.
	StorageType pulumi.StringPtrInput
	// Tag description list.
	Tags pulumi.MapInput
	// Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`.
	TrafficType pulumi.StringInput
	// Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a FlowLog resource.

func (FlowLogArgs) ElementType added in v0.1.3

func (FlowLogArgs) ElementType() reflect.Type

type FlowLogArray added in v0.1.3

type FlowLogArray []FlowLogInput

func (FlowLogArray) ElementType added in v0.1.3

func (FlowLogArray) ElementType() reflect.Type

func (FlowLogArray) ToFlowLogArrayOutput added in v0.1.3

func (i FlowLogArray) ToFlowLogArrayOutput() FlowLogArrayOutput

func (FlowLogArray) ToFlowLogArrayOutputWithContext added in v0.1.3

func (i FlowLogArray) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput

type FlowLogArrayInput added in v0.1.3

type FlowLogArrayInput interface {
	pulumi.Input

	ToFlowLogArrayOutput() FlowLogArrayOutput
	ToFlowLogArrayOutputWithContext(context.Context) FlowLogArrayOutput
}

FlowLogArrayInput is an input type that accepts FlowLogArray and FlowLogArrayOutput values. You can construct a concrete instance of `FlowLogArrayInput` via:

FlowLogArray{ FlowLogArgs{...} }

type FlowLogArrayOutput added in v0.1.3

type FlowLogArrayOutput struct{ *pulumi.OutputState }

func (FlowLogArrayOutput) ElementType added in v0.1.3

func (FlowLogArrayOutput) ElementType() reflect.Type

func (FlowLogArrayOutput) Index added in v0.1.3

func (FlowLogArrayOutput) ToFlowLogArrayOutput added in v0.1.3

func (o FlowLogArrayOutput) ToFlowLogArrayOutput() FlowLogArrayOutput

func (FlowLogArrayOutput) ToFlowLogArrayOutputWithContext added in v0.1.3

func (o FlowLogArrayOutput) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput

type FlowLogFlowLogStorage added in v0.1.3

type FlowLogFlowLogStorage struct {
	// Specify storage instance id, required while `storageType` is `ckafka`.
	StorageId *string `pulumi:"storageId"`
	// Specify storage topic id, required while `storageType` is `ckafka`.
	StorageTopic *string `pulumi:"storageTopic"`
}

type FlowLogFlowLogStorageArgs added in v0.1.3

type FlowLogFlowLogStorageArgs struct {
	// Specify storage instance id, required while `storageType` is `ckafka`.
	StorageId pulumi.StringPtrInput `pulumi:"storageId"`
	// Specify storage topic id, required while `storageType` is `ckafka`.
	StorageTopic pulumi.StringPtrInput `pulumi:"storageTopic"`
}

func (FlowLogFlowLogStorageArgs) ElementType added in v0.1.3

func (FlowLogFlowLogStorageArgs) ElementType() reflect.Type

func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutput added in v0.1.3

func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput

func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutputWithContext added in v0.1.3

func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutputWithContext(ctx context.Context) FlowLogFlowLogStorageOutput

func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutput added in v0.1.3

func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput

func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutputWithContext added in v0.1.3

func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput

type FlowLogFlowLogStorageInput added in v0.1.3

type FlowLogFlowLogStorageInput interface {
	pulumi.Input

	ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput
	ToFlowLogFlowLogStorageOutputWithContext(context.Context) FlowLogFlowLogStorageOutput
}

FlowLogFlowLogStorageInput is an input type that accepts FlowLogFlowLogStorageArgs and FlowLogFlowLogStorageOutput values. You can construct a concrete instance of `FlowLogFlowLogStorageInput` via:

FlowLogFlowLogStorageArgs{...}

type FlowLogFlowLogStorageOutput added in v0.1.3

type FlowLogFlowLogStorageOutput struct{ *pulumi.OutputState }

func (FlowLogFlowLogStorageOutput) ElementType added in v0.1.3

func (FlowLogFlowLogStorageOutput) StorageId added in v0.1.3

Specify storage instance id, required while `storageType` is `ckafka`.

func (FlowLogFlowLogStorageOutput) StorageTopic added in v0.1.3

Specify storage topic id, required while `storageType` is `ckafka`.

func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutput added in v0.1.3

func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput

func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutputWithContext added in v0.1.3

func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutputWithContext(ctx context.Context) FlowLogFlowLogStorageOutput

func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutput added in v0.1.3

func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput

func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutputWithContext added in v0.1.3

func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput

type FlowLogFlowLogStoragePtrInput added in v0.1.3

type FlowLogFlowLogStoragePtrInput interface {
	pulumi.Input

	ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput
	ToFlowLogFlowLogStoragePtrOutputWithContext(context.Context) FlowLogFlowLogStoragePtrOutput
}

FlowLogFlowLogStoragePtrInput is an input type that accepts FlowLogFlowLogStorageArgs, FlowLogFlowLogStoragePtr and FlowLogFlowLogStoragePtrOutput values. You can construct a concrete instance of `FlowLogFlowLogStoragePtrInput` via:

        FlowLogFlowLogStorageArgs{...}

or:

        nil

func FlowLogFlowLogStoragePtr added in v0.1.3

func FlowLogFlowLogStoragePtr(v *FlowLogFlowLogStorageArgs) FlowLogFlowLogStoragePtrInput

type FlowLogFlowLogStoragePtrOutput added in v0.1.3

type FlowLogFlowLogStoragePtrOutput struct{ *pulumi.OutputState }

func (FlowLogFlowLogStoragePtrOutput) Elem added in v0.1.3

func (FlowLogFlowLogStoragePtrOutput) ElementType added in v0.1.3

func (FlowLogFlowLogStoragePtrOutput) StorageId added in v0.1.3

Specify storage instance id, required while `storageType` is `ckafka`.

func (FlowLogFlowLogStoragePtrOutput) StorageTopic added in v0.1.3

Specify storage topic id, required while `storageType` is `ckafka`.

func (FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutput added in v0.1.3

func (o FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput

func (FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutputWithContext added in v0.1.3

func (o FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput

type FlowLogInput added in v0.1.3

type FlowLogInput interface {
	pulumi.Input

	ToFlowLogOutput() FlowLogOutput
	ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
}

type FlowLogMap added in v0.1.3

type FlowLogMap map[string]FlowLogInput

func (FlowLogMap) ElementType added in v0.1.3

func (FlowLogMap) ElementType() reflect.Type

func (FlowLogMap) ToFlowLogMapOutput added in v0.1.3

func (i FlowLogMap) ToFlowLogMapOutput() FlowLogMapOutput

func (FlowLogMap) ToFlowLogMapOutputWithContext added in v0.1.3

func (i FlowLogMap) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput

type FlowLogMapInput added in v0.1.3

type FlowLogMapInput interface {
	pulumi.Input

	ToFlowLogMapOutput() FlowLogMapOutput
	ToFlowLogMapOutputWithContext(context.Context) FlowLogMapOutput
}

FlowLogMapInput is an input type that accepts FlowLogMap and FlowLogMapOutput values. You can construct a concrete instance of `FlowLogMapInput` via:

FlowLogMap{ "key": FlowLogArgs{...} }

type FlowLogMapOutput added in v0.1.3

type FlowLogMapOutput struct{ *pulumi.OutputState }

func (FlowLogMapOutput) ElementType added in v0.1.3

func (FlowLogMapOutput) ElementType() reflect.Type

func (FlowLogMapOutput) MapIndex added in v0.1.3

func (FlowLogMapOutput) ToFlowLogMapOutput added in v0.1.3

func (o FlowLogMapOutput) ToFlowLogMapOutput() FlowLogMapOutput

func (FlowLogMapOutput) ToFlowLogMapOutputWithContext added in v0.1.3

func (o FlowLogMapOutput) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput

type FlowLogOutput added in v0.1.3

type FlowLogOutput struct{ *pulumi.OutputState }

func (FlowLogOutput) CloudLogId added in v0.1.3

func (o FlowLogOutput) CloudLogId() pulumi.StringPtrOutput

Specify flow log storage id.

func (FlowLogOutput) CloudLogRegion added in v0.1.3

func (o FlowLogOutput) CloudLogRegion() pulumi.StringOutput

Specify flow log storage region, default using current.

func (FlowLogOutput) ElementType added in v0.1.3

func (FlowLogOutput) ElementType() reflect.Type

func (FlowLogOutput) FlowLogDescription added in v0.1.3

func (o FlowLogOutput) FlowLogDescription() pulumi.StringPtrOutput

Specify flow Log description.

func (FlowLogOutput) FlowLogName added in v0.1.3

func (o FlowLogOutput) FlowLogName() pulumi.StringOutput

Specify flow log name.

func (FlowLogOutput) FlowLogStorage added in v0.1.3

func (o FlowLogOutput) FlowLogStorage() FlowLogFlowLogStorageOutput

Specify consumer detail, required while `storageType` is `ckafka`.

func (FlowLogOutput) ResourceId added in v0.1.3

func (o FlowLogOutput) ResourceId() pulumi.StringOutput

Specify resource unique Id of `resourceType` configured.

func (FlowLogOutput) ResourceType added in v0.1.3

func (o FlowLogOutput) ResourceType() pulumi.StringOutput

Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`.

func (FlowLogOutput) StorageType added in v0.1.3

func (o FlowLogOutput) StorageType() pulumi.StringPtrOutput

Specify consumer type, values: `cls`, `ckafka`.

func (FlowLogOutput) Tags added in v0.1.3

func (o FlowLogOutput) Tags() pulumi.MapOutput

Tag description list.

func (FlowLogOutput) ToFlowLogOutput added in v0.1.3

func (o FlowLogOutput) ToFlowLogOutput() FlowLogOutput

func (FlowLogOutput) ToFlowLogOutputWithContext added in v0.1.3

func (o FlowLogOutput) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput

func (FlowLogOutput) TrafficType added in v0.1.3

func (o FlowLogOutput) TrafficType() pulumi.StringOutput

Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`.

func (FlowLogOutput) VpcId added in v0.1.3

Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types.

type FlowLogState added in v0.1.3

type FlowLogState struct {
	// Specify flow log storage id.
	CloudLogId pulumi.StringPtrInput
	// Specify flow log storage region, default using current.
	CloudLogRegion pulumi.StringPtrInput
	// Specify flow Log description.
	FlowLogDescription pulumi.StringPtrInput
	// Specify flow log name.
	FlowLogName pulumi.StringPtrInput
	// Specify consumer detail, required while `storageType` is `ckafka`.
	FlowLogStorage FlowLogFlowLogStoragePtrInput
	// Specify resource unique Id of `resourceType` configured.
	ResourceId pulumi.StringPtrInput
	// Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`.
	ResourceType pulumi.StringPtrInput
	// Specify consumer type, values: `cls`, `ckafka`.
	StorageType pulumi.StringPtrInput
	// Tag description list.
	Tags pulumi.MapInput
	// Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`.
	TrafficType pulumi.StringPtrInput
	// Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types.
	VpcId pulumi.StringPtrInput
}

func (FlowLogState) ElementType added in v0.1.3

func (FlowLogState) ElementType() reflect.Type

type GetAclsAclList

type GetAclsAclList struct {
	// Creation time.
	CreateTime string `pulumi:"createTime"`
	// Outbound rules of the network ACL.
	Egresses []GetAclsAclListEgress `pulumi:"egresses"`
	// ID of the network ACL instance.
	Id string `pulumi:"id"`
	// Inbound rules of the network ACL.
	Ingresses []GetAclsAclListIngress `pulumi:"ingresses"`
	// Name of the network ACL.
	Name string `pulumi:"name"`
	// Subnets associated with the network ACL.
	Subnets []GetAclsAclListSubnet `pulumi:"subnets"`
	// ID of the VPC instance.
	VpcId string `pulumi:"vpcId"`
}

type GetAclsAclListArgs

type GetAclsAclListArgs struct {
	// Creation time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Outbound rules of the network ACL.
	Egresses GetAclsAclListEgressArrayInput `pulumi:"egresses"`
	// ID of the network ACL instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Inbound rules of the network ACL.
	Ingresses GetAclsAclListIngressArrayInput `pulumi:"ingresses"`
	// Name of the network ACL.
	Name pulumi.StringInput `pulumi:"name"`
	// Subnets associated with the network ACL.
	Subnets GetAclsAclListSubnetArrayInput `pulumi:"subnets"`
	// ID of the VPC instance.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetAclsAclListArgs) ElementType

func (GetAclsAclListArgs) ElementType() reflect.Type

func (GetAclsAclListArgs) ToGetAclsAclListOutput

func (i GetAclsAclListArgs) ToGetAclsAclListOutput() GetAclsAclListOutput

func (GetAclsAclListArgs) ToGetAclsAclListOutputWithContext

func (i GetAclsAclListArgs) ToGetAclsAclListOutputWithContext(ctx context.Context) GetAclsAclListOutput

type GetAclsAclListArray

type GetAclsAclListArray []GetAclsAclListInput

func (GetAclsAclListArray) ElementType

func (GetAclsAclListArray) ElementType() reflect.Type

func (GetAclsAclListArray) ToGetAclsAclListArrayOutput

func (i GetAclsAclListArray) ToGetAclsAclListArrayOutput() GetAclsAclListArrayOutput

func (GetAclsAclListArray) ToGetAclsAclListArrayOutputWithContext

func (i GetAclsAclListArray) ToGetAclsAclListArrayOutputWithContext(ctx context.Context) GetAclsAclListArrayOutput

type GetAclsAclListArrayInput

type GetAclsAclListArrayInput interface {
	pulumi.Input

	ToGetAclsAclListArrayOutput() GetAclsAclListArrayOutput
	ToGetAclsAclListArrayOutputWithContext(context.Context) GetAclsAclListArrayOutput
}

GetAclsAclListArrayInput is an input type that accepts GetAclsAclListArray and GetAclsAclListArrayOutput values. You can construct a concrete instance of `GetAclsAclListArrayInput` via:

GetAclsAclListArray{ GetAclsAclListArgs{...} }

type GetAclsAclListArrayOutput

type GetAclsAclListArrayOutput struct{ *pulumi.OutputState }

func (GetAclsAclListArrayOutput) ElementType

func (GetAclsAclListArrayOutput) ElementType() reflect.Type

func (GetAclsAclListArrayOutput) Index

func (GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutput

func (o GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutput() GetAclsAclListArrayOutput

func (GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutputWithContext

func (o GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutputWithContext(ctx context.Context) GetAclsAclListArrayOutput

type GetAclsAclListEgress

type GetAclsAclListEgress struct {
	// The IPv4 CIDR of the subnet.
	CidrBlock string `pulumi:"cidrBlock"`
	// Rule description.
	Description string `pulumi:"description"`
	// Rule policy of Network ACL.
	Policy string `pulumi:"policy"`
	// Range of the port.
	Port string `pulumi:"port"`
	// Type of IP protocol.
	Protocol string `pulumi:"protocol"`
}

type GetAclsAclListEgressArgs

type GetAclsAclListEgressArgs struct {
	// The IPv4 CIDR of the subnet.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// Rule description.
	Description pulumi.StringInput `pulumi:"description"`
	// Rule policy of Network ACL.
	Policy pulumi.StringInput `pulumi:"policy"`
	// Range of the port.
	Port pulumi.StringInput `pulumi:"port"`
	// Type of IP protocol.
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (GetAclsAclListEgressArgs) ElementType

func (GetAclsAclListEgressArgs) ElementType() reflect.Type

func (GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutput

func (i GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutput() GetAclsAclListEgressOutput

func (GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutputWithContext

func (i GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutputWithContext(ctx context.Context) GetAclsAclListEgressOutput

type GetAclsAclListEgressArray

type GetAclsAclListEgressArray []GetAclsAclListEgressInput

func (GetAclsAclListEgressArray) ElementType

func (GetAclsAclListEgressArray) ElementType() reflect.Type

func (GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutput

func (i GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutput() GetAclsAclListEgressArrayOutput

func (GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutputWithContext

func (i GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutputWithContext(ctx context.Context) GetAclsAclListEgressArrayOutput

type GetAclsAclListEgressArrayInput

type GetAclsAclListEgressArrayInput interface {
	pulumi.Input

	ToGetAclsAclListEgressArrayOutput() GetAclsAclListEgressArrayOutput
	ToGetAclsAclListEgressArrayOutputWithContext(context.Context) GetAclsAclListEgressArrayOutput
}

GetAclsAclListEgressArrayInput is an input type that accepts GetAclsAclListEgressArray and GetAclsAclListEgressArrayOutput values. You can construct a concrete instance of `GetAclsAclListEgressArrayInput` via:

GetAclsAclListEgressArray{ GetAclsAclListEgressArgs{...} }

type GetAclsAclListEgressArrayOutput

type GetAclsAclListEgressArrayOutput struct{ *pulumi.OutputState }

func (GetAclsAclListEgressArrayOutput) ElementType

func (GetAclsAclListEgressArrayOutput) Index

func (GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutput

func (o GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutput() GetAclsAclListEgressArrayOutput

func (GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutputWithContext

func (o GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutputWithContext(ctx context.Context) GetAclsAclListEgressArrayOutput

type GetAclsAclListEgressInput

type GetAclsAclListEgressInput interface {
	pulumi.Input

	ToGetAclsAclListEgressOutput() GetAclsAclListEgressOutput
	ToGetAclsAclListEgressOutputWithContext(context.Context) GetAclsAclListEgressOutput
}

GetAclsAclListEgressInput is an input type that accepts GetAclsAclListEgressArgs and GetAclsAclListEgressOutput values. You can construct a concrete instance of `GetAclsAclListEgressInput` via:

GetAclsAclListEgressArgs{...}

type GetAclsAclListEgressOutput

type GetAclsAclListEgressOutput struct{ *pulumi.OutputState }

func (GetAclsAclListEgressOutput) CidrBlock

The IPv4 CIDR of the subnet.

func (GetAclsAclListEgressOutput) Description

Rule description.

func (GetAclsAclListEgressOutput) ElementType

func (GetAclsAclListEgressOutput) ElementType() reflect.Type

func (GetAclsAclListEgressOutput) Policy

Rule policy of Network ACL.

func (GetAclsAclListEgressOutput) Port

Range of the port.

func (GetAclsAclListEgressOutput) Protocol

Type of IP protocol.

func (GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutput

func (o GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutput() GetAclsAclListEgressOutput

func (GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutputWithContext

func (o GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutputWithContext(ctx context.Context) GetAclsAclListEgressOutput

type GetAclsAclListIngress

type GetAclsAclListIngress struct {
	// The IPv4 CIDR of the subnet.
	CidrBlock string `pulumi:"cidrBlock"`
	// Rule description.
	Description string `pulumi:"description"`
	// Rule policy of Network ACL.
	Policy string `pulumi:"policy"`
	// Range of the port.
	Port string `pulumi:"port"`
	// Type of IP protocol.
	Protocol string `pulumi:"protocol"`
}

type GetAclsAclListIngressArgs

type GetAclsAclListIngressArgs struct {
	// The IPv4 CIDR of the subnet.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// Rule description.
	Description pulumi.StringInput `pulumi:"description"`
	// Rule policy of Network ACL.
	Policy pulumi.StringInput `pulumi:"policy"`
	// Range of the port.
	Port pulumi.StringInput `pulumi:"port"`
	// Type of IP protocol.
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (GetAclsAclListIngressArgs) ElementType

func (GetAclsAclListIngressArgs) ElementType() reflect.Type

func (GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutput

func (i GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutput() GetAclsAclListIngressOutput

func (GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutputWithContext

func (i GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutputWithContext(ctx context.Context) GetAclsAclListIngressOutput

type GetAclsAclListIngressArray

type GetAclsAclListIngressArray []GetAclsAclListIngressInput

func (GetAclsAclListIngressArray) ElementType

func (GetAclsAclListIngressArray) ElementType() reflect.Type

func (GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutput

func (i GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput

func (GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutputWithContext

func (i GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutputWithContext(ctx context.Context) GetAclsAclListIngressArrayOutput

type GetAclsAclListIngressArrayInput

type GetAclsAclListIngressArrayInput interface {
	pulumi.Input

	ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput
	ToGetAclsAclListIngressArrayOutputWithContext(context.Context) GetAclsAclListIngressArrayOutput
}

GetAclsAclListIngressArrayInput is an input type that accepts GetAclsAclListIngressArray and GetAclsAclListIngressArrayOutput values. You can construct a concrete instance of `GetAclsAclListIngressArrayInput` via:

GetAclsAclListIngressArray{ GetAclsAclListIngressArgs{...} }

type GetAclsAclListIngressArrayOutput

type GetAclsAclListIngressArrayOutput struct{ *pulumi.OutputState }

func (GetAclsAclListIngressArrayOutput) ElementType

func (GetAclsAclListIngressArrayOutput) Index

func (GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutput

func (o GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput

func (GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutputWithContext

func (o GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutputWithContext(ctx context.Context) GetAclsAclListIngressArrayOutput

type GetAclsAclListIngressInput

type GetAclsAclListIngressInput interface {
	pulumi.Input

	ToGetAclsAclListIngressOutput() GetAclsAclListIngressOutput
	ToGetAclsAclListIngressOutputWithContext(context.Context) GetAclsAclListIngressOutput
}

GetAclsAclListIngressInput is an input type that accepts GetAclsAclListIngressArgs and GetAclsAclListIngressOutput values. You can construct a concrete instance of `GetAclsAclListIngressInput` via:

GetAclsAclListIngressArgs{...}

type GetAclsAclListIngressOutput

type GetAclsAclListIngressOutput struct{ *pulumi.OutputState }

func (GetAclsAclListIngressOutput) CidrBlock

The IPv4 CIDR of the subnet.

func (GetAclsAclListIngressOutput) Description

Rule description.

func (GetAclsAclListIngressOutput) ElementType

func (GetAclsAclListIngressOutput) Policy

Rule policy of Network ACL.

func (GetAclsAclListIngressOutput) Port

Range of the port.

func (GetAclsAclListIngressOutput) Protocol

Type of IP protocol.

func (GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutput

func (o GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutput() GetAclsAclListIngressOutput

func (GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutputWithContext

func (o GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutputWithContext(ctx context.Context) GetAclsAclListIngressOutput

type GetAclsAclListInput

type GetAclsAclListInput interface {
	pulumi.Input

	ToGetAclsAclListOutput() GetAclsAclListOutput
	ToGetAclsAclListOutputWithContext(context.Context) GetAclsAclListOutput
}

GetAclsAclListInput is an input type that accepts GetAclsAclListArgs and GetAclsAclListOutput values. You can construct a concrete instance of `GetAclsAclListInput` via:

GetAclsAclListArgs{...}

type GetAclsAclListOutput

type GetAclsAclListOutput struct{ *pulumi.OutputState }

func (GetAclsAclListOutput) CreateTime

func (o GetAclsAclListOutput) CreateTime() pulumi.StringOutput

Creation time.

func (GetAclsAclListOutput) Egresses

Outbound rules of the network ACL.

func (GetAclsAclListOutput) ElementType

func (GetAclsAclListOutput) ElementType() reflect.Type

func (GetAclsAclListOutput) Id

ID of the network ACL instance.

func (GetAclsAclListOutput) Ingresses

Inbound rules of the network ACL.

func (GetAclsAclListOutput) Name

Name of the network ACL.

func (GetAclsAclListOutput) Subnets

Subnets associated with the network ACL.

func (GetAclsAclListOutput) ToGetAclsAclListOutput

func (o GetAclsAclListOutput) ToGetAclsAclListOutput() GetAclsAclListOutput

func (GetAclsAclListOutput) ToGetAclsAclListOutputWithContext

func (o GetAclsAclListOutput) ToGetAclsAclListOutputWithContext(ctx context.Context) GetAclsAclListOutput

func (GetAclsAclListOutput) VpcId

ID of the VPC instance.

type GetAclsAclListSubnet

type GetAclsAclListSubnet struct {
	// The IPv4 CIDR of the subnet.
	CidrBlock string `pulumi:"cidrBlock"`
	// Subnet instance ID.
	SubnetId string `pulumi:"subnetId"`
	// Subnet name.
	SubnetName string `pulumi:"subnetName"`
	// Tags of the subnet.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC instance.
	VpcId string `pulumi:"vpcId"`
}

type GetAclsAclListSubnetArgs

type GetAclsAclListSubnetArgs struct {
	// The IPv4 CIDR of the subnet.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// Subnet instance ID.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Subnet name.
	SubnetName pulumi.StringInput `pulumi:"subnetName"`
	// Tags of the subnet.
	Tags pulumi.MapInput `pulumi:"tags"`
	// ID of the VPC instance.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetAclsAclListSubnetArgs) ElementType

func (GetAclsAclListSubnetArgs) ElementType() reflect.Type

func (GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutput

func (i GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutput() GetAclsAclListSubnetOutput

func (GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutputWithContext

func (i GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutputWithContext(ctx context.Context) GetAclsAclListSubnetOutput

type GetAclsAclListSubnetArray

type GetAclsAclListSubnetArray []GetAclsAclListSubnetInput

func (GetAclsAclListSubnetArray) ElementType

func (GetAclsAclListSubnetArray) ElementType() reflect.Type

func (GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutput

func (i GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutput() GetAclsAclListSubnetArrayOutput

func (GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutputWithContext

func (i GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutputWithContext(ctx context.Context) GetAclsAclListSubnetArrayOutput

type GetAclsAclListSubnetArrayInput

type GetAclsAclListSubnetArrayInput interface {
	pulumi.Input

	ToGetAclsAclListSubnetArrayOutput() GetAclsAclListSubnetArrayOutput
	ToGetAclsAclListSubnetArrayOutputWithContext(context.Context) GetAclsAclListSubnetArrayOutput
}

GetAclsAclListSubnetArrayInput is an input type that accepts GetAclsAclListSubnetArray and GetAclsAclListSubnetArrayOutput values. You can construct a concrete instance of `GetAclsAclListSubnetArrayInput` via:

GetAclsAclListSubnetArray{ GetAclsAclListSubnetArgs{...} }

type GetAclsAclListSubnetArrayOutput

type GetAclsAclListSubnetArrayOutput struct{ *pulumi.OutputState }

func (GetAclsAclListSubnetArrayOutput) ElementType

func (GetAclsAclListSubnetArrayOutput) Index

func (GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutput

func (o GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutput() GetAclsAclListSubnetArrayOutput

func (GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutputWithContext

func (o GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutputWithContext(ctx context.Context) GetAclsAclListSubnetArrayOutput

type GetAclsAclListSubnetInput

type GetAclsAclListSubnetInput interface {
	pulumi.Input

	ToGetAclsAclListSubnetOutput() GetAclsAclListSubnetOutput
	ToGetAclsAclListSubnetOutputWithContext(context.Context) GetAclsAclListSubnetOutput
}

GetAclsAclListSubnetInput is an input type that accepts GetAclsAclListSubnetArgs and GetAclsAclListSubnetOutput values. You can construct a concrete instance of `GetAclsAclListSubnetInput` via:

GetAclsAclListSubnetArgs{...}

type GetAclsAclListSubnetOutput

type GetAclsAclListSubnetOutput struct{ *pulumi.OutputState }

func (GetAclsAclListSubnetOutput) CidrBlock

The IPv4 CIDR of the subnet.

func (GetAclsAclListSubnetOutput) ElementType

func (GetAclsAclListSubnetOutput) ElementType() reflect.Type

func (GetAclsAclListSubnetOutput) SubnetId

Subnet instance ID.

func (GetAclsAclListSubnetOutput) SubnetName

Subnet name.

func (GetAclsAclListSubnetOutput) Tags

Tags of the subnet.

func (GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutput

func (o GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutput() GetAclsAclListSubnetOutput

func (GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutputWithContext

func (o GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutputWithContext(ctx context.Context) GetAclsAclListSubnetOutput

func (GetAclsAclListSubnetOutput) VpcId

ID of the VPC instance.

type GetAclsArgs

type GetAclsArgs struct {
	// ID of the network ACL instance.
	Id *string `pulumi:"id"`
	// Name of the network ACL.
	Name *string `pulumi:"name"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the VPC instance.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getAcls.

type GetAclsOutputArgs

type GetAclsOutputArgs struct {
	// ID of the network ACL instance.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the network ACL.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// ID of the VPC instance.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getAcls.

func (GetAclsOutputArgs) ElementType

func (GetAclsOutputArgs) ElementType() reflect.Type

type GetAclsResult

type GetAclsResult struct {
	// The information list of the VPC. Each element contains the following attributes:
	AclLists []GetAclsAclList `pulumi:"aclLists"`
	// ID of the network ACL instance.
	Id *string `pulumi:"id"`
	// Name of the network ACL.
	Name             *string `pulumi:"name"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the VPC instance.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by getAcls.

func GetAcls

func GetAcls(ctx *pulumi.Context, args *GetAclsArgs, opts ...pulumi.InvokeOption) (*GetAclsResult, error)

Use this data source to query VPC Network ACL information.

type GetAclsResultOutput

type GetAclsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAcls.

func (GetAclsResultOutput) AclLists

The information list of the VPC. Each element contains the following attributes:

func (GetAclsResultOutput) ElementType

func (GetAclsResultOutput) ElementType() reflect.Type

func (GetAclsResultOutput) Id

ID of the network ACL instance.

func (GetAclsResultOutput) Name

Name of the network ACL.

func (GetAclsResultOutput) ResultOutputFile

func (o GetAclsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetAclsResultOutput) ToGetAclsResultOutput

func (o GetAclsResultOutput) ToGetAclsResultOutput() GetAclsResultOutput

func (GetAclsResultOutput) ToGetAclsResultOutputWithContext

func (o GetAclsResultOutput) ToGetAclsResultOutputWithContext(ctx context.Context) GetAclsResultOutput

func (GetAclsResultOutput) VpcId

ID of the VPC instance.

type GetInstancesArgs

type GetInstancesArgs struct {
	// Filter VPC with this CIDR.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Filter default or no default VPC.
	IsDefault *bool `pulumi:"isDefault"`
	// Name of the VPC to be queried.
	Name *string `pulumi:"name"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Filter if VPC has this tag.
	TagKey *string `pulumi:"tagKey"`
	// Tags of the VPC to be queried.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstanceList

type GetInstancesInstanceList struct {
	// Filter VPC with this CIDR.
	CidrBlock string `pulumi:"cidrBlock"`
	// Creation time of VPC.
	CreateTime string `pulumi:"createTime"`
	// A list of DNS servers which can be used within the VPC.
	DnsServers []string `pulumi:"dnsServers"`
	// Filter default or no default VPC.
	IsDefault bool `pulumi:"isDefault"`
	// Indicates whether VPC multicast is enabled.
	IsMulticast bool `pulumi:"isMulticast"`
	// Name of the VPC to be queried.
	Name string `pulumi:"name"`
	// A ID list of subnets within this VPC.
	SubnetIds []string `pulumi:"subnetIds"`
	// Tags of the VPC to be queried.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId string `pulumi:"vpcId"`
}

type GetInstancesInstanceListArgs

type GetInstancesInstanceListArgs struct {
	// Filter VPC with this CIDR.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// Creation time of VPC.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// A list of DNS servers which can be used within the VPC.
	DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
	// Filter default or no default VPC.
	IsDefault pulumi.BoolInput `pulumi:"isDefault"`
	// Indicates whether VPC multicast is enabled.
	IsMulticast pulumi.BoolInput `pulumi:"isMulticast"`
	// Name of the VPC to be queried.
	Name pulumi.StringInput `pulumi:"name"`
	// A ID list of subnets within this VPC.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// Tags of the VPC to be queried.
	Tags pulumi.MapInput `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetInstancesInstanceListArgs) ElementType

func (GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutput

func (i GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput

func (GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutputWithContext

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

type GetInstancesInstanceListArray

type GetInstancesInstanceListArray []GetInstancesInstanceListInput

func (GetInstancesInstanceListArray) ElementType

func (GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutput

func (i GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput

func (GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutputWithContext

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

type GetInstancesInstanceListArrayInput

type GetInstancesInstanceListArrayInput interface {
	pulumi.Input

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

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

GetInstancesInstanceListArray{ GetInstancesInstanceListArgs{...} }

type GetInstancesInstanceListArrayOutput

type GetInstancesInstanceListArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceListArrayOutput) ElementType

func (GetInstancesInstanceListArrayOutput) Index

func (GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutput

func (o GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput

func (GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutputWithContext

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

type GetInstancesInstanceListInput

type GetInstancesInstanceListInput interface {
	pulumi.Input

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

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

GetInstancesInstanceListArgs{...}

type GetInstancesInstanceListOutput

type GetInstancesInstanceListOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceListOutput) CidrBlock

Filter VPC with this CIDR.

func (GetInstancesInstanceListOutput) CreateTime

Creation time of VPC.

func (GetInstancesInstanceListOutput) DnsServers

A list of DNS servers which can be used within the VPC.

func (GetInstancesInstanceListOutput) ElementType

func (GetInstancesInstanceListOutput) IsDefault

Filter default or no default VPC.

func (GetInstancesInstanceListOutput) IsMulticast

Indicates whether VPC multicast is enabled.

func (GetInstancesInstanceListOutput) Name

Name of the VPC to be queried.

func (GetInstancesInstanceListOutput) SubnetIds

A ID list of subnets within this VPC.

func (GetInstancesInstanceListOutput) Tags

Tags of the VPC to be queried.

func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput

func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput

func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext

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

func (GetInstancesInstanceListOutput) VpcId

ID of the VPC to be queried.

type GetInstancesOutputArgs

type GetInstancesOutputArgs struct {
	// Filter VPC with this CIDR.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// Filter default or no default VPC.
	IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"`
	// Name of the VPC to be queried.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Filter if VPC has this tag.
	TagKey pulumi.StringPtrInput `pulumi:"tagKey"`
	// Tags of the VPC to be queried.
	Tags pulumi.MapInput `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	// A network address block of a VPC CIDR.
	CidrBlock *string `pulumi:"cidrBlock"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The information list of the VPC.
	InstanceLists []GetInstancesInstanceList `pulumi:"instanceLists"`
	// Indicates whether it is the default VPC for this region.
	IsDefault *bool `pulumi:"isDefault"`
	// Name of the VPC.
	Name             *string `pulumi:"name"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	TagKey           *string `pulumi:"tagKey"`
	// Tags of the VPC.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC.
	VpcId *string `pulumi:"vpcId"`
}

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 vpc instances' information.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := Vpc.NewInstance(ctx, "foo", &Vpc.InstanceArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		_ = Vpc.GetInstancesOutput(ctx, vpc.GetInstancesOutputArgs{
			VpcId: foo.ID(),
		}, nil)
		_ = Vpc.GetInstancesOutput(ctx, vpc.GetInstancesOutputArgs{
			Name: foo.Name,
		}, nil)
		return nil
	})
}

```

type GetInstancesResultOutput

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func (GetInstancesResultOutput) CidrBlock

A network address block of a VPC CIDR.

func (GetInstancesResultOutput) ElementType

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) InstanceLists

The information list of the VPC.

func (GetInstancesResultOutput) IsDefault

Indicates whether it is the default VPC for this region.

func (GetInstancesResultOutput) Name

Name of the VPC.

func (GetInstancesResultOutput) ResultOutputFile

func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetInstancesResultOutput) TagKey

func (GetInstancesResultOutput) Tags

Tags of the VPC.

func (GetInstancesResultOutput) ToGetInstancesResultOutput

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext

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

func (GetInstancesResultOutput) VpcId

ID of the VPC.

type GetRouteTablesArgs

type GetRouteTablesArgs struct {
	// Filter the main routing table.
	AssociationMain *bool `pulumi:"associationMain"`
	// Name of the routing table to be queried.
	Name *string `pulumi:"name"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the routing table to be queried.
	RouteTableId *string `pulumi:"routeTableId"`
	// Filter if routing table has this tag.
	TagKey *string `pulumi:"tagKey"`
	// Tags of the routing table to be queried.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getRouteTables.

type GetRouteTablesInstanceList

type GetRouteTablesInstanceList struct {
	// Creation time of the routing table.
	CreateTime string `pulumi:"createTime"`
	// Indicates whether it is the default routing table.
	IsDefault bool `pulumi:"isDefault"`
	// Name of the routing table to be queried.
	Name string `pulumi:"name"`
	// Detailed information of each entry of the route table.
	RouteEntryInfos []GetRouteTablesInstanceListRouteEntryInfo `pulumi:"routeEntryInfos"`
	// ID of the routing table to be queried.
	RouteTableId string `pulumi:"routeTableId"`
	// List of subnet IDs bound to the route table.
	SubnetIds []string `pulumi:"subnetIds"`
	// Tags of the routing table to be queried.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId string `pulumi:"vpcId"`
}

type GetRouteTablesInstanceListArgs

type GetRouteTablesInstanceListArgs struct {
	// Creation time of the routing table.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Indicates whether it is the default routing table.
	IsDefault pulumi.BoolInput `pulumi:"isDefault"`
	// Name of the routing table to be queried.
	Name pulumi.StringInput `pulumi:"name"`
	// Detailed information of each entry of the route table.
	RouteEntryInfos GetRouteTablesInstanceListRouteEntryInfoArrayInput `pulumi:"routeEntryInfos"`
	// ID of the routing table to be queried.
	RouteTableId pulumi.StringInput `pulumi:"routeTableId"`
	// List of subnet IDs bound to the route table.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// Tags of the routing table to be queried.
	Tags pulumi.MapInput `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetRouteTablesInstanceListArgs) ElementType

func (GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutput

func (i GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput

func (GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutputWithContext

func (i GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutputWithContext(ctx context.Context) GetRouteTablesInstanceListOutput

type GetRouteTablesInstanceListArray

type GetRouteTablesInstanceListArray []GetRouteTablesInstanceListInput

func (GetRouteTablesInstanceListArray) ElementType

func (GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutput

func (i GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput

func (GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutputWithContext

func (i GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListArrayOutput

type GetRouteTablesInstanceListArrayInput

type GetRouteTablesInstanceListArrayInput interface {
	pulumi.Input

	ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput
	ToGetRouteTablesInstanceListArrayOutputWithContext(context.Context) GetRouteTablesInstanceListArrayOutput
}

GetRouteTablesInstanceListArrayInput is an input type that accepts GetRouteTablesInstanceListArray and GetRouteTablesInstanceListArrayOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListArrayInput` via:

GetRouteTablesInstanceListArray{ GetRouteTablesInstanceListArgs{...} }

type GetRouteTablesInstanceListArrayOutput

type GetRouteTablesInstanceListArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTablesInstanceListArrayOutput) ElementType

func (GetRouteTablesInstanceListArrayOutput) Index

func (GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutput

func (o GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput

func (GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutputWithContext

func (o GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListArrayOutput

type GetRouteTablesInstanceListInput

type GetRouteTablesInstanceListInput interface {
	pulumi.Input

	ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput
	ToGetRouteTablesInstanceListOutputWithContext(context.Context) GetRouteTablesInstanceListOutput
}

GetRouteTablesInstanceListInput is an input type that accepts GetRouteTablesInstanceListArgs and GetRouteTablesInstanceListOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListInput` via:

GetRouteTablesInstanceListArgs{...}

type GetRouteTablesInstanceListOutput

type GetRouteTablesInstanceListOutput struct{ *pulumi.OutputState }

func (GetRouteTablesInstanceListOutput) CreateTime

Creation time of the routing table.

func (GetRouteTablesInstanceListOutput) ElementType

func (GetRouteTablesInstanceListOutput) IsDefault

Indicates whether it is the default routing table.

func (GetRouteTablesInstanceListOutput) Name

Name of the routing table to be queried.

func (GetRouteTablesInstanceListOutput) RouteEntryInfos

Detailed information of each entry of the route table.

func (GetRouteTablesInstanceListOutput) RouteTableId

ID of the routing table to be queried.

func (GetRouteTablesInstanceListOutput) SubnetIds

List of subnet IDs bound to the route table.

func (GetRouteTablesInstanceListOutput) Tags

Tags of the routing table to be queried.

func (GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutput

func (o GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput

func (GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutputWithContext

func (o GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutputWithContext(ctx context.Context) GetRouteTablesInstanceListOutput

func (GetRouteTablesInstanceListOutput) VpcId

ID of the VPC to be queried.

type GetRouteTablesInstanceListRouteEntryInfo

type GetRouteTablesInstanceListRouteEntryInfo struct {
	// Description information user defined for a route table rule.
	Description string `pulumi:"description"`
	// The destination address block.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// ID of next-hop gateway. Note: when 'next_type' is EIP, GatewayId will fix the value `0`.
	NextHub string `pulumi:"nextHub"`
	// Type of next-hop, and available values include `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `SSLVPN`, `NAT`, `NORMAL_CVM`, `EIP` and `CCN`.
	NextType string `pulumi:"nextType"`
	// ID of a route table entry.
	RouteEntryId string `pulumi:"routeEntryId"`
}

type GetRouteTablesInstanceListRouteEntryInfoArgs

type GetRouteTablesInstanceListRouteEntryInfoArgs struct {
	// Description information user defined for a route table rule.
	Description pulumi.StringInput `pulumi:"description"`
	// The destination address block.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// ID of next-hop gateway. Note: when 'next_type' is EIP, GatewayId will fix the value `0`.
	NextHub pulumi.StringInput `pulumi:"nextHub"`
	// Type of next-hop, and available values include `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `SSLVPN`, `NAT`, `NORMAL_CVM`, `EIP` and `CCN`.
	NextType pulumi.StringInput `pulumi:"nextType"`
	// ID of a route table entry.
	RouteEntryId pulumi.StringInput `pulumi:"routeEntryId"`
}

func (GetRouteTablesInstanceListRouteEntryInfoArgs) ElementType

func (GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutput

func (i GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput

func (GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext

func (i GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput

type GetRouteTablesInstanceListRouteEntryInfoArray

type GetRouteTablesInstanceListRouteEntryInfoArray []GetRouteTablesInstanceListRouteEntryInfoInput

func (GetRouteTablesInstanceListRouteEntryInfoArray) ElementType

func (GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput

func (i GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput

func (GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext

func (i GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput

type GetRouteTablesInstanceListRouteEntryInfoArrayInput

type GetRouteTablesInstanceListRouteEntryInfoArrayInput interface {
	pulumi.Input

	ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput
	ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput
}

GetRouteTablesInstanceListRouteEntryInfoArrayInput is an input type that accepts GetRouteTablesInstanceListRouteEntryInfoArray and GetRouteTablesInstanceListRouteEntryInfoArrayOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListRouteEntryInfoArrayInput` via:

GetRouteTablesInstanceListRouteEntryInfoArray{ GetRouteTablesInstanceListRouteEntryInfoArgs{...} }

type GetRouteTablesInstanceListRouteEntryInfoArrayOutput

type GetRouteTablesInstanceListRouteEntryInfoArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ElementType

func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) Index

func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput

func (o GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput

func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext

func (o GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput

type GetRouteTablesInstanceListRouteEntryInfoInput

type GetRouteTablesInstanceListRouteEntryInfoInput interface {
	pulumi.Input

	ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput
	ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput
}

GetRouteTablesInstanceListRouteEntryInfoInput is an input type that accepts GetRouteTablesInstanceListRouteEntryInfoArgs and GetRouteTablesInstanceListRouteEntryInfoOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListRouteEntryInfoInput` via:

GetRouteTablesInstanceListRouteEntryInfoArgs{...}

type GetRouteTablesInstanceListRouteEntryInfoOutput

type GetRouteTablesInstanceListRouteEntryInfoOutput struct{ *pulumi.OutputState }

func (GetRouteTablesInstanceListRouteEntryInfoOutput) Description

Description information user defined for a route table rule.

func (GetRouteTablesInstanceListRouteEntryInfoOutput) DestinationCidrBlock

The destination address block.

func (GetRouteTablesInstanceListRouteEntryInfoOutput) ElementType

func (GetRouteTablesInstanceListRouteEntryInfoOutput) NextHub

ID of next-hop gateway. Note: when 'next_type' is EIP, GatewayId will fix the value `0`.

func (GetRouteTablesInstanceListRouteEntryInfoOutput) NextType

Type of next-hop, and available values include `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `SSLVPN`, `NAT`, `NORMAL_CVM`, `EIP` and `CCN`.

func (GetRouteTablesInstanceListRouteEntryInfoOutput) RouteEntryId

ID of a route table entry.

func (GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutput

func (o GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput

func (GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext

func (o GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput

type GetRouteTablesOutputArgs

type GetRouteTablesOutputArgs struct {
	// Filter the main routing table.
	AssociationMain pulumi.BoolPtrInput `pulumi:"associationMain"`
	// Name of the routing table to be queried.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// ID of the routing table to be queried.
	RouteTableId pulumi.StringPtrInput `pulumi:"routeTableId"`
	// Filter if routing table has this tag.
	TagKey pulumi.StringPtrInput `pulumi:"tagKey"`
	// Tags of the routing table to be queried.
	Tags pulumi.MapInput `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getRouteTables.

func (GetRouteTablesOutputArgs) ElementType

func (GetRouteTablesOutputArgs) ElementType() reflect.Type

type GetRouteTablesResult

type GetRouteTablesResult struct {
	AssociationMain *bool `pulumi:"associationMain"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The information list of the VPC route table.
	InstanceLists []GetRouteTablesInstanceList `pulumi:"instanceLists"`
	// Name of the routing table.
	Name             *string `pulumi:"name"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the routing table.
	RouteTableId *string `pulumi:"routeTableId"`
	TagKey       *string `pulumi:"tagKey"`
	// Tags of the routing table.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by getRouteTables.

func GetRouteTables

func GetRouteTables(ctx *pulumi.Context, args *GetRouteTablesArgs, opts ...pulumi.InvokeOption) (*GetRouteTablesResult, error)

Use this data source to query vpc route tables information.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		foo, err := Vpc.NewInstance(ctx, "foo", &Vpc.InstanceArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		routeTable, err := Route.NewTable(ctx, "routeTable", &Route.TableArgs{
			VpcId: foo.ID(),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test"),
			},
		})
		if err != nil {
			return err
		}
		_ = Vpc.GetRouteTablesOutput(ctx, vpc.GetRouteTablesOutputArgs{
			RouteTableId: routeTable.ID(),
		}, nil)
		_ = Vpc.GetRouteTablesOutput(ctx, vpc.GetRouteTablesOutputArgs{
			Name: routeTable.Name,
		}, nil)
		_ = Vpc.GetRouteTablesOutput(ctx, vpc.GetRouteTablesOutputArgs{
			VpcId:           foo.ID(),
			AssociationMain: pulumi.Bool(true),
		}, nil)
		return nil
	})
}

```

type GetRouteTablesResultOutput

type GetRouteTablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTables.

func (GetRouteTablesResultOutput) AssociationMain

func (o GetRouteTablesResultOutput) AssociationMain() pulumi.BoolPtrOutput

func (GetRouteTablesResultOutput) ElementType

func (GetRouteTablesResultOutput) ElementType() reflect.Type

func (GetRouteTablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRouteTablesResultOutput) InstanceLists

The information list of the VPC route table.

func (GetRouteTablesResultOutput) Name

Name of the routing table.

func (GetRouteTablesResultOutput) ResultOutputFile

func (o GetRouteTablesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetRouteTablesResultOutput) RouteTableId

ID of the routing table.

func (GetRouteTablesResultOutput) TagKey

func (GetRouteTablesResultOutput) Tags

Tags of the routing table.

func (GetRouteTablesResultOutput) ToGetRouteTablesResultOutput

func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutput() GetRouteTablesResultOutput

func (GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext

func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext(ctx context.Context) GetRouteTablesResultOutput

func (GetRouteTablesResultOutput) VpcId

ID of the VPC.

type GetSubnetsArgs

type GetSubnetsArgs struct {
	// Zone of the subnet to be queried.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// Filter subnet with this CIDR.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Filter default or no default subnets.
	IsDefault *bool `pulumi:"isDefault"`
	// Filter the VPC SNAT address pool subnet.
	IsRemoteVpcSnat *bool `pulumi:"isRemoteVpcSnat"`
	// Name of the subnet to be queried.
	Name *string `pulumi:"name"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the subnet to be queried.
	SubnetId *string `pulumi:"subnetId"`
	// Filter if subnet has this tag.
	TagKey *string `pulumi:"tagKey"`
	// Tags of the subnet to be queried.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getSubnets.

type GetSubnetsInstanceList

type GetSubnetsInstanceList struct {
	// Zone of the subnet to be queried.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// The number of available IPs.
	AvailableIpCount int `pulumi:"availableIpCount"`
	// Filter subnet with this CIDR.
	CidrBlock string `pulumi:"cidrBlock"`
	// Creation time of the subnet resource.
	CreateTime string `pulumi:"createTime"`
	// Filter default or no default subnets.
	IsDefault bool `pulumi:"isDefault"`
	// Indicates whether multicast is enabled.
	IsMulticast bool `pulumi:"isMulticast"`
	// Name of the subnet to be queried.
	Name string `pulumi:"name"`
	// ID of the routing table.
	RouteTableId string `pulumi:"routeTableId"`
	// ID of the subnet to be queried.
	SubnetId string `pulumi:"subnetId"`
	// Tags of the subnet to be queried.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId string `pulumi:"vpcId"`
}

type GetSubnetsInstanceListArgs

type GetSubnetsInstanceListArgs struct {
	// Zone of the subnet to be queried.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// The number of available IPs.
	AvailableIpCount pulumi.IntInput `pulumi:"availableIpCount"`
	// Filter subnet with this CIDR.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// Creation time of the subnet resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Filter default or no default subnets.
	IsDefault pulumi.BoolInput `pulumi:"isDefault"`
	// Indicates whether multicast is enabled.
	IsMulticast pulumi.BoolInput `pulumi:"isMulticast"`
	// Name of the subnet to be queried.
	Name pulumi.StringInput `pulumi:"name"`
	// ID of the routing table.
	RouteTableId pulumi.StringInput `pulumi:"routeTableId"`
	// ID of the subnet to be queried.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Tags of the subnet to be queried.
	Tags pulumi.MapInput `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetSubnetsInstanceListArgs) ElementType

func (GetSubnetsInstanceListArgs) ElementType() reflect.Type

func (GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutput

func (i GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutput() GetSubnetsInstanceListOutput

func (GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutputWithContext

func (i GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutputWithContext(ctx context.Context) GetSubnetsInstanceListOutput

type GetSubnetsInstanceListArray

type GetSubnetsInstanceListArray []GetSubnetsInstanceListInput

func (GetSubnetsInstanceListArray) ElementType

func (GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutput

func (i GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput

func (GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutputWithContext

func (i GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutputWithContext(ctx context.Context) GetSubnetsInstanceListArrayOutput

type GetSubnetsInstanceListArrayInput

type GetSubnetsInstanceListArrayInput interface {
	pulumi.Input

	ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput
	ToGetSubnetsInstanceListArrayOutputWithContext(context.Context) GetSubnetsInstanceListArrayOutput
}

GetSubnetsInstanceListArrayInput is an input type that accepts GetSubnetsInstanceListArray and GetSubnetsInstanceListArrayOutput values. You can construct a concrete instance of `GetSubnetsInstanceListArrayInput` via:

GetSubnetsInstanceListArray{ GetSubnetsInstanceListArgs{...} }

type GetSubnetsInstanceListArrayOutput

type GetSubnetsInstanceListArrayOutput struct{ *pulumi.OutputState }

func (GetSubnetsInstanceListArrayOutput) ElementType

func (GetSubnetsInstanceListArrayOutput) Index

func (GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutput

func (o GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput

func (GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutputWithContext

func (o GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutputWithContext(ctx context.Context) GetSubnetsInstanceListArrayOutput

type GetSubnetsInstanceListInput

type GetSubnetsInstanceListInput interface {
	pulumi.Input

	ToGetSubnetsInstanceListOutput() GetSubnetsInstanceListOutput
	ToGetSubnetsInstanceListOutputWithContext(context.Context) GetSubnetsInstanceListOutput
}

GetSubnetsInstanceListInput is an input type that accepts GetSubnetsInstanceListArgs and GetSubnetsInstanceListOutput values. You can construct a concrete instance of `GetSubnetsInstanceListInput` via:

GetSubnetsInstanceListArgs{...}

type GetSubnetsInstanceListOutput

type GetSubnetsInstanceListOutput struct{ *pulumi.OutputState }

func (GetSubnetsInstanceListOutput) AvailabilityZone

func (o GetSubnetsInstanceListOutput) AvailabilityZone() pulumi.StringOutput

Zone of the subnet to be queried.

func (GetSubnetsInstanceListOutput) AvailableIpCount

func (o GetSubnetsInstanceListOutput) AvailableIpCount() pulumi.IntOutput

The number of available IPs.

func (GetSubnetsInstanceListOutput) CidrBlock

Filter subnet with this CIDR.

func (GetSubnetsInstanceListOutput) CreateTime

Creation time of the subnet resource.

func (GetSubnetsInstanceListOutput) ElementType

func (GetSubnetsInstanceListOutput) IsDefault

Filter default or no default subnets.

func (GetSubnetsInstanceListOutput) IsMulticast

Indicates whether multicast is enabled.

func (GetSubnetsInstanceListOutput) Name

Name of the subnet to be queried.

func (GetSubnetsInstanceListOutput) RouteTableId

ID of the routing table.

func (GetSubnetsInstanceListOutput) SubnetId

ID of the subnet to be queried.

func (GetSubnetsInstanceListOutput) Tags

Tags of the subnet to be queried.

func (GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutput

func (o GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutput() GetSubnetsInstanceListOutput

func (GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutputWithContext

func (o GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutputWithContext(ctx context.Context) GetSubnetsInstanceListOutput

func (GetSubnetsInstanceListOutput) VpcId

ID of the VPC to be queried.

type GetSubnetsOutputArgs

type GetSubnetsOutputArgs struct {
	// Zone of the subnet to be queried.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// Filter subnet with this CIDR.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// Filter default or no default subnets.
	IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"`
	// Filter the VPC SNAT address pool subnet.
	IsRemoteVpcSnat pulumi.BoolPtrInput `pulumi:"isRemoteVpcSnat"`
	// Name of the subnet to be queried.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// ID of the subnet to be queried.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// Filter if subnet has this tag.
	TagKey pulumi.StringPtrInput `pulumi:"tagKey"`
	// Tags of the subnet to be queried.
	Tags pulumi.MapInput `pulumi:"tags"`
	// ID of the VPC to be queried.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getSubnets.

func (GetSubnetsOutputArgs) ElementType

func (GetSubnetsOutputArgs) ElementType() reflect.Type

type GetSubnetsResult

type GetSubnetsResult struct {
	// The availability zone of the subnet.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// A network address block of the subnet.
	CidrBlock *string `pulumi:"cidrBlock"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of subnets.
	InstanceLists []GetSubnetsInstanceList `pulumi:"instanceLists"`
	// Indicates whether it is the default subnet of the VPC for this region.
	IsDefault       *bool `pulumi:"isDefault"`
	IsRemoteVpcSnat *bool `pulumi:"isRemoteVpcSnat"`
	// Name of the subnet.
	Name             *string `pulumi:"name"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// ID of the subnet.
	SubnetId *string `pulumi:"subnetId"`
	TagKey   *string `pulumi:"tagKey"`
	// Tags of the subnet resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// ID of the VPC.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by getSubnets.

func GetSubnets

func GetSubnets(ctx *pulumi.Context, args *GetSubnetsArgs, opts ...pulumi.InvokeOption) (*GetSubnetsResult, error)

Use this data source to query vpc subnets information.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		foo, err := Vpc.NewInstance(ctx, "foo", &Vpc.InstanceArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		subnet, err := Subnet.NewInstance(ctx, "subnet", &Subnet.InstanceArgs{
			AvailabilityZone: pulumi.String(availabilityZone),
			VpcId:            foo.ID(),
			CidrBlock:        pulumi.String("10.0.20.0/28"),
			IsMulticast:      pulumi.Bool(false),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test"),
			},
		})
		if err != nil {
			return err
		}
		_ = Vpc.GetSubnetsOutput(ctx, vpc.GetSubnetsOutputArgs{
			SubnetId: subnet.ID(),
		}, nil)
		_ = Vpc.GetSubnetsOutput(ctx, vpc.GetSubnetsOutputArgs{
			Name: subnet.Name,
		}, nil)
		return nil
	})
}

```

type GetSubnetsResultOutput

type GetSubnetsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSubnets.

func (GetSubnetsResultOutput) AvailabilityZone

func (o GetSubnetsResultOutput) AvailabilityZone() pulumi.StringPtrOutput

The availability zone of the subnet.

func (GetSubnetsResultOutput) CidrBlock

A network address block of the subnet.

func (GetSubnetsResultOutput) ElementType

func (GetSubnetsResultOutput) ElementType() reflect.Type

func (GetSubnetsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSubnetsResultOutput) InstanceLists

List of subnets.

func (GetSubnetsResultOutput) IsDefault

Indicates whether it is the default subnet of the VPC for this region.

func (GetSubnetsResultOutput) IsRemoteVpcSnat

func (o GetSubnetsResultOutput) IsRemoteVpcSnat() pulumi.BoolPtrOutput

func (GetSubnetsResultOutput) Name

Name of the subnet.

func (GetSubnetsResultOutput) ResultOutputFile

func (o GetSubnetsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetSubnetsResultOutput) SubnetId

ID of the subnet.

func (GetSubnetsResultOutput) TagKey

func (GetSubnetsResultOutput) Tags

Tags of the subnet resource.

func (GetSubnetsResultOutput) ToGetSubnetsResultOutput

func (o GetSubnetsResultOutput) ToGetSubnetsResultOutput() GetSubnetsResultOutput

func (GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext

func (o GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext(ctx context.Context) GetSubnetsResultOutput

func (GetSubnetsResultOutput) VpcId

ID of the VPC.

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`.
	AssistantCidrs pulumi.StringArrayOutput `pulumi:"assistantCidrs"`
	// A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// Creation time of VPC.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Default route table id, which created automatically after VPC create.
	DefaultRouteTableId pulumi.StringOutput `pulumi:"defaultRouteTableId"`
	// The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
	DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"`
	// List of Docker Assistant CIDR.
	DockerAssistantCidrs pulumi.StringArrayOutput `pulumi:"dockerAssistantCidrs"`
	// Indicates whether it is the default VPC for this region.
	IsDefault pulumi.BoolOutput `pulumi:"isDefault"`
	// Indicates whether VPC multicast is enabled. The default value is 'true'.
	IsMulticast pulumi.BoolPtrOutput `pulumi:"isMulticast"`
	// The name of the VPC.
	Name pulumi.StringOutput `pulumi:"name"`
	// Tags of the VPC.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provide a resource to create a VPC.

## Import

Vpc instance can be imported, e.g.

```sh

$ pulumi import tencentcloud:Vpc/instance:Instance test vpc-id

```

func GetInstance

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

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

func NewInstance

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

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

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

type InstanceArgs

type InstanceArgs struct {
	// List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`.
	AssistantCidrs pulumi.StringArrayInput
	// A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
	CidrBlock pulumi.StringInput
	// The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
	DnsServers pulumi.StringArrayInput
	// Indicates whether VPC multicast is enabled. The default value is 'true'.
	IsMulticast pulumi.BoolPtrInput
	// The name of the VPC.
	Name pulumi.StringPtrInput
	// Tags of the VPC.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

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

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

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

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

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

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

type InstanceInput

type InstanceInput interface {
	pulumi.Input

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

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

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

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

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

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

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

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

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

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AssistantCidrs

func (o InstanceOutput) AssistantCidrs() pulumi.StringArrayOutput

List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`.

func (InstanceOutput) CidrBlock

func (o InstanceOutput) CidrBlock() pulumi.StringOutput

A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Creation time of VPC.

func (InstanceOutput) DefaultRouteTableId

func (o InstanceOutput) DefaultRouteTableId() pulumi.StringOutput

Default route table id, which created automatically after VPC create.

func (InstanceOutput) DnsServers

func (o InstanceOutput) DnsServers() pulumi.StringArrayOutput

The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.

func (InstanceOutput) DockerAssistantCidrs added in v0.1.3

func (o InstanceOutput) DockerAssistantCidrs() pulumi.StringArrayOutput

List of Docker Assistant CIDR.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) IsDefault

func (o InstanceOutput) IsDefault() pulumi.BoolOutput

Indicates whether it is the default VPC for this region.

func (InstanceOutput) IsMulticast

func (o InstanceOutput) IsMulticast() pulumi.BoolPtrOutput

Indicates whether VPC multicast is enabled. The default value is 'true'.

func (InstanceOutput) Name

The name of the VPC.

func (InstanceOutput) Tags

func (o InstanceOutput) Tags() pulumi.MapOutput

Tags of the VPC.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

type InstanceState

type InstanceState struct {
	// List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`.
	AssistantCidrs pulumi.StringArrayInput
	// A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
	CidrBlock pulumi.StringPtrInput
	// Creation time of VPC.
	CreateTime pulumi.StringPtrInput
	// Default route table id, which created automatically after VPC create.
	DefaultRouteTableId pulumi.StringPtrInput
	// The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
	DnsServers pulumi.StringArrayInput
	// List of Docker Assistant CIDR.
	DockerAssistantCidrs pulumi.StringArrayInput
	// Indicates whether it is the default VPC for this region.
	IsDefault pulumi.BoolPtrInput
	// Indicates whether VPC multicast is enabled. The default value is 'true'.
	IsMulticast pulumi.BoolPtrInput
	// The name of the VPC.
	Name pulumi.StringPtrInput
	// Tags of the VPC.
	Tags pulumi.MapInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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