zpa_gateways

package
v2.61.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) Create

func (service *Service) Create(rule *ZPAGateways) (*ZPAGateways, error)

func (*Service) Delete

func (service *Service) Delete(ruleID int) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(ruleID int) (*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 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"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL