cbizpaprofile

package
v2.61.10 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryParams added in v2.61.8

type QueryParams struct {
	ShowDisabled string `url:"showDisabled,omitempty"`
	ScopeId      string `url:"scopeId,omitempty"`
}

type ZPAProfiles

type ZPAProfiles struct {
	ID           string `json:"id,omitempty"`
	Name         string `json:"name,omitempty"`
	Description  string `json:"description,omitempty"`
	Enabled      bool   `json:"enabled"`
	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"`
}

func Get added in v2.61.0

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

Get retrieves a profile by its ID. This function now uses GetAll with optional parameters correctly.

func GetAll added in v2.61.0

func GetAll(service *services.Service, showDisabled *bool, scopeId *int) ([]ZPAProfiles, *http.Response, error)

GetAll retrieves all profiles, with optional parameters to show disabled profiles and filter by scopeId.

func GetByName added in v2.61.0

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

GetByName retrieves a profile by name. This function now uses GetAll with optional parameters correctly.

Jump to

Keyboard shortcuts

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