vpc

package
v0.0.0-...-4e6c764 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetNATGatewayNatGateway

type GetNATGatewayNatGateway struct {
	// The time of creation for Nat Gateway, formatted in RFC3339 time string.
	CreateTime string `pulumi:"createTime"`
	// The ID of Nat Gateway.
	Id string `pulumi:"id"`
	// It is a nested type which documented below.
	IpSets []GetNATGatewayNatGatewayIpSet `pulumi:"ipSets"`
	// The name of the Nat Gateway.
	Name string `pulumi:"name"`
	// The remarks of Nat Gateway.
	Remark        string `pulumi:"remark"`
	SecurityGroup string `pulumi:"securityGroup"`
	// The list of subnet ID under the VPC.
	// * `securityGroup` -The ID of the associated security group.
	SubnetIds []string `pulumi:"subnetIds"`
	// A tag assigned to the Nat Gateway.
	Tag string `pulumi:"tag"`
	// The ID of VPC linked to the Nat Gateway.
	VpcId string `pulumi:"vpcId"`
}

type GetNATGatewayNatGatewayArgs

type GetNATGatewayNatGatewayArgs struct {
	// The time of creation for Nat Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of Nat Gateway.
	Id pulumi.StringInput `pulumi:"id"`
	// It is a nested type which documented below.
	IpSets GetNATGatewayNatGatewayIpSetArrayInput `pulumi:"ipSets"`
	// The name of the Nat Gateway.
	Name pulumi.StringInput `pulumi:"name"`
	// The remarks of Nat Gateway.
	Remark        pulumi.StringInput `pulumi:"remark"`
	SecurityGroup pulumi.StringInput `pulumi:"securityGroup"`
	// The list of subnet ID under the VPC.
	// * `securityGroup` -The ID of the associated security group.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// A tag assigned to the Nat Gateway.
	Tag pulumi.StringInput `pulumi:"tag"`
	// The ID of VPC linked to the Nat Gateway.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetNATGatewayNatGatewayArgs) ElementType

func (GetNATGatewayNatGatewayArgs) ToGetNATGatewayNatGatewayOutput

func (i GetNATGatewayNatGatewayArgs) ToGetNATGatewayNatGatewayOutput() GetNATGatewayNatGatewayOutput

func (GetNATGatewayNatGatewayArgs) ToGetNATGatewayNatGatewayOutputWithContext

func (i GetNATGatewayNatGatewayArgs) ToGetNATGatewayNatGatewayOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayOutput

type GetNATGatewayNatGatewayArray

type GetNATGatewayNatGatewayArray []GetNATGatewayNatGatewayInput

func (GetNATGatewayNatGatewayArray) ElementType

func (GetNATGatewayNatGatewayArray) ToGetNATGatewayNatGatewayArrayOutput

func (i GetNATGatewayNatGatewayArray) ToGetNATGatewayNatGatewayArrayOutput() GetNATGatewayNatGatewayArrayOutput

func (GetNATGatewayNatGatewayArray) ToGetNATGatewayNatGatewayArrayOutputWithContext

func (i GetNATGatewayNatGatewayArray) ToGetNATGatewayNatGatewayArrayOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayArrayOutput

type GetNATGatewayNatGatewayArrayInput

type GetNATGatewayNatGatewayArrayInput interface {
	pulumi.Input

	ToGetNATGatewayNatGatewayArrayOutput() GetNATGatewayNatGatewayArrayOutput
	ToGetNATGatewayNatGatewayArrayOutputWithContext(context.Context) GetNATGatewayNatGatewayArrayOutput
}

GetNATGatewayNatGatewayArrayInput is an input type that accepts GetNATGatewayNatGatewayArray and GetNATGatewayNatGatewayArrayOutput values. You can construct a concrete instance of `GetNATGatewayNatGatewayArrayInput` via:

GetNATGatewayNatGatewayArray{ GetNATGatewayNatGatewayArgs{...} }

type GetNATGatewayNatGatewayArrayOutput

type GetNATGatewayNatGatewayArrayOutput struct{ *pulumi.OutputState }

func (GetNATGatewayNatGatewayArrayOutput) ElementType

func (GetNATGatewayNatGatewayArrayOutput) Index

func (GetNATGatewayNatGatewayArrayOutput) ToGetNATGatewayNatGatewayArrayOutput

func (o GetNATGatewayNatGatewayArrayOutput) ToGetNATGatewayNatGatewayArrayOutput() GetNATGatewayNatGatewayArrayOutput

func (GetNATGatewayNatGatewayArrayOutput) ToGetNATGatewayNatGatewayArrayOutputWithContext

func (o GetNATGatewayNatGatewayArrayOutput) ToGetNATGatewayNatGatewayArrayOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayArrayOutput

type GetNATGatewayNatGatewayInput

type GetNATGatewayNatGatewayInput interface {
	pulumi.Input

	ToGetNATGatewayNatGatewayOutput() GetNATGatewayNatGatewayOutput
	ToGetNATGatewayNatGatewayOutputWithContext(context.Context) GetNATGatewayNatGatewayOutput
}

GetNATGatewayNatGatewayInput is an input type that accepts GetNATGatewayNatGatewayArgs and GetNATGatewayNatGatewayOutput values. You can construct a concrete instance of `GetNATGatewayNatGatewayInput` via:

GetNATGatewayNatGatewayArgs{...}

type GetNATGatewayNatGatewayIpSet

type GetNATGatewayNatGatewayIpSet struct {
	// Type of Elastic IP routes.
	InternetType string `pulumi:"internetType"`
	// Elastic IP address.
	Ip string `pulumi:"ip"`
}

type GetNATGatewayNatGatewayIpSetArgs

type GetNATGatewayNatGatewayIpSetArgs struct {
	// Type of Elastic IP routes.
	InternetType pulumi.StringInput `pulumi:"internetType"`
	// Elastic IP address.
	Ip pulumi.StringInput `pulumi:"ip"`
}

func (GetNATGatewayNatGatewayIpSetArgs) ElementType

func (GetNATGatewayNatGatewayIpSetArgs) ToGetNATGatewayNatGatewayIpSetOutput

func (i GetNATGatewayNatGatewayIpSetArgs) ToGetNATGatewayNatGatewayIpSetOutput() GetNATGatewayNatGatewayIpSetOutput

func (GetNATGatewayNatGatewayIpSetArgs) ToGetNATGatewayNatGatewayIpSetOutputWithContext

func (i GetNATGatewayNatGatewayIpSetArgs) ToGetNATGatewayNatGatewayIpSetOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayIpSetOutput

type GetNATGatewayNatGatewayIpSetArray

type GetNATGatewayNatGatewayIpSetArray []GetNATGatewayNatGatewayIpSetInput

func (GetNATGatewayNatGatewayIpSetArray) ElementType

func (GetNATGatewayNatGatewayIpSetArray) ToGetNATGatewayNatGatewayIpSetArrayOutput

func (i GetNATGatewayNatGatewayIpSetArray) ToGetNATGatewayNatGatewayIpSetArrayOutput() GetNATGatewayNatGatewayIpSetArrayOutput

func (GetNATGatewayNatGatewayIpSetArray) ToGetNATGatewayNatGatewayIpSetArrayOutputWithContext

func (i GetNATGatewayNatGatewayIpSetArray) ToGetNATGatewayNatGatewayIpSetArrayOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayIpSetArrayOutput

type GetNATGatewayNatGatewayIpSetArrayInput

type GetNATGatewayNatGatewayIpSetArrayInput interface {
	pulumi.Input

	ToGetNATGatewayNatGatewayIpSetArrayOutput() GetNATGatewayNatGatewayIpSetArrayOutput
	ToGetNATGatewayNatGatewayIpSetArrayOutputWithContext(context.Context) GetNATGatewayNatGatewayIpSetArrayOutput
}

GetNATGatewayNatGatewayIpSetArrayInput is an input type that accepts GetNATGatewayNatGatewayIpSetArray and GetNATGatewayNatGatewayIpSetArrayOutput values. You can construct a concrete instance of `GetNATGatewayNatGatewayIpSetArrayInput` via:

GetNATGatewayNatGatewayIpSetArray{ GetNATGatewayNatGatewayIpSetArgs{...} }

type GetNATGatewayNatGatewayIpSetArrayOutput

type GetNATGatewayNatGatewayIpSetArrayOutput struct{ *pulumi.OutputState }

func (GetNATGatewayNatGatewayIpSetArrayOutput) ElementType

func (GetNATGatewayNatGatewayIpSetArrayOutput) Index

func (GetNATGatewayNatGatewayIpSetArrayOutput) ToGetNATGatewayNatGatewayIpSetArrayOutput

func (o GetNATGatewayNatGatewayIpSetArrayOutput) ToGetNATGatewayNatGatewayIpSetArrayOutput() GetNATGatewayNatGatewayIpSetArrayOutput

func (GetNATGatewayNatGatewayIpSetArrayOutput) ToGetNATGatewayNatGatewayIpSetArrayOutputWithContext

func (o GetNATGatewayNatGatewayIpSetArrayOutput) ToGetNATGatewayNatGatewayIpSetArrayOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayIpSetArrayOutput

type GetNATGatewayNatGatewayIpSetInput

type GetNATGatewayNatGatewayIpSetInput interface {
	pulumi.Input

	ToGetNATGatewayNatGatewayIpSetOutput() GetNATGatewayNatGatewayIpSetOutput
	ToGetNATGatewayNatGatewayIpSetOutputWithContext(context.Context) GetNATGatewayNatGatewayIpSetOutput
}

GetNATGatewayNatGatewayIpSetInput is an input type that accepts GetNATGatewayNatGatewayIpSetArgs and GetNATGatewayNatGatewayIpSetOutput values. You can construct a concrete instance of `GetNATGatewayNatGatewayIpSetInput` via:

GetNATGatewayNatGatewayIpSetArgs{...}

type GetNATGatewayNatGatewayIpSetOutput

type GetNATGatewayNatGatewayIpSetOutput struct{ *pulumi.OutputState }

func (GetNATGatewayNatGatewayIpSetOutput) ElementType

func (GetNATGatewayNatGatewayIpSetOutput) InternetType

Type of Elastic IP routes.

func (GetNATGatewayNatGatewayIpSetOutput) Ip

Elastic IP address.

func (GetNATGatewayNatGatewayIpSetOutput) ToGetNATGatewayNatGatewayIpSetOutput

func (o GetNATGatewayNatGatewayIpSetOutput) ToGetNATGatewayNatGatewayIpSetOutput() GetNATGatewayNatGatewayIpSetOutput

func (GetNATGatewayNatGatewayIpSetOutput) ToGetNATGatewayNatGatewayIpSetOutputWithContext

func (o GetNATGatewayNatGatewayIpSetOutput) ToGetNATGatewayNatGatewayIpSetOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayIpSetOutput

type GetNATGatewayNatGatewayOutput

type GetNATGatewayNatGatewayOutput struct{ *pulumi.OutputState }

func (GetNATGatewayNatGatewayOutput) CreateTime

The time of creation for Nat Gateway, formatted in RFC3339 time string.

func (GetNATGatewayNatGatewayOutput) ElementType

func (GetNATGatewayNatGatewayOutput) Id

The ID of Nat Gateway.

func (GetNATGatewayNatGatewayOutput) IpSets

It is a nested type which documented below.

func (GetNATGatewayNatGatewayOutput) Name

The name of the Nat Gateway.

func (GetNATGatewayNatGatewayOutput) Remark

The remarks of Nat Gateway.

func (GetNATGatewayNatGatewayOutput) SecurityGroup

func (GetNATGatewayNatGatewayOutput) SubnetIds

The list of subnet ID under the VPC. * `securityGroup` -The ID of the associated security group.

func (GetNATGatewayNatGatewayOutput) Tag

A tag assigned to the Nat Gateway.

func (GetNATGatewayNatGatewayOutput) ToGetNATGatewayNatGatewayOutput

func (o GetNATGatewayNatGatewayOutput) ToGetNATGatewayNatGatewayOutput() GetNATGatewayNatGatewayOutput

func (GetNATGatewayNatGatewayOutput) ToGetNATGatewayNatGatewayOutputWithContext

func (o GetNATGatewayNatGatewayOutput) ToGetNATGatewayNatGatewayOutputWithContext(ctx context.Context) GetNATGatewayNatGatewayOutput

func (GetNATGatewayNatGatewayOutput) VpcId

The ID of VPC linked to the Nat Gateway.

type GetSubnetSubnet

type GetSubnetSubnet struct {
	// The cidr block of the desired Subnet.
	CidrBlock string `pulumi:"cidrBlock"`
	// The time of creation of Subnet, formatted in RFC3339 time string.
	CreateTime string `pulumi:"createTime"`
	// The ID of Subnet.
	Id string `pulumi:"id"`
	// The name of Subnet.
	Name string `pulumi:"name"`
	// The remark of the Subnet.
	Remark string `pulumi:"remark"`
	// A tag assigned to Subnet.
	Tag string `pulumi:"tag"`
}

type GetSubnetSubnetArgs

type GetSubnetSubnetArgs struct {
	// The cidr block of the desired Subnet.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// The time of creation of Subnet, formatted in RFC3339 time string.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of Subnet.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of Subnet.
	Name pulumi.StringInput `pulumi:"name"`
	// The remark of the Subnet.
	Remark pulumi.StringInput `pulumi:"remark"`
	// A tag assigned to Subnet.
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetSubnetSubnetArgs) ElementType

func (GetSubnetSubnetArgs) ElementType() reflect.Type

func (GetSubnetSubnetArgs) ToGetSubnetSubnetOutput

func (i GetSubnetSubnetArgs) ToGetSubnetSubnetOutput() GetSubnetSubnetOutput

func (GetSubnetSubnetArgs) ToGetSubnetSubnetOutputWithContext

func (i GetSubnetSubnetArgs) ToGetSubnetSubnetOutputWithContext(ctx context.Context) GetSubnetSubnetOutput

type GetSubnetSubnetArray

type GetSubnetSubnetArray []GetSubnetSubnetInput

func (GetSubnetSubnetArray) ElementType

func (GetSubnetSubnetArray) ElementType() reflect.Type

func (GetSubnetSubnetArray) ToGetSubnetSubnetArrayOutput

func (i GetSubnetSubnetArray) ToGetSubnetSubnetArrayOutput() GetSubnetSubnetArrayOutput

func (GetSubnetSubnetArray) ToGetSubnetSubnetArrayOutputWithContext

func (i GetSubnetSubnetArray) ToGetSubnetSubnetArrayOutputWithContext(ctx context.Context) GetSubnetSubnetArrayOutput

type GetSubnetSubnetArrayInput

type GetSubnetSubnetArrayInput interface {
	pulumi.Input

	ToGetSubnetSubnetArrayOutput() GetSubnetSubnetArrayOutput
	ToGetSubnetSubnetArrayOutputWithContext(context.Context) GetSubnetSubnetArrayOutput
}

GetSubnetSubnetArrayInput is an input type that accepts GetSubnetSubnetArray and GetSubnetSubnetArrayOutput values. You can construct a concrete instance of `GetSubnetSubnetArrayInput` via:

GetSubnetSubnetArray{ GetSubnetSubnetArgs{...} }

type GetSubnetSubnetArrayOutput

type GetSubnetSubnetArrayOutput struct{ *pulumi.OutputState }

func (GetSubnetSubnetArrayOutput) ElementType

func (GetSubnetSubnetArrayOutput) ElementType() reflect.Type

func (GetSubnetSubnetArrayOutput) Index

func (GetSubnetSubnetArrayOutput) ToGetSubnetSubnetArrayOutput

func (o GetSubnetSubnetArrayOutput) ToGetSubnetSubnetArrayOutput() GetSubnetSubnetArrayOutput

func (GetSubnetSubnetArrayOutput) ToGetSubnetSubnetArrayOutputWithContext

func (o GetSubnetSubnetArrayOutput) ToGetSubnetSubnetArrayOutputWithContext(ctx context.Context) GetSubnetSubnetArrayOutput

type GetSubnetSubnetInput

type GetSubnetSubnetInput interface {
	pulumi.Input

	ToGetSubnetSubnetOutput() GetSubnetSubnetOutput
	ToGetSubnetSubnetOutputWithContext(context.Context) GetSubnetSubnetOutput
}

GetSubnetSubnetInput is an input type that accepts GetSubnetSubnetArgs and GetSubnetSubnetOutput values. You can construct a concrete instance of `GetSubnetSubnetInput` via:

GetSubnetSubnetArgs{...}

type GetSubnetSubnetOutput

type GetSubnetSubnetOutput struct{ *pulumi.OutputState }

func (GetSubnetSubnetOutput) CidrBlock

The cidr block of the desired Subnet.

func (GetSubnetSubnetOutput) CreateTime

func (o GetSubnetSubnetOutput) CreateTime() pulumi.StringOutput

The time of creation of Subnet, formatted in RFC3339 time string.

func (GetSubnetSubnetOutput) ElementType

func (GetSubnetSubnetOutput) ElementType() reflect.Type

func (GetSubnetSubnetOutput) Id

The ID of Subnet.

func (GetSubnetSubnetOutput) Name

The name of Subnet.

func (GetSubnetSubnetOutput) Remark

The remark of the Subnet.

func (GetSubnetSubnetOutput) Tag

A tag assigned to Subnet.

func (GetSubnetSubnetOutput) ToGetSubnetSubnetOutput

func (o GetSubnetSubnetOutput) ToGetSubnetSubnetOutput() GetSubnetSubnetOutput

func (GetSubnetSubnetOutput) ToGetSubnetSubnetOutputWithContext

func (o GetSubnetSubnetOutput) ToGetSubnetSubnetOutputWithContext(ctx context.Context) GetSubnetSubnetOutput

type GetVPCVpc

type GetVPCVpc struct {
	// The CIDR blocks of VPC.
	CidrBlocks []string `pulumi:"cidrBlocks"`
	// The time of creation for VPC, formatted in RFC3339 time string.
	CreateTime string `pulumi:"createTime"`
	// The ID of VPC.
	Id string `pulumi:"id"`
	// The name of VPC.
	Name string `pulumi:"name"`
	// A tag assigned to VPC.
	Tag string `pulumi:"tag"`
	// The time whenever there is a change made to VPC, formatted in RFC3339 time string.
	UpdateTime string `pulumi:"updateTime"`
}

type GetVPCVpcArgs

type GetVPCVpcArgs struct {
	// The CIDR blocks of VPC.
	CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
	// The time of creation for VPC, formatted in RFC3339 time string.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of VPC.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of VPC.
	Name pulumi.StringInput `pulumi:"name"`
	// A tag assigned to VPC.
	Tag pulumi.StringInput `pulumi:"tag"`
	// The time whenever there is a change made to VPC, formatted in RFC3339 time string.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (GetVPCVpcArgs) ElementType

func (GetVPCVpcArgs) ElementType() reflect.Type

func (GetVPCVpcArgs) ToGetVPCVpcOutput

func (i GetVPCVpcArgs) ToGetVPCVpcOutput() GetVPCVpcOutput

func (GetVPCVpcArgs) ToGetVPCVpcOutputWithContext

func (i GetVPCVpcArgs) ToGetVPCVpcOutputWithContext(ctx context.Context) GetVPCVpcOutput

type GetVPCVpcArray

type GetVPCVpcArray []GetVPCVpcInput

func (GetVPCVpcArray) ElementType

func (GetVPCVpcArray) ElementType() reflect.Type

func (GetVPCVpcArray) ToGetVPCVpcArrayOutput

func (i GetVPCVpcArray) ToGetVPCVpcArrayOutput() GetVPCVpcArrayOutput

func (GetVPCVpcArray) ToGetVPCVpcArrayOutputWithContext

func (i GetVPCVpcArray) ToGetVPCVpcArrayOutputWithContext(ctx context.Context) GetVPCVpcArrayOutput

type GetVPCVpcArrayInput

type GetVPCVpcArrayInput interface {
	pulumi.Input

	ToGetVPCVpcArrayOutput() GetVPCVpcArrayOutput
	ToGetVPCVpcArrayOutputWithContext(context.Context) GetVPCVpcArrayOutput
}

GetVPCVpcArrayInput is an input type that accepts GetVPCVpcArray and GetVPCVpcArrayOutput values. You can construct a concrete instance of `GetVPCVpcArrayInput` via:

GetVPCVpcArray{ GetVPCVpcArgs{...} }

type GetVPCVpcArrayOutput

type GetVPCVpcArrayOutput struct{ *pulumi.OutputState }

func (GetVPCVpcArrayOutput) ElementType

func (GetVPCVpcArrayOutput) ElementType() reflect.Type

func (GetVPCVpcArrayOutput) Index

func (GetVPCVpcArrayOutput) ToGetVPCVpcArrayOutput

func (o GetVPCVpcArrayOutput) ToGetVPCVpcArrayOutput() GetVPCVpcArrayOutput

func (GetVPCVpcArrayOutput) ToGetVPCVpcArrayOutputWithContext

func (o GetVPCVpcArrayOutput) ToGetVPCVpcArrayOutputWithContext(ctx context.Context) GetVPCVpcArrayOutput

type GetVPCVpcInput

type GetVPCVpcInput interface {
	pulumi.Input

	ToGetVPCVpcOutput() GetVPCVpcOutput
	ToGetVPCVpcOutputWithContext(context.Context) GetVPCVpcOutput
}

GetVPCVpcInput is an input type that accepts GetVPCVpcArgs and GetVPCVpcOutput values. You can construct a concrete instance of `GetVPCVpcInput` via:

GetVPCVpcArgs{...}

type GetVPCVpcOutput

type GetVPCVpcOutput struct{ *pulumi.OutputState }

func (GetVPCVpcOutput) CidrBlocks

func (o GetVPCVpcOutput) CidrBlocks() pulumi.StringArrayOutput

The CIDR blocks of VPC.

func (GetVPCVpcOutput) CreateTime

func (o GetVPCVpcOutput) CreateTime() pulumi.StringOutput

The time of creation for VPC, formatted in RFC3339 time string.

func (GetVPCVpcOutput) ElementType

func (GetVPCVpcOutput) ElementType() reflect.Type

func (GetVPCVpcOutput) Id

The ID of VPC.

func (GetVPCVpcOutput) Name

The name of VPC.

func (GetVPCVpcOutput) Tag

A tag assigned to VPC.

func (GetVPCVpcOutput) ToGetVPCVpcOutput

func (o GetVPCVpcOutput) ToGetVPCVpcOutput() GetVPCVpcOutput

func (GetVPCVpcOutput) ToGetVPCVpcOutputWithContext

func (o GetVPCVpcOutput) ToGetVPCVpcOutputWithContext(ctx context.Context) GetVPCVpcOutput

func (GetVPCVpcOutput) UpdateTime

func (o GetVPCVpcOutput) UpdateTime() pulumi.StringOutput

The time whenever there is a change made to VPC, formatted in RFC3339 time string.

type LookupNATGatewayArgs

type LookupNATGatewayArgs struct {
	// A list of Nat Gateway IDs, all the Nat Gateways belongs to the defined region will be retrieved if this argument is `[]`.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting Nat Gateways by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getNATGateway.

type LookupNATGatewayResult

type LookupNATGatewayResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// It is a nested type. Nat Gateways documented below.
	NatGateways []GetNATGatewayNatGateway `pulumi:"natGateways"`
	OutputFile  *string                   `pulumi:"outputFile"`
	// Total number of Nat Gateways that satisfy the condition.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by getNATGateway.

func LookupNATGateway

func LookupNATGateway(ctx *pulumi.Context, args *LookupNATGatewayArgs, opts ...pulumi.InvokeOption) (*LookupNATGatewayResult, error)

This data source providers a list of Nat Gateway resources according to their ID and name.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := vpc.LookupNATGateway(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("first", example.NatGateways[0].Id)
		return nil
	})
}

```

type LookupSubnetArgs

type LookupSubnetArgs struct {
	// A list of Subnet IDs, all the Subnet resources belong to this region will be retrieved if the ID is `[]`.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting Subnet resources by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// A tag assigned to Subnet.
	Tag *string `pulumi:"tag"`
	// The id of the VPC that the desired Subnet belongs to.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getSubnet.

type LookupSubnetResult

type LookupSubnetResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// It is a nested type which documented below.
	Subnets []GetSubnetSubnet `pulumi:"subnets"`
	// A tag assigned to Subnet.
	Tag *string `pulumi:"tag"`
	// Total number of Subnet resources that satisfy the condition.
	TotalCount int     `pulumi:"totalCount"`
	VpcId      *string `pulumi:"vpcId"`
}

A collection of values returned by getSubnet.

func LookupSubnet

func LookupSubnet(ctx *pulumi.Context, args *LookupSubnetArgs, opts ...pulumi.InvokeOption) (*LookupSubnetResult, error)

This data source provides a list of Subnet resources according to their Subnet ID, name and the VPC they belong to.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "uvnet-xxx"
		example, err := vpc.LookupSubnet(ctx, &vpc.LookupSubnetArgs{
			VpcId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("first", example.Subnets[0].Id)
		return nil
	})
}

```

type LookupVPCArgs

type LookupVPCArgs struct {
	// A list of VPC IDs, all the VPC resources belong to this region will be retrieved if the ID is `[]`.
	Ids []string `pulumi:"ids"`
	// A regex string to filter resulting VPC resources by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// A tag assigned to VPC.
	Tag *string `pulumi:"tag"`
}

A collection of arguments for invoking getVPC.

type LookupVPCResult

type LookupVPCResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// A tag assigned to VPC.
	Tag *string `pulumi:"tag"`
	// Total number of VPC resources that satisfy the condition.
	TotalCount int `pulumi:"totalCount"`
	// It is a nested type which documented below.
	Vpcs []GetVPCVpc `pulumi:"vpcs"`
}

A collection of values returned by getVPC.

func LookupVPC

func LookupVPC(ctx *pulumi.Context, args *LookupVPCArgs, opts ...pulumi.InvokeOption) (*LookupVPCResult, error)

This data source provides a list of VPC resources according to their VPC ID, name.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := vpc.LookupVPC(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("first", example.Vpcs[0].Id)
		return nil
	})
}

```

type NATGateway

type NATGateway struct {
	pulumi.CustomResourceState

	// The time of creation of Nat Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The ID of eip associate to the Nat Gateway.
	EipId pulumi.StringOutput `pulumi:"eipId"`
	// The boolean value to Controls whether or not start the whitelist mode.
	EnableWhiteList pulumi.BoolOutput   `pulumi:"enableWhiteList"`
	Name            pulumi.StringOutput `pulumi:"name"`
	// The remarks of the Nat Gateway. (Default: `""`).
	Remark pulumi.StringOutput `pulumi:"remark"`
	// The ID of the associated security group.
	SecurityGroup pulumi.StringOutput `pulumi:"securityGroup"`
	// The list of subnet ID under the VPC.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// A tag assigned to Nat Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The ID of VPC linked to the Nat Gateway.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The white list of instance under the Nat Gateway.
	WhiteLists pulumi.StringArrayOutput `pulumi:"whiteLists"`
}

Provides a Nat Gateway resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/unet"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVPC, err := vpc.NewVPC(ctx, "fooVPC", &vpc.VPCArgs{
			Tag: pulumi.String("tf-acc"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			Tag:       pulumi.String("tf-acc"),
			CidrBlock: pulumi.String("192.168.1.0/24"),
			VpcId:     fooVPC.ID(),
		})
		if err != nil {
			return err
		}
		fooEIP, err := unet.NewEIP(ctx, "fooEIP", &unet.EIPArgs{
			Bandwidth:    pulumi.Int(1),
			InternetType: pulumi.String("bgp"),
			ChargeMode:   pulumi.String("bandwidth"),
			Tag:          pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		opt0 := "recommend_web"
		fooSecurityGroup, err := unet.LookupSecurityGroup(ctx, &unet.LookupSecurityGroupArgs{
			Type: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = vpc.NewNATGateway(ctx, "fooNATGateway", &vpc.NATGatewayArgs{
			VpcId: fooVPC.ID(),
			SubnetIds: pulumi.StringArray{
				fooSubnet.ID(),
			},
			EipId:         fooEIP.ID(),
			Tag:           pulumi.String("tf-acc"),
			SecurityGroup: pulumi.String(fooSecurityGroup.SecurityGroups[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Nat Gateway can be imported using the `id`, e.g.

```sh

$ pulumi import ucloud:vpc/nATGateway:NATGateway example natgw-abc123456

```

func GetNATGateway

func GetNATGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NATGatewayState, opts ...pulumi.ResourceOption) (*NATGateway, error)

GetNATGateway gets an existing NATGateway 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 NewNATGateway

func NewNATGateway(ctx *pulumi.Context,
	name string, args *NATGatewayArgs, opts ...pulumi.ResourceOption) (*NATGateway, error)

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

func (*NATGateway) ElementType

func (*NATGateway) ElementType() reflect.Type

func (*NATGateway) ToNATGatewayOutput

func (i *NATGateway) ToNATGatewayOutput() NATGatewayOutput

func (*NATGateway) ToNATGatewayOutputWithContext

func (i *NATGateway) ToNATGatewayOutputWithContext(ctx context.Context) NATGatewayOutput

func (*NATGateway) ToNATGatewayPtrOutput

func (i *NATGateway) ToNATGatewayPtrOutput() NATGatewayPtrOutput

func (*NATGateway) ToNATGatewayPtrOutputWithContext

func (i *NATGateway) ToNATGatewayPtrOutputWithContext(ctx context.Context) NATGatewayPtrOutput

type NATGatewayArgs

type NATGatewayArgs struct {
	// The ID of eip associate to the Nat Gateway.
	EipId pulumi.StringInput
	// The boolean value to Controls whether or not start the whitelist mode.
	EnableWhiteList pulumi.BoolInput
	Name            pulumi.StringPtrInput
	// The remarks of the Nat Gateway. (Default: `""`).
	Remark pulumi.StringPtrInput
	// The ID of the associated security group.
	SecurityGroup pulumi.StringInput
	// The list of subnet ID under the VPC.
	SubnetIds pulumi.StringArrayInput
	// A tag assigned to Nat Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the Nat Gateway.
	VpcId pulumi.StringInput
	// The white list of instance under the Nat Gateway.
	WhiteLists pulumi.StringArrayInput
}

The set of arguments for constructing a NATGateway resource.

func (NATGatewayArgs) ElementType

func (NATGatewayArgs) ElementType() reflect.Type

type NATGatewayArray

type NATGatewayArray []NATGatewayInput

func (NATGatewayArray) ElementType

func (NATGatewayArray) ElementType() reflect.Type

func (NATGatewayArray) ToNATGatewayArrayOutput

func (i NATGatewayArray) ToNATGatewayArrayOutput() NATGatewayArrayOutput

func (NATGatewayArray) ToNATGatewayArrayOutputWithContext

func (i NATGatewayArray) ToNATGatewayArrayOutputWithContext(ctx context.Context) NATGatewayArrayOutput

type NATGatewayArrayInput

type NATGatewayArrayInput interface {
	pulumi.Input

	ToNATGatewayArrayOutput() NATGatewayArrayOutput
	ToNATGatewayArrayOutputWithContext(context.Context) NATGatewayArrayOutput
}

NATGatewayArrayInput is an input type that accepts NATGatewayArray and NATGatewayArrayOutput values. You can construct a concrete instance of `NATGatewayArrayInput` via:

NATGatewayArray{ NATGatewayArgs{...} }

type NATGatewayArrayOutput

type NATGatewayArrayOutput struct{ *pulumi.OutputState }

func (NATGatewayArrayOutput) ElementType

func (NATGatewayArrayOutput) ElementType() reflect.Type

func (NATGatewayArrayOutput) Index

func (NATGatewayArrayOutput) ToNATGatewayArrayOutput

func (o NATGatewayArrayOutput) ToNATGatewayArrayOutput() NATGatewayArrayOutput

func (NATGatewayArrayOutput) ToNATGatewayArrayOutputWithContext

func (o NATGatewayArrayOutput) ToNATGatewayArrayOutputWithContext(ctx context.Context) NATGatewayArrayOutput

type NATGatewayInput

type NATGatewayInput interface {
	pulumi.Input

	ToNATGatewayOutput() NATGatewayOutput
	ToNATGatewayOutputWithContext(ctx context.Context) NATGatewayOutput
}

type NATGatewayMap

type NATGatewayMap map[string]NATGatewayInput

func (NATGatewayMap) ElementType

func (NATGatewayMap) ElementType() reflect.Type

func (NATGatewayMap) ToNATGatewayMapOutput

func (i NATGatewayMap) ToNATGatewayMapOutput() NATGatewayMapOutput

func (NATGatewayMap) ToNATGatewayMapOutputWithContext

func (i NATGatewayMap) ToNATGatewayMapOutputWithContext(ctx context.Context) NATGatewayMapOutput

type NATGatewayMapInput

type NATGatewayMapInput interface {
	pulumi.Input

	ToNATGatewayMapOutput() NATGatewayMapOutput
	ToNATGatewayMapOutputWithContext(context.Context) NATGatewayMapOutput
}

NATGatewayMapInput is an input type that accepts NATGatewayMap and NATGatewayMapOutput values. You can construct a concrete instance of `NATGatewayMapInput` via:

NATGatewayMap{ "key": NATGatewayArgs{...} }

type NATGatewayMapOutput

type NATGatewayMapOutput struct{ *pulumi.OutputState }

func (NATGatewayMapOutput) ElementType

func (NATGatewayMapOutput) ElementType() reflect.Type

func (NATGatewayMapOutput) MapIndex

func (NATGatewayMapOutput) ToNATGatewayMapOutput

func (o NATGatewayMapOutput) ToNATGatewayMapOutput() NATGatewayMapOutput

func (NATGatewayMapOutput) ToNATGatewayMapOutputWithContext

func (o NATGatewayMapOutput) ToNATGatewayMapOutputWithContext(ctx context.Context) NATGatewayMapOutput

type NATGatewayOutput

type NATGatewayOutput struct {
	*pulumi.OutputState
}

func (NATGatewayOutput) ElementType

func (NATGatewayOutput) ElementType() reflect.Type

func (NATGatewayOutput) ToNATGatewayOutput

func (o NATGatewayOutput) ToNATGatewayOutput() NATGatewayOutput

func (NATGatewayOutput) ToNATGatewayOutputWithContext

func (o NATGatewayOutput) ToNATGatewayOutputWithContext(ctx context.Context) NATGatewayOutput

func (NATGatewayOutput) ToNATGatewayPtrOutput

func (o NATGatewayOutput) ToNATGatewayPtrOutput() NATGatewayPtrOutput

func (NATGatewayOutput) ToNATGatewayPtrOutputWithContext

func (o NATGatewayOutput) ToNATGatewayPtrOutputWithContext(ctx context.Context) NATGatewayPtrOutput

type NATGatewayPtrInput

type NATGatewayPtrInput interface {
	pulumi.Input

	ToNATGatewayPtrOutput() NATGatewayPtrOutput
	ToNATGatewayPtrOutputWithContext(ctx context.Context) NATGatewayPtrOutput
}

type NATGatewayPtrOutput

type NATGatewayPtrOutput struct {
	*pulumi.OutputState
}

func (NATGatewayPtrOutput) ElementType

func (NATGatewayPtrOutput) ElementType() reflect.Type

func (NATGatewayPtrOutput) ToNATGatewayPtrOutput

func (o NATGatewayPtrOutput) ToNATGatewayPtrOutput() NATGatewayPtrOutput

func (NATGatewayPtrOutput) ToNATGatewayPtrOutputWithContext

func (o NATGatewayPtrOutput) ToNATGatewayPtrOutputWithContext(ctx context.Context) NATGatewayPtrOutput

type NATGatewayRule

type NATGatewayRule struct {
	pulumi.CustomResourceState

	// The private ip of instance bound to the jNAT gateway.
	DstIp pulumi.StringOutput `pulumi:"dstIp"`
	// The range of port numbers of the private ip, range: 1-65535. (eg: `port` or `port1-port2`).
	DstPortRange pulumi.StringOutput `pulumi:"dstPortRange"`
	Name         pulumi.StringOutput `pulumi:"name"`
	// The ID of the Nat Gateway.
	NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"`
	// The protocol of the Nat Gateway Rule. Possible values: `tcp`, `udp`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// The ID of eip associate to the Nat Gateway.
	SrcEipId pulumi.StringOutput `pulumi:"srcEipId"`
	// The range of port numbers of the eip, range: 1-65535. (eg: `port` or `port1-port2`).
	SrcPortRange pulumi.StringOutput `pulumi:"srcPortRange"`
}

Provides a Nat Gateway resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/uaccount"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/uhost"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/unet"
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVPC, err := vpc.NewVPC(ctx, "fooVPC", &vpc.VPCArgs{
			Tag: pulumi.String("tf-acc"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			Tag:       pulumi.String("tf-acc"),
			CidrBlock: pulumi.String("192.168.1.0/24"),
			VpcId:     fooVPC.ID(),
		})
		if err != nil {
			return err
		}
		fooEIP, err := unet.NewEIP(ctx, "fooEIP", &unet.EIPArgs{
			Bandwidth:    pulumi.Int(1),
			InternetType: pulumi.String("bgp"),
			ChargeMode:   pulumi.String("bandwidth"),
			Tag:          pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		opt0 := "recommend_web"
		fooSecurityGroup, err := unet.LookupSecurityGroup(ctx, &unet.LookupSecurityGroupArgs{
			Type: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		defaultZone, err := uaccount.GetZone(ctx, nil, nil)
		if err != nil {
			return err
		}
		opt1 := defaultZone.Zones[0].Id
		opt2 := "^CentOS 7.[1-2] 64"
		opt3 := "base"
		defaultImage, err := uhost.GetImage(ctx, &uhost.GetImageArgs{
			AvailabilityZone: &opt1,
			NameRegex:        &opt2,
			ImageType:        &opt3,
		}, nil)
		if err != nil {
			return err
		}
		fooInstance, err := uhost.NewInstance(ctx, "fooInstance", &uhost.InstanceArgs{
			VpcId:            fooVPC.ID(),
			SubnetId:         fooSubnet.ID(),
			AvailabilityZone: pulumi.String(defaultZone.Zones[0].Id),
			ImageId:          pulumi.String(defaultImage.Images[0].Id),
			InstanceType:     pulumi.String("n-basic-1"),
			ChargeType:       pulumi.String("dynamic"),
			Tag:              pulumi.String("tf-acc"),
		})
		if err != nil {
			return err
		}
		fooNATGateway, err := vpc.NewNATGateway(ctx, "fooNATGateway", &vpc.NATGatewayArgs{
			VpcId: fooVPC.ID(),
			SubnetIds: pulumi.StringArray{
				fooSubnet.ID(),
			},
			EipId:           fooEIP.ID(),
			Tag:             pulumi.String("tf-acc"),
			EnableWhiteList: pulumi.Bool(false),
			SecurityGroup:   pulumi.String(fooSecurityGroup.SecurityGroups[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewNATGatewayRule(ctx, "fooNATGatewayRule", &vpc.NATGatewayRuleArgs{
			NatGatewayId: fooNATGateway.ID(),
			Protocol:     pulumi.String("tcp"),
			SrcEipId:     fooEIP.ID(),
			SrcPortRange: pulumi.String("88"),
			DstIp:        fooInstance.PrivateIp,
			DstPortRange: pulumi.String("80"),
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewNATGatewayRule(ctx, "bar", &vpc.NATGatewayRuleArgs{
			NatGatewayId: fooNATGateway.ID(),
			Protocol:     pulumi.String("tcp"),
			SrcEipId:     fooEIP.ID(),
			SrcPortRange: pulumi.String("90-100"),
			DstIp:        fooInstance.PrivateIp,
			DstPortRange: pulumi.String("90-100"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetNATGatewayRule

func GetNATGatewayRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NATGatewayRuleState, opts ...pulumi.ResourceOption) (*NATGatewayRule, error)

GetNATGatewayRule gets an existing NATGatewayRule 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 NewNATGatewayRule

func NewNATGatewayRule(ctx *pulumi.Context,
	name string, args *NATGatewayRuleArgs, opts ...pulumi.ResourceOption) (*NATGatewayRule, error)

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

func (*NATGatewayRule) ElementType

func (*NATGatewayRule) ElementType() reflect.Type

func (*NATGatewayRule) ToNATGatewayRuleOutput

func (i *NATGatewayRule) ToNATGatewayRuleOutput() NATGatewayRuleOutput

func (*NATGatewayRule) ToNATGatewayRuleOutputWithContext

func (i *NATGatewayRule) ToNATGatewayRuleOutputWithContext(ctx context.Context) NATGatewayRuleOutput

func (*NATGatewayRule) ToNATGatewayRulePtrOutput

func (i *NATGatewayRule) ToNATGatewayRulePtrOutput() NATGatewayRulePtrOutput

func (*NATGatewayRule) ToNATGatewayRulePtrOutputWithContext

func (i *NATGatewayRule) ToNATGatewayRulePtrOutputWithContext(ctx context.Context) NATGatewayRulePtrOutput

type NATGatewayRuleArgs

type NATGatewayRuleArgs struct {
	// The private ip of instance bound to the jNAT gateway.
	DstIp pulumi.StringInput
	// The range of port numbers of the private ip, range: 1-65535. (eg: `port` or `port1-port2`).
	DstPortRange pulumi.StringInput
	Name         pulumi.StringPtrInput
	// The ID of the Nat Gateway.
	NatGatewayId pulumi.StringInput
	// The protocol of the Nat Gateway Rule. Possible values: `tcp`, `udp`.
	Protocol pulumi.StringInput
	// The ID of eip associate to the Nat Gateway.
	SrcEipId pulumi.StringInput
	// The range of port numbers of the eip, range: 1-65535. (eg: `port` or `port1-port2`).
	SrcPortRange pulumi.StringInput
}

The set of arguments for constructing a NATGatewayRule resource.

func (NATGatewayRuleArgs) ElementType

func (NATGatewayRuleArgs) ElementType() reflect.Type

type NATGatewayRuleArray

type NATGatewayRuleArray []NATGatewayRuleInput

func (NATGatewayRuleArray) ElementType

func (NATGatewayRuleArray) ElementType() reflect.Type

func (NATGatewayRuleArray) ToNATGatewayRuleArrayOutput

func (i NATGatewayRuleArray) ToNATGatewayRuleArrayOutput() NATGatewayRuleArrayOutput

func (NATGatewayRuleArray) ToNATGatewayRuleArrayOutputWithContext

func (i NATGatewayRuleArray) ToNATGatewayRuleArrayOutputWithContext(ctx context.Context) NATGatewayRuleArrayOutput

type NATGatewayRuleArrayInput

type NATGatewayRuleArrayInput interface {
	pulumi.Input

	ToNATGatewayRuleArrayOutput() NATGatewayRuleArrayOutput
	ToNATGatewayRuleArrayOutputWithContext(context.Context) NATGatewayRuleArrayOutput
}

NATGatewayRuleArrayInput is an input type that accepts NATGatewayRuleArray and NATGatewayRuleArrayOutput values. You can construct a concrete instance of `NATGatewayRuleArrayInput` via:

NATGatewayRuleArray{ NATGatewayRuleArgs{...} }

type NATGatewayRuleArrayOutput

type NATGatewayRuleArrayOutput struct{ *pulumi.OutputState }

func (NATGatewayRuleArrayOutput) ElementType

func (NATGatewayRuleArrayOutput) ElementType() reflect.Type

func (NATGatewayRuleArrayOutput) Index

func (NATGatewayRuleArrayOutput) ToNATGatewayRuleArrayOutput

func (o NATGatewayRuleArrayOutput) ToNATGatewayRuleArrayOutput() NATGatewayRuleArrayOutput

func (NATGatewayRuleArrayOutput) ToNATGatewayRuleArrayOutputWithContext

func (o NATGatewayRuleArrayOutput) ToNATGatewayRuleArrayOutputWithContext(ctx context.Context) NATGatewayRuleArrayOutput

type NATGatewayRuleInput

type NATGatewayRuleInput interface {
	pulumi.Input

	ToNATGatewayRuleOutput() NATGatewayRuleOutput
	ToNATGatewayRuleOutputWithContext(ctx context.Context) NATGatewayRuleOutput
}

type NATGatewayRuleMap

type NATGatewayRuleMap map[string]NATGatewayRuleInput

func (NATGatewayRuleMap) ElementType

func (NATGatewayRuleMap) ElementType() reflect.Type

func (NATGatewayRuleMap) ToNATGatewayRuleMapOutput

func (i NATGatewayRuleMap) ToNATGatewayRuleMapOutput() NATGatewayRuleMapOutput

func (NATGatewayRuleMap) ToNATGatewayRuleMapOutputWithContext

func (i NATGatewayRuleMap) ToNATGatewayRuleMapOutputWithContext(ctx context.Context) NATGatewayRuleMapOutput

type NATGatewayRuleMapInput

type NATGatewayRuleMapInput interface {
	pulumi.Input

	ToNATGatewayRuleMapOutput() NATGatewayRuleMapOutput
	ToNATGatewayRuleMapOutputWithContext(context.Context) NATGatewayRuleMapOutput
}

NATGatewayRuleMapInput is an input type that accepts NATGatewayRuleMap and NATGatewayRuleMapOutput values. You can construct a concrete instance of `NATGatewayRuleMapInput` via:

NATGatewayRuleMap{ "key": NATGatewayRuleArgs{...} }

type NATGatewayRuleMapOutput

type NATGatewayRuleMapOutput struct{ *pulumi.OutputState }

func (NATGatewayRuleMapOutput) ElementType

func (NATGatewayRuleMapOutput) ElementType() reflect.Type

func (NATGatewayRuleMapOutput) MapIndex

func (NATGatewayRuleMapOutput) ToNATGatewayRuleMapOutput

func (o NATGatewayRuleMapOutput) ToNATGatewayRuleMapOutput() NATGatewayRuleMapOutput

func (NATGatewayRuleMapOutput) ToNATGatewayRuleMapOutputWithContext

func (o NATGatewayRuleMapOutput) ToNATGatewayRuleMapOutputWithContext(ctx context.Context) NATGatewayRuleMapOutput

type NATGatewayRuleOutput

type NATGatewayRuleOutput struct {
	*pulumi.OutputState
}

func (NATGatewayRuleOutput) ElementType

func (NATGatewayRuleOutput) ElementType() reflect.Type

func (NATGatewayRuleOutput) ToNATGatewayRuleOutput

func (o NATGatewayRuleOutput) ToNATGatewayRuleOutput() NATGatewayRuleOutput

func (NATGatewayRuleOutput) ToNATGatewayRuleOutputWithContext

func (o NATGatewayRuleOutput) ToNATGatewayRuleOutputWithContext(ctx context.Context) NATGatewayRuleOutput

func (NATGatewayRuleOutput) ToNATGatewayRulePtrOutput

func (o NATGatewayRuleOutput) ToNATGatewayRulePtrOutput() NATGatewayRulePtrOutput

func (NATGatewayRuleOutput) ToNATGatewayRulePtrOutputWithContext

func (o NATGatewayRuleOutput) ToNATGatewayRulePtrOutputWithContext(ctx context.Context) NATGatewayRulePtrOutput

type NATGatewayRulePtrInput

type NATGatewayRulePtrInput interface {
	pulumi.Input

	ToNATGatewayRulePtrOutput() NATGatewayRulePtrOutput
	ToNATGatewayRulePtrOutputWithContext(ctx context.Context) NATGatewayRulePtrOutput
}

type NATGatewayRulePtrOutput

type NATGatewayRulePtrOutput struct {
	*pulumi.OutputState
}

func (NATGatewayRulePtrOutput) ElementType

func (NATGatewayRulePtrOutput) ElementType() reflect.Type

func (NATGatewayRulePtrOutput) ToNATGatewayRulePtrOutput

func (o NATGatewayRulePtrOutput) ToNATGatewayRulePtrOutput() NATGatewayRulePtrOutput

func (NATGatewayRulePtrOutput) ToNATGatewayRulePtrOutputWithContext

func (o NATGatewayRulePtrOutput) ToNATGatewayRulePtrOutputWithContext(ctx context.Context) NATGatewayRulePtrOutput

type NATGatewayRuleState

type NATGatewayRuleState struct {
	// The private ip of instance bound to the jNAT gateway.
	DstIp pulumi.StringPtrInput
	// The range of port numbers of the private ip, range: 1-65535. (eg: `port` or `port1-port2`).
	DstPortRange pulumi.StringPtrInput
	Name         pulumi.StringPtrInput
	// The ID of the Nat Gateway.
	NatGatewayId pulumi.StringPtrInput
	// The protocol of the Nat Gateway Rule. Possible values: `tcp`, `udp`.
	Protocol pulumi.StringPtrInput
	// The ID of eip associate to the Nat Gateway.
	SrcEipId pulumi.StringPtrInput
	// The range of port numbers of the eip, range: 1-65535. (eg: `port` or `port1-port2`).
	SrcPortRange pulumi.StringPtrInput
}

func (NATGatewayRuleState) ElementType

func (NATGatewayRuleState) ElementType() reflect.Type

type NATGatewayState

type NATGatewayState struct {
	// The time of creation of Nat Gateway, formatted in RFC3339 time string.
	CreateTime pulumi.StringPtrInput
	// The ID of eip associate to the Nat Gateway.
	EipId pulumi.StringPtrInput
	// The boolean value to Controls whether or not start the whitelist mode.
	EnableWhiteList pulumi.BoolPtrInput
	Name            pulumi.StringPtrInput
	// The remarks of the Nat Gateway. (Default: `""`).
	Remark pulumi.StringPtrInput
	// The ID of the associated security group.
	SecurityGroup pulumi.StringPtrInput
	// The list of subnet ID under the VPC.
	SubnetIds pulumi.StringArrayInput
	// A tag assigned to Nat Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	// * “
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the Nat Gateway.
	VpcId pulumi.StringPtrInput
	// The white list of instance under the Nat Gateway.
	WhiteLists pulumi.StringArrayInput
}

func (NATGatewayState) ElementType

func (NATGatewayState) ElementType() reflect.Type

type Subnet

type Subnet struct {
	pulumi.CustomResourceState

	// The cidr block of the desired subnet, format in "0.0.0.0/0", such as: `192.168.0.0/24`.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The time of creation of subnet, formatted in RFC3339 time string.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	Name       pulumi.StringOutput `pulumi:"name"`
	// The remarks of the subnet. (Default: `""`).
	Remark pulumi.StringOutput `pulumi:"remark"`
	// A tag assigned to subnet, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The id of the VPC that the desired subnet belongs to.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a Subnet resource under VPC resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewVPC(ctx, "_default", &vpc.VPCArgs{
			Tag: pulumi.String("tf-example"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewSubnet(ctx, "example", &vpc.SubnetArgs{
			Tag:       pulumi.String("tf-example"),
			CidrBlock: pulumi.String("192.168.1.0/24"),
			VpcId:     _default.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Subnet can be imported using the `id`, e.g.

```sh

$ pulumi import ucloud:vpc/subnet:Subnet example subnet-abc123456

```

func GetSubnet

func GetSubnet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubnetState, opts ...pulumi.ResourceOption) (*Subnet, error)

GetSubnet gets an existing Subnet 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 NewSubnet

func NewSubnet(ctx *pulumi.Context,
	name string, args *SubnetArgs, opts ...pulumi.ResourceOption) (*Subnet, error)

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

func (*Subnet) ElementType

func (*Subnet) ElementType() reflect.Type

func (*Subnet) ToSubnetOutput

func (i *Subnet) ToSubnetOutput() SubnetOutput

func (*Subnet) ToSubnetOutputWithContext

func (i *Subnet) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput

func (*Subnet) ToSubnetPtrOutput

func (i *Subnet) ToSubnetPtrOutput() SubnetPtrOutput

func (*Subnet) ToSubnetPtrOutputWithContext

func (i *Subnet) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPtrOutput

type SubnetArgs

type SubnetArgs struct {
	// The cidr block of the desired subnet, format in "0.0.0.0/0", such as: `192.168.0.0/24`.
	CidrBlock pulumi.StringInput
	Name      pulumi.StringPtrInput
	// The remarks of the subnet. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to subnet, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
	// The id of the VPC that the desired subnet belongs to.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Subnet resource.

func (SubnetArgs) ElementType

func (SubnetArgs) ElementType() reflect.Type

type SubnetArray

type SubnetArray []SubnetInput

func (SubnetArray) ElementType

func (SubnetArray) ElementType() reflect.Type

func (SubnetArray) ToSubnetArrayOutput

func (i SubnetArray) ToSubnetArrayOutput() SubnetArrayOutput

func (SubnetArray) ToSubnetArrayOutputWithContext

func (i SubnetArray) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput

type SubnetArrayInput

type SubnetArrayInput interface {
	pulumi.Input

	ToSubnetArrayOutput() SubnetArrayOutput
	ToSubnetArrayOutputWithContext(context.Context) SubnetArrayOutput
}

SubnetArrayInput is an input type that accepts SubnetArray and SubnetArrayOutput values. You can construct a concrete instance of `SubnetArrayInput` via:

SubnetArray{ SubnetArgs{...} }

type SubnetArrayOutput

type SubnetArrayOutput struct{ *pulumi.OutputState }

func (SubnetArrayOutput) ElementType

func (SubnetArrayOutput) ElementType() reflect.Type

func (SubnetArrayOutput) Index

func (SubnetArrayOutput) ToSubnetArrayOutput

func (o SubnetArrayOutput) ToSubnetArrayOutput() SubnetArrayOutput

func (SubnetArrayOutput) ToSubnetArrayOutputWithContext

func (o SubnetArrayOutput) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput

type SubnetInput

type SubnetInput interface {
	pulumi.Input

	ToSubnetOutput() SubnetOutput
	ToSubnetOutputWithContext(ctx context.Context) SubnetOutput
}

type SubnetMap

type SubnetMap map[string]SubnetInput

func (SubnetMap) ElementType

func (SubnetMap) ElementType() reflect.Type

func (SubnetMap) ToSubnetMapOutput

func (i SubnetMap) ToSubnetMapOutput() SubnetMapOutput

func (SubnetMap) ToSubnetMapOutputWithContext

func (i SubnetMap) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput

type SubnetMapInput

type SubnetMapInput interface {
	pulumi.Input

	ToSubnetMapOutput() SubnetMapOutput
	ToSubnetMapOutputWithContext(context.Context) SubnetMapOutput
}

SubnetMapInput is an input type that accepts SubnetMap and SubnetMapOutput values. You can construct a concrete instance of `SubnetMapInput` via:

SubnetMap{ "key": SubnetArgs{...} }

type SubnetMapOutput

type SubnetMapOutput struct{ *pulumi.OutputState }

func (SubnetMapOutput) ElementType

func (SubnetMapOutput) ElementType() reflect.Type

func (SubnetMapOutput) MapIndex

func (SubnetMapOutput) ToSubnetMapOutput

func (o SubnetMapOutput) ToSubnetMapOutput() SubnetMapOutput

func (SubnetMapOutput) ToSubnetMapOutputWithContext

func (o SubnetMapOutput) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput

type SubnetOutput

type SubnetOutput struct {
	*pulumi.OutputState
}

func (SubnetOutput) ElementType

func (SubnetOutput) ElementType() reflect.Type

func (SubnetOutput) ToSubnetOutput

func (o SubnetOutput) ToSubnetOutput() SubnetOutput

func (SubnetOutput) ToSubnetOutputWithContext

func (o SubnetOutput) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput

func (SubnetOutput) ToSubnetPtrOutput

func (o SubnetOutput) ToSubnetPtrOutput() SubnetPtrOutput

func (SubnetOutput) ToSubnetPtrOutputWithContext

func (o SubnetOutput) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPtrOutput

type SubnetPtrInput

type SubnetPtrInput interface {
	pulumi.Input

	ToSubnetPtrOutput() SubnetPtrOutput
	ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPtrOutput
}

type SubnetPtrOutput

type SubnetPtrOutput struct {
	*pulumi.OutputState
}

func (SubnetPtrOutput) ElementType

func (SubnetPtrOutput) ElementType() reflect.Type

func (SubnetPtrOutput) ToSubnetPtrOutput

func (o SubnetPtrOutput) ToSubnetPtrOutput() SubnetPtrOutput

func (SubnetPtrOutput) ToSubnetPtrOutputWithContext

func (o SubnetPtrOutput) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPtrOutput

type SubnetState

type SubnetState struct {
	// The cidr block of the desired subnet, format in "0.0.0.0/0", such as: `192.168.0.0/24`.
	CidrBlock pulumi.StringPtrInput
	// The time of creation of subnet, formatted in RFC3339 time string.
	CreateTime pulumi.StringPtrInput
	Name       pulumi.StringPtrInput
	// The remarks of the subnet. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to subnet, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
	// The id of the VPC that the desired subnet belongs to.
	VpcId pulumi.StringPtrInput
}

func (SubnetState) ElementType

func (SubnetState) ElementType() reflect.Type

type VIP

type VIP struct {
	pulumi.CustomResourceState

	// The time of creation for VIP, formatted in RFC3339 time string.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The ip address of the VIP.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	Name      pulumi.StringOutput `pulumi:"name"`
	// The remarks of the VIP. (Default: `""`).
	Remark pulumi.StringOutput `pulumi:"remark"`
	// The ID of subnet. If defined `vpcId`, the `subnetId` is Required.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A tag assigned to VIP, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The ID of VPC linked to the VIP.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a VIP resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVPC, err := vpc.NewVPC(ctx, "fooVPC", &vpc.VPCArgs{
			Tag: pulumi.String("tf-acc"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			Tag:       pulumi.String("tf-acc"),
			CidrBlock: pulumi.String("192.168.1.0/24"),
			VpcId:     fooVPC.ID(),
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewVIP(ctx, "fooVIP", &vpc.VIPArgs{
			VpcId:    fooVPC.ID(),
			SubnetId: fooSubnet.ID(),
			Remark:   pulumi.String("test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetVIP

func GetVIP(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VIPState, opts ...pulumi.ResourceOption) (*VIP, error)

GetVIP gets an existing VIP 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 NewVIP

func NewVIP(ctx *pulumi.Context,
	name string, args *VIPArgs, opts ...pulumi.ResourceOption) (*VIP, error)

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

func (*VIP) ElementType

func (*VIP) ElementType() reflect.Type

func (*VIP) ToVIPOutput

func (i *VIP) ToVIPOutput() VIPOutput

func (*VIP) ToVIPOutputWithContext

func (i *VIP) ToVIPOutputWithContext(ctx context.Context) VIPOutput

func (*VIP) ToVIPPtrOutput

func (i *VIP) ToVIPPtrOutput() VIPPtrOutput

func (*VIP) ToVIPPtrOutputWithContext

func (i *VIP) ToVIPPtrOutputWithContext(ctx context.Context) VIPPtrOutput

type VIPArgs

type VIPArgs struct {
	Name pulumi.StringPtrInput
	// The remarks of the VIP. (Default: `""`).
	Remark pulumi.StringPtrInput
	// The ID of subnet. If defined `vpcId`, the `subnetId` is Required.
	SubnetId pulumi.StringInput
	// A tag assigned to VIP, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the VIP.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VIP resource.

func (VIPArgs) ElementType

func (VIPArgs) ElementType() reflect.Type

type VIPArray

type VIPArray []VIPInput

func (VIPArray) ElementType

func (VIPArray) ElementType() reflect.Type

func (VIPArray) ToVIPArrayOutput

func (i VIPArray) ToVIPArrayOutput() VIPArrayOutput

func (VIPArray) ToVIPArrayOutputWithContext

func (i VIPArray) ToVIPArrayOutputWithContext(ctx context.Context) VIPArrayOutput

type VIPArrayInput

type VIPArrayInput interface {
	pulumi.Input

	ToVIPArrayOutput() VIPArrayOutput
	ToVIPArrayOutputWithContext(context.Context) VIPArrayOutput
}

VIPArrayInput is an input type that accepts VIPArray and VIPArrayOutput values. You can construct a concrete instance of `VIPArrayInput` via:

VIPArray{ VIPArgs{...} }

type VIPArrayOutput

type VIPArrayOutput struct{ *pulumi.OutputState }

func (VIPArrayOutput) ElementType

func (VIPArrayOutput) ElementType() reflect.Type

func (VIPArrayOutput) Index

func (VIPArrayOutput) ToVIPArrayOutput

func (o VIPArrayOutput) ToVIPArrayOutput() VIPArrayOutput

func (VIPArrayOutput) ToVIPArrayOutputWithContext

func (o VIPArrayOutput) ToVIPArrayOutputWithContext(ctx context.Context) VIPArrayOutput

type VIPInput

type VIPInput interface {
	pulumi.Input

	ToVIPOutput() VIPOutput
	ToVIPOutputWithContext(ctx context.Context) VIPOutput
}

type VIPMap

type VIPMap map[string]VIPInput

func (VIPMap) ElementType

func (VIPMap) ElementType() reflect.Type

func (VIPMap) ToVIPMapOutput

func (i VIPMap) ToVIPMapOutput() VIPMapOutput

func (VIPMap) ToVIPMapOutputWithContext

func (i VIPMap) ToVIPMapOutputWithContext(ctx context.Context) VIPMapOutput

type VIPMapInput

type VIPMapInput interface {
	pulumi.Input

	ToVIPMapOutput() VIPMapOutput
	ToVIPMapOutputWithContext(context.Context) VIPMapOutput
}

VIPMapInput is an input type that accepts VIPMap and VIPMapOutput values. You can construct a concrete instance of `VIPMapInput` via:

VIPMap{ "key": VIPArgs{...} }

type VIPMapOutput

type VIPMapOutput struct{ *pulumi.OutputState }

func (VIPMapOutput) ElementType

func (VIPMapOutput) ElementType() reflect.Type

func (VIPMapOutput) MapIndex

func (o VIPMapOutput) MapIndex(k pulumi.StringInput) VIPOutput

func (VIPMapOutput) ToVIPMapOutput

func (o VIPMapOutput) ToVIPMapOutput() VIPMapOutput

func (VIPMapOutput) ToVIPMapOutputWithContext

func (o VIPMapOutput) ToVIPMapOutputWithContext(ctx context.Context) VIPMapOutput

type VIPOutput

type VIPOutput struct {
	*pulumi.OutputState
}

func (VIPOutput) ElementType

func (VIPOutput) ElementType() reflect.Type

func (VIPOutput) ToVIPOutput

func (o VIPOutput) ToVIPOutput() VIPOutput

func (VIPOutput) ToVIPOutputWithContext

func (o VIPOutput) ToVIPOutputWithContext(ctx context.Context) VIPOutput

func (VIPOutput) ToVIPPtrOutput

func (o VIPOutput) ToVIPPtrOutput() VIPPtrOutput

func (VIPOutput) ToVIPPtrOutputWithContext

func (o VIPOutput) ToVIPPtrOutputWithContext(ctx context.Context) VIPPtrOutput

type VIPPtrInput

type VIPPtrInput interface {
	pulumi.Input

	ToVIPPtrOutput() VIPPtrOutput
	ToVIPPtrOutputWithContext(ctx context.Context) VIPPtrOutput
}

type VIPPtrOutput

type VIPPtrOutput struct {
	*pulumi.OutputState
}

func (VIPPtrOutput) ElementType

func (VIPPtrOutput) ElementType() reflect.Type

func (VIPPtrOutput) ToVIPPtrOutput

func (o VIPPtrOutput) ToVIPPtrOutput() VIPPtrOutput

func (VIPPtrOutput) ToVIPPtrOutputWithContext

func (o VIPPtrOutput) ToVIPPtrOutputWithContext(ctx context.Context) VIPPtrOutput

type VIPState

type VIPState struct {
	// The time of creation for VIP, formatted in RFC3339 time string.
	CreateTime pulumi.StringPtrInput
	// The ip address of the VIP.
	IpAddress pulumi.StringPtrInput
	Name      pulumi.StringPtrInput
	// The remarks of the VIP. (Default: `""`).
	Remark pulumi.StringPtrInput
	// The ID of subnet. If defined `vpcId`, the `subnetId` is Required.
	SubnetId pulumi.StringPtrInput
	// A tag assigned to VIP, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
	// The ID of VPC linked to the VIP.
	VpcId pulumi.StringPtrInput
}

func (VIPState) ElementType

func (VIPState) ElementType() reflect.Type

type VPC

type VPC struct {
	pulumi.CustomResourceState

	// The CIDR blocks of VPC.
	CidrBlocks pulumi.StringArrayOutput `pulumi:"cidrBlocks"`
	// The time of creation for VPC, formatted in RFC3339 time string.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	Name       pulumi.StringOutput `pulumi:"name"`
	// It is a nested type which documented below.
	NetworkInfos VPCNetworkInfoArrayOutput `pulumi:"networkInfos"`
	// The remarks of the VPC. (Default: `""`).
	Remark pulumi.StringOutput `pulumi:"remark"`
	// A tag assigned to VPC, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The time whenever there is a change made to VPC, formatted in RFC3339 time string.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a VPC resource.

> **Note** The network segment can only be created or deleted, can not perform both of them at the same time. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.NewVPC(ctx, "example", &vpc.VPCArgs{
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
			Tag: pulumi.String("tf-example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC can be imported using the `id`, e.g.

```sh

$ pulumi import ucloud:vpc/vPC:VPC example uvnet-abc123456

```

func GetVPC

func GetVPC(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VPCState, opts ...pulumi.ResourceOption) (*VPC, error)

GetVPC gets an existing VPC 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 NewVPC

func NewVPC(ctx *pulumi.Context,
	name string, args *VPCArgs, opts ...pulumi.ResourceOption) (*VPC, error)

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

func (*VPC) ElementType

func (*VPC) ElementType() reflect.Type

func (*VPC) ToVPCOutput

func (i *VPC) ToVPCOutput() VPCOutput

func (*VPC) ToVPCOutputWithContext

func (i *VPC) ToVPCOutputWithContext(ctx context.Context) VPCOutput

func (*VPC) ToVPCPtrOutput

func (i *VPC) ToVPCPtrOutput() VPCPtrOutput

func (*VPC) ToVPCPtrOutputWithContext

func (i *VPC) ToVPCPtrOutputWithContext(ctx context.Context) VPCPtrOutput

type VPCArgs

type VPCArgs struct {
	// The CIDR blocks of VPC.
	CidrBlocks pulumi.StringArrayInput
	Name       pulumi.StringPtrInput
	// The remarks of the VPC. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPC, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
}

The set of arguments for constructing a VPC resource.

func (VPCArgs) ElementType

func (VPCArgs) ElementType() reflect.Type

type VPCArray

type VPCArray []VPCInput

func (VPCArray) ElementType

func (VPCArray) ElementType() reflect.Type

func (VPCArray) ToVPCArrayOutput

func (i VPCArray) ToVPCArrayOutput() VPCArrayOutput

func (VPCArray) ToVPCArrayOutputWithContext

func (i VPCArray) ToVPCArrayOutputWithContext(ctx context.Context) VPCArrayOutput

type VPCArrayInput

type VPCArrayInput interface {
	pulumi.Input

	ToVPCArrayOutput() VPCArrayOutput
	ToVPCArrayOutputWithContext(context.Context) VPCArrayOutput
}

VPCArrayInput is an input type that accepts VPCArray and VPCArrayOutput values. You can construct a concrete instance of `VPCArrayInput` via:

VPCArray{ VPCArgs{...} }

type VPCArrayOutput

type VPCArrayOutput struct{ *pulumi.OutputState }

func (VPCArrayOutput) ElementType

func (VPCArrayOutput) ElementType() reflect.Type

func (VPCArrayOutput) Index

func (VPCArrayOutput) ToVPCArrayOutput

func (o VPCArrayOutput) ToVPCArrayOutput() VPCArrayOutput

func (VPCArrayOutput) ToVPCArrayOutputWithContext

func (o VPCArrayOutput) ToVPCArrayOutputWithContext(ctx context.Context) VPCArrayOutput

type VPCInput

type VPCInput interface {
	pulumi.Input

	ToVPCOutput() VPCOutput
	ToVPCOutputWithContext(ctx context.Context) VPCOutput
}

type VPCMap

type VPCMap map[string]VPCInput

func (VPCMap) ElementType

func (VPCMap) ElementType() reflect.Type

func (VPCMap) ToVPCMapOutput

func (i VPCMap) ToVPCMapOutput() VPCMapOutput

func (VPCMap) ToVPCMapOutputWithContext

func (i VPCMap) ToVPCMapOutputWithContext(ctx context.Context) VPCMapOutput

type VPCMapInput

type VPCMapInput interface {
	pulumi.Input

	ToVPCMapOutput() VPCMapOutput
	ToVPCMapOutputWithContext(context.Context) VPCMapOutput
}

VPCMapInput is an input type that accepts VPCMap and VPCMapOutput values. You can construct a concrete instance of `VPCMapInput` via:

VPCMap{ "key": VPCArgs{...} }

type VPCMapOutput

type VPCMapOutput struct{ *pulumi.OutputState }

func (VPCMapOutput) ElementType

func (VPCMapOutput) ElementType() reflect.Type

func (VPCMapOutput) MapIndex

func (o VPCMapOutput) MapIndex(k pulumi.StringInput) VPCOutput

func (VPCMapOutput) ToVPCMapOutput

func (o VPCMapOutput) ToVPCMapOutput() VPCMapOutput

func (VPCMapOutput) ToVPCMapOutputWithContext

func (o VPCMapOutput) ToVPCMapOutputWithContext(ctx context.Context) VPCMapOutput

type VPCNetworkInfo

type VPCNetworkInfo struct {
	// The CIDR block of the VPC.
	CidrBlock *string `pulumi:"cidrBlock"`
}

type VPCNetworkInfoArgs

type VPCNetworkInfoArgs struct {
	// The CIDR block of the VPC.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
}

func (VPCNetworkInfoArgs) ElementType

func (VPCNetworkInfoArgs) ElementType() reflect.Type

func (VPCNetworkInfoArgs) ToVPCNetworkInfoOutput

func (i VPCNetworkInfoArgs) ToVPCNetworkInfoOutput() VPCNetworkInfoOutput

func (VPCNetworkInfoArgs) ToVPCNetworkInfoOutputWithContext

func (i VPCNetworkInfoArgs) ToVPCNetworkInfoOutputWithContext(ctx context.Context) VPCNetworkInfoOutput

type VPCNetworkInfoArray

type VPCNetworkInfoArray []VPCNetworkInfoInput

func (VPCNetworkInfoArray) ElementType

func (VPCNetworkInfoArray) ElementType() reflect.Type

func (VPCNetworkInfoArray) ToVPCNetworkInfoArrayOutput

func (i VPCNetworkInfoArray) ToVPCNetworkInfoArrayOutput() VPCNetworkInfoArrayOutput

func (VPCNetworkInfoArray) ToVPCNetworkInfoArrayOutputWithContext

func (i VPCNetworkInfoArray) ToVPCNetworkInfoArrayOutputWithContext(ctx context.Context) VPCNetworkInfoArrayOutput

type VPCNetworkInfoArrayInput

type VPCNetworkInfoArrayInput interface {
	pulumi.Input

	ToVPCNetworkInfoArrayOutput() VPCNetworkInfoArrayOutput
	ToVPCNetworkInfoArrayOutputWithContext(context.Context) VPCNetworkInfoArrayOutput
}

VPCNetworkInfoArrayInput is an input type that accepts VPCNetworkInfoArray and VPCNetworkInfoArrayOutput values. You can construct a concrete instance of `VPCNetworkInfoArrayInput` via:

VPCNetworkInfoArray{ VPCNetworkInfoArgs{...} }

type VPCNetworkInfoArrayOutput

type VPCNetworkInfoArrayOutput struct{ *pulumi.OutputState }

func (VPCNetworkInfoArrayOutput) ElementType

func (VPCNetworkInfoArrayOutput) ElementType() reflect.Type

func (VPCNetworkInfoArrayOutput) Index

func (VPCNetworkInfoArrayOutput) ToVPCNetworkInfoArrayOutput

func (o VPCNetworkInfoArrayOutput) ToVPCNetworkInfoArrayOutput() VPCNetworkInfoArrayOutput

func (VPCNetworkInfoArrayOutput) ToVPCNetworkInfoArrayOutputWithContext

func (o VPCNetworkInfoArrayOutput) ToVPCNetworkInfoArrayOutputWithContext(ctx context.Context) VPCNetworkInfoArrayOutput

type VPCNetworkInfoInput

type VPCNetworkInfoInput interface {
	pulumi.Input

	ToVPCNetworkInfoOutput() VPCNetworkInfoOutput
	ToVPCNetworkInfoOutputWithContext(context.Context) VPCNetworkInfoOutput
}

VPCNetworkInfoInput is an input type that accepts VPCNetworkInfoArgs and VPCNetworkInfoOutput values. You can construct a concrete instance of `VPCNetworkInfoInput` via:

VPCNetworkInfoArgs{...}

type VPCNetworkInfoOutput

type VPCNetworkInfoOutput struct{ *pulumi.OutputState }

func (VPCNetworkInfoOutput) CidrBlock

The CIDR block of the VPC.

func (VPCNetworkInfoOutput) ElementType

func (VPCNetworkInfoOutput) ElementType() reflect.Type

func (VPCNetworkInfoOutput) ToVPCNetworkInfoOutput

func (o VPCNetworkInfoOutput) ToVPCNetworkInfoOutput() VPCNetworkInfoOutput

func (VPCNetworkInfoOutput) ToVPCNetworkInfoOutputWithContext

func (o VPCNetworkInfoOutput) ToVPCNetworkInfoOutputWithContext(ctx context.Context) VPCNetworkInfoOutput

type VPCOutput

type VPCOutput struct {
	*pulumi.OutputState
}

func (VPCOutput) ElementType

func (VPCOutput) ElementType() reflect.Type

func (VPCOutput) ToVPCOutput

func (o VPCOutput) ToVPCOutput() VPCOutput

func (VPCOutput) ToVPCOutputWithContext

func (o VPCOutput) ToVPCOutputWithContext(ctx context.Context) VPCOutput

func (VPCOutput) ToVPCPtrOutput

func (o VPCOutput) ToVPCPtrOutput() VPCPtrOutput

func (VPCOutput) ToVPCPtrOutputWithContext

func (o VPCOutput) ToVPCPtrOutputWithContext(ctx context.Context) VPCPtrOutput

type VPCPeeringConnection

type VPCPeeringConnection struct {
	pulumi.CustomResourceState

	// The ID of accepter project of the specific VPC Peering Connection to retrieve.
	PeerProjectId pulumi.StringOutput `pulumi:"peerProjectId"`
	// The short ID of accepter VPC of the specific VPC Peering Connection to retrieve.
	PeerVpcId pulumi.StringOutput `pulumi:"peerVpcId"`
	// The short of ID of the requester VPC of the specific VPC Peering Connection to retrieve.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides an VPC Peering Connection for establishing a connection between multiple VPC.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := vpc.NewVPC(ctx, "foo", &vpc.VPCArgs{
			Tag: pulumi.String("tf-example"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("192.168.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		bar, err := vpc.NewVPC(ctx, "bar", &vpc.VPCArgs{
			Tag: pulumi.String("tf-example"),
			CidrBlocks: pulumi.StringArray{
				pulumi.String("10.10.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewVPCPeeringConnection(ctx, "connection", &vpc.VPCPeeringConnectionArgs{
			VpcId:     foo.ID(),
			PeerVpcId: bar.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetVPCPeeringConnection

func GetVPCPeeringConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VPCPeeringConnectionState, opts ...pulumi.ResourceOption) (*VPCPeeringConnection, error)

GetVPCPeeringConnection gets an existing VPCPeeringConnection 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 NewVPCPeeringConnection

func NewVPCPeeringConnection(ctx *pulumi.Context,
	name string, args *VPCPeeringConnectionArgs, opts ...pulumi.ResourceOption) (*VPCPeeringConnection, error)

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

func (*VPCPeeringConnection) ElementType

func (*VPCPeeringConnection) ElementType() reflect.Type

func (*VPCPeeringConnection) ToVPCPeeringConnectionOutput

func (i *VPCPeeringConnection) ToVPCPeeringConnectionOutput() VPCPeeringConnectionOutput

func (*VPCPeeringConnection) ToVPCPeeringConnectionOutputWithContext

func (i *VPCPeeringConnection) ToVPCPeeringConnectionOutputWithContext(ctx context.Context) VPCPeeringConnectionOutput

func (*VPCPeeringConnection) ToVPCPeeringConnectionPtrOutput

func (i *VPCPeeringConnection) ToVPCPeeringConnectionPtrOutput() VPCPeeringConnectionPtrOutput

func (*VPCPeeringConnection) ToVPCPeeringConnectionPtrOutputWithContext

func (i *VPCPeeringConnection) ToVPCPeeringConnectionPtrOutputWithContext(ctx context.Context) VPCPeeringConnectionPtrOutput

type VPCPeeringConnectionArgs

type VPCPeeringConnectionArgs struct {
	// The ID of accepter project of the specific VPC Peering Connection to retrieve.
	PeerProjectId pulumi.StringPtrInput
	// The short ID of accepter VPC of the specific VPC Peering Connection to retrieve.
	PeerVpcId pulumi.StringInput
	// The short of ID of the requester VPC of the specific VPC Peering Connection to retrieve.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VPCPeeringConnection resource.

func (VPCPeeringConnectionArgs) ElementType

func (VPCPeeringConnectionArgs) ElementType() reflect.Type

type VPCPeeringConnectionArray

type VPCPeeringConnectionArray []VPCPeeringConnectionInput

func (VPCPeeringConnectionArray) ElementType

func (VPCPeeringConnectionArray) ElementType() reflect.Type

func (VPCPeeringConnectionArray) ToVPCPeeringConnectionArrayOutput

func (i VPCPeeringConnectionArray) ToVPCPeeringConnectionArrayOutput() VPCPeeringConnectionArrayOutput

func (VPCPeeringConnectionArray) ToVPCPeeringConnectionArrayOutputWithContext

func (i VPCPeeringConnectionArray) ToVPCPeeringConnectionArrayOutputWithContext(ctx context.Context) VPCPeeringConnectionArrayOutput

type VPCPeeringConnectionArrayInput

type VPCPeeringConnectionArrayInput interface {
	pulumi.Input

	ToVPCPeeringConnectionArrayOutput() VPCPeeringConnectionArrayOutput
	ToVPCPeeringConnectionArrayOutputWithContext(context.Context) VPCPeeringConnectionArrayOutput
}

VPCPeeringConnectionArrayInput is an input type that accepts VPCPeeringConnectionArray and VPCPeeringConnectionArrayOutput values. You can construct a concrete instance of `VPCPeeringConnectionArrayInput` via:

VPCPeeringConnectionArray{ VPCPeeringConnectionArgs{...} }

type VPCPeeringConnectionArrayOutput

type VPCPeeringConnectionArrayOutput struct{ *pulumi.OutputState }

func (VPCPeeringConnectionArrayOutput) ElementType

func (VPCPeeringConnectionArrayOutput) Index

func (VPCPeeringConnectionArrayOutput) ToVPCPeeringConnectionArrayOutput

func (o VPCPeeringConnectionArrayOutput) ToVPCPeeringConnectionArrayOutput() VPCPeeringConnectionArrayOutput

func (VPCPeeringConnectionArrayOutput) ToVPCPeeringConnectionArrayOutputWithContext

func (o VPCPeeringConnectionArrayOutput) ToVPCPeeringConnectionArrayOutputWithContext(ctx context.Context) VPCPeeringConnectionArrayOutput

type VPCPeeringConnectionInput

type VPCPeeringConnectionInput interface {
	pulumi.Input

	ToVPCPeeringConnectionOutput() VPCPeeringConnectionOutput
	ToVPCPeeringConnectionOutputWithContext(ctx context.Context) VPCPeeringConnectionOutput
}

type VPCPeeringConnectionMap

type VPCPeeringConnectionMap map[string]VPCPeeringConnectionInput

func (VPCPeeringConnectionMap) ElementType

func (VPCPeeringConnectionMap) ElementType() reflect.Type

func (VPCPeeringConnectionMap) ToVPCPeeringConnectionMapOutput

func (i VPCPeeringConnectionMap) ToVPCPeeringConnectionMapOutput() VPCPeeringConnectionMapOutput

func (VPCPeeringConnectionMap) ToVPCPeeringConnectionMapOutputWithContext

func (i VPCPeeringConnectionMap) ToVPCPeeringConnectionMapOutputWithContext(ctx context.Context) VPCPeeringConnectionMapOutput

type VPCPeeringConnectionMapInput

type VPCPeeringConnectionMapInput interface {
	pulumi.Input

	ToVPCPeeringConnectionMapOutput() VPCPeeringConnectionMapOutput
	ToVPCPeeringConnectionMapOutputWithContext(context.Context) VPCPeeringConnectionMapOutput
}

VPCPeeringConnectionMapInput is an input type that accepts VPCPeeringConnectionMap and VPCPeeringConnectionMapOutput values. You can construct a concrete instance of `VPCPeeringConnectionMapInput` via:

VPCPeeringConnectionMap{ "key": VPCPeeringConnectionArgs{...} }

type VPCPeeringConnectionMapOutput

type VPCPeeringConnectionMapOutput struct{ *pulumi.OutputState }

func (VPCPeeringConnectionMapOutput) ElementType

func (VPCPeeringConnectionMapOutput) MapIndex

func (VPCPeeringConnectionMapOutput) ToVPCPeeringConnectionMapOutput

func (o VPCPeeringConnectionMapOutput) ToVPCPeeringConnectionMapOutput() VPCPeeringConnectionMapOutput

func (VPCPeeringConnectionMapOutput) ToVPCPeeringConnectionMapOutputWithContext

func (o VPCPeeringConnectionMapOutput) ToVPCPeeringConnectionMapOutputWithContext(ctx context.Context) VPCPeeringConnectionMapOutput

type VPCPeeringConnectionOutput

type VPCPeeringConnectionOutput struct {
	*pulumi.OutputState
}

func (VPCPeeringConnectionOutput) ElementType

func (VPCPeeringConnectionOutput) ElementType() reflect.Type

func (VPCPeeringConnectionOutput) ToVPCPeeringConnectionOutput

func (o VPCPeeringConnectionOutput) ToVPCPeeringConnectionOutput() VPCPeeringConnectionOutput

func (VPCPeeringConnectionOutput) ToVPCPeeringConnectionOutputWithContext

func (o VPCPeeringConnectionOutput) ToVPCPeeringConnectionOutputWithContext(ctx context.Context) VPCPeeringConnectionOutput

func (VPCPeeringConnectionOutput) ToVPCPeeringConnectionPtrOutput

func (o VPCPeeringConnectionOutput) ToVPCPeeringConnectionPtrOutput() VPCPeeringConnectionPtrOutput

func (VPCPeeringConnectionOutput) ToVPCPeeringConnectionPtrOutputWithContext

func (o VPCPeeringConnectionOutput) ToVPCPeeringConnectionPtrOutputWithContext(ctx context.Context) VPCPeeringConnectionPtrOutput

type VPCPeeringConnectionPtrInput

type VPCPeeringConnectionPtrInput interface {
	pulumi.Input

	ToVPCPeeringConnectionPtrOutput() VPCPeeringConnectionPtrOutput
	ToVPCPeeringConnectionPtrOutputWithContext(ctx context.Context) VPCPeeringConnectionPtrOutput
}

type VPCPeeringConnectionPtrOutput

type VPCPeeringConnectionPtrOutput struct {
	*pulumi.OutputState
}

func (VPCPeeringConnectionPtrOutput) ElementType

func (VPCPeeringConnectionPtrOutput) ToVPCPeeringConnectionPtrOutput

func (o VPCPeeringConnectionPtrOutput) ToVPCPeeringConnectionPtrOutput() VPCPeeringConnectionPtrOutput

func (VPCPeeringConnectionPtrOutput) ToVPCPeeringConnectionPtrOutputWithContext

func (o VPCPeeringConnectionPtrOutput) ToVPCPeeringConnectionPtrOutputWithContext(ctx context.Context) VPCPeeringConnectionPtrOutput

type VPCPeeringConnectionState

type VPCPeeringConnectionState struct {
	// The ID of accepter project of the specific VPC Peering Connection to retrieve.
	PeerProjectId pulumi.StringPtrInput
	// The short ID of accepter VPC of the specific VPC Peering Connection to retrieve.
	PeerVpcId pulumi.StringPtrInput
	// The short of ID of the requester VPC of the specific VPC Peering Connection to retrieve.
	VpcId pulumi.StringPtrInput
}

func (VPCPeeringConnectionState) ElementType

func (VPCPeeringConnectionState) ElementType() reflect.Type

type VPCPtrInput

type VPCPtrInput interface {
	pulumi.Input

	ToVPCPtrOutput() VPCPtrOutput
	ToVPCPtrOutputWithContext(ctx context.Context) VPCPtrOutput
}

type VPCPtrOutput

type VPCPtrOutput struct {
	*pulumi.OutputState
}

func (VPCPtrOutput) ElementType

func (VPCPtrOutput) ElementType() reflect.Type

func (VPCPtrOutput) ToVPCPtrOutput

func (o VPCPtrOutput) ToVPCPtrOutput() VPCPtrOutput

func (VPCPtrOutput) ToVPCPtrOutputWithContext

func (o VPCPtrOutput) ToVPCPtrOutputWithContext(ctx context.Context) VPCPtrOutput

type VPCState

type VPCState struct {
	// The CIDR blocks of VPC.
	CidrBlocks pulumi.StringArrayInput
	// The time of creation for VPC, formatted in RFC3339 time string.
	CreateTime pulumi.StringPtrInput
	Name       pulumi.StringPtrInput
	// It is a nested type which documented below.
	NetworkInfos VPCNetworkInfoArrayInput
	// The remarks of the VPC. (Default: `""`).
	Remark pulumi.StringPtrInput
	// A tag assigned to VPC, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
	Tag pulumi.StringPtrInput
	// The time whenever there is a change made to VPC, formatted in RFC3339 time string.
	UpdateTime pulumi.StringPtrInput
}

func (VPCState) ElementType

func (VPCState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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