networkzones

package
v1.58.6 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FallbackModes = struct {
	AnyActiveGate   FallbackMode
	None            FallbackMode
	OnlyDefaultZone FallbackMode
}{
	"ANY_ACTIVE_GATE",
	"NONE",
	"ONLY_DEFAULT_ZONE",
}

Functions

This section is empty.

Types

type FallbackMode

type FallbackMode string

type NetworkZone

type NetworkZone struct {
	ID                           *string       `json:"id,omitempty"` // The ID of the network zone
	NetworkZoneName              *string       `json:"-"`
	Description                  *string       `json:"description,omitempty"`                  // A short description of the network zone
	AltZones                     []string      `json:"alternativeZones,omitempty"`             // A list of alternative network zones.
	FallbackMode                 *FallbackMode `json:"fallbackMode,omitempty"`                 // The fallback mode of the network zone.
	NumOfOneAgentsFromOtherZones *int          `json:"numOfOneAgentsFromOtherZones,omitempty"` // The number of OneAgents from other network zones that are using ActiveGates in the network zone.
	NumOfOneAgentsUsing          *int          `json:"numOfOneAgentsUsing,omitempty"`          // The number of OneAgents that are using ActiveGates in the network zone.
	NumofConfiguredActiveGates   *int          `json:"numOfConfiguredActiveGates,omitempty"`   // The number of ActiveGates in the network zone.
	NumOfConfiguredOneAgents     *int          `json:"numOfConfiguredOneAgents,omitempty"`     // The number of OneAgents that are configured to use the network zone as primary.
}

NetworkZone TODO: documentation

func (*NetworkZone) MarshalHCL

func (me *NetworkZone) MarshalHCL(properties hcl.Properties) error

func (*NetworkZone) Name

func (me *NetworkZone) Name() string

func (*NetworkZone) PrepareMarshalHCL

func (me *NetworkZone) PrepareMarshalHCL(decoder hcl.Decoder) error

func (*NetworkZone) Schema

func (me *NetworkZone) Schema() map[string]*schema.Schema

func (*NetworkZone) UnmarshalHCL

func (me *NetworkZone) UnmarshalHCL(decoder hcl.Decoder) error

type NetworkZones

type NetworkZones struct {
	Zones []NetworkZone `json:"networkZones"`
}

Jump to

Keyboard shortcuts

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