appconnectorcontroller

package
v3.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 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, appConnectorIDs []string) (*http.Response, error)

BulkDelete Bulk deletes the App Connectors.

func Delete

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

Delete Deletes the App Connector for the specified ID.

Types

type AppConnector

type AppConnector struct {
	ApplicationStartTime             string                       `json:"applicationStartTime,omitempty"`
	AppConnectorGroupID              string                       `json:"appConnectorGroupId,omitempty"`
	AppConnectorGroupName            string                       `json:"appConnectorGroupName,omitempty"`
	AssistantVersion                 AssistantVersion             `json:"assistantVersion,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"`
	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"`
	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"`
	ZPNSubModuleUpgrade              []common.ZPNSubModuleUpgrade `json:"zpnSubModuleUpgradeList,omitempty"`
}

func Get

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

This function search the App Connector by ID

func GetAll

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

func GetByName

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

This function search the App Connector by Name

func Update

func Update(ctx context.Context, service *zscaler.Service, appConnectorID string, appConnector AppConnector) (*AppConnector, *http.Response, error)

Update Updates the App Connector details for the specified ID.

type AssistantVersion added in v3.0.1

type AssistantVersion struct {
	ID                       string `json:"id,omitempty"`
	ApplicationStartTime     string `json:"applicationStartTime,omitempty"`
	AppConnectorGroupID      string `json:"appConnectorGroupId,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"`
	ExpectedVersion          string `json:"expectedVersion,omitempty"`
	LastBrokerConnectTime    string `json:"lastBrokerConnectTime,omitempty"`
	LastBrokerDisconnectTime string `json:"lastBrokerDisconnectTime,omitempty"`
	LastUpgradedTime         string `json:"lastUpgradedTime,omitempty"`
	LoneWarrior              bool   `json:"loneWarrior,omitempty"`
	ModifiedBy               string `json:"modifiedBy,omitempty"`
	ModifiedTime             string `json:"modifiedTime,omitempty"`
	Latitude                 string `json:"latitude,omitempty"`
	Longitude                string `json:"longitude,omitempty"`
	MtunnelID                string `json:"mtunnelId,omitempty"`
	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"`
	RestartTimeInSec         string `json:"restartTimeInSec,omitempty"`
	RuntimeOS                string `json:"runtimeOS,omitempty"`
	SargeVersion             string `json:"sargeVersion,omitempty"`
	SystemStartTime          string `json:"systemStartTime,omitempty"`
	UpgradeAttempt           string `json:"upgradeAttempt,omitempty"`
	UpgradeStatus            string `json:"upgradeStatus,omitempty"`
	UpgradeNowOnce           bool   `json:"upgradeNowOnce,omitempty"`
}

type BulkDeleteRequest

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

Jump to

Keyboard shortcuts

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