vpc

package
v0.0.0-...-6ede62d Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subnet

type Subnet struct {
	// contains filtered or unexported fields
}

Provides a Subnet resource under VPC resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/subnet.html.markdown.

func GetSubnet

func GetSubnet(ctx *pulumi.Context,
	name string, id pulumi.ID, state *SubnetState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Subnet, error)

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

func (*Subnet) CidrBlock

func (r *Subnet) CidrBlock() *pulumi.StringOutput

The cidr block of the desired subnet, format in "0.0.0.0/0", such as: `192.168.0.0/24`.

func (*Subnet) CreateTime

func (r *Subnet) CreateTime() *pulumi.StringOutput

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

func (*Subnet) ID

func (r *Subnet) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Subnet) Name

func (r *Subnet) Name() *pulumi.StringOutput

func (*Subnet) Remark

func (r *Subnet) Remark() *pulumi.StringOutput

The remarks of the subnet. (Default: `""`).

func (*Subnet) Tag

func (r *Subnet) Tag() *pulumi.StringOutput

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`).

func (*Subnet) URN

func (r *Subnet) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Subnet) VpcId

func (r *Subnet) VpcId() *pulumi.StringOutput

The id of the VPC that the desired subnet belongs to.

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 interface{}
	Name      interface{}
	// The remarks of the subnet. (Default: `""`).
	Remark interface{}
	// 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 interface{}
	// The id of the VPC that the desired subnet belongs to.
	VpcId interface{}
}

The set of arguments for constructing a Subnet resource.

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 interface{}
	// The time of creation of subnet, formatted in RFC3339 time string.
	CreateTime interface{}
	Name       interface{}
	// The remarks of the subnet. (Default: `""`).
	Remark interface{}
	// 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 interface{}
	// The id of the VPC that the desired subnet belongs to.
	VpcId interface{}
}

Input properties used for looking up and filtering Subnet resources.

type Vpc

type Vpc struct {
	// contains filtered or unexported fields
}

Provides a VPC resource.

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

> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/vpc.html.markdown.

func GetVpc

func GetVpc(ctx *pulumi.Context,
	name string, id pulumi.ID, state *VpcState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Vpc, error)

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

func (*Vpc) CidrBlocks

func (r *Vpc) CidrBlocks() *pulumi.ArrayOutput

The CIDR blocks of VPC.

func (*Vpc) CreateTime

func (r *Vpc) CreateTime() *pulumi.StringOutput

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

func (*Vpc) ID

func (r *Vpc) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Vpc) Name

func (r *Vpc) Name() *pulumi.StringOutput

func (*Vpc) NetworkInfos

func (r *Vpc) NetworkInfos() *pulumi.ArrayOutput

It is a nested type which documented below.

func (*Vpc) Remark

func (r *Vpc) Remark() *pulumi.StringOutput

The remarks of the VPC. (Default: `""`).

func (*Vpc) Tag

func (r *Vpc) Tag() *pulumi.StringOutput

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`).

func (*Vpc) URN

func (r *Vpc) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Vpc) UpdateTime

func (r *Vpc) UpdateTime() *pulumi.StringOutput

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

type VpcArgs

type VpcArgs struct {
	// The CIDR blocks of VPC.
	CidrBlocks interface{}
	Name       interface{}
	// The remarks of the VPC. (Default: `""`).
	Remark interface{}
	// 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 interface{}
}

The set of arguments for constructing a Vpc resource.

type VpcPeeringConnection

type VpcPeeringConnection struct {
	// contains filtered or unexported fields
}

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

> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/vpc_peering_connection.html.markdown.

func GetVpcPeeringConnection

func GetVpcPeeringConnection(ctx *pulumi.Context,
	name string, id pulumi.ID, state *VpcPeeringConnectionState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*VpcPeeringConnection, error)

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

func (*VpcPeeringConnection) ID

ID is this resource's unique identifier assigned by its provider.

func (*VpcPeeringConnection) PeerProjectId

func (r *VpcPeeringConnection) PeerProjectId() *pulumi.StringOutput

The ID of accepter project of the specific VPC Peering Connection to retrieve.

func (*VpcPeeringConnection) PeerVpcId

func (r *VpcPeeringConnection) PeerVpcId() *pulumi.StringOutput

The short ID of accepter VPC of the specific VPC Peering Connection to retrieve.

func (*VpcPeeringConnection) URN

URN is this resource's unique name assigned by Pulumi.

func (*VpcPeeringConnection) VpcId

The short of ID of the requester VPC of the specific VPC Peering Connection to retrieve.

type VpcPeeringConnectionArgs

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

The set of arguments for constructing a VpcPeeringConnection resource.

type VpcPeeringConnectionState

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

Input properties used for looking up and filtering VpcPeeringConnection resources.

type VpcState

type VpcState struct {
	// The CIDR blocks of VPC.
	CidrBlocks interface{}
	// The time of creation for VPC, formatted in RFC3339 time string.
	CreateTime interface{}
	Name       interface{}
	// It is a nested type which documented below.
	NetworkInfos interface{}
	// The remarks of the VPC. (Default: `""`).
	Remark interface{}
	// 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 interface{}
	// The time whenever there is a change made to VPC, formatted in RFC3339 time string.
	UpdateTime interface{}
}

Input properties used for looking up and filtering Vpc resources.

Jump to

Keyboard shortcuts

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