Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, gatewayID int) (*http.Response, error)
- type ZPAAppSegments
- type ZPAGateways
- func Create(ctx context.Context, service *zscaler.Service, rule *ZPAGateways) (*ZPAGateways, error)
- func Get(ctx context.Context, service *zscaler.Service, gatewayID int) (*ZPAGateways, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]ZPAGateways, error)
- func GetByName(ctx context.Context, service *zscaler.Service, ruleName string) (*ZPAGateways, error)
- func Update(ctx context.Context, service *zscaler.Service, gatewayID int, ...) (*ZPAGateways, error)
- type ZPAServerGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZPAAppSegments ¶
type ZPAAppSegments struct { // Identifier that uniquely identifies an entity ID int `json:"id,omitempty"` // The name of the Application Segment Name string `json:"name,omitempty"` // An external identifier used for an entity that is managed outside of ZIA. // Examples include zpaServerGroup and zpaAppSegments. // This field is not applicable to ZIA-managed entities. ExternalID string `json:"externalId,omitempty"` Extensions map[string]interface{} `json:"extensions,omitempty"` }
All the Application Segments that are associated with the selected ZPA Server Group for which Source IP Anchoring is enabled
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 details about the ZPA gateway 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"` }
func Create ¶
func Create(ctx context.Context, service *zscaler.Service, rule *ZPAGateways) (*ZPAGateways, error)
func Update ¶
func Update(ctx context.Context, service *zscaler.Service, gatewayID int, rules *ZPAGateways) (*ZPAGateways, error)
type ZPAServerGroup ¶
type ZPAServerGroup struct { // Identifier that uniquely identifies an entity ID int `json:"id,omitempty"` // The name of the Application Segment Name string `json:"name,omitempty"` // An external identifier used for an entity that is managed outside of ZIA. // Examples include zpaServerGroup and zpaAppSegments. // This field is not applicable to ZIA-managed entities. ExternalID string `json:"externalId,omitempty"` Extensions map[string]interface{} `json:"extensions,omitempty"` }
The ZPA Server Group that is configured for Source IP Anchoring
Click to show internal directories.
Click to hide internal directories.