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) UnmarshalHCL ¶
func (me *NetworkZone) UnmarshalHCL(decoder hcl.Decoder) error
type NetworkZones ¶
type NetworkZones struct {
Zones []NetworkZone `json:"networkZones"`
}
Click to show internal directories.
Click to hide internal directories.