praconsole

package
v3.0.4 Latest Latest
Warning

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

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

func Update

func Update(ctx context.Context, service *zscaler.Service, consoleID string, praConsole *PRAConsole) (*http.Response, error)

Types

type PRAApplication

type PRAApplication struct {
	// The unique identifier of the Privileged Remote Access-enabled application.
	ID string `json:"id,omitempty"`
	// The name of the Privileged Remote Access-enabled application.
	Name string `json:"name,omitempty"`
}

type PRAConsole

type PRAConsole struct {
	// The unique identifier of the privileged console
	ID string `json:"id,omitempty"`

	// The name of the privileged console.
	Name string `json:"name,omitempty"`

	// The description of the privileged console.
	Description string `json:"description,omitempty"`

	// Whether or not the privileged console is enabled.
	Enabled bool `json:"enabled"`

	// The privileged console icon. The icon image is converted to base64 encoded text format.
	IconText string `json:"iconText,omitempty"`

	// The time the privileged console is created.
	CreationTime string `json:"creationTime,omitempty"`

	// The tenant who modified the privileged console.
	ModifiedBy string `json:"modifiedBy,omitempty"`

	// The time the privileged console is modified.
	ModifiedTime    string         `json:"modifiedTime,omitempty"`
	MicroTenantID   string         `json:"microtenantId,omitempty"`
	MicroTenantName string         `json:"microtenantName,omitempty"`
	PRAApplication  PRAApplication `json:"praApplication,omitempty"`
	PRAPortals      []PRAPortals   `json:"praPortals"`
}

func Create

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

func CreatePraBulk

func CreatePraBulk(ctx context.Context, service *zscaler.Service, praConsoles []PRAConsole) ([]PRAConsole, *http.Response, error)

func Get

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

func GetAll

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

func GetByName

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

func GetPraPortal

func GetPraPortal(ctx context.Context, service *zscaler.Service, portalID string) (*PRAConsole, *http.Response, error)

type PRAPortals

type PRAPortals struct {
	// The unique identifier of the privileged portal.
	ID string `json:"id,omitempty"`
	// The name of the privileged portal.
	Name string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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