Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, groupId string) (*http.Response, error)
- func Update(ctx context.Context, service *zscaler.Service, groupId string, ...) (*http.Response, error)
- type AppConnectorGroups
- type AppServerGroups
- type ApplicationServer
- type Applications
- type Connectors
- type ServerGroup
- func Create(ctx context.Context, service *zscaler.Service, serverGroup *ServerGroup) (*ServerGroup, *http.Response, error)
- func Get(ctx context.Context, service *zscaler.Service, groupID string) (*ServerGroup, *http.Response, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]ServerGroup, *http.Response, error)
- func GetByName(ctx context.Context, service *zscaler.Service, serverGroupName string) (*ServerGroup, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppConnectorGroups ¶
type AppConnectorGroups struct { Citycountry string `json:"cityCountry,omitempty"` CountryCode string `json:"countryCode,omitempty"` CreationTime string `json:"creationTime,omitempty"` Description string `json:"description,omitempty"` DnsqueryType string `json:"dnsQueryType,omitempty"` Enabled bool `json:"enabled"` GeolocationID string `json:"geoLocationId,omitempty"` ID string `json:"id,omitempty"` Latitude string `json:"latitude,omitempty"` Location string `json:"location,omitempty"` Longitude string `json:"longitude,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name"` SiemAppconnectorGroup bool `json:"siemAppConnectorGroup"` UpgradeDay string `json:"upgradeDay,omitempty"` UpgradeTimeinSecs string `json:"upgradeTimeInSecs,omitempty"` VersionProfileID string `json:"versionProfileId,omitempty"` AppServerGroups []AppServerGroups `json:"serverGroups,omitempty"` Connectors []Connectors `json:"connectors,omitempty"` }
type AppServerGroups ¶
type AppServerGroups struct { ConfigSpace string `json:"configSpace,omitempty"` CreationTime string `json:"creationTime,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled"` ID string `json:"id,omitempty"` DynamicDiscovery bool `json:"dynamicDiscovery"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name"` }
type ApplicationServer ¶
type ApplicationServer struct { Address string `json:"address,omitempty"` AppServerGroupIds []string `json:"appServerGroupIds,omitempty"` ConfigSpace string `json:"configSpace,omitempty"` CreationTime string `json:"creationTime,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled"` ID string `json:"id,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name"` }
type Applications ¶
type Connectors ¶
type Connectors struct { ApplicationStartTime string `json:"applicationStartTime,omitempty"` AppConnectorGroupID string `json:"appConnectorGroupId,omitempty"` AppConnectorGroupName string `json:"appConnectorGroupName,omitempty"` ControlChannelStatus string `json:"controlChannelStatus,omitempty"` CreationTime string `json:"creationTime,omitempty"` CtrlBrokerName string `json:"ctrlBrokerName,omitempty"` CurrentVersion string `json:"currentVersion,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled"` ExpectedUpgradeTime string `json:"expectedUpgradeTime,omitempty"` ExpectedVersion string `json:"expectedVersion,omitempty"` Fingerprint string `json:"fingerprint,omitempty"` ID string `json:"id,omitempty"` IPACL []string `json:"ipAcl,omitempty"` IssuedCertID string `json:"issuedCertId,omitempty"` LastBrokerConnecttime string `json:"lastBrokerConnectTime,omitempty"` LastBrokerDisconnectTime string `json:"lastBrokerDisconnectTime,omitempty"` LastUpgradeTime string `json:"lastUpgradeTime,omitempty"` Latitude float64 `json:"latitude,omitempty"` Location string `json:"location,omitempty"` Longitude float64 `json:"longitude,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name"` Platform string `json:"platform,omitempty"` PreviousVersion string `json:"previousVersion,omitempty"` PrivateIP string `json:"privateIp,omitempty"` PublicIP string `json:"publicIp,omitempty"` SigningCert map[string]interface{} `json:"signingCert,omitempty"` UpgradeAttempt string `json:"upgradeAttempt,omitempty"` UpgradeStatus string `json:"upgradeStatus,omitempty"` }
type ServerGroup ¶
type ServerGroup struct { ID string `json:"id,omitempty"` Enabled bool `json:"enabled"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` IpAnchored bool `json:"ipAnchored"` ConfigSpace string `json:"configSpace,omitempty"` DynamicDiscovery bool `json:"dynamicDiscovery"` CreationTime string `json:"creationTime,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` MicroTenantID string `json:"microtenantId,omitempty"` MicroTenantName string `json:"microtenantName,omitempty"` AppConnectorGroups []appconnectorgroup.AppConnectorGroup `json:"appConnectorGroups"` Servers []appservercontroller.ApplicationServer `json:"servers"` Applications []Applications `json:"applications"` }
func Create ¶
func Create(ctx context.Context, service *zscaler.Service, serverGroup *ServerGroup) (*ServerGroup, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.