Documentation ¶
Index ¶
- type Common
- type Edge
- type EdgeDHCP
- type EdgeDHCPIPPool
- type EdgeDLRInterfaces
- func (edlr EdgeDLRInterfaces) Delete(edgeId string, index ...string) error
- func (edlr EdgeDLRInterfaces) Get(edgeId string) (*nsxtypes.EdgeDLRAddInterfacesResp, error)
- func (edlr EdgeDLRInterfaces) Post(interfaces *nsxtypes.EdgeDLRAddInterfacesSpec, edgeId string) (*nsxtypes.EdgeDLRAddInterfacesResp, error)
- type Network
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type Edge struct {
Common
}
func (Edge) Post ¶
func (e Edge) Post(edgeSpec *nsxtypes.EdgeInstallSpec) (*nsxtypes.EdgePostResp, error)
POST Method for a NSX Edge
type EdgeDHCP ¶
type EdgeDHCP struct {
Common
}
func NewEdgeDHCP ¶
type EdgeDHCPIPPool ¶
type EdgeDHCPIPPool struct {
Common
}
func NewEdgeDHCPIPPool ¶
func NewEdgeDHCPIPPool(c *govnsx.Client) *EdgeDHCPIPPool
func (EdgeDHCPIPPool) Delete ¶
func (ed EdgeDHCPIPPool) Delete(edgeId string, ipPoolId string) error
DELETE Method to delete IP Pool from DHCP configuration
func (EdgeDHCPIPPool) Post ¶
func (ed EdgeDHCPIPPool) Post(ipPool *nsxtypes.IPPool, edgeId string) ( *nsxtypes.AddIPPoolToDHCPServiceResp, error)
POST Method to add IP Pool into DHCP configuration
type EdgeDLRInterfaces ¶
type EdgeDLRInterfaces struct {
Common
}
func NewEdgeDLRInterfaces ¶
func NewEdgeDLRInterfaces(c *govnsx.Client) *EdgeDLRInterfaces
func (EdgeDLRInterfaces) Delete ¶
func (edlr EdgeDLRInterfaces) Delete(edgeId string, index ...string) error
DELETE method to remove Interface
func (EdgeDLRInterfaces) Get ¶
func (edlr EdgeDLRInterfaces) Get(edgeId string) (*nsxtypes.EdgeDLRAddInterfacesResp, error)
DLR modular APIs
func (EdgeDLRInterfaces) Post ¶
func (edlr EdgeDLRInterfaces) Post(interfaces *nsxtypes.EdgeDLRAddInterfacesSpec, edgeId string) (*nsxtypes.EdgeDLRAddInterfacesResp, error)
POST Method to add Interfaces
type Network ¶
type Network struct {
Common
}
func NewNetwork ¶
func (Network) Get ¶
func (n Network) Get(location string) (*nsxtypes.VirtualWire, error)
GET Method for a NSX network - VirtualWire
func (Network) Post ¶
func (n Network) Post(vwSpec *nsxtypes.VWCreateSpec, scopeId string) (*nsxtypes.VWPostResp, error)
POST Method for a NSX network - VirtualWire
Click to show internal directories.
Click to hide internal directories.