nsx

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MPL-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EdgeTypeGatewayServices   = "gatewayServices"
	EdgeTypeDistributedRouter = "distributedRouter"

	EdgeApplianceSizeCompact   = "compact"
	EdgeApplianceSizeLarge     = "large"
	EdgeApplianceSizeQuadLarge = "quadlarge"
	EdgeApplianceSizeXtraLarge = "xlarge"
)
View Source
const (
	DLRResourceIdPrefix   = "dlr-"
	InterfaceTypeInternal = "internal"
	InterfaceTypeUplink   = "uplink"
)
View Source
const (
	DHCPResourceIdPrefix = "dhcp-"
)

Variables

This section is empty.

Functions

func NewVWCreateSpec

func NewVWCreateSpec(d *schema.ResourceData) *nsxtypes.VWCreateSpec

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Config

type Config struct {
	User          string
	Password      string
	NsxManagerUri string
	UserAgentName string
	InsecureFlag  bool
	Debug         bool
	DebugPath     string
	DebugPathRun  string
}

func (*Config) Client

func (c *Config) Client() (*govnsx.Client, error)

Client() returns a new client for accessing NSX manager

func (*Config) EnableDebug

func (c *Config) EnableDebug() error

Jump to

Keyboard shortcuts

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