udpn

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UdpnConnection

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

UDPN (UCloud Dedicated Private Network),you can use Dedicated Private Network to achieve high-speed, stable, secure, and dedicated communications between different data centers. The most frequent scenario is to create network connection of clusters across regions.

> **VPC Peering Connections with UDPN Connection** The cross-region Dedicated Private Network must be established if the two VPCs located in different regions are expected to be connected.

> **Note** The additional packet head will be added and included in the overall length of packet due to the tunneling UDPN adopted. Since the number of the bytes of packet head is fixed, the bigger data packet is, the less usage will be taken for the packet head.

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

func GetUdpnConnection

func GetUdpnConnection(ctx *pulumi.Context,
	name string, id pulumi.ID, state *UdpnConnectionState, opts ...pulumi.ResourceOpt) (*UdpnConnection, error)

GetUdpnConnection gets an existing UdpnConnection 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 NewUdpnConnection

func NewUdpnConnection(ctx *pulumi.Context,
	name string, args *UdpnConnectionArgs, opts ...pulumi.ResourceOpt) (*UdpnConnection, error)

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

func (*UdpnConnection) Bandwidth

func (r *UdpnConnection) Bandwidth() *pulumi.IntOutput

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). range from 2 - 1000M. The default value is "1"

func (*UdpnConnection) ChargeType

func (r *UdpnConnection) ChargeType() *pulumi.StringOutput

Charge type. Possible values are: "year" as pay by year, "month" as pay by month, "dynamic" as pay by hour. The default value is "month".

func (*UdpnConnection) CreateTime

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

The time of creation for UDPN connection, formatted by RFC3339 time string.

func (*UdpnConnection) Duration

func (r *UdpnConnection) Duration() *pulumi.IntOutput

The duration that you will buy the resource, the default value is "1". It is not required when "dynamic" (pay by hour), the value is "0" when pay by month and the instance will be valid till the last day of that month.

func (*UdpnConnection) ExpireTime

func (r *UdpnConnection) ExpireTime() *pulumi.StringOutput

The expiration time for UDPN connection, formatted by RFC3339 time string.

func (*UdpnConnection) ID

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

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

func (*UdpnConnection) PeerRegion

func (r *UdpnConnection) PeerRegion() *pulumi.StringOutput

The correspondent region of dedicated connection, please refer to the region and [availability zone list](https://docs.ucloud.cn/api/summary/regionlist) and [UDPN price list](https://docs.ucloud.cn/network/udpn/udpn_price).

func (*UdpnConnection) URN

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

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

type UdpnConnectionArgs

type UdpnConnectionArgs struct {
	// Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). range from 2 - 1000M. The default value is "1"
	Bandwidth interface{}
	// Charge type. Possible values are: "year" as pay by year, "month" as pay by month, "dynamic" as pay by hour. The default value is "month".
	ChargeType interface{}
	// The duration that you will buy the resource, the default value is "1". It is not required when "dynamic" (pay by hour), the value is "0" when pay by month and the instance will be valid till the last day of that month.
	Duration interface{}
	// The correspondent region of dedicated connection, please refer to the region and [availability zone list](https://docs.ucloud.cn/api/summary/regionlist) and [UDPN price list](https://docs.ucloud.cn/network/udpn/udpn_price).
	PeerRegion interface{}
}

The set of arguments for constructing a UdpnConnection resource.

type UdpnConnectionState

type UdpnConnectionState struct {
	// Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). range from 2 - 1000M. The default value is "1"
	Bandwidth interface{}
	// Charge type. Possible values are: "year" as pay by year, "month" as pay by month, "dynamic" as pay by hour. The default value is "month".
	ChargeType interface{}
	// The time of creation for UDPN connection, formatted by RFC3339 time string.
	CreateTime interface{}
	// The duration that you will buy the resource, the default value is "1". It is not required when "dynamic" (pay by hour), the value is "0" when pay by month and the instance will be valid till the last day of that month.
	Duration interface{}
	// The expiration time for UDPN connection, formatted by RFC3339 time string.
	ExpireTime interface{}
	// The correspondent region of dedicated connection, please refer to the region and [availability zone list](https://docs.ucloud.cn/api/summary/regionlist) and [UDPN price list](https://docs.ucloud.cn/network/udpn/udpn_price).
	PeerRegion interface{}
}

Input properties used for looking up and filtering UdpnConnection resources.

Jump to

Keyboard shortcuts

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