praportal

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 PRAPortal

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

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

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

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

	// The canonical name (CNAME DNS records) associated with the privileged portal.
	CName string `json:"cName,omitempty"`

	// The domain of the privileged portal.
	Domain string `json:"domain,omitempty"`

	// The unique identifier of the certificate.
	CertificateID string `json:"certificateId,omitempty"`

	// The name of the certificate.
	CertificateName string `json:"certificateName,omitempty"`

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

	// The unique identifier of the tenant who modified the privileged portal.
	ModifiedBy string `json:"modifiedBy,omitempty"`

	// The time the privileged portal is modified.
	ModifiedTime string `json:"modifiedTime,omitempty"`

	// The notification message displayed in the banner of the privileged portallink, if enabled.
	UserNotification string `json:"userNotification"`

	// Indicates if the Notification Banner is enabled (true) or disabled (false).
	UserNotificationEnabled bool `json:"userNotificationEnabled"`

	MicroTenantID string `json:"microtenantId,omitempty"`

	// The name of the Microtenant.
	MicroTenantName string `json:"microtenantName,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(sraPortal *PRAPortal) (*PRAPortal, *http.Response, error)

func (*Service) Delete

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

func (*Service) Get

func (service *Service) Get(portalID string) (*PRAPortal, *http.Response, error)

func (*Service) GetAll

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

func (*Service) GetByName

func (service *Service) GetByName(portalName string) (*PRAPortal, *http.Response, error)

func (*Service) Update

func (service *Service) Update(portalID string, sraPortal *PRAPortal) (*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