cbiprofilecontroller

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 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"`
}

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"`
}

type Service

type Service struct {
	Client *zpa.Client
}

func New

func New(c *zpa.Client) *Service

func (*Service) Create

func (service *Service) Create(cbiProfile *IsolationProfile) (*IsolationProfile, *http.Response, error)

func (*Service) Delete

func (service *Service) Delete(profileID string) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(profileID string) (*IsolationProfile, *http.Response, error)

func (*Service) GetAll

func (service *Service) GetAll() ([]IsolationProfile, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(profileName string) (*IsolationProfile, *http.Response, error)

func (*Service) Update

func (service *Service) Update(segmentGroupId string, segmentGroupRequest *IsolationProfile) (*http.Response, error)

type UserExperience

type UserExperience struct {
	SessionPersistence  bool `json:"sessionPersistence,omitempty"`
	BrowserInBrowser    bool `json:"browserInBrowser,omitempty"`
	PersistIsolationBar bool `json:"persistIsolationBar,omitempty"`
}

type Watermark

type Watermark struct {
	Enabled bool `json:"enabled,omitempty"`
}

Jump to

Keyboard shortcuts

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