Documentation ¶
Index ¶
- func GetPageSize() int
- func ReadAllPages[T any](client *zcon.Client, endpoint string, list *[]T) error
- func ReadPage[T any](client *zcon.Client, endpoint string, page int, list *[]T) error
- type DNS
- type ECInstances
- type ECVMLite
- type ECVMs
- type GeneralPurpose
- type IDNameExtensions
- type ManagementNw
- type Service
- type UIDNameLite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ECInstances ¶
type ECInstances struct { ServiceNw *ManagementNw `json:"serviceNw,omitempty"` VirtualNw *ManagementNw `json:"virtualNw,omitempty"` ECInstanceType string `json:"ecInstanceType,omitempty"` OutGwIp string `json:"outGwIp,omitempty"` NatIP string `json:"natIp,omitempty"` DNSIp string `json:"dnsIp,omitempty"` Name string `json:"name,omitempty"` ID int `json:"id,omitempty"` Flags string `json:"flags,omitempty"` RegisterTime int `json:"registerTime,omitempty"` }
type ECVMs ¶
type ECVMs struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` FormFactor string `json:"formFactor,omitempty"` CityGeoId int `json:"cityGeoId,omitempty"` NATIP string `json:"natIp,omitempty"` ZiaGateway string `json:"ziaGateway,omitempty"` ZpaBroker string `json:"zpaBroker,omitempty"` BuildVersion string `json:"buildVersion,omitempty"` LastUpgradeTime int `json:"lastUpgradeTime,omitempty"` UpgradeStatus int `json:"upgradeStatus,omitempty"` UpgradeStartTime int `json:"upgradeStartTime,omitempty"` UpgradeEndTime int `json:"upgradeEndTime,omitempty"` ManagementNw *ManagementNw `json:"managementNw,omitempty"` ECInstances []ECInstances `json:"ecInstances,omitempty"` }
type GeneralPurpose ¶
type GeneralPurpose struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` IsNameL10nTag bool `json:"isNameL10nTag,omitempty"` Extensions map[string]interface{} `json:"extensions,omitempty"` Deleted bool `json:"deleted,omitempty"` ExternalId string `json:"externalId,omitempty"` AssociationTime int `json:"associationTime,omitempty"` }
General purpose object. This is an immutable reference to an entity, which mainly consists of ID and name.
type IDNameExtensions ¶
type ManagementNw ¶
type ManagementNw struct { ID int `json:"id,omitempty"` IPStart string `json:"ipStart,omitempty"` IPEnd string `json:"ipEnd,omitempty"` Netmask string `json:"netmask,omitempty"` DefaultGateway string `json:"defaultGateway,omitempty"` NWType string `json:"nwType,omitempty"` DNS *DNS `json:"dns,omitempty"` }
type UIDNameLite ¶
Click to show internal directories.
Click to hide internal directories.