resource_megaport

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CannotChangeHostedConnectionRateError = "you cannot update the rate limit on an AWSHC, create a new resource. If you create a new resource, it will need a new vLAN"
View Source
const CannotSetVIFError = "unable to set the VIF id correctly"
View Source
const InvalidPartnerBEnd = "unable to find a matching partner Megaport for the specified product"
View Source
const MultipleCSPError = "multiple csp_settings are not supported"
View Source
const NoMatchingPartnerPortsAtLocationError = "no matching partner ports at that location"
View Source
const PortNotLockedError = "the port has not been locked, modification failed"
View Source
const PortNotUnlockedError = "the port was not able to be unlocked, modification failed"
View Source
const TooManyPartnerPortsError = "too many results returned, please add more filter properties"

Variables

This section is empty.

Functions

func FetchMVEDetails added in v0.4.1

func FetchMVEDetails(mve *mve.MVE, d *schema.ResourceData) (*types.MVE, error)

func MVEPopulateBaseResourceData added in v0.4.1

func MVEPopulateBaseResourceData(details *types.MVE, d *schema.ResourceData)

func MarshallMcrAEndConfig added in v0.2.5

func MarshallMcrAEndConfig(d *schema.ResourceData, m interface{}) (*types.PartnerConfigInterface, error)

func MegaportAWSConnection

func MegaportAWSConnection() *schema.Resource

func MegaportAzureConnection

func MegaportAzureConnection() *schema.Resource

func MegaportGcpConnection

func MegaportGcpConnection() *schema.Resource

func MegaportMCR added in v0.4.0

func MegaportMCR() *schema.Resource

func MegaportMVE added in v0.4.0

func MegaportMVE() *schema.Resource

func MegaportOciConnection added in v0.2.10

func MegaportOciConnection() *schema.Resource

func MegaportPort

func MegaportPort() *schema.Resource

func MegaportVXC

func MegaportVXC() *schema.Resource

func ResourceMegaportVXCCreate_generate_AEnd added in v0.2.0

func ResourceMegaportVXCCreate_generate_AEnd(d *schema.ResourceData, m interface{}) (types.VXCOrderAEndConfiguration, string, error)

func ResourceMegaportVXCDelete

func ResourceMegaportVXCDelete(d *schema.ResourceData, m interface{}) error

func ResourceMegaportVXCRead

func ResourceMegaportVXCRead(d *schema.ResourceData, m interface{}) error

func ResourceMegaportVXCUpdate

func ResourceMegaportVXCUpdate(d *schema.ResourceData, m interface{}) error

TODO: See if we can do a .HasChange on the subitem for vlans.

** This is the expected behaviour of StackSet - the item is hashed and changes are across
** the whole StackSet. I need to think about the structure of data to pick up the modifications better.

Types

This section is empty.

Jump to

Keyboard shortcuts

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