cbiprofilecontroller

package
v3.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 5 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, profileID string) (*http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, profileID string, segmentGroupRequest *IsolationProfile) (*http.Response, error)

Types

type Banner struct {
	ID string `json:"id,omitempty"`
}

type Certificates

type Certificates struct {
	ID        string `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	IsDefault bool   `json:"isDefault,omitempty"`
}

type DebugMode

type DebugMode struct {
	Allowed      bool   `json:"allowed,omitempty"`
	FilePassword string `json:"filePassword,omitempty"`
}
type DeepLink struct {
	Enabled      bool     `json:"enabled,omitempty"`
	Applications []string `json:"applications,omitempty"`
}

type ForwardToZia

type ForwardToZia struct {
	Enabled        bool   `json:"enabled"`
	OrganizationID string `json:"organizationId"`
	CloudName      string `json:"cloudName,omitempty"`
	PacFileUrl     string `json:"pacFileUrl,omitempty"`
}

type IsolationProfile

type IsolationProfile struct {
	ID               string            `json:"id,omitempty"`
	Name             string            `json:"name,omitempty"`
	Description      string            `json:"description,omitempty"`
	Enabled          bool              `json:"enabled,omitempty"`
	CreationTime     string            `json:"creationTime,omitempty"`
	ModifiedBy       string            `json:"modifiedBy,omitempty"`
	ModifiedTime     string            `json:"modifiedTime,omitempty"`
	CBITenantID      string            `json:"cbiTenantId,omitempty"`
	CBIProfileID     string            `json:"cbiProfileId,omitempty"`
	CBIURL           string            `json:"cbiUrl,omitempty"`
	BannerID         string            `json:"bannerId,omitempty"`
	SecurityControls *SecurityControls `json:"securityControls,omitempty"`
	IsDefault        bool              `json:"isDefault,omitempty"`
	Regions          []Regions         `json:"regions,omitempty"`
	RegionIDs        []string          `json:"regionIds,omitempty"`
	Href             string            `json:"href,omitempty"`
	UserExperience   *UserExperience   `json:"userExperience,omitempty"`
	Certificates     []Certificates    `json:"certificates,omitempty"`
	CertificateIDs   []string          `json:"certificateIds,omitempty"`
	Banner           *Banner           `json:"banner,omitempty"`
	DebugMode        *DebugMode        `json:"debugMode,omitempty"`
}

func Create

func Create(ctx context.Context, service *zscaler.Service, cbiProfile *IsolationProfile) (*IsolationProfile, *http.Response, error)

func Get

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

func GetAll

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

func GetByNameOrID added in v3.0.2

func GetByNameOrID(ctx context.Context, service *zscaler.Service, identifier string) (*IsolationProfile, *http.Response, error)

type Regions

type Regions struct {
	Name string `json:"name,omitempty"`
	ID   string `json:"id,omitempty"`
}

type SecurityControls

type SecurityControls struct {
	DocumentViewer     bool       `json:"documentViewer,omitempty"`
	AllowPrinting      bool       `json:"allowPrinting,omitempty"`
	Watermark          *Watermark `json:"watermark,omitempty"`
	FlattenedPdf       bool       `json:"flattenedPdf,omitempty"`
	UploadDownload     string     `json:"uploadDownload,omitempty"`
	RestrictKeystrokes bool       `json:"restrictKeystrokes,omitempty"`
	CopyPaste          string     `json:"copyPaste,omitempty"`
	LocalRender        bool       `json:"localRender,omitempty"`
	DeepLink           *DeepLink  `json:"deepLink,omitempty"`
}

type UserExperience

type UserExperience struct {
	SessionPersistence  bool          `json:"sessionPersistence"`
	BrowserInBrowser    bool          `json:"browserInBrowser"`
	PersistIsolationBar bool          `json:"persistIsolationBar"`
	Translate           bool          `json:"translate"`
	ZGPU                bool          `json:"zgpu,omitempty"`
	ForwardToZia        *ForwardToZia `json:"forwardToZia,omitempty"`
}

type Watermark

type Watermark struct {
	Enabled       bool   `json:"enabled,omitempty"`
	ShowUserID    bool   `json:"showUserId,omitempty"`
	ShowTimestamp bool   `json:"showTimestamp,omitempty"`
	ShowMessage   bool   `json:"showMessage,omitempty"`
	Message       string `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

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