Documentation
¶
Index ¶
- Constants
- func DataSourceBandWidth() *schema.Resource
- func DataSourceVpcEip() *schema.Resource
- func DataSourceVpcEips() *schema.Resource
- func NormalizeEipStatus(status string) string
- func ResourceBandWidthAssociate() *schema.Resource
- func ResourceEIPAssociate() *schema.Resource
- func ResourceVpcBandWidthV2() *schema.Resource
- func ResourceVpcEIPV1() *schema.Resource
- type BandwidthType
- type BgpType
- type ChargeMode
- type EipStatus
- type IpVersion
- type NormalizeStatus
Constants ¶
View Source
const ( BgpTypeDynamic BgpType = "5_bgp" // Dynamic BGP BandwidthTypeDedicated BandwidthType = "PER" // Dedicated 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 DataSourceVpcEip ¶
func DataSourceVpcEips ¶
func NormalizeEipStatus ¶
NormalizeEipStatus is a method to change an incomprehensible status into an easy-to-understand status.
func ResourceEIPAssociate ¶
ResourceEIPAssociate is the impl for hcs_vpc_eip_associate resource
func ResourceVpcBandWidthV2 ¶
func ResourceVpcEIPV1 ¶
Types ¶
type BandwidthType ¶
type BandwidthType string // The bandwidth type bound by EIP.
type ChargeMode ¶
type ChargeMode string // The charging mode of the bandwidth.
type NormalizeStatus ¶
type NormalizeStatus string // The Normalized status value.
Click to show internal directories.
Click to hide internal directories.