Documentation ¶
Index ¶
- type Service
- func (service *Service) Create(rule *ZPAGateways) (*ZPAGateways, error)
- func (service *Service) Delete(ruleID int) (*http.Response, error)
- func (service *Service) Get(ruleID int) (*ZPAGateways, error)
- func (service *Service) GetAll() ([]ZPAGateways, error)
- func (service *Service) GetByName(ruleName string) (*ZPAGateways, error)
- func (service *Service) Update(ruleID int, rules *ZPAGateways) (*ZPAGateways, error)
- type ZPAAppSegments
- type ZPAGateways
- type ZPAServerGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(rule *ZPAGateways) (*ZPAGateways, error)
func (*Service) GetAll ¶
func (service *Service) GetAll() ([]ZPAGateways, error)
func (*Service) GetByName ¶
func (service *Service) GetByName(ruleName string) (*ZPAGateways, error)
func (*Service) Update ¶
func (service *Service) Update(ruleID int, rules *ZPAGateways) (*ZPAGateways, error)
type ZPAAppSegments ¶
type ZPAGateways ¶
type ZPAGateways struct { // A unique identifier assigned to the ZPA gateway ID int `json:"id"` // The name of the ZPA gateway Name string `json:"name,omitempty"` // Additional information about the rule Description string `json:"description,omitempty"` // The ZPA Server Group that is configured for Source IP Anchoring ZPAServerGroup ZPAServerGroup `json:"zpaServerGroup,omitempty"` // All the Application Segments that are associated with the selected ZPA Server Group for which Source IP Anchoring is enabled ZPAAppSegments []ZPAAppSegments `json:"zpaAppSegments,omitempty"` // The ID of the ZPA tenant where Source IP Anchoring is configured ZPATenantId int `json:"zpaTenantId,omitempty"` // Information about the admin user that last modified the ZPA gateway LastModifiedBy *common.IDNameExtensions `json:"lastModifiedBy,omitempty"` // Timestamp when the ZPA gateway was last modified LastModifiedTime int `json:"lastModifiedTime,omitempty"` // Indicates whether the ZPA gateway is configured for Zscaler Internet Access (using option ZPA) or Zscaler Cloud Connector (using option ECZPA) // Supported Values: "ZPA", "ECZPA" Type string `json:"type"` }
type ZPAServerGroup ¶
Click to show internal directories.
Click to hide internal directories.