praportal

package
v3.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 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, portalID string) (*http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, portalID string, sraPortal *PRAPortal) (*http.Response, error)

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

func Create

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

func Get

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

func GetAll

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

func GetByName

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

Jump to

Keyboard shortcuts

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