serviceedgecontroller

package
v3.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BulkDelete

func BulkDelete(ctx context.Context, service *zscaler.Service, serviceEdgeIDs []string) (*http.Response, error)

BulkDelete Bulk deletes the Service Edge.

func Delete

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

Delete Deletes the Service Edge for the specified ID.

Types

type AssistantSchedule

type AssistantSchedule struct {
	// The unique identifier for the Service Edge Controller auto deletion configuration for a customer. This field is only required for the PUT request to update the frequency of the App Connector Settings.
	ID string `json:"id,omitempty"`

	// The unique identifier of the ZPA tenant.
	CustomerID string `json:"customerId"`

	// Indicates if the Service Edge Controller are included for deletion if they are in a disconnected state based on frequencyInterval and frequency values.
	DeleteDisabled bool `json:"deleteDisabled"`

	// Indicates if the setting for deleting Service Edge Controller is enabled or disabled.
	Enabled bool `json:"enabled"`

	// The scheduled frequency at which the disconnected Service Edge Controller are deleted.
	Frequency string `json:"frequency"`

	// The interval for the configured frequency value. The minimum supported value is 5.
	FrequencyInterval string `json:"frequencyInterval"`
}

type BulkDeleteRequest

type BulkDeleteRequest struct {
	IDs []string `json:"ids"`
}

type PrivateBrokerVersion added in v3.0.1

type PrivateBrokerVersion struct {
	ID                      string                       `json:"id,omitempty"`
	ApplicationStartTime    string                       `json:"applicationStartTime,omitempty"`
	BrokerId                string                       `json:"brokerId,omitempty"`
	CreationTime            string                       `json:"creationTime,omitempty"`
	CtrlChannelStatus       string                       `json:"ctrlChannelStatus,omitempty"`
	CurrentVersion          string                       `json:"currentVersion,omitempty"`
	DisableAutoUpdate       bool                         `json:"disableAutoUpdate,omitempty"`
	LastConnectTime         string                       `json:"lastConnectTime,omitempty"`
	LastDisconnectTime      string                       `json:"lastDisconnectTime,omitempty"`
	LastUpgradedTime        string                       `json:"lastUpgradedTime,omitempty"`
	LoneWarrior             bool                         `json:"loneWarrior,omitempty"`
	ModifiedBy              string                       `json:"modifiedBy,omitempty"`
	ModifiedTime            string                       `json:"modifiedTime,omitempty"`
	Platform                string                       `json:"platform,omitempty"`
	PlatformDetail          string                       `json:"platformDetail,omitempty"`
	PreviousVersion         string                       `json:"previousVersion,omitempty"`
	ServiceEdgeGroupID      string                       `json:"serviceEdgeGroupId,omitempty"`
	PrivateIP               string                       `json:"privateIp,omitempty"`
	PublicIP                string                       `json:"publicIp,omitempty"`
	RestartInstructions     string                       `json:"restartInstructions,omitempty"`
	RestartTimeInSec        string                       `json:"restartTimeInSec,omitempty"`
	RuntimeOS               string                       `json:"runtimeOS,omitempty"`
	SargeVersion            string                       `json:"sargeVersion,omitempty"`
	SystemStartTime         string                       `json:"systemStartTime,omitempty"`
	TunnelId                string                       `json:"tunnelId,omitempty"`
	UpgradeAttempt          string                       `json:"upgradeAttempt,omitempty"`
	UpgradeStatus           string                       `json:"upgradeStatus,omitempty"`
	UpgradeNowOnce          bool                         `json:"upgradeNowOnce,omitempty"`
	ZPNSubModuleUpgradeList []common.ZPNSubModuleUpgrade `json:"zpnSubModuleUpgradeList,omitempty"`
}

type ServiceEdgeController

type ServiceEdgeController struct {
	ApplicationStartTime             string                 `json:"applicationStartTime,omitempty"`
	ServiceEdgeGroupID               string                 `json:"serviceEdgeGroupId,omitempty"`
	ServiceEdgeGroupName             string                 `json:"serviceEdgeGroupName,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,omitempty"`
	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"`
	LastBrokerConnectTimeDuration    string                 `json:"lastBrokerConnectTimeDuration,omitempty"`
	LastBrokerDisconnectTime         string                 `json:"lastBrokerDisconnectTime,omitempty"`
	LastBrokerDisconnectTimeDuration string                 `json:"lastBrokerDisconnectTimeDuration,omitempty"`
	LastUpgradeTime                  string                 `json:"lastUpgradeTime,omitempty"`
	Latitude                         string                 `json:"latitude,omitempty"`
	Location                         string                 `json:"location,omitempty"`
	Longitude                        string                 `json:"longitude,omitempty"`
	ListenIPs                        string                 `json:"listenIps,omitempty"`
	ModifiedBy                       string                 `json:"modifiedBy,omitempty"`
	ModifiedTime                     string                 `json:"modifiedTime,omitempty"`
	Name                             string                 `json:"name,omitempty"`
	ProvisioningKeyID                string                 `json:"provisioningKeyId"`
	ProvisioningKeyName              string                 `json:"provisioningKeyName"`
	Platform                         string                 `json:"platform,omitempty"`
	PlatformDetail                   string                 `json:"platformDetail,omitempty"`
	PreviousVersion                  string                 `json:"previousVersion,omitempty"`
	PrivateIP                        string                 `json:"privateIp,omitempty"`
	PublicIP                         string                 `json:"publicIp,omitempty"`
	PublishIPs                       []string               `json:"publishIps,omitempty"`
	PublishIPv6                      bool                   `json:"publishIpv6,omitempty"`
	RuntimeOS                        string                 `json:"runtimeOS,omitempty"`
	SargeVersion                     string                 `json:"sargeVersion,omitempty"`
	EnrollmentCert                   map[string]interface{} `json:"enrollmentCert,omitempty"`
	UpgradeAttempt                   string                 `json:"upgradeAttempt,omitempty"`
	UpgradeStatus                    string                 `json:"upgradeStatus,omitempty"`
	MicroTenantID                    string                 `json:"microtenantId,omitempty"`
	MicroTenantName                  string                 `json:"microtenantName,omitempty"`
	PrivateBrokerVersion             PrivateBrokerVersion   `json:"privateBrokerVersion,omitempty"`
}

func Get

func Get(ctx context.Context, service *zscaler.Service, serviceEdgeID string) (*ServiceEdgeController, *http.Response, error)

func GetAll

func GetByName

func GetByName(ctx context.Context, service *zscaler.Service, serviceEdgeName string) (*ServiceEdgeController, *http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, serviceEdgeID string, serviceEdge ServiceEdgeController) (*ServiceEdgeController, *http.Response, error)

Update Updates the Service Edge details for the specified ID.

Jump to

Keyboard shortcuts

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