eip

package
v0.0.0-...-63319d1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BgpTypeDynamic BgpType = "5_bgp" // Dynamic BGP

	BandwidthTypeDedicated BandwidthType = "PER"   // Dedicated bandwidth
	BandwidthTypeShared    BandwidthType = "WHOLE" // Shared bandwidth

	ChargeModeTraffic   ChargeMode = "traffic"   // Billing based on traffic
	ChargeModeBandwidth ChargeMode = "bandwidth" // Billing based on bandwidth

	EipStatusDown   EipStatus = "DOWN"
	EipStatusActive EipStatus = "ACTIVE"

	NormalizeStatusBound   NormalizeStatus = "BOUND"
	NormalizeStatusUnbound NormalizeStatus = "UNBOUND"
)
View Source
const (
	DefaultBandWidthSize = 5
)

Variables

This section is empty.

Functions

func DataSourceBandWidth

func DataSourceBandWidth() *schema.Resource

func DataSourceVpcEip

func DataSourceVpcEip() *schema.Resource

func DataSourceVpcEips

func DataSourceVpcEips() *schema.Resource

func NormalizeEipStatus

func NormalizeEipStatus(status string) string

NormalizeEipStatus is a method to change an incomprehensible status into an easy-to-understand status.

func ResourceBandWidthAssociate

func ResourceBandWidthAssociate() *schema.Resource

func ResourceEIPAssociate

func ResourceEIPAssociate() *schema.Resource

ResourceEIPAssociate is the impl for hcs_vpc_eip_associate resource

func ResourceVpcBandWidthV2

func ResourceVpcBandWidthV2() *schema.Resource

func ResourceVpcEIPV1

func ResourceVpcEIPV1() *schema.Resource

Types

type BandwidthType

type BandwidthType string // The bandwidth type bound by EIP.

type BgpType

type BgpType string // The BGP type of the public IP.

type ChargeMode

type ChargeMode string // The charging mode of the bandwidth.

type EipStatus

type EipStatus string // The current status of the EIP.

type IpVersion

type IpVersion int // The Version of the EIP protocol.

type NormalizeStatus

type NormalizeStatus string // The Normalized status value.

Jump to

Keyboard shortcuts

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