praconsole

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

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

type Service

type Service struct {
	Client *zpa.Client
	// contains filtered or unexported fields
}

func New

func New(c *zpa.Client) *Service

func (*Service) Create

func (service *Service) Create(praConsole *PRAConsole) (*PRAConsole, *http.Response, error)

func (*Service) CreatePraBulk

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

func (*Service) Delete

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

func (*Service) Get

func (service *Service) Get(consoleID string) (*PRAConsole, *http.Response, error)

func (*Service) GetAll

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

func (*Service) GetByName

func (service *Service) GetByName(consoleName string) (*PRAConsole, *http.Response, error)

func (*Service) GetPraPortal

func (service *Service) GetPraPortal(portalID string) (*PRAConsole, *http.Response, error)

func (*Service) Update

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

func (*Service) WithMicroTenant

func (service *Service) WithMicroTenant(microTenantID string) *Service

Jump to

Keyboard shortcuts

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