zpa_gateways

package
v3.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, service *zscaler.Service, gatewayID int) (*http.Response, error)

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 Get

func Get(ctx context.Context, service *zscaler.Service, gatewayID int) (*ZPAGateways, error)

func GetAll

func GetAll(ctx context.Context, service *zscaler.Service) ([]ZPAGateways, error)

func GetByName

func GetByName(ctx context.Context, service *zscaler.Service, ruleName string) (*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

Jump to

Keyboard shortcuts

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