eip

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MPL-2.0 Imports: 27 Imported by: 4

Documentation

Index

Constants

View Source
const (
	DefaultBandWidthChargeMode = "bandwidth"
	DefaultBandWidthSize       = 5
)
View Source
const (
	BgpTypeDynamic BgpType = "5_bgp" // Dynamic BGP

	IpVersionV4 IpVersion = 4 // IPv4
	IpVersionV6 IpVersion = 6 // IPv6

	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"
)

Variables

This section is empty.

Functions

func DataSourceBandWidth

func DataSourceBandWidth() *schema.Resource

func DataSourceBandWidths added in v1.61.0

func DataSourceBandWidths() *schema.Resource

@API EIP GET /v1/{project_id}/bandwidths

func DataSourceGlobalEIPAccessSites added in v1.61.0

func DataSourceGlobalEIPAccessSites() *schema.Resource

@API EIP GET /v3/{domain_id}/geip/access-sites

func DataSourceGlobalEIPPools added in v1.61.0

func DataSourceGlobalEIPPools() *schema.Resource

@API EIP GET /v3/{domain_id}/geip/geip-pools

func DataSourceVpcEip

func DataSourceVpcEip() *schema.Resource

func DataSourceVpcEips

func DataSourceVpcEips() *schema.Resource

func NormalizeEipStatus added in v1.43.0

func NormalizeEipStatus(status string) string

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

func ResourceBandWidthAssociate added in v1.51.0

func ResourceBandWidthAssociate() *schema.Resource

func ResourceEIPAssociate

func ResourceEIPAssociate() *schema.Resource

ResourceEIPAssociate is the impl for huaweicloud_vpc_eip_associate resource

func ResourceGlobalEIP added in v1.61.0

func ResourceGlobalEIP() *schema.Resource

@API EIP POST /v3/{domain_id}/global-eips @API EIP DELETE /v3/{domain_id}/global-eips/{id} @API EIP GET /v3/{domain_id}/global-eips/{id} @API EIP PUT /v3/{domain_id}/global-eips/{id} @API EIP POST /v3/global-eip/{resource_id}/tags/delete @API EIP POST /v3/global-eip/{resource_id}/tags/create

func ResourceGlobalInternetBandwidth added in v1.61.0

func ResourceGlobalInternetBandwidth() *schema.Resource

@API EIP POST /v3/{domain_id}/geip/internet-bandwidths @API EIP DELETE /v3/{domain_id}/geip/internet-bandwidths/{id} @API EIP GET /v3/{domain_id}/geip/internet-bandwidths/{id} @API EIP PUT /v3/{domain_id}/geip/internet-bandwidths/{id} @API EIP POST /v3/internet-bandwidth/{resource_id}/tags/delete @API EIP POST /v3/internet-bandwidth/{resource_id}/tags/create

func ResourceVpcBandWidthV1 added in v1.58.0

func ResourceVpcBandWidthV1() *schema.Resource

ResourceVpcBandWidthV1 Add resource bandwidth with update function calls v1 API to support provider which only published v1 API to update the bandwidth.

func ResourceVpcBandWidthV2

func ResourceVpcBandWidthV2() *schema.Resource

func ResourceVpcEIPV1

func ResourceVpcEIPV1() *schema.Resource

In order to be compatible with other providers, keep the exposed function name (ResourceVpcEIPV1) unchanged.

Types

type BandwidthType added in v1.43.0

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

type BgpType added in v1.43.0

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

type ChargeMode added in v1.43.0

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

type EipStatus added in v1.43.0

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

type IpVersion added in v1.43.0

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

type NormalizeStatus added in v1.43.0

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