Documentation
¶
Index ¶
- Constants
- func Bool(v bool) *bool
- func CheckResponse(body *[]byte) (err error)
- func Float64(v float64) *float64
- func Int64(v int64) *int64
- func ParseTime(dt string) string
- func String(v string) *string
- func ToJson(a interface{}) string
- func Uint64(v uint64) *uint64
- type ACLParams
- type ADHostIterator
- type AKPatches
- type Accessor
- type AcquireKeyHostsParams
- type ActionStateResult
- type AdHosts
- func (ah *AdHosts) FindAdGroups(ctx context.Context, params FindAdGroupsParams) (*ADHostIterator, []byte, error)
- func (ah *AdHosts) GetChildComputer(ctx context.Context, params ChildComputerParams) (*AdHstIDParent, []byte, error)
- func (ah *AdHosts) GetChildComputers(ctx context.Context, params ChildComputersParams) (*PxgValStr, []byte, error)
- func (ah *AdHosts) GetChildOUs(ctx context.Context, params ChildOUParams) (*PxgValStr, []byte, error)
- func (ah *AdHosts) GetOU(ctx context.Context, params OUAttributesParams) (*OUAttributes, []byte, error)
- func (ah *AdHosts) UpdateOU(ctx context.Context, params UpdateOUParams) ([]byte, error)
- type AdHstIDParent
- type AdHstIDParentPxgRetVal
- type AdSecManager
- type AddGroupParams
- type AddIncidentsParams
- type AdfsSso
- func (as *AdfsSso) GetAdfsEnabled(ctx context.Context) ([]byte, error)
- func (as *AdfsSso) GetJwks(ctx context.Context) ([]byte, error)
- func (as *AdfsSso) GetSettings(ctx context.Context, bExtenedSettings bool) ([]byte, error)
- func (as *AdfsSso) SetAdfsEnabled(ctx context.Context, bEnabled bool) ([]byte, error)
- func (as *AdfsSso) SetSettings(ctx context.Context, params interface{}) ([]byte, error)
- type AdhstBinOu
- type AdjustKeyParams
- type AdmServerSettings
- type AgentRegistrationInfo
- type AppCtrlApi
- type ApprovalValue
- type ArrDynColumnInfo
- type ArrObject
- type AsyncAccessor
- type AsyncActionStateChecker
- type AsyncID
- type Attributes
- type AuthKey
- type AuthType
- type AvailableUpdates
- type CCSettings
- type CDPOptions
- type CERTPub
- type CGMobileAuthCERT
- type CHState
- type CIFILValue
- type Category
- type CategoryParams
- type CertPoolCtrl
- type CertPoolCtrl2
- type CertUtils
- type Certificate
- type CertificateParams
- type CgwHelper
- type ChartDataParams
- type ChildComputerParams
- type ChildComputersParams
- type ChildOUParams
- type ChunkAccessor
- func (ca *ChunkAccessor) GetItemsChunk(ctx context.Context, params ItemsChunkParams, result interface{}) ([]byte, error)
- func (ca *ChunkAccessor) GetItemsCount(ctx context.Context, accessor string) (*PxgValInt, []byte, error)
- func (ca *ChunkAccessor) Release(ctx context.Context, accessor string) bool
- type CloudAccess
- type CloudHostInfoParams
- type CmdLibValue
- type CommandsLibrary
- type ConEvents
- func (ce *ConEvents) IsAnyServiceConsoleAvailable(ctx context.Context) (*PxgValBool, error)
- func (ce *ConEvents) IsServiceConsoleAvailable(ctx context.Context, wstrProdName, wstrProdVersion string) error
- func (ce *ConEvents) Retrieve(ctx context.Context) (*EventRetrieve, error)
- func (ce *ConEvents) Subscribe(ctx context.Context, params EventSubscribeParams) (*SubscribeEventResponse, error)
- func (ce *ConEvents) UnSubscribe(ctx context.Context, nSubsId int64) error
- type Config
- type CorpFlagParams
- type Credentials
- type CurrentConnectionSettings
- type CurrentHostState
- type CustomValue
- type DAttributes
- type DataProtectionApi
- func (dpa *DataProtectionApi) CheckPasswordSplPpc(ctx context.Context, szwPassword string) (*PxgValBool, []byte, error)
- func (dpa *DataProtectionApi) ProtectDataForHost(ctx context.Context, szwHostId, pData string) (*ProtectedData, error)
- func (dpa *DataProtectionApi) ProtectDataGlobally(ctx context.Context, pData string) (*ProtectedData, error)
- func (dpa *DataProtectionApi) ProtectUtf16StringForHost(ctx context.Context, szwHostId, szwPlainText string) (*PxgValStr, error)
- func (dpa *DataProtectionApi) ProtectUtf16StringGlobally(ctx context.Context, szwPlainText string) (*PxgValStr, error)
- func (dpa *DataProtectionApi) ProtectUtf8StringForHost(ctx context.Context, szwHostId, szwPlainText string) (*PxgValStr, error)
- func (dpa *DataProtectionApi) ProtectUtf8StringGlobally(ctx context.Context, szwPlainText string) (*PxgValStr, error)
- type DatabaseInfo
- func (di *DatabaseInfo) CheckBackupPath(ctx context.Context, szwPath string) (*PxgValBool, []byte, error)
- func (di *DatabaseInfo) CheckBackupPath2(ctx context.Context, szwWinPath, szwLinuxPath string) (*PxgValBool, []byte, error)
- func (di *DatabaseInfo) GetDBDataSize(ctx context.Context) (*PxgValInt, []byte, error)
- func (di *DatabaseInfo) GetDBEventsCount(ctx context.Context) (*PxgValInt, []byte, error)
- func (di *DatabaseInfo) GetDBSize(ctx context.Context) (*PxgValInt, []byte, error)
- func (di *DatabaseInfo) IsCloudSQL(ctx context.Context, nCloudType int64) (*PxgValBool, []byte, error)
- func (di *DatabaseInfo) IsLinuxSQL(ctx context.Context) (*PxgValBool, []byte, error)
- type DateTime
- type DefaultSettings
- type DefaultSettingsVal
- type DeleteFilesForUpdatesParams
- type DetectParams
- type DiapasonAttributes
- type DiapasonParams
- type DiapasonsParams
- type DomainValue
- type Domains
- type DomainsValue
- type DpeKeyService
- type DynColumn
- type DynColumnInfoValue
- type DynColumnValue
- type DynamicColumns
- type ENLimits
- type ENLimitsParams
- type ERRValue
- type ESrvViewParams
- type ESubscribe
- type ESubscribeFilter
- type EULA
- type EULAIDParams
- type EnumKeysParams
- type Err
- type Error
- type EulasID
- type EulasIDS
- type EulasIDSForPatchPrerequisitesParams
- type EulasIDSForUpdates
- type EulasIDSForVulnerabilitiesPatchesParams
- type EulasIDSPUpdate
- type EulasIDSValue
- type EulasIdsForUpdatesParams
- type EulasIdsPUpdate
- type EventNotificationParams
- type EventNotificationProperties
- func (enp *EventNotificationProperties) GetDefaultSettings(ctx context.Context) (*DefaultSettings, []byte, error)
- func (enp *EventNotificationProperties) GetNotificationLimits(ctx context.Context) (*ENLimits, []byte, error)
- func (enp *EventNotificationProperties) SetDefaultSettings(ctx context.Context, params interface{}) ([]byte, error)
- func (enp *EventNotificationProperties) SetNotificationLimits(ctx context.Context, params ENLimitsParams) ([]byte, error)
- func (enp *EventNotificationProperties) TestNotification(ctx context.Context, eType int, pSettings interface{}) ([]byte, error)
- type EventNotificationsApi
- type EventPFH
- type EventPFP
- type EventProcessing
- func (ep *EventProcessing) CancelDelete(ctx context.Context, params interface{}) ([]byte, error)
- func (ep *EventProcessing) GetRecordCount(ctx context.Context, strIteratorId string) (*PxgValInt, []byte, error)
- func (ep *EventProcessing) GetRecordRange(ctx context.Context, strIteratorId string, nStart, nEnd int64) ([]byte, error)
- func (ep *EventProcessing) InitiateDelete(ctx context.Context, params interface{}) ([]byte, error)
- func (ep *EventProcessing) ReleaseIterator(ctx context.Context, strIteratorId string) (*PxgValInt, []byte, error)
- type EventProcessingFactory
- func (epf *EventProcessingFactory) CreateEventProcessing(ctx context.Context, params EventPFP) (*StrIteratorId, []byte, error)
- func (epf *EventProcessingFactory) CreateEventProcessing2(ctx context.Context, params EventPFP) (*StrIteratorId, []byte, error)
- func (epf *EventProcessingFactory) CreateEventProcessingForHost(ctx context.Context, params EventPFH) (*StrIteratorId, []byte, error)
- func (epf *EventProcessingFactory) CreateEventProcessingForHost2(ctx context.Context, params EventPFH) (*StrIteratorId, []byte, error)
- type EventRetrieve
- type EventSubscribeParams
- type Exclusion
- type Exclusions
- type ExeFileInfoParams
- type ExePFilter
- type ExecuteReportParams
- type ExecuteRulesParams
- type ExistingSession
- type ExistingSessions
- type ExpressionParams
- type ExtAud
- func (ea *ExtAud) FinalDelete(ctx context.Context, params FinalDeleteParams) ([]byte, error)
- func (ea *ExtAud) GetRevision(ctx context.Context, nObjId, nObjType, nObjRevision int64, out interface{}) ([]byte, error)
- func (ea *ExtAud) UpdateRevisionDesc(ctx context.Context, nObjId, nObjType, nObjRevision int64, ...) ([]byte, error)
- type ExtTenant
- type ExternalTenantIdparams
- type FDValue
- type FieldsToOrder
- type FileCategorizer2
- func (fc *FileCategorizer2) AddExpressions(ctx context.Context, params interface{}) (*PxgValStr, []byte, error)
- func (fc *FileCategorizer2) CancelFileMetadataOperations(ctx context.Context) (*PxgValInt, []byte, error)
- func (fc *FileCategorizer2) CancelFileUpload(ctx context.Context) (*PxgValInt, []byte, error)
- func (fc *FileCategorizer2) CreateCategory(ctx context.Context, params CategoryParams) (*PxgValStr, []byte, error)
- func (fc *FileCategorizer2) DeleteCategory(ctx context.Context, nCategoryId int64) ([]byte, error)
- func (fc *FileCategorizer2) DeleteExpression(ctx context.Context, params ExpressionParams) (*PxgValStr, []byte, error)
- func (fc *FileCategorizer2) DoStaticAnalysisAsync(ctx context.Context, wstrRequestId string, nPolicyId int64) ([]byte, error)deprecated
- func (fc *FileCategorizer2) DoStaticAnalysisAsync2(ctx context.Context, nPolicyId int64) (*AsyncID, []byte, error)
- func (fc *FileCategorizer2) DoTestStaticAnalysisAsync(ctx context.Context, params interface{}) ([]byte, error)deprecated
- func (fc *FileCategorizer2) DoTestStaticAnalysisAsync2(ctx context.Context, params interface{}) (*WActionGUID, []byte, error)
- func (fc *FileCategorizer2) FinishStaticAnalysis(ctx context.Context) ([]byte, error)
- func (fc *FileCategorizer2) ForceCategoryUpdate(ctx context.Context, nCategoryId int64) ([]byte, error)
- func (fc *FileCategorizer2) GetCategoriesModificationCounter(ctx context.Context) (*PxgValInt, []byte, error)
- func (fc *FileCategorizer2) GetCategory(ctx context.Context, nCategoryId int64) ([]byte, error)
- func (fc *FileCategorizer2) GetCategoryByUUID(ctx context.Context, pCategoryUUID string) ([]byte, error)
- func (fc *FileCategorizer2) GetFileMetadata(ctx context.Context, ulFlag int64) ([]byte, error)
- func (fc *FileCategorizer2) GetFilesMetadata(ctx context.Context, ulFlag int64) ([]byte, error)
- func (fc *FileCategorizer2) GetFilesMetadataFromMSI(ctx context.Context, ulFlag int64) ([]byte, error)
- func (fc *FileCategorizer2) GetRefPolicies(ctx context.Context, nCatId int64) (*RefPolicies, []byte, error)
- func (fc *FileCategorizer2) GetSerializedCategoryBody(ctx context.Context, nCategoryId int64) ([]byte, error)deprecated
- func (fc *FileCategorizer2) GetSerializedCategoryBody2(ctx context.Context, nCategoryId int64) ([]byte, error)
- func (fc *FileCategorizer2) GetSyncId(ctx context.Context) (*PxgValInt, []byte, error)
- func (fc *FileCategorizer2) InitFileUpload(ctx context.Context) (*UploadParams, []byte, error)
- func (fc *FileCategorizer2) UpdateCategory(ctx context.Context, params interface{}) (*PxgValStr, []byte, error)
- func (fc *FileCategorizer2) UpdateExpressions(ctx context.Context, params interface{}) (*PxgValStr, []byte, error)
- type FileUploadData
- type FilesAcceptor
- type FilesRequest
- type FilesRequestElement
- type FilesRequestValue
- type FinalDeleteParams
- type FindAdGroupsParams
- type FindIncidentsParams
- type Fixes
- type FixesValue
- type FuncAreas
- type GCM
- type GCParams
- type GatewayConnection
- type Gcm
- func (gm *Gcm) CheckIfGcmServerSettingsPresent(ctx context.Context) (*PxgValBool, error)
- func (gm *Gcm) CheckIfGcmServerSettingsShouldBeSet(ctx context.Context) (*PxgValBool, error)
- func (gm *Gcm) DeleteGcmServerSettings(ctx context.Context) (*PxgValBool, error)
- func (gm *Gcm) GetGcmPropagation2VS(ctx context.Context) (*PropagationState, error)
- func (gm *Gcm) GetGcmServerSettings(ctx context.Context) (*GCM, error)
- func (gm *Gcm) SetGcmPropagation2VS(ctx context.Context, params PropagationState) (*PropagationState, error)
- func (gm *Gcm) UpdateGcmServerSettings(ctx context.Context, params GCM) (*PxgValBool, error)
- type GroupInfo
- type GroupInfoExParams
- type GroupInfoVal
- type GroupPInfo
- type GroupSync
- func (gs *GroupSync) GetSyncDeliveryTime(ctx context.Context, nSync int64, szwHostId string) (*PxgValInt, []byte, error)
- func (gs *GroupSync) GetSyncHostsInfo(ctx context.Context, params NSyncInfoParams) (*PxgValStr, error)
- func (gs *GroupSync) GetSyncInfo(ctx context.Context, params GroupSyncInfoParams) (*GroupSyncInfo, error)
- type GroupSyncInfo
- type GroupSyncInfoParams
- type GroupSyncIterator
- type GroupTaskControlApi
- func (gtca *GroupTaskControlApi) CommitImportedTask(ctx context.Context, wstrId string, bCommit bool) (*TaskDescribe, []byte, error)
- func (gtca *GroupTaskControlApi) ExportTask(ctx context.Context, wstrTaskId string) (*PxgValStr, []byte, error)
- func (gtca *GroupTaskControlApi) GetTaskByRevision(ctx context.Context, nObjId, nRevision int64) (*TaskDescribe, []byte, error)
- func (gtca *GroupTaskControlApi) ImportTask(ctx context.Context, params interface{}) ([]byte, error)
- func (gtca *GroupTaskControlApi) RequestStatistics(ctx context.Context, params TasksIDSParams) ([]byte, error)
- func (gtca *GroupTaskControlApi) ResetTasksIteratorForCluster(ctx context.Context, params ResetIterForClusterParams) ([]byte, error)
- func (gtca *GroupTaskControlApi) RestoreTaskFromRevision(ctx context.Context, nObjId, nRevision int64) (*TaskDescribe, []byte, error)
- type GuiContext
- type HGParams
- type HMRule
- type HMRules
- type HMoveRule
- type HMoveRules
- type HTagValue
- type HTags
- type HWInvObject
- type HWInvObjectParams
- type HWInvStorage
- func (hw *HWInvStorage) AddDynColumn(ctx context.Context, wstrColName string) (*PxgValStr, error)
- func (hw *HWInvStorage) AddHWInvObject(ctx context.Context, params PpObj) (*PxgValInt, error)
- func (hw *HWInvStorage) DelDynColumn(ctx context.Context, wstrColId string) error
- func (hw *HWInvStorage) DelHWInvObject(ctx context.Context, nObjId int64) error
- func (hw *HWInvStorage) DelHWInvObject2(ctx context.Context, arrObjId []int64) error
- func (hw *HWInvStorage) EnumDynColumns(ctx context.Context) (*DynamicColumns, error)
- func (hw *HWInvStorage) ExportHWInvStorage2(ctx context.Context, eExportType int) (*PxgValStr, error)
- func (hw *HWInvStorage) ExportHWInvStorageCancel(ctx context.Context, wstrAsyncId string) error
- func (hw *HWInvStorage) ExportHWInvStorageGetData(ctx context.Context, wstrAsyncId string, nGetDataSize int64) (*HWInvStorageResponse, []byte, error)
- func (hw *HWInvStorage) GetHWInvObject(ctx context.Context, nObjId int64) ([]byte, error)
- func (hw *HWInvStorage) GetProcessingRules(ctx context.Context) (*ProcessingRules, error)
- func (hw *HWInvStorage) ImportHWInvStorage2(ctx context.Context, eImportType int64) (*PxgValStr, error)
- func (hw *HWInvStorage) ImportHWInvStorageCancel(ctx context.Context, params AsyncID) (*PxgValStr, error)
- func (hw *HWInvStorage) ImportHWInvStorageSetData(ctx context.Context, params StorageSetData) error
- func (hw *HWInvStorage) SetCorpFlag2(ctx context.Context, params CorpFlagParams) error
- func (hw *HWInvStorage) SetHWInvObject(ctx context.Context, params HWInvObjectParams) error
- func (hw *HWInvStorage) SetProcessingRules(ctx context.Context, params ProcessingRules) error
- func (hw *HWInvStorage) SetWriteOffFlag(ctx context.Context, nObjId int64, bFlag bool) error
- func (hw *HWInvStorage) SetWriteOffFlag2(ctx context.Context, params WriteOffFlag) error
- type HWInvStorageResponse
- type HostFixes
- type HostFixesVal
- type HostGroup
- func (hg *HostGroup) AddDomain(ctx context.Context, strDomain string, nType int64) ([]byte, error)
- func (hg *HostGroup) AddGroup(ctx context.Context, params AddGroupParams) (*PxgValInt, []byte, error)
- func (hg *HostGroup) AddGroupHostsForSync(ctx context.Context, nGroupId int64, strSSType string) (*WActionGUID, []byte, error)
- func (hg *HostGroup) AddHost(ctx context.Context, params NewHost) (*PxgValStr, []byte, error)
- func (hg *HostGroup) AddHostsForSync(ctx context.Context, params HostsForSyncParams) (*WActionGUID, []byte, error)
- func (hg *HostGroup) AddIncident(ctx context.Context, params AddIncidentsParams) (*PxgValStr, []byte, error)
- func (hg *HostGroup) DelDomain(ctx context.Context, strDomain string) ([]byte, error)
- func (hg *HostGroup) DeleteIncident(ctx context.Context, nId int64) ([]byte, error)
- func (hg *HostGroup) FindGroups(ctx context.Context, params HGParams) (*Accessor, []byte, error)
- func (hg *HostGroup) FindHosts(ctx context.Context, params HGParams) (*Accessor, []byte, error)
- func (hg *HostGroup) FindHostsAsync(ctx context.Context, params HGParams) (*RequestID, []byte, error)
- func (hg *HostGroup) FindHostsAsyncCancel(ctx context.Context, strRequestId string) error
- func (hg *HostGroup) FindHostsAsyncGetAccessor(ctx context.Context, strRequestId string) (*AsyncAccessor, []byte, error)
- func (hg *HostGroup) FindIncidents(ctx context.Context, params FindIncidentsParams) (*Accessor, []byte, error)
- func (hg *HostGroup) FindUsers(ctx context.Context, params PFindParams) (*Accessor, []byte, error)
- func (hg *HostGroup) GetAllHostFixes(ctx context.Context) (*HostFixes, error)
- func (hg *HostGroup) GetComponentsForProductOnHost(ctx context.Context, strHostName, strProductName, strProductVersion string) (*ProductComponents, []byte, error)
- func (hg *HostGroup) GetDomainHosts(ctx context.Context, domain string) ([]byte, error)deprecated
- func (hg *HostGroup) GetDomains(ctx context.Context) (*Domains, error)
- func (hg *HostGroup) GetGroupId(ctx context.Context, nParent int64, strName string) (*PxgValInt, []byte, error)
- func (hg *HostGroup) GetGroupInfo(ctx context.Context, nGroupId int64) (*GroupInfo, error)
- func (hg *HostGroup) GetGroupInfoEx(ctx context.Context, params GroupInfoExParams) (*GroupInfo, []byte, error)
- func (hg *HostGroup) GetHostInfo(ctx context.Context, params interface{}) ([]byte, error)
- func (hg *HostGroup) GetHostProducts(ctx context.Context, strHostName string) ([]byte, error)
- func (hg *HostGroup) GetHostTasks(ctx context.Context, hostId string) (*PxgValStr, []byte, error)
- func (hg *HostGroup) GetHostfixesForProductOnHost(ctx context.Context, strHostName, strProductName, strProductVersion string) (*ProductFixes, []byte, error)
- func (hg *HostGroup) GetInstanceStatistics(ctx context.Context, params InstanceStatisticsParams) (*ServerInstanceStatistics, error)
- func (hg *HostGroup) GetRunTimeInfo(ctx context.Context, params StaticInfoParams) ([]byte, error)
- func (hg *HostGroup) GetStaticInfo(ctx context.Context, params StaticInfoParams) (*ServerStaticInfo, error)
- func (hg *HostGroup) GetSubgroups(ctx context.Context, nGroupId int64, nDepth int64) (*SubGroups, error)
- func (hg *HostGroup) GroupIdGroups(ctx context.Context) (*PxgValInt, []byte, error)
- func (hg *HostGroup) GroupIdSuper(ctx context.Context) (*PxgValInt, []byte, error)
- func (hg *HostGroup) GroupIdUnassigned(ctx context.Context) (*PxgValInt, []byte, error)
- func (hg *HostGroup) MoveHostsFromGroupToGroup(ctx context.Context, nSrcGroupId int64, nDstGroupId int64) (*WActionGUID, []byte, error)
- func (hg *HostGroup) MoveHostsToGroup(ctx context.Context, params HostsToGroupParams) ([]byte, error)
- func (hg *HostGroup) RemoveGroup(ctx context.Context, nGroup, nFlags int64) (*WActionGUID, []byte, error)
- func (hg *HostGroup) RemoveHost(ctx context.Context, strHostName string) error
- func (hg *HostGroup) RemoveHosts(ctx context.Context, params RemoveHostsParams) ([]byte, error)
- func (hg *HostGroup) ResolveAndMoveToGroup(ctx context.Context, params PInfoRaM) (*KlhstWksResults, []byte, error)
- func (hg *HostGroup) RestartNetworkScanning(ctx context.Context, nType int64) (*PxgRetError, []byte, error)
- func (hg *HostGroup) SSCreateSection(ctx context.Context, params SectionParams) ([]byte, error)
- func (hg *HostGroup) SSGetNames(ctx context.Context, params SectionParams) (*PxgValArrayOfString, []byte, error)
- func (hg *HostGroup) SSRead(ctx context.Context, params SectionParams) ([]byte, error)
- func (hg *HostGroup) SSWrite(ctx context.Context, params SectionParams) ([]byte, error)
- func (hg *HostGroup) SetLocInfo(ctx context.Context, params interface{}) ([]byte, error)
- func (hg *HostGroup) UpdateGroup(ctx context.Context, params UpdateGroupParam) ([]byte, error)
- func (hg *HostGroup) UpdateHost(ctx context.Context, params interface{}) ([]byte, error)
- func (hg *HostGroup) UpdateHostsMultiple(ctx context.Context, params interface{}) ([]byte, error)
- func (hg *HostGroup) UpdateIncident(ctx context.Context, params UpdateIncidentParams) ([]byte, error)
- func (hg *HostGroup) ZeroVirusCountForGroup(ctx context.Context, nParent int64) (*WActionGUID, []byte, error)
- func (hg *HostGroup) ZeroVirusCountForHosts(ctx context.Context, params interface{}) (*WActionGUID, []byte, error)
- type HostIteratorForTaskParams
- type HostIteratorForTaskParamsEx
- type HostMoveRules
- func (hmr *HostMoveRules) AddRule(ctx context.Context, params interface{}) ([]byte, error)
- func (hmr *HostMoveRules) DeleteRule(ctx context.Context, nRule int64) ([]byte, error)
- func (hmr *HostMoveRules) ExecuteRulesNow(ctx context.Context, params ExecuteRulesParams) ([]byte, error)
- func (hmr *HostMoveRules) GetRule(ctx context.Context, nRule int64) (*HMoveRule, []byte, error)
- func (hmr *HostMoveRules) GetRules(ctx context.Context, params Rules) (*HMoveRules, []byte, error)
- func (hmr *HostMoveRules) SetRulesOrder(ctx context.Context, params RulesOrderParams) (*HMoveRules, []byte, error)
- func (hmr *HostMoveRules) UpdateRule(ctx context.Context, params interface{}) ([]byte, error)
- type HostProducts
- type HostTags
- type HostTagsApi
- type HostTagsParams
- type HostTagsRulesApi
- func (htra *HostTagsRulesApi) CancelAsyncAction(ctx context.Context, wstrActionGuid string) ([]byte, error)
- func (htra *HostTagsRulesApi) DeleteRule(ctx context.Context, szwTagValue string) ([]byte, error)
- func (htra *HostTagsRulesApi) ExecuteRule(ctx context.Context, szwTagValue string) (*WActionGUID, []byte, error)
- func (htra *HostTagsRulesApi) GetRule(ctx context.Context, szwTagValue string) ([]byte, error)
- func (htra *HostTagsRulesApi) GetRules(ctx context.Context, params HostTagsRulesParams) ([]byte, error)
- func (htra *HostTagsRulesApi) UpdateRule(ctx context.Context, params UpdateRuleParams) ([]byte, error)
- type HostTagsRulesParams
- type HostTasks
- type HostsForSyncParams
- type HostsKeyIterator
- type HostsToGroupParams
- type HstAccessControl
- func (hac *HstAccessControl) AccessCheckToAdmGroup(ctx context.Context, lGroupId, dwAccessMask int64, ...) (*PxgValBool, []byte, error)
- func (hac *HstAccessControl) AddRole(ctx context.Context, params interface{}) ([]byte, error)
- func (hac *HstAccessControl) DeleteRole(ctx context.Context, nId int64, bProtection bool) ([]byte, error)
- func (hac *HstAccessControl) DeleteScObjectAcl(ctx context.Context, nObjId, nObjType int64) ([]byte, error)
- func (hac *HstAccessControl) DeleteScVServerAcl(ctx context.Context, nId int64) ([]byte, error)
- func (hac *HstAccessControl) FindRoles(ctx context.Context, params PFindParams) (*Accessor, []byte, error)
- func (hac *HstAccessControl) FindTrustees(ctx context.Context, params PFindParams) (*Accessor, []byte, error)
- func (hac *HstAccessControl) GetAccessibleFuncAreas(ctx context.Context, lGroupId, dwAccessMask int64, ...) ([]byte, error)
- func (hac *HstAccessControl) GetMappingFuncAreaToPolicies(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
- func (hac *HstAccessControl) GetMappingFuncAreaToReports(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
- func (hac *HstAccessControl) GetMappingFuncAreaToSettings(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
- func (hac *HstAccessControl) GetMappingFuncAreaToTasks(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
- func (hac *HstAccessControl) GetPolicyReadonlyNodes(ctx context.Context, params interface{}) ([]byte, error)
- func (hac *HstAccessControl) GetRole(ctx context.Context, params TRParams) (*Trustee, []byte, error)
- func (hac *HstAccessControl) GetScObjectAcl(ctx context.Context, nObjId, nObjType int64) ([]byte, error)
- func (hac *HstAccessControl) GetScVServerAcl(ctx context.Context, nId int64) ([]byte, error)
- func (hac *HstAccessControl) GetSettingsReadonlyNodes(ctx context.Context, params interface{}) ([]byte, error)
- func (hac *HstAccessControl) GetTrustee(ctx context.Context, params TRParams) (*Trustee, []byte, error)
- func (hac *HstAccessControl) GetVisualViewForAccessRights(ctx context.Context, wstrLangCode string, nObjId, nObjType int64) ([]byte, error)
- func (hac *HstAccessControl) IsTaskTypeReadonly(ctx context.Context, lGroupId int64, ...) (*PxgValBool, []byte, error)
- func (hac *HstAccessControl) ModifyScObjectAcl(ctx context.Context, params interface{}) ([]byte, error)
- func (hac *HstAccessControl) SetScObjectAcl(ctx context.Context, params interface{}) ([]byte, error)
- func (hac *HstAccessControl) SetScVServerAcl(ctx context.Context, params interface{}) ([]byte, error)
- func (hac *HstAccessControl) UpdateRole(ctx context.Context, params interface{}) ([]byte, error)
- type IOptions
- type IWebSrvSettings
- func (iws *IWebSrvSettings) GetCertificateInfo(ctx context.Context) (*PxgValCIFIL, []byte, error)
- func (iws *IWebSrvSettings) GetCustomPkgHttpFqdn(ctx context.Context) (*PxgValStr, []byte, error)
- func (iws *IWebSrvSettings) SetCustomCertificate(ctx context.Context, params interface{}) ([]byte, error)
- func (iws *IWebSrvSettings) SetCustomPkgHttpFqdn(ctx context.Context, wsFqdn string) ([]byte, error)
- type IWebUsersSrv
- type IWebUsersSrv2
- type ImportMDParams
- type Inclusion
- type InstallationLogs
- type InstallationLogsValue
- type InstanceStatisticsParams
- type IntegrationToken
- type IntegrityCheckInfo
- type InvLicenseProducts
- func (ilp *InvLicenseProducts) AddLicenseKey(ctx context.Context, params LicenseKeyParams) (*PxgValInt, error)
- func (ilp *InvLicenseProducts) AddLicenseProduct(ctx context.Context, params LicenseProductParams) (*PxgValInt, error)
- func (ilp *InvLicenseProducts) DeleteLicenseKey(ctx context.Context, nLicKeyId int64) (*PxgRetError, error)
- func (ilp *InvLicenseProducts) DeleteLicenseProduct(ctx context.Context, nLicProdId int64) (*PxgRetError, error)
- func (ilp *InvLicenseProducts) GetLicenseProducts(ctx context.Context) (*LicenseKeysResponse, error)
- func (ilp *InvLicenseProducts) UpdateLicenseKey(ctx context.Context, params UpdateLicenseKeyParams) error
- func (ilp *InvLicenseProducts) UpdateLicenseProduct(ctx context.Context, params UpdateLicenseProductParams) error
- type InvPatches
- type InvProducts
- type InventoryAPI
- func (ia *InventoryAPI) DeleteUninstalledApps(ctx context.Context) error
- func (ia *InventoryAPI) GetHostInvPatches(ctx context.Context, szwHostID string) (*InvPatches, error)
- func (ia *InventoryAPI) GetHostInvProducts(ctx context.Context, szwHostID string) (*HostProducts, error)
- func (ia *InventoryAPI) GetInvPatchesList(ctx context.Context, params Null) (*InvPatches, error)
- func (ia *InventoryAPI) GetInvProductsList(ctx context.Context, params Null) (*InvProducts, error)
- func (ia *InventoryAPI) GetObservedApps(ctx context.Context, params Null) (*PxgValArrayOfString, error)
- func (ia *InventoryAPI) GetSrvCompetitorIniFileInfoList(ctx context.Context, wstrType string) (*PxgValCIFIL, error)
- func (ia *InventoryAPI) SetObservedApps(ctx context.Context, params ObservedAppsParams) ([]byte, error)
- type IssuanceSetting
- type IssuanceSettingVal
- type IssuanceSettingValue
- type IssuanceSettings
- type ItemsChunkParams
- type KLEVPNDBODYFILTERValue
- type KLEVerControl
- func (kvc *KLEVerControl) CancelDownloadDistributive(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (kvc *KLEVerControl) ChangeCreatePackage(ctx context.Context, params interface{}) ([]byte, error)
- func (kvc *KLEVerControl) DownloadDistributiveAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (kvc *KLEVerControl) GetDownloadDistributiveResult(ctx context.Context, wstrRequestId string) ([]byte, error)
- type KLHSTHFDATUMValue
- type KLHSTHFPRODUCTValue
- type KLHSTHTRCustom
- type KLHSTMRCustom
- type KLHSTMRCustomValue
- type KLHSTMRSPECIALADValue
- type KLHSTMRSPECIALValue
- type KLINVLICLICPRODUCTSARRAYValue
- type KLPRSSEVPNotifications
- type KLPRSSEVPNotificationsValue
- type KLQRSQUERYDATAValue
- type KLUpdate
- type KLUpdateValue
- type KeyDataParams
- type KeyPairAccess
- type KeyService
- func (ks *KeyService) DecryptData(ctx context.Context, pEncryptedData, wstrProdName, wstrProdVersion string) (*PDecryptedData, []byte, error)
- func (ks *KeyService) EncryptData(ctx context.Context, pData string) (*PEncryptedData, []byte, error)
- func (ks *KeyService) EncryptDataForHost(ctx context.Context, wstrHostId, pData string) (*PEncryptedData, []byte, error)
- func (ks *KeyService) GenerateTransportCertificate(ctx context.Context, wstrCommonName string) (*TransportCertificate, []byte, error)
- type KeyService2
- type KillChain
- type KldpnsIL
- type KldpnsILValue
- type KlevpNdBodyFilter
- type KlhstACLTrusteeSid
- type KlhstHFDatum
- type KlhstHFProduct
- type KlhstMrSpecial
- type KlhstMrSpecialAd
- type KlhstPrcstComponentID
- type KlhstPrcstComponentVersion
- type KlhstWksResults
- type KlinvlicData
- type KlinvlicKey
- type KlinvlicLicProductsArray
- type KlinvlicMasks
- type KlinvlicMasksValue
- type KlmdmCmdFlag
- type KlmigrArrProductsInfo
- type Klpkg
- type KlpkgEULA
- type KlpkgNpiExtraData
- type KlpkgNpiSize
- type KlpkgNpiTime
- type KlpolPolOutbreak
- type KlqrsQueryData
- type KlrptChartDatum
- type KlrptOutputFormat
- type KlrptOutputFormatValue
- type KlsplPermission
- type KlsplPermissionValue
- type KlsrvCertutilsCERTPPart
- type KlsrvHststat
- type KlsrvHststatValue
- type KlvsrvLicense
- type KlvsrvLicenseValue
- type KlvsrvProdBuilds
- type KlvsrvProdValue
- type KlvsrvProdVersion
- type KlvsrvProds
- type KlvsrvProducts
- type KnownProductVal
- type KnownProducts
- type KnownProductsVal
- type KscClient
- type KsnInternal
- func (sd *KsnInternal) CheckKsnConnection(ctx context.Context) (*PxgValBool, []byte, error)
- func (sd *KsnInternal) GetNKsnEula(ctx context.Context, wstrNKsnLoc string) ([]byte, error)
- func (sd *KsnInternal) GetNKsnEulas(ctx context.Context) ([]byte, error)
- func (sd *KsnInternal) GetSettings(ctx context.Context) (*KsnSettings, []byte, error)
- func (sd *KsnInternal) NeedToSendStatistics(ctx context.Context) (*PxgValBool, []byte, error)
- type KsnSettings
- type LKResponse
- type LicenseInfoSync
- func (lis *LicenseInfoSync) AcquireKeysForProductOnHost(ctx context.Context, szwHostName, szwProduct, szwVersion string) ([]byte, error)
- func (lis *LicenseInfoSync) GetKeyDataForHost(ctx context.Context, szwSerial, szwHostName, szwProduct, szwVersion string) ([]byte, error)
- func (lis *LicenseInfoSync) IsLicForSaasValid2(ctx context.Context, params SaasKeyParam2) ([]byte, error)
- func (lis *LicenseInfoSync) IsPCloudKey(ctx context.Context, nProductId int64) ([]byte, error)
- func (lis *LicenseInfoSync) SynchronizeLicInfo2(ctx context.Context) (*PxgValStr, []byte, error)
- func (lis *LicenseInfoSync) TryToInstallLicForSaas2(ctx context.Context, params SaasKeyParam2) ([]byte, error)
- func (lis *LicenseInfoSync) TryToUnistallLicense(ctx context.Context, bCurrent bool) ([]byte, error)
- type LicenseKeyParams
- type LicenseKeys
- func (lk *LicenseKeys) AcquireKeyHosts(ctx context.Context, params AcquireKeyHostsParams) (*HostsKeyIterator, []byte, error)
- func (lk *LicenseKeys) AdjustKey(ctx context.Context, params AdjustKeyParams) ([]byte, error)
- func (lk *LicenseKeys) CheckIfSaasLicenseIsValid(ctx context.Context, params SaasKeyParam) ([]byte, error)
- func (lk *LicenseKeys) DownloadKeyFiles(ctx context.Context, wstrActivationCode string) bool
- func (lk *LicenseKeys) EnumKeys(ctx context.Context, params EnumKeysParams) ([]byte, error)
- func (lk *LicenseKeys) GetKeyData(ctx context.Context, params KeyDataParams) ([]byte, error)
- func (lk *LicenseKeys) InstallKey(ctx context.Context, pKeyInfo interface{}) bool
- func (lk *LicenseKeys) SaasTryToInstall(ctx context.Context, params SaasKeyParam) ([]byte, error)
- func (lk *LicenseKeys) SaasTryToUninstall(ctx context.Context, bCurrent bool) ([]byte, error)
- func (lk *LicenseKeys) UninstallKey(ctx context.Context, bCurrent bool) ([]byte, error)
- type LicenseKeysResponse
- type LicensePolicy
- func (lp *LicensePolicy) GetFreeLicenseCount(ctx context.Context, nFunctionality int64) ([]byte, error)
- func (lp *LicensePolicy) GetTotalLicenseCount(ctx context.Context, nFunctionality int64) (*PxgValInt, []byte, error)
- func (lp *LicensePolicy) IsLimitedMode(ctx context.Context, nFunctionality int64) (*PxgValBool, []byte, error)
- func (lp *LicensePolicy) SetLimitedModeTest(ctx context.Context, bLimited bool, eFunctionality int64) ([]byte, error)
- func (lp *LicensePolicy) SetTotalLicenseCountTest(ctx context.Context, eFunctionality, nCount int64) ([]byte, error)
- func (lp *LicensePolicy) SetUsedLicenseCountTest(ctx context.Context, eFunctionality, nCount int64) ([]byte, error)
- type LicenseProductParams
- type Limits
- type ListTags
- func (lt *ListTags) AddTag(ctx context.Context, params NewTagParams) ([]byte, error)
- func (lt *ListTags) DeleteTags2(ctx context.Context, params interface{}) ([]byte, error)
- func (lt *ListTags) GetAllTags(ctx context.Context, params interface{}) ([]byte, error)
- func (lt *ListTags) GetTags(ctx context.Context, params interface{}) ([]byte, error)
- func (lt *ListTags) RenameTag(ctx context.Context, params interface{}) ([]byte, error)
- func (lt *ListTags) SetTags(ctx context.Context, params interface{}) ([]byte, error)
- type Locdata
- type LoggedInUsing2FA
- type Long
- type MDExportParams
- type MDPOptions
- type MdmCertCtrlApi
- func (mca *MdmCertCtrlApi) CancelGeneratePackage2(ctx context.Context, wstrRequestId string) error
- func (mca *MdmCertCtrlApi) CancelSetCertificate2(ctx context.Context, wstrRequestId string) error
- func (mca *MdmCertCtrlApi) CheckMailNotificationSettings(ctx context.Context, bCheckMainServerDefaults bool) (*PxgValBool, error)
- func (mca *MdmCertCtrlApi) CheckPkiEnabled(ctx context.Context) (*PxgValStr, error)
- func (mca *MdmCertCtrlApi) GetCertificatePublic(ctx context.Context, nCertId int64) error
- func (mca *MdmCertCtrlApi) GetIssuanceSettings(ctx context.Context) (*IssuanceSettings, error)
- func (mca *MdmCertCtrlApi) GetIssuanceSettingsByType(ctx context.Context, nCertType int64) (*IssuanceSetting, error)
- func (mca *MdmCertCtrlApi) GetPkiTemplates(ctx context.Context, bForceReload bool) error
- type MfaCache
- type MfaCacheInner
- func (mci *MfaCacheInner) GetMfaKeyIssuer(ctx context.Context) ([]byte, error)
- func (mci *MfaCacheInner) GetMfaRequiredForAll(ctx context.Context) ([]byte, error)
- func (mci *MfaCacheInner) GetTotpSecretKeySettings(ctx context.Context) ([]byte, error)
- func (mci *MfaCacheInner) GetTotpVerifySettings(ctx context.Context) ([]byte, error)
- func (mci *MfaCacheInner) IsCurrentUserExcludesMfa(ctx context.Context) ([]byte, error)
- type MfaCacheInnerTest
- type MigrationData
- func (md *MigrationData) AcquireKnownProducts(ctx context.Context) (*KnownProducts, []byte, error)
- func (md *MigrationData) CancelExport(ctx context.Context, wstrActionGuid string) ([]byte, error)
- func (md *MigrationData) Export(ctx context.Context, params MDExportParams) (*PxgValStr, []byte, error)
- func (md *MigrationData) Import(ctx context.Context, params ImportMDParams) (*PxgValStr, []byte, error)
- func (md *MigrationData) InitFileUpload(ctx context.Context) (*PxgValStr, []byte, error)
- type ModulesIntegrityCheck
- type MovePolicyParams
- type Multitenancy
- func (m *Multitenancy) CheckAuthToken(ctx context.Context, params VerifyTokenParam) ([]byte, error)
- func (m *Multitenancy) GetAuthToken(ctx context.Context) (*PxgValStr, []byte, error)
- func (m *Multitenancy) GetProducts(ctx context.Context, strProdName, strProdVersion string) ([]byte, error)
- func (m *Multitenancy) GetTenantId(ctx context.Context) (*PxgValStr, []byte, error)
- type NLimits
- type NSyncInfoParams
- type NagCgwHelper
- type NagGuiCalls
- type NagHstCtl
- func (nh *NagHstCtl) GetHostRuntimeInfo(ctx context.Context, params interface{}) ([]byte, error)
- func (nh *NagHstCtl) SendProductAction(ctx context.Context, szwProduct, szwVersion string, nProductAction int64) ([]byte, error)
- func (nh *NagHstCtl) SendTaskAction(ctx context.Context, szwProduct, szwVersion, szwTaskStorageId string, ...) ([]byte, error)
- type NagLocation
- type NagNetworkListApi
- type NagRdu
- func (nr *NagRdu) ChangeTraceParams(ctx context.Context, szwProductID string, nTraceLevel int64) (*CurrentHostState, []byte, error)
- func (nr *NagRdu) ChangeTraceRotatedParams(ctx context.Context, szwProductID string, ...) (*CurrentHostState, []byte, error)
- func (nr *NagRdu) ChangeXperfBaseParams(ctx context.Context, szwProductID string, nTraceLevel, nXPerfMode int64) (*CurrentHostState, []byte, error)
- func (nr *NagRdu) ChangeXperfRotatedParams(ctx context.Context, szwProductID string, ...) (*CurrentHostState, []byte, error)
- func (nr *NagRdu) CreateAndDownloadDumpAsync(ctx context.Context, szwProcessName string) (*PxgValStr, []byte, error)
- func (nr *NagRdu) DeleteFile(ctx context.Context, szwRemoteFile string) (*CurrentHostState, []byte, error)
- func (nr *NagRdu) DeleteFiles(ctx context.Context, params RemoteFilesParams) (*CurrentHostState, []byte, error)
- func (nr *NagRdu) DownloadCommonDataAsync(ctx context.Context) (*PxgValStr, []byte, error)
- func (nr *NagRdu) DownloadEventlogAsync(ctx context.Context, szwEventLog string) (*PxgValStr, []byte, error)
- func (nr *NagRdu) ExecuteFileAsync(ctx context.Context, szwURL, szwShortExecName, szwParams string) (*PxgValStr, []byte, error)
- func (nr *NagRdu) ExecuteGsiAsync(ctx context.Context) (*PxgValStr, []byte, error)
- func (nr *NagRdu) GetCurrentHostState(ctx context.Context) (*CurrentHostState, []byte, error)
- func (nr *NagRdu) GetUrlToDownloadFileFromHost(ctx context.Context, szwRemoteFile string) (*PxgValStr, []byte, error)
- func (nr *NagRdu) GetUrlToUploadFileToHost(ctx context.Context) (*PxgValStr, []byte, error)
- func (nr *NagRdu) RunKlnagchkAsync(ctx context.Context, szwProductID string) (*PxgValStr, []byte, error)
- func (nr *NagRdu) SetProductStateAsync(ctx context.Context, szwProductID string, nNewState int64) (*PxgValStr, []byte, error)
- type NagRemoteScreen
- func (nrs *NagRemoteScreen) CloseSession(ctx context.Context, params SharingHandle) ([]byte, error)
- func (nrs *NagRemoteScreen) GetDataForTunnel(ctx context.Context, params SharingHandle) (*TunnelData, []byte, error)
- func (nrs *NagRemoteScreen) GetExistingSessions(ctx context.Context, nType int64) (*ExistingSessions, []byte, error)
- func (nrs *NagRemoteScreen) GetWdsData(ctx context.Context, params WdsDataParams) ([]byte, error)
- func (nrs *NagRemoteScreen) OpenSession(ctx context.Context, nType int64, szwID string) (*SessionHandle, []byte, error)
- type NagentLocation
- type NetUtils
- type NetworkListFileInfo
- type NetworkListParams
- type NewHost
- type NewPackage
- type NewPolicy
- type NewTagParams
- type NlaDefinedNetworks
- func (ndn *NlaDefinedNetworks) AddNetwork(ctx context.Context, wstrNetworkName string) (*PxgValInt, []byte, error)
- func (ndn *NlaDefinedNetworks) DeleteNetwork(ctx context.Context, nNetworkId int64) ([]byte, error)
- func (ndn *NlaDefinedNetworks) GetNetworkInfo(ctx context.Context, nNetworkId int64) (*PNetworkInfo, []byte, error)
- func (ndn *NlaDefinedNetworks) GetNetworksList(ctx context.Context) (*PNetworkList, []byte, error)
- func (ndn *NlaDefinedNetworks) SetNetworkInfo(ctx context.Context, params interface{}) ([]byte, error)
- type Null
- type OAuth2
- func (oa *OAuth2) GetClients(ctx context.Context, nFilterByState int64) (*IssuanceSetting, error)
- func (oa *OAuth2) GetClientsToRegistration(ctx context.Context) ([]byte, error)
- func (oa *OAuth2) GetNewClients(ctx context.Context) ([]byte, error)
- func (oa *OAuth2) GetNewResServers(ctx context.Context) ([]byte, error)
- func (oa *OAuth2) GetResServers(ctx context.Context, nFilterByState int64) (*IssuanceSetting, error)
- func (oa *OAuth2) GetResServersToRegistration(ctx context.Context) ([]byte, error)
- type OPData
- type OSAttribute
- type OSAttributeValue
- type OSAttributes
- type OSIndices
- type OSRetVal
- type OSRetValS
- type OSValue
- type OUAttributes
- type OUAttributesParams
- type OUPData
- type ObservedAppsParams
- type OptionsEx
- type OrderValue
- type OsVersion
- type OutbreakPolicies
- type OutbreakPoliciesParams
- type PAccount
- type PArrDetect
- type PAvailableUpdateComps
- type PChartData
- type PData
- type PDecryptedData
- type PDetectValue
- type PEULAParam
- type PEULAParams
- type PEncryptedData
- type PEulaIDParams
- type PEulasInfo
- type PEulasInfoElement
- type PEulasInfoValue
- type PEventBody
- type PExtraDataClass
- type PExtraDataValue
- type PFailedSlavesInfo
- type PFilter
- type PFindParams
- type PGrpParams
- type PGrpValue
- type PInData
- type PIncidentData
- type PInfo
- type PInfoGroup
- type PInfoRaM
- type PInvalidIntervals
- type PKData
- type PKeyInfo
- type PKeyPair
- type PLCDevApi
- type PLicKeyData
- type PLicProdData
- type PList
- type PListValue
- type PLocation
- type PNetwork
- type PNetworkInfo
- type PNetworkList
- type PNetworks
- type PNewStatus
- type PNewStatusValue
- type PNewStatuses
- type POptions
- type PPInfo
- type PParams
- type PPngData
- type PPolicies
- type PPolicyData
- type PResults
- type PRuleInfo
- type PRules
- type PSettings
- type PSharingHandle
- type PStateData
- type PSubnetSettings
- type PSubnetSettingsClass
- type PSubnetUpdateSettings
- type PSubnetUpdateSettingsClass
- type PSupportedLanguages
- type PTaskParams
- type PTrusteeData
- type PUaInfo
- type PUasArr
- type PUpdate
- type PUpdateValue
- type PUpdates
- type PUpdatesID
- type PUpdatesValue
- type PUser
- type PUserData
- type Package
- type PackageStruct
- type Packages
- type PackagesApi
- func (pa *PackagesApi) AcceptEulas(ctx context.Context, params EULAIDParams) ([]byte, error)
- func (pa *PackagesApi) AddExtendedSign(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) AddExtendedSignAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) AllowSharedPrerequisitesInstallation(ctx context.Context, nPackageId int64, bAllow bool) ([]byte, error)
- func (pa *PackagesApi) CancelCreateExecutablePkg(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (pa *PackagesApi) CancelGetExecutablePkgFile(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (pa *PackagesApi) CancelRecordNewPackage(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (pa *PackagesApi) CancelUpdateBasesInPackages(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (pa *PackagesApi) CreateExecutablePkgAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) DeleteExecutablePkg(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetEulaText(ctx context.Context, nEulaId int64) (*EULA, []byte, error)
- func (pa *PackagesApi) GetExecutablePackages(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetExecutablePkgFileAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) GetIncompatibleAppsInfo(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetIntranetFolderForNewPackage(ctx context.Context, wstrProductName, wstrProductVersion string) (*PxgValStr, []byte, error)
- func (pa *PackagesApi) GetIntranetFolderForPackage(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetKpdProfileString(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) GetLicenseKey(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetLoginScript(ctx context.Context, nPackageId int64, wstrTaskId string) ([]byte, error)
- func (pa *PackagesApi) GetMoveRuleInfo(ctx context.Context, nRuleId int64) ([]byte, error)
- func (pa *PackagesApi) GetPackageInfo(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetPackageInfo2(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetPackageInfoFromArchive(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) GetPackagePlugin(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) GetPackages(ctx context.Context) (*Packages, []byte, error)
- func (pa *PackagesApi) GetPackages2(ctx context.Context) (*Packages, []byte, error)
- func (pa *PackagesApi) GetRebootOptionsEx(ctx context.Context, nPackageId int64) (*RebootOptionsEx, []byte, error)
- func (pa *PackagesApi) GetUserAgreements(ctx context.Context) (*UserEULAS, []byte, error)
- func (pa *PackagesApi) IsPackagePublished(ctx context.Context, nPkgExecId int64) (*PxgValBool, []byte, error)
- func (pa *PackagesApi) PrePublishMobilePackage(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) PublishMobileManifest(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) PublishMobilePackage(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) PublishStandalonePackage(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) ReadKpdFile(ctx context.Context, nPackageId int64) (*PxgValStr, []byte, error)
- func (pa *PackagesApi) ReadPkgCfgFile(ctx context.Context, nPackageId int64, wstrFileName string) (*PxgValStr, []byte, error)
- func (pa *PackagesApi) RecordNewPackage(ctx context.Context, params NewPackage) (*PxgValStr, []byte, error)
- func (pa *PackagesApi) RecordNewPackage2(ctx context.Context, params *NewPackage) (*PxgValStr, []byte, error)
- func (pa *PackagesApi) RecordNewPackage3(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) RecordNewPackage3Async(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) RecordNewPackageAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) RecordVapmPackageAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) RemovePackage(ctx context.Context, nPackageId int64) ([]byte, error)
- func (pa *PackagesApi) RemovePackage2(ctx context.Context, nPackageId int64) (*RemovePackageResult, []byte, error)
- func (pa *PackagesApi) RenamePackage(ctx context.Context, nPackageId int64, wstrNewPackageName string) ([]byte, error)
- func (pa *PackagesApi) ResetDefaultServerSpecificSettings(ctx context.Context, nPackageId int64) (*PxgValBool, []byte, error)
- func (pa *PackagesApi) ResolvePackageLcid(ctx context.Context, nPackageId, nLcid int64) ([]byte, error)
- func (pa *PackagesApi) RetranslateToVServerAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) SSGetNames(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) SSRead(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) SSSectionOperation(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) SSWrite(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) SetLicenseKey(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) SetRemoveIncompatibleApps(ctx context.Context, nPackageId int64, bRemoveIncompatibleApps bool) (*PxgValBool, []byte, error)
- func (pa *PackagesApi) UnpublishMobilePackage(ctx context.Context, wstrProfileId string) ([]byte, error)
- func (pa *PackagesApi) UpdateBasesInPackagesAsync(ctx context.Context, params interface{}) ([]byte, error)
- func (pa *PackagesApi) WriteKpdProfileString(ctx context.Context, nPackageId int64, wstrSection, wstrKey, wstrValue string) ([]byte, error)
- func (pa *PackagesApi) WritePkgCfgFile(ctx context.Context, params PkgCFGFileParams) ([]byte, error)
- type PageSettings
- type PageSettingsValue
- type Parameters
- type PatchOption
- type PatchParameters
- func (pp *PatchParameters) GetTemplate(ctx context.Context, patchID, locID int64) ([]byte, error)
- func (pp *PatchParameters) GetValues(ctx context.Context, patchID, locID int64) ([]byte, error)
- func (pp *PatchParameters) GetValuesByPkg(ctx context.Context, packageId int64) ([]byte, error)
- func (pp *PatchParameters) SetValues(ctx context.Context, params interface{}) ([]byte, error)
- func (pp *PatchParameters) SetValuesByPkg(ctx context.Context, params interface{}) ([]byte, error)
- type PatchParams
- type PatchValue
- type PendingRulesTasks
- type Permissions
- type PkgCFGFileParams
- type PluginDatadeprecated
- type PluginDataStorage
- type PolOutbreak
- type Policy
- func (pl *Policy) AddPolicy(ctx context.Context, params NewPolicy) (*PxgValInt, error)
- func (pl *Policy) CopyOrMovePolicy(ctx context.Context, params MovePolicyParams) (*PxgValInt, error)
- func (pl *Policy) DeletePolicy(ctx context.Context, nPolicy int64) error
- func (pl *Policy) ExportPolicy(ctx context.Context, lPolicy int64) (*PxgValStr, error)
- func (pl *Policy) GetEffectivePoliciesForGroup(ctx context.Context, nGroupId int64) (*PolicyList, error)
- func (pl *Policy) GetOutbreakPolicies(ctx context.Context) (*OutbreakPolicies, error)
- func (pl *Policy) GetPoliciesForGroup(ctx context.Context, nGroupId int64) (*PolicyList, error)
- func (pl *Policy) GetPolicyContents(ctx context.Context, nPolicy, nRevisionId, nLifeTime int64) (*PxgValStr, error)
- func (pl *Policy) GetPolicyData(ctx context.Context, nPolicy int64) (*PxgValPolicy, error)
- func (pl *Policy) ImportPolicy(ctx context.Context, params PolicyBlob) (*PxgValStr, []byte, error)
- func (pl *Policy) MakePolicyActive(ctx context.Context, nPolicy int64, bActive bool) (*PxgValBool, error)
- func (pl *Policy) MakePolicyRoaming(ctx context.Context, nPolicy int64) (*PxgValBool, error)
- func (pl *Policy) RevertPolicyToRevision(ctx context.Context, nPolicy, nRevisionId int64) error
- func (pl *Policy) SetOutbreakPolicies(ctx context.Context, params OutbreakPoliciesParams) error
- func (pl *Policy) UpdatePolicyData(ctx context.Context, params PolicyDataUpdateParams) ([]byte, error)
- type PolicyBlob
- type PolicyDataUpdateParams
- type PolicyList
- type PolicyProfiles
- func (pp *PolicyProfiles) AddProfile(ctx context.Context, params interface{}) ([]byte, error)
- func (pp *PolicyProfiles) DeleteProfile(ctx context.Context, nPolicy int64, szwName string) ([]byte, error)
- func (pp *PolicyProfiles) EnumProfiles(ctx context.Context, nPolicy, nRevision int64) ([]byte, error)
- func (pp *PolicyProfiles) ExportProfile(ctx context.Context, lPolicy int64, szwName string) ([]byte, error)
- func (pp *PolicyProfiles) GetEffectivePolicyContents(ctx context.Context, nPolicy, nLifeTime int64, szwHostId string) (*PxgValStr, []byte, error)
- func (pp *PolicyProfiles) GetPriorities(ctx context.Context, nPolicy, nRevision int64) ([]byte, error)
- func (pp *PolicyProfiles) GetProfile(ctx context.Context, nPolicy, nRevision int64, szwName string) ([]byte, error)
- func (pp *PolicyProfiles) GetProfileSettings(ctx context.Context, nPolicy, nLifeTime, nRevision int64, szwName string) (*PxgValStr, []byte, error)
- func (pp *PolicyProfiles) ImportProfile(ctx context.Context, lPolicy int64, pData string) ([]byte, error)
- func (pp *PolicyProfiles) PutPriorities(ctx context.Context, params ProfilesPrioritiesParams) ([]byte, error)
- func (pp *PolicyProfiles) RenameProfile(ctx context.Context, nPolicy int64, szwExistingName, szwNewName string) ([]byte, error)
- func (pp *PolicyProfiles) UpdateProfile(ctx context.Context, params interface{}) ([]byte, error)
- type PpObj
- type ProcessingRules
- type ProductBackendIntegration
- type ProductComponent
- type ProductComponents
- type ProductComponentsArray
- type ProductFixes
- type ProductUserTokenIssuer
- type Products
- type ProductsInfoValue
- type ProductsValue
- type ProductsValues
- type ProfilesPrioritiesParams
- type PropagationState
- type ProtectedData
- type PrtsTaskCreationDate
- type PushServerOApi
- type PxgRetError
- type PxgRetVal
- type PxgRetValCIFIL
- type PxgRetValPolicy
- type PxgValArrayOfInt
- type PxgValArrayOfString
- type PxgValBool
- type PxgValCIFIL
- type PxgValInt
- type PxgValPolicy
- type PxgValStr
- type QBTNetworkListApi
- func (nc *QBTNetworkListApi) AddListItemTask(ctx context.Context, params QBTParams) ([]byte, error)
- func (nc *QBTNetworkListApi) AddListItemsTask(ctx context.Context, params QBTsParam) ([]byte, error)
- func (nc *QBTNetworkListApi) GetListItemInfo(ctx context.Context, itemId int64) (*NetworkListFileInfo, []byte, error)
- type QBTParams
- type QBTsParam
- type QueriesStorage
- func (qs *QueriesStorage) AddQuery(ctx context.Context, params interface{}) ([]byte, error)
- func (qs *QueriesStorage) DeleteQuery(ctx context.Context, nId int64) ([]byte, error)
- func (qs *QueriesStorage) GetQueries(ctx context.Context, eType int64) ([]byte, error)
- func (qs *QueriesStorage) GetQuery(ctx context.Context, nId int64) (*QueryParams, []byte, error)
- func (qs *QueriesStorage) GetQueryIds(ctx context.Context, eType int64) ([]byte, error)
- func (qs *QueriesStorage) UpdateQuery(ctx context.Context, params interface{}) ([]byte, error)
- type QueryParamVal
- type QueryParams
- type RPOptions
- type RebootOptionsEx
- type RecordRangeParams
- type RefPolicies
- type RefPolicy
- type RefPolicyValue
- type RemoteFilesParams
- type RemoveHostsParams
- type RemovePackageResult
- type ReportData
- type ReportManager
- func (rm *ReportManager) AddReport(ctx context.Context, params interface{}) (*PxgValInt, []byte, error)
- func (rm *ReportManager) CancelStatisticsRequest(ctx context.Context, strRequestId string) ([]byte, error)
- func (rm *ReportManager) CollectStatisticsAsync(ctx context.Context) (*PxgValArrayOfInt, []byte, error)
- func (rm *ReportManager) CreateChartPNG(ctx context.Context, params ChartDataParams) (*PPngData, []byte, error)
- func (rm *ReportManager) EnumReportTypes(ctx context.Context) ([]byte, error)
- func (rm *ReportManager) EnumReports(ctx context.Context) ([]byte, error)
- func (rm *ReportManager) ExecuteReportAsync(ctx context.Context, params ExecuteReportParams) (*RequestID, []byte, error)
- func (rm *ReportManager) ExecuteReportAsyncCancel(ctx context.Context, strRequestId string) ([]byte, error)
- func (rm *ReportManager) ExecuteReportAsyncCancelWaitingForSlaves(ctx context.Context, strRequestId string) ([]byte, error)
- func (rm *ReportManager) ExecuteReportAsyncGetData(ctx context.Context, strRequestId string, nChunkSize int64) (*ReportData, []byte, error)
- func (rm *ReportManager) GetAvailableDashboards(ctx context.Context) (*PxgValArrayOfInt, []byte, error)
- func (rm *ReportManager) GetConstantOutputForReportType(ctx context.Context, lReportType, lXmlTargetType int64) (*PxgValStr, []byte, error)
- func (rm *ReportManager) GetDefaultReportInfo(ctx context.Context, lReportType int64) ([]byte, error)
- func (rm *ReportManager) GetFilterSettings(ctx context.Context, lReportType int64) ([]byte, error)
- func (rm *ReportManager) GetReportCommonData(ctx context.Context, lReportId int64) ([]byte, error)
- func (rm *ReportManager) GetReportIds(ctx context.Context) (*PxgValArrayOfInt, []byte, error)
- func (rm *ReportManager) GetReportInfo(ctx context.Context, lReportId int64) ([]byte, error)
- func (rm *ReportManager) GetReportTypeDetailedInfo(ctx context.Context, lReportType int64) ([]byte, error)
- func (rm *ReportManager) GetStatisticsData(ctx context.Context, strRequestId string) ([]byte, error)
- func (rm *ReportManager) RemoveReport(ctx context.Context, lReportId int64) ([]byte, error)
- func (rm *ReportManager) RequestStatisticsData(ctx context.Context, params interface{}) (*RequestID, []byte, error)
- func (rm *ReportManager) ResetStatisticsData(ctx context.Context, params interface{}) (*RequestID, []byte, error)
- func (rm *ReportManager) UpdateReport(ctx context.Context, params interface{}) ([]byte, error)
- type RequestID
- type RequiredPlugins
- type ResetIterForClusterParams
- type RetrFiles
- type Retranslate
- type RetranslateValue
- type Retranslates
- type RiTask
- type RoleValue
- type RolesAttributes
- type RolesIteratorArray
- type RolesPChunk
- type Rules
- type RulesOrderParams
- type SQCParams
- type SQParams
- type SSCParams
- type SSCRetVal
- type SaasKeyPInData
- type SaasKeyParam
- type SaasKeyParam2
- type SaasPKeyInfo
- type ScanDiapasons
- func (sd *ScanDiapasons) AddDiapason(ctx context.Context, params interface{}) ([]byte, error)
- func (sd *ScanDiapasons) GetDiapason(ctx context.Context, params DiapasonParams) (*DiapasonAttributes, []byte, error)
- func (sd *ScanDiapasons) GetDiapasons(ctx context.Context, params DiapasonsParams) (*PxgValStr, []byte, error)
- func (sd *ScanDiapasons) NotifyDpnsTask(ctx context.Context) ([]byte, error)
- func (sd *ScanDiapasons) RemoveDiapason(ctx context.Context, idDiapason int64) ([]byte, error)
- func (sd *ScanDiapasons) UpdateDiapason(ctx context.Context, params UpdateDiapasonParams) (*UpdateDiapasonRespond, []byte, error)
- type ScopeGroup
- type ScopeGroupValue
- type ScopeID
- type SeamlessUpdatesTestApideprecated
- func (suta *SeamlessUpdatesTestApi) CleanupSeamlessUpdates(ctx context.Context) (*LoggedInUsing2FA, error)
- func (suta *SeamlessUpdatesTestApi) GetRequiredPlugins(ctx context.Context) (*RequiredPlugins, error)
- func (suta *SeamlessUpdatesTestApi) GetVapmKlUpdatesToApprove(ctx context.Context) (*VapmKlUpdatesToApprove, error)
- type SectionParams
- type SecurityGroupParams
- type SecurityPolicy
- func (sp *SecurityPolicy) AddUser(ctx context.Context, params PUserData) (*PxgValInt, []byte, error)
- func (sp *SecurityPolicy) GetCurrentUserId(ctx context.Context) (*UserInfo, []byte, error)
- func (sp *SecurityPolicy) GetCurrentUserId2(ctx context.Context) (*UserInfoEx, []byte, error)
- func (sp *SecurityPolicy) GetUsers(ctx context.Context, lUserId, lVsId int64) (*UsersInfo, []byte, error)
- func (sp *SecurityPolicy) LoadPerUserData(ctx context.Context) ([]byte, error)
- func (sp *SecurityPolicy) SavePerUserData(ctx context.Context, params interface{}) ([]byte, error)
- func (sp *SecurityPolicy) UpdateTrustee(ctx context.Context, params TrusteeParam) ([]byte, error)
- func (sp *SecurityPolicy) UpdateUser(ctx context.Context, lUserId int, params PUserData) (*PxgValInt, []byte, error)
- type SecurityPolicy3
- func (sp *SecurityPolicy3) AddSecurityGroup(ctx context.Context, params SecurityGroupParams) (*PxgValInt, error)
- func (sp *SecurityPolicy3) AddUserIntoSecurityGroup(ctx context.Context, lUserId, lGrpId int64) error
- func (sp *SecurityPolicy3) CloseUserConnections(ctx context.Context, lUserId int64) error
- func (sp *SecurityPolicy3) DeleteSecurityGroup(ctx context.Context, lGrpId int64) error
- func (sp *SecurityPolicy3) DeleteUserFromSecurityGroup(ctx context.Context, lUserId, lGrpId int64) error
- func (sp *SecurityPolicy3) MoveUserIntoOtherSecurityGroup(ctx context.Context, lUserId, lGrpIdFrom, lGrpIdTo int64) error
- func (sp *SecurityPolicy3) UpdateSecurityGroup(ctx context.Context, params UpdateSecurityGroupParams) error
- type SelfSignedCERTParams
- type SelfSignedCERTResponse
- type ServerHierarchy
- func (sh *ServerHierarchy) DelServer(ctx context.Context, lServer int64) ([]byte, error)
- func (sh *ServerHierarchy) FindSlaveServers(ctx context.Context, params PFindParams) ([]byte, error)
- func (sh *ServerHierarchy) GetChildServers(ctx context.Context, nGroupId int64) ([]byte, error)
- func (sh *ServerHierarchy) GetServerInfo(ctx context.Context, params ServerHierarchyParams) ([]byte, error)
- type ServerHierarchyParams
- type ServerInstanceStatistics
- type ServerStaticInfo
- type ServerTransportSettings
- func (sts *ServerTransportSettings) CheckDefaultCertificateExists(ctx context.Context, szwCertType string) (*PxgValBool, []byte, error)
- func (sts *ServerTransportSettings) GetCurrentConnectionSettings(ctx context.Context, szwCertType string) (*CurrentConnectionSettings, []byte, error)
- func (sts *ServerTransportSettings) GetCustomSrvCertificateInfo(ctx context.Context, szwCertType string) ([]byte, error)
- func (sts *ServerTransportSettings) GetDefaultConnectionSettings(ctx context.Context, szwCertType string) (*CurrentConnectionSettings, []byte, error)
- func (sts *ServerTransportSettings) GetNumberOfManagedDevicesAgentless(ctx context.Context) (*PxgValInt, []byte, error)
- func (sts *ServerTransportSettings) GetNumberOfManagedDevicesKSM(ctx context.Context) (*PxgValInt, []byte, error)
- func (sts *ServerTransportSettings) IsFeatureActive(ctx context.Context, szwCertType string) (*PxgValBool, []byte, error)
- func (sts *ServerTransportSettings) ResetCstmReserveCertificate(ctx context.Context, szwCertType string) ([]byte, error)
- func (sts *ServerTransportSettings) ResetDefaultReserveCertificate(ctx context.Context, szwCertType string) ([]byte, error)
- func (sts *ServerTransportSettings) SetCustomSrvCertificate(ctx context.Context, params interface{}) ([]byte, error)
- func (sts *ServerTransportSettings) SetFeatureActive(ctx context.Context, szwCertType string, bFeatureActive bool) (*PxgValBool, []byte, error)
- func (sts *ServerTransportSettings) SetOrCreateDefaultCertificate(ctx context.Context, params interface{}) ([]byte, error)
- type ServiceAccount
- type ServiceNwcCommandProvider
- type ServiceNwcDeployment
- type Session
- func (s *Session) CreateBlob(ctx context.Context, params interface{}) ([]byte, error)
- func (s *Session) CreateToken(ctx context.Context) (*PxgValStr, []byte, error)
- func (s *Session) EndSession(ctx context.Context) ([]byte, error)
- func (s *Session) Ping(ctx context.Context) ([]byte, error)
- func (s *Session) StartSession(ctx context.Context) (*PxgValStr, []byte, error)
- type SessionHandle
- type SessionValue
- type SharingHandle
- type SiemExport
- type Size
- type SmsQueue
- type SmsSenders
- type SpamEvents
- type SrvCloud
- type SrvCloudStat
- type SrvIpmNewsAndStatistics
- type SrvRi
- func (sr *SrvRi) SetRebootConfirmedHosts(ctx context.Context, wstrHostID, wstrTaskID string) (*PxgValBool, error)
- func (sr *SrvRi) SetRiTaskResults(ctx context.Context, params RiTask) (*PropagationState, error)
- func (sr *SrvRi) ShouldForceReboot(ctx context.Context, wstrHostID, wstrTaskID string) (*PxgValBool, error)
- type SrvSsRevision
- func (ssr *SrvSsRevision) SsRevisionClose(ctx context.Context, szwType string) ([]byte, error)
- func (ssr *SrvSsRevision) SsRevisionGetNames(ctx context.Context, szwId, product, version string) ([]byte, error)
- func (ssr *SrvSsRevision) SsRevisionOpen(ctx context.Context, nVServer, nRevision int64, szwType string) ([]byte, error)
- type SrvView
- func (sv *SrvView) GetRecordCount(ctx context.Context, wstrIteratorId string) (*PxgValInt, []byte, error)
- func (sv *SrvView) GetRecordRange(ctx context.Context, params *RecordRangeParams, out interface{}) ([]byte, error)
- func (sv *SrvView) ReleaseIterator(ctx context.Context, wstrIteratorId string) ([]byte, error)
- func (sv *SrvView) ResetIterator(ctx context.Context, params *SrvViewParams) (*WstrIteratorID, []byte, error)
- type SrvViewParams
- type SsContent
- type SsContentD
- type SsContents
- func (sc *SsContents) SSGetNames(ctx context.Context, params SsContentD) (*PxgValArrayOfString, []byte, error)
- func (sc *SsContents) SsAdd(ctx context.Context, params SsContent) ([]byte, error)
- func (sc *SsContents) SsApply(ctx context.Context, wstrID string) ([]byte, error)
- func (sc *SsContents) SsClear(ctx context.Context, params SsContent) ([]byte, error)
- func (sc *SsContents) SsCreateSection(ctx context.Context, params SsContentD) ([]byte, error)
- func (sc *SsContents) SsDelete(ctx context.Context, params SsContentD) ([]byte, error)
- func (sc *SsContents) SsDeleteSection(ctx context.Context, params SsContentD) ([]byte, error)
- func (sc *SsContents) SsRead(ctx context.Context, params SsContentD, v interface{}) ([]byte, error)
- func (sc *SsContents) SsRelease(ctx context.Context, wstrID string) ([]byte, error)
- func (sc *SsContents) SsReplace(ctx context.Context, params SsContent) ([]byte, error)
- func (sc *SsContents) SsUpdate(ctx context.Context, params SsContent) ([]byte, error)
- type SsRevisionGetNames
- type StaticInfoParams
- type StorageSetData
- type StrHostIteratorId
- type StrIteratorId
- type SubGroup
- type SubGroupValue
- type SubGroups
- type SubnetMasks
- type SubscribeEventResponse
- type SupportedLcids
- type SyncInfo
- type TASKADDITIONALPARAMSValue
- type TASKINFOPARAMSValue
- type TOTPSettings
- type TRParams
- type Task
- type TaskAdditionalParams
- type TaskData
- type TaskDescribe
- type TaskHistoryParams
- type TaskInfoParams
- type TaskStatistic
- type TaskStatistics
- type TaskValue
- type Tasks
- func (ts *Tasks) AddTask(ctx context.Context, params interface{}) (*PxgValInt, []byte, error)
- func (ts *Tasks) CancelTask(ctx context.Context, strTask string) ([]byte, error)
- func (ts *Tasks) DeleteTask(ctx context.Context, strTask string) ([]byte, error)
- func (ts *Tasks) GetAllTasksOfHost(ctx context.Context, strDomainName, strHostName string) (*PxgValArrayOfString, []byte, error)
- func (ts *Tasks) GetHostStatusRecordRange(ctx context.Context, strHostIteratorId string, nStart, nEnd int64) ([]byte, error)
- func (ts *Tasks) GetHostStatusRecordsCount(ctx context.Context, strHostIteratorId string) (*PxgValInt, []byte, error)
- func (ts *Tasks) GetNextHostStatus(ctx context.Context, strTaskIteratorId string) ([]byte, error)
- func (ts *Tasks) GetNextTask(ctx context.Context, strTaskIteratorId string) ([]byte, error)
- func (ts *Tasks) GetTask(ctx context.Context, strTask string) (*TaskData, []byte, error)
- func (ts *Tasks) GetTaskData(ctx context.Context, strTask string, tsk interface{}) ([]byte, error)
- func (ts *Tasks) GetTaskGroup(ctx context.Context, strTaskId string) (*PxgValInt, []byte, error)
- func (ts *Tasks) GetTaskHistory(ctx context.Context, params interface{}) (*StrIteratorId, []byte, error)
- func (ts *Tasks) GetTaskStartEvent(ctx context.Context, strTask string) ([]byte, error)
- func (ts *Tasks) GetTaskStatistics(ctx context.Context, strTask string) (*TaskStatistics, []byte, error)
- func (ts *Tasks) ProtectPassword(ctx context.Context, strPassword string) ([]byte, error)
- func (ts *Tasks) ReleaseHostStatusIterator(ctx context.Context, strHostIteratorId string) ([]byte, error)
- func (ts *Tasks) ReleaseTasksIterator(ctx context.Context, strTaskIteratorId string) ([]byte, error)
- func (ts *Tasks) ResetHostIteratorForTaskStatus(ctx context.Context, params HostIteratorForTaskParams) ([]byte, error)
- func (ts *Tasks) ResetHostIteratorForTaskStatusEx(ctx context.Context, params HostIteratorForTaskParamsEx) (*StrHostIteratorId, []byte, error)
- func (ts *Tasks) ResetTasksIterator(ctx context.Context, params TasksIteratorParams) ([]byte, error)
- func (ts *Tasks) ResolveTaskId(ctx context.Context, strPrtsTaskId string) ([]byte, error)
- func (ts *Tasks) ResumeTask(ctx context.Context, strTask string) ([]byte, error)
- func (ts *Tasks) RunTask(ctx context.Context, strTask string) ([]byte, error)
- func (ts *Tasks) SuspendTask(ctx context.Context, strTask string) ([]byte, error)
- type TasksIDSParams
- type TasksIteratorParams
- type TaskschFirstExecutionTime
- type TotpGlobalSettings
- func (tgs *TotpGlobalSettings) Get2FaRequiredForAll(ctx context.Context) (*PxgValBool, error)
- func (tgs *TotpGlobalSettings) GetTotpGlobalSettings(ctx context.Context) (*TOTPSettings, error)
- func (tgs *TotpGlobalSettings) IfCanConfigure2FaSettings(ctx context.Context) (*LoggedInUsing2FA, error)
- func (tgs *TotpGlobalSettings) Set2FaRequiredForAll(ctx context.Context, bRequiredForAll bool) error
- type TotpRegistration
- func (tr *TotpRegistration) ClearSecretForCurrentUser(ctx context.Context) (*PxgValBool, error)
- func (tr *TotpRegistration) DeleteSecret(ctx context.Context, wstrSecretId string) error
- func (tr *TotpRegistration) GenerateSecret(ctx context.Context) (*TotpSecretData, error)
- func (tr *TotpRegistration) IfCurrentUserMayClearSecret(ctx context.Context) (*PxgValBool, error)
- func (tr *TotpRegistration) SaveSecretForCurrentUser(ctx context.Context, wstrSecretId, wstrValidationCode string) error
- type TotpSecretData
- type TotpUserSettings
- func (tgs *TotpUserSettings) AddUserToTotpRequrementExceptions(ctx context.Context, llTrusteeID int, bInExceptions bool) error
- func (tgs *TotpUserSettings) ClearUserSecret(ctx context.Context, llTrusteeID int) error
- func (tgs *TotpUserSettings) IfCanClearUser2FaSecret(ctx context.Context, llTrusteeId int) (*LoggedInUsing2FA, error)
- type TrackingData
- type TrafficManager
- func (tm *TrafficManager) AddRestriction(ctx context.Context, params TrafficRestrictions) (*PxgValInt, []byte, error)
- func (tm *TrafficManager) DeleteRestriction(ctx context.Context, nRestrictionId int64) ([]byte, error)
- func (tm *TrafficManager) GetRestrictions(ctx context.Context) ([]byte, error)
- func (tm *TrafficManager) UpdateRestriction(ctx context.Context, params interface{}) ([]byte, error)
- type TrafficPRestrictions
- type TrafficRestrictions
- type TransportCertificate
- type Trustee
- type TrusteeIteratorArray
- type TrusteePChunk
- type TrusteeParam
- type TrusteeValue
- type Trustees
- type TunnelData
- type UADInfo
- type UDPInfo
- type UPParams
- type UaControl
- func (uc *UaControl) GetAssignUasAutomatically(ctx context.Context) (*PxgValBool, error)
- func (uc *UaControl) GetDefaultUpdateAgentRegistrationInfo(ctx context.Context) (*AgentRegistrationInfo, error)
- func (uc *UaControl) GetUpdateAgentInfo(ctx context.Context, wstrUaHostId string) (*UpdateAgentInfo, error)
- func (uc *UaControl) GetUpdateAgentsDisplayInfoForHost(ctx context.Context, wstrHostId string) (*UpdateAgentsDisplayInfoForHost, error)
- func (uc *UaControl) GetUpdateAgentsList(ctx context.Context) (*UpdateAgentsList, error)
- func (uc *UaControl) ModifyUpdateAgent(ctx context.Context, params AgentRegistrationInfo) error
- func (uc *UaControl) RegisterDmzGateway(ctx context.Context, params interface{}) ([]byte, error)
- func (uc *UaControl) RegisterUpdateAgent(ctx context.Context, params AgentRegistrationInfo) error
- func (uc *UaControl) SetAssignUasAutomatically(ctx context.Context, bEnabled bool) error
- func (uc *UaControl) UnregisterUpdateAgent(ctx context.Context, wstrUaHostId string) error
- type UaScope
- type UaScopeValue
- type UpdComps
- type UpdateAgentInfo
- type UpdateAgentValue
- type UpdateAgentsDisplayInfoForHost
- type UpdateAgentsList
- type UpdateDiapasonParams
- type UpdateDiapasonRespond
- type UpdateGroupParam
- type UpdateIncidentParams
- type UpdateLicenseKeyParams
- type UpdateLicenseProductParams
- type UpdateOUParams
- type UpdateParams
- type UpdateRuleParams
- type UpdateSecurityGroupParams
- type UpdateVServerInfoParams
- type Updates
- func (upd *Updates) GetAvailableUpdatesInfo(ctx context.Context, strLocalization string) (*AvailableUpdates, error)
- func (upd *Updates) GetUpdatesInfo(ctx context.Context, params UpdatesInfoParams) (*UpdatesInfos, error)
- func (upd *Updates) RemoveUpdates(ctx context.Context) (*PxgValStr, error)
- func (upd *Updates) RemoveUpdatesCancel(ctx context.Context, strRequestId string) error
- type UpdatesInfo
- type UpdatesInfoParams
- type UpdatesInfoValue
- type UpdatesInfos
- type UploadParams
- type UserDevicesApi
- func (uda *UserDevicesApi) DeleteCommand(ctx context.Context, c_wstrCommandGuid string, bForced bool) ([]byte, error)
- func (uda *UserDevicesApi) DeleteDevice(ctx context.Context, lDeviceId int64) ([]byte, error)
- func (uda *UserDevicesApi) DeleteEnrollmentPackage(ctx context.Context, lEnrPkgId int64) ([]byte, error)
- func (uda *UserDevicesApi) GenerateQRCode(ctx context.Context, strInputData string, lQRCodeSize, lImageFormat int64) ([]byte, error)
- func (uda *UserDevicesApi) GetCommands(ctx context.Context, lDeviceId int64) ([]byte, error)
- func (uda *UserDevicesApi) GetCommandsLibrary(ctx context.Context) (*CommandsLibrary, error)
- func (uda *UserDevicesApi) GetDecipheredCommandList(ctx context.Context, params interface{}) ([]byte, error)
- func (uda *UserDevicesApi) GetDevice(ctx context.Context, lDeviceId int64) ([]byte, error)
- func (uda *UserDevicesApi) GetDevices(ctx context.Context, params UserID) ([]byte, error)
- func (uda *UserDevicesApi) GetDevicesExtraData(ctx context.Context, params interface{}) ([]byte, error)
- func (uda *UserDevicesApi) GetEnrollmentPackage(ctx context.Context, llEnrPkgId int64) ([]byte, error)
- func (uda *UserDevicesApi) GetEnrollmentPackageFileData(ctx context.Context, c_wstrPackageId, c_wstrPackageFileType string, ...) ([]byte, error)
- func (uda *UserDevicesApi) GetEnrollmentPackageFileInfo(ctx context.Context, ...) ([]byte, error)
- func (uda *UserDevicesApi) GetEnrollmentPackages(ctx context.Context, params interface{}) ([]byte, error)
- func (uda *UserDevicesApi) GetJournalCommandResult(ctx context.Context, llJrnlId int64) ([]byte, error)
- func (uda *UserDevicesApi) GetJournalRecords(ctx context.Context, lDeviceId int64) ([]byte, error)
- func (uda *UserDevicesApi) GetJournalRecords2(ctx context.Context, lDeviceId int64) ([]byte, error)
- func (uda *UserDevicesApi) GetLatestDeviceActivityDate(ctx context.Context, lDeviceId int64) ([]byte, error)
- func (uda *UserDevicesApi) GetMobileAgentSettingStorageData(ctx context.Context, lDeviceId int64, c_wstrSectionName string) ([]byte, error)
- func (uda *UserDevicesApi) GetMultitenancyServerSettings(ctx context.Context, c_wstrMtncServerId string) ([]byte, error)
- func (uda *UserDevicesApi) GetMultitenancyServersInfo(ctx context.Context, nProtocolIds int64) ([]byte, error)
- func (uda *UserDevicesApi) GetSafeBrowserAutoinstallFlag(ctx context.Context) (*PxgValBool, []byte, error)
- func (uda *UserDevicesApi) GetSyncInfo(ctx context.Context, params interface{}) ([]byte, error)
- func (uda *UserDevicesApi) GlueDevices(ctx context.Context, lDevice1Id, lDevice2Id int64) ([]byte, error)
- func (uda *UserDevicesApi) PostCommand(ctx context.Context, params interface{}) ([]byte, error)
- func (uda *UserDevicesApi) RecallCommand(ctx context.Context, c_wstrCommandGuid string) ([]byte, error)
- func (uda *UserDevicesApi) SetMultitenancyServerSettings(ctx context.Context, params interface{}) ([]byte, error)
- func (uda *UserDevicesApi) SetSafeBrowserAutoinstallFlag(ctx context.Context, bInstall bool) ([]byte, error)
- func (uda *UserDevicesApi) SspLoginAllowed(ctx context.Context) ([]byte, error)
- func (uda *UserDevicesApi) UpdateDevice(ctx context.Context, params interface{}) ([]byte, error)
- type UserEULA
- type UserEULAS
- type UserEULAValue
- type UserID
- type UserInfo
- type UserInfoEx
- type UserProperties
- type UsersInfo
- type UsersInfoArray
- type VSInfo
- type VSStatistic
- type VServer
- type VServerInfo
- type VServerInfoParams
- type VServerPermissions
- type VServerStatistic
- type VServers
- func (vs *VServers) AddVServerInfo(ctx context.Context, strDisplayName string, lParentGroup int64) (*VServerInfo, []byte, error)
- func (vs *VServers) DelVServer(ctx context.Context, lVServer int64) (*WActionGUID, error)
- func (vs *VServers) GetPermissions(ctx context.Context, lVServer int64) (*VServerPermissions, error)
- func (vs *VServers) GetVServerInfo(ctx context.Context, params VServerInfoParams) (*VServerInfo, error)
- func (vs *VServers) GetVServers(ctx context.Context, lParentGroup int64) (*VServersInfos, error)
- func (vs *VServers) MoveVServer(ctx context.Context, lVServer int64, lNewParentGroup int64) (*WActionGUID, error)
- func (vs *VServers) RecallCertAndCloseConnections(ctx context.Context, lVServer int64) error
- func (vs *VServers) SetPermissions(ctx context.Context, params ACLParams) ([]byte, error)
- func (vs *VServers) UpdateVServerInfo(ctx context.Context, params UpdateVServerInfoParams) error
- type VServers2
- type VServersInfo
- type VServersInfos
- type Value
- type Value1
- type VapmControlApi
- func (vca *VapmControlApi) AcceptEulas(ctx context.Context, params PEulaIDParams) ([]byte, error)
- func (vca *VapmControlApi) CancelDeleteFilesForUpdates(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (vca *VapmControlApi) CancelDownloadPatch(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (vca *VapmControlApi) ChangeApproval(ctx context.Context, params EulasIDSForUpdates) ([]byte, error)
- func (vca *VapmControlApi) ChangeVulnerabilityIgnorance(ctx context.Context, wstrVulnerabilityUid, wstrHostId string, bIgnore bool) ([]byte, error)
- func (vca *VapmControlApi) DeclineEulas(ctx context.Context, params PEulaIDParams) ([]byte, error)
- func (vca *VapmControlApi) DeleteFilesForUpdates(ctx context.Context, params DeleteFilesForUpdatesParams) ([]byte, error)
- func (vca *VapmControlApi) DownloadPatchAsync(ctx context.Context, llPatchGlbId, nLcid int64, wstrRequestId string) ([]byte, error)
- func (vca *VapmControlApi) GetAttributesSetVersionNum(ctx context.Context) (*PxgValInt, error)
- func (vca *VapmControlApi) GetDownloadPatchDataChunk(ctx context.Context, wstrRequestId string, nStartPos, nSizeMax int64) ([]byte, error)
- func (vca *VapmControlApi) GetDownloadPatchResult(ctx context.Context, wstrRequestId string) ([]byte, error)
- func (vca *VapmControlApi) GetEulaParams(ctx context.Context, nEulaId int64) (*PEULAParams, error)
- func (vca *VapmControlApi) GetEulasIdsForPatchPrerequisites(ctx context.Context, params EulasIDSForPatchPrerequisitesParams) (*EulasIDS, error)
- func (vca *VapmControlApi) GetEulasIdsForUpdates(ctx context.Context, params EulasIdsForUpdatesParams) (*EulasID, error)
- func (vca *VapmControlApi) GetEulasIdsForVulnerabilitiesPatches(ctx context.Context, params EulasIDSForVulnerabilitiesPatchesParams) ([]byte, error)
- func (vca *VapmControlApi) GetEulasInfo(ctx context.Context, params PUpdates) (*PEulasInfo, error)
- func (vca *VapmControlApi) GetPendingRulesTasks(ctx context.Context) (*PendingRulesTasks, error)
- func (vca *VapmControlApi) GetSupportedLcidsForPatchPrerequisites(ctx context.Context, llPatchGlobalId, nOriginalLcid int64) (*SupportedLcids, error)
- func (vca *VapmControlApi) GetUpdateSupportedLanguagesFilter(ctx context.Context, nUpdateSource int64) (*PSupportedLanguages, error)
- func (vca *VapmControlApi) InitiateDownload(ctx context.Context) ([]byte, error)
- func (vca *VapmControlApi) SetPackagesToFixVulnerability(ctx context.Context, params interface{}) ([]byte, error)
- type VapmKlUpdatesToApprove
- type VerifyTokenParam
- type WActionGUID
- type WdsDataParams
- type WolSender
- type WriteOffFlag
- type WstrIteratorID
Constants ¶
const ( RFC3339 = "2006-01-02T15:04:05Z07:00" RUS = "2 Jan 2006 15:04" )
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool is a helper routine that allocates a new bool value to store v and returns a pointer to it.
func CheckResponse ¶
CheckResponse check KSC Response error
func Float64 ¶
Int64 is a helper routine that allocates a new int64 value to store v and returns a pointer to it.
func Int64 ¶
Int64 is a helper routine that allocates a new int64 value to store v and returns a pointer to it.
func String ¶
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
Types ¶
type ACLParams ¶
type ACLParams struct { // LVServer virtual server id LVServer int64 `json:"lVServer,omitempty"` // Permissions Permissions structure Permissions Permissions `json:"pPermissions,omitempty"` // Protection if true checks if the user does not denies access to the server to itself Protection bool `json:"bProtection,omitempty"` }
ACLParams structure describing ACL permission
type ADHostIterator ¶
type ADHostIterator struct { WstrIterator string `json:"wstrIterator"` PxgRetVal int64 `json:"PxgRetVal"` }
ADHostIterator struct
type AKPatches ¶
type AKPatches service
AKPatches service to manage system of autoupdating by patch.exe patches.
func (*AKPatches) ApprovePatch ¶
ApprovePatch Give approval to the patch on start installation.
This command is applicable to patches which have no right to be installed without approval of the administrator.
type AcquireKeyHostsParams ¶
type AcquireKeyHostsParams struct { PInData PInData `json:"pInData"` PFields []string `json:"pFields"` PFieldsToOrder []string `json:"pFieldsToOrder"` LTimeoutSEC int64 `json:"lTimeoutSec"` }
AcquireKeyHostsParams struct
type ActionStateResult ¶
type ActionStateResult struct { BFinalized bool `json:"bFinalized"` BSuccededFinalized bool `json:"bSuccededFinalized"` LStateCode int64 `json:"lStateCode"` PStateData *PStateData `json:"pStateData,omitempty"` LNextCheckDelay int64 `json:"lNextCheckDelay"` }
type AdHosts ¶
type AdHosts service
AdHosts Class service allows to enumerate scanned active directory OU structure.
func (*AdHosts) FindAdGroups ¶
func (ah *AdHosts) FindAdGroups(ctx context.Context, params FindAdGroupsParams) (*ADHostIterator, []byte, error)
FindAdGroups Enumerates AD groups.
func (*AdHosts) GetChildComputer ¶
func (ah *AdHosts) GetChildComputer(ctx context.Context, params ChildComputerParams) (*AdHstIDParent, []byte, error)
GetChildComputer Retrieves AD host attributes.
func (*AdHosts) GetChildComputers ¶
func (ah *AdHosts) GetChildComputers(ctx context.Context, params ChildComputersParams) (*PxgValStr, []byte, error)
GetChildComputers Returns list of hosts located in "Unassigned computers" for specified organization unit.
func (*AdHosts) GetChildOUs ¶
func (ah *AdHosts) GetChildOUs(ctx context.Context, params ChildOUParams) (*PxgValStr, []byte, error)
GetChildOUs Returns list of child organization units for specified organization unit
func (*AdHosts) GetOU ¶
func (ah *AdHosts) GetOU(ctx context.Context, params OUAttributesParams) (*OUAttributes, []byte, error)
GetOU Returns attributes of specified OU
type AdHstIDParent ¶
type AdHstIDParent struct {
PxgRetVal AdHstIDParentPxgRetVal `json:"PxgRetVal"`
}
AdHstIDParent struct contain AD host attributes.
type AdHstIDParentPxgRetVal ¶
type AdHstIDParentPxgRetVal struct {
AdhstIDParent int64 `json:"adhst_idParent"`
}
type AdSecManager ¶
type AdSecManager service
AdSecManager service for Adaptive Security managing.
Allows to approve or disprove detection results provided by Adaptive Security component.
func (*AdSecManager) ApproveDetect ¶
func (asm *AdSecManager) ApproveDetect(ctx context.Context, params DetectParams) ([]byte, error)
ApproveDetect Approves detection results provided by Adaptive Security component.
func (*AdSecManager) DisproveDetect ¶
func (asm *AdSecManager) DisproveDetect(ctx context.Context, params DetectParams) ([]byte, error)
DisproveDetect Disapprove detection results provided by Adaptive Security component.
type AddGroupParams ¶
type AddGroupParams struct {
PInfo *GroupPInfo `json:"pInfo,omitempty"`
}
AddGroupParams struct
type AddIncidentsParams ¶
type AddIncidentsParams struct {
PData PData `json:"pData"`
}
AddIncidentsParams struct
type AdfsSso ¶
type AdfsSso service
AdfsSso service for working with ADFS SSO. This service allow you to manage ADFS SSO settings
func (*AdfsSso) GetAdfsEnabled ¶
GetAdfsEnabled Get a ADFS SSO enabled/disabled.
func (*AdfsSso) GetSettings ¶
GetSettings Returns a ADFS SSO settings.
func (*AdfsSso) SetAdfsEnabled ¶
SetAdfsEnabled Set a ADFS SSO enabled/disabled.
type AdhstBinOu ¶
type AdjustKeyParams ¶
type AdjustKeyParams struct { // PKData container of input attributes, mandatory. // See List of license key attributes for attribute names PKData *PKData `json:"pData,omitempty"` }
AdjustKeyParams struct
type AdmServerSettings ¶
type AdmServerSettings service
AdmServerSettings interface. Interface to manage server settings.
func (*AdmServerSettings) ChangeSharedFolder ¶
func (as *AdmServerSettings) ChangeSharedFolder(ctx context.Context, wstrNetworkPath string) ([]byte, error)
ChangeSharedFolder Change shared folder.
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation success, then AsyncActionStateChecker.CheckActionState will return bFinalized=true and lStateCode=1.
Otherwise, a call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*AdmServerSettings) GetSharedFolder ¶
GetSharedFolder Acquire shared folder.
type AgentRegistrationInfo ¶
type AgentRegistrationInfo struct { // PUaInfo default settings PUaInfo *PUaInfo `json:"pUaInfo,omitempty"` }
AgentRegistrationInfo struct
type AppCtrlApi ¶
type AppCtrlApi service
AppCtrlApi service to get info about execution files.
func (*AppCtrlApi) GetExeFileInfo ¶
func (ac *AppCtrlApi) GetExeFileInfo(ctx context.Context, params ExeFileInfoParams) ([]byte, error)
GetExeFileInfo Get data about instances of the execution file on the host.
To do this for field 'FieldName' it is needed to add into pFilter the value of any type with name 'FieldName' If NULL than all possible fields will be returned.
type ApprovalValue ¶
type ArrDynColumnInfo ¶
type ArrDynColumnInfo struct { Type *string `json:"type,omitempty"` Value *DynColumnInfoValue `json:"value,omitempty"` }
ArrDynColumnInfo struct
type AsyncAccessor ¶
type AsyncAccessor struct { StrAccessor string `json:"strAccessor,omitempty"` PFailedSlavesInfo *PFailedSlavesInfo `json:"pFailedSlavesInfo,omitempty"` PxgRetVal int64 `json:"PxgRetVal,omitempty"` }
AsyncAccessor struct
type AsyncActionStateChecker ¶
type AsyncActionStateChecker service
AsyncActionStateChecker service to monitor state of async action
It is supposed that client of the AsyncActionStateChecker has added async action and this action has identifier wstrActionGuid.
After that client should wait while CheckActionState will return bFinalized for this action or should cancel this action.
If the count of finalized actions is reach some limit then client connection will be closed automatically.
func (*AsyncActionStateChecker) CheckActionState ¶
func (ac *AsyncActionStateChecker) CheckActionState(ctx context.Context, wstrActionGuid string) (*ActionStateResult, []byte, error)
CheckActionState Check status of the async action.
Precondition: Action with identifier wstrActionGuid has been added on the same connection where this method is call if there was previous call of this method and it return lNextCheckDelay then there have passed not less than lNextCheckDelay milliseconds from this previous call
Postcondition:
if returns bFinalized==true then this action has been removed, and wstrActionGuid is not valid any more. Otherwise in lNextCheckDelay it should be returned delay in msec to Request next call of the CheckActionState
type Attributes ¶
type Attributes struct { AdhstBinOu AdhstBinOu `json:"adhst_binOu"` AdhstChildSubunitsNum int64 `json:"adhst_childSubunitsNum"` AdhstEnableAdScan bool `json:"adhst_enable_ad_scan"` AdhstHostsNum int64 `json:"adhst_hostsNum"` AdhstID int64 `json:"adhst_id"` AdhstIDComputer string `json:"adhst_idComputer"` AdhstIDParent int64 `json:"adhst_idParent"` }
type AvailableUpdates ¶
type AvailableUpdates struct {
PAvailableUpdateComps *PAvailableUpdateComps `json:"pAvailableUpdateComps,omitempty"`
}
AvailableUpdates containing well-known retranslated update components list
type CCSettings ¶
type CCSettings struct { // CERTPub current certificate's public key CERTPub *CERTPub `json:"CERT_PUB,omitempty"` // TrspSettingsFQDN actual endpoint FQDN (from certificate) TrspSettingsFQDN string `json:"TRSP_SETTINGS_FQDN,omitempty"` // TrspSettingsIsdefcertused is default certificate used ? TrspSettingsIsdefcertused bool `json:"TRSP_SETTINGS_ISDEFCERTUSED,omitempty"` // TrspSettingsOpenPort true if port should be opened, false otherwise. TrspSettingsOpenPort bool `json:"TRSP_SETTINGS_OPEN_PORT,omitempty"` // TrspSettingsPort actual enpoint port TrspSettingsPort int64 `json:"TRSP_SETTINGS_PORT,omitempty"` }
CCSettings struct
type CDPOptions ¶
type CGMobileAuthCERT ¶
type CHState ¶
type CHState struct { EventLogs []string `json:"EventLogs"` HostDN string `json:"HostDN,omitempty"` InstallationLogs *InstallationLogs `json:"InstallationLogs,omitempty"` LastActionResult string `json:"LastActionResult,omitempty"` Products *Products `json:"Products,omitempty"` WuaLogs []string `json:"WuaLogs"` WuaLogsWin10 []string `json:"WuaLogs_Win10"` }
type CIFILValue ¶
type Category ¶
type Category struct { CategoryType int64 `json:"CategoryType"` CustomCategoryCipCompatible bool `json:"CustomCategoryCipCompatible"` Md5WithoutSha256Exists bool `json:"Md5WithoutSha256Exists"` Exclusions []Exclusions `json:"exclusions"` FromMaster bool `json:"fromMaster"` Inclusions []Inclusion `json:"inclusions"` Name string `json:"name"` Descr string `json:"descr"` Version int64 `json:"version"` }
type CategoryParams ¶
type CategoryParams struct {
Category *Category `json:"pCategory,omitempty"`
}
CategoryParams struct
type CertPoolCtrl ¶
type CertPoolCtrl service
CertPoolCtrl service to manage the pool of certificates used by the Kaspersky Security Center Server.
func (*CertPoolCtrl) GetCertificateInfo ¶
func (cpc *CertPoolCtrl) GetCertificateInfo(ctx context.Context, nVServerId, nFunction int64) ([]byte, error)
GetCertificateInfo Returns information about certificate from server's certificates pool.
func (*CertPoolCtrl) SetCertificate ¶
func (cpc *CertPoolCtrl) SetCertificate(ctx context.Context, params interface{}) ([]byte, error)
SetCertificate Sets certificate of a given function for a given virtual server.
type CertPoolCtrl2 ¶
type CertPoolCtrl2 service
CertPoolCtrl2 2nd service to manage the pool of certificates used by the Kaspersky Security Center Server
func (*CertPoolCtrl2) GetCertificateInfoDetails ¶
func (cp *CertPoolCtrl2) GetCertificateInfoDetails(ctx context.Context, nVServerId, nFunction int64) ([]byte, error)
GetCertificateInfoDetails Returns information about certificate from server's certificates pool.
type CertUtils ¶
type CertUtils service
CertUtils Helpers for managing certificates.
func (*CertUtils) GenerateSelfSignedCertificate ¶
func (cu *CertUtils) GenerateSelfSignedCertificate(ctx context.Context, params SelfSignedCERTParams) (*SelfSignedCERTResponse, []byte, error)
type Certificate ¶
type Certificate struct { }
type CertificateParams ¶
type CertificateParams struct { Type string `json:"type,omitempty"` Certificate *Certificate `json:"value,omitempty"` }
type CgwHelper ¶
type CgwHelper service
CgwHelper (Connection Gateway) service to work with helper proxy.
func (*CgwHelper) GetNagentLocation ¶
func (cp *CgwHelper) GetNagentLocation(ctx context.Context, wsHostName string) (*NagentLocation, []byte, error)
GetNagentLocation Retrieves Nagent Location by host name.
type ChartDataParams ¶
type ChartDataParams struct { PChartData *PChartData `json:"pChartData,omitempty"` CDPOptions *CDPOptions `json:"pOptions,omitempty"` }
ChartDataParams struct
type ChildComputerParams ¶
type ChildComputerParams struct { IDAdhst int64 `json:"idAdhst,omitempty"` VecFieldsToReturn []string `json:"vecFieldsToReturn,omitempty"` }
ChildComputerParams struct
type ChildComputersParams ¶
type ChildComputersParams struct { IDOU int64 `json:"idOU"` VecFieldsToReturn []string `json:"vecFieldsToReturn"` LMaxLifeTime int64 `json:"lMaxLifeTime"` }
ChildComputersParams struct
type ChildOUParams ¶
type ChildOUParams struct { IDOU int64 `json:"idOU,omitempty"` PFields []string `json:"pFields,omitempty"` LMaxLifeTime int64 `json:"lMaxLifeTime,omitempty"` }
ChildOUParams struct
type ChunkAccessor ¶
type ChunkAccessor service
ChunkAccessor service working with host result-set, that is a server-side ordered collection of found hosts.
func (*ChunkAccessor) GetItemsChunk ¶
func (ca *ChunkAccessor) GetItemsChunk(ctx context.Context, params ItemsChunkParams, result interface{}) ([]byte, error)
GetItemsChunk Acquire subset of result-set elements by range. Returns specified nCount elements contained in the specified result-set beginning from position nStart.
func (*ChunkAccessor) GetItemsCount ¶
func (ca *ChunkAccessor) GetItemsCount(ctx context.Context, accessor string) (*PxgValInt, []byte, error)
GetItemsCount Acquire count of result-set elements. Returns number of elements contained in the specified result-set.
type CloudAccess ¶
type CloudAccess service
CloudAccess service to check access of public clouds.
func (*CloudAccess) AcquireAccessForKeyPair ¶
func (ca *CloudAccess) AcquireAccessForKeyPair(ctx context.Context, params Credentials) (*KeyPairAccess, []byte, error)
AcquireAccessForKeyPair Check key-pair access
func (*CloudAccess) VerifyCredentials ¶
func (ca *CloudAccess) VerifyCredentials(ctx context.Context, params Credentials) (*PxgValBool, []byte, error)
VerifyCredentials Verify credentials.
type CloudHostInfoParams ¶
type CloudHostInfoParams struct { // PCloudHostBinID Internal id of the cloud host (see KLHST_CLOUD_HOST_BINID). PCloudHostBinID string `json:"pCloudHostBinId,omitempty"` // PFields collection of cloud host attribute names that need to return see List of server cloud host attributes.. PFields []string `json:"pFields"` // PParams For additional options. Reserved. PParams Null `json:"pParams"` }
CloudHostInfoParams struct
type CmdLibValue ¶
type CmdLibValue struct { KlmdmCmdDefDisplayName *string `json:"KLMDM_CMD_DEF_DISPLAY_NAME,omitempty"` KlmdmCmdFlag *KlmdmCmdFlag `json:"KLMDM_CMD_FLAG,omitempty"` KlmdmCmdType *string `json:"KLMDM_CMD_TYPE,omitempty"` }
type CommandsLibrary ¶
type CommandsLibrary struct {
PxgRetVal []PxgRetVal `json:"PxgRetVal"`
}
CommandsLibrary struct
type ConEvents ¶
type ConEvents service
ConEvents service to server events. This interface allow user to subscribe on server events and retrieve them.
func (*ConEvents) IsAnyServiceConsoleAvailable ¶
func (ce *ConEvents) IsAnyServiceConsoleAvailable(ctx context.Context) (*PxgValBool, error)
IsAnyServiceConsoleAvailable Check any service console availability.
func (*ConEvents) IsServiceConsoleAvailable ¶
func (ce *ConEvents) IsServiceConsoleAvailable(ctx context.Context, wstrProdName, wstrProdVersion string) error
IsServiceConsoleAvailable Checks whether service console for specified product is connected to KSC server and is able to execute Product backend commands
func (*ConEvents) Retrieve ¶
func (ce *ConEvents) Retrieve(ctx context.Context) (*EventRetrieve, error)
Retrieve Use this method to retrieve events.
func (*ConEvents) Subscribe ¶
func (ce *ConEvents) Subscribe(ctx context.Context, params EventSubscribeParams) (*SubscribeEventResponse, error)
Subscribe on event. Use this method to subscribe on events. Method returns period of polling. You should use it between retrieve calls. Also attribute pFilter allow you to cut off unnecessary events.
type CorpFlagParams ¶
type CorpFlagParams struct { // ArrObjId Array of device ids. Max array size is 1000 elements. ArrObjId []int64 `json:"arrObjId,omitempty"` // BState New state BState bool `json:"bState,omitempty"` }
CorpFlagParams struct
type Credentials ¶
type Credentials struct { // EnCloudType Type of the cloud infrastructure being accessed (a KLCLOUD_TYPE_*, //now only Microsoft Azure is supported) // ╔══════╦═════════════════════╗ // ║ Type ║ Description ║ // ╠══════╬═════════════════════╣ // ║ 0 ║ Unknown ║ // ║ 1 ║ Amazon Web Services ║ // ║ 2 ║ Microsoft Azure ║ // ║ 3 ║ Non cloud host ║ // ╚══════╩═════════════════════╝ EnCloudType int64 `json:"enCloudType,omitempty"` // PKeyPair Cloud authentication credentials. (paramParams, mandatory) //AWS: Not supported Azure: PKeyPair *PKeyPair `json:"pKeyPair,omitempty"` }
Credentials struct
type CurrentConnectionSettings ¶
type CurrentConnectionSettings struct {
CCSettings *CCSettings `json:"PxgRetVal,omitempty"`
}
CurrentConnectionSettings struct
type CurrentHostState ¶
type CurrentHostState struct {
CHState *CHState `json:"PxgRetVal,omitempty"`
}
CurrentHostState struct
type CustomValue ¶
type CustomValue struct{}
type DAttributes ¶
type DAttributes struct { // KldpnsDN Diapason display name KldpnsDN *string `json:"KLDPNS_DN,omitempty"` // KldpnsID Diapason id KldpnsID *int64 `json:"KLDPNS_ID,omitempty"` // KldpnsIls Array of ip intervals or subnets descriptions. KldpnsIls []KldpnsIL `json:"KLDPNS_ILS"` // KldpnsLF Ip address validity period in seconds KldpnsLF *int64 `json:"KLDPNS_LF,omitempty"` // KLDPNSScanEnabled If diapason may be scanned by ip subnets scanning KLDPNSScanEnabled *bool `json:"KLDPNS_ScanEnabled,omitempty"` }
DAttributes struct network diapason attributes
type DataProtectionApi ¶
type DataProtectionApi service
DataProtectionApi service allows to protect sensitive data in policies, tasks, and/or on specified host.
func (*DataProtectionApi) CheckPasswordSplPpc ¶
func (dpa *DataProtectionApi) CheckPasswordSplPpc(ctx context.Context, szwPassword string) (*PxgValBool, []byte, error)
CheckPasswordSplPpc Checks if Spl password policy compliance is enabled for the specified Administration Server and checks the specified password for compliance to the password policy.
Password Policy is specified below ¶
Characters allowed:
A – Z a – z 0 – 9 @ # $ % ^ & * - _ ! + = [ ] { } | \ : ‘ , . ? / ` ~ “ ( ) ;
Characters disallowed: Unicode characters, spaces, Cannot contain a dot character '.' immediately preceding the '@' symbol
Password restrictions:
8 characters minimum and 16 characters maximum Must contain characters at least from any 3 of 4 groups mentioned in the section "Characters allowed"
func (*DataProtectionApi) ProtectDataForHost ¶
func (dpa *DataProtectionApi) ProtectDataForHost(ctx context.Context, szwHostId, pData string) (*ProtectedData, error)
ProtectDataForHost Protects sensitive data to store in SettingsStorage or local task.
func (*DataProtectionApi) ProtectDataGlobally ¶
func (dpa *DataProtectionApi) ProtectDataGlobally(ctx context.Context, pData string) (*ProtectedData, error)
ProtectDataGlobally Protects sensitive data to store in policy or global/group task.
func (*DataProtectionApi) ProtectUtf16StringForHost ¶
func (dpa *DataProtectionApi) ProtectUtf16StringForHost(ctx context.Context, szwHostId, szwPlainText string) (*PxgValStr, error)
ProtectUtf16StringForHost Protects sensitive data for the specified host (to store in its local settings or a local task) Protects the specified text as UTF16 string encrypted with the key of the specified host.
func (*DataProtectionApi) ProtectUtf16StringGlobally ¶
func (dpa *DataProtectionApi) ProtectUtf16StringGlobally(ctx context.Context, szwPlainText string) (*PxgValStr, error)
ProtectUtf16StringGlobally Protects sensitive data to store in policy, global/group task, Administration Server settings. Protects the specified text as UTF16 string encrypted with the key of the Administration Server.
func (*DataProtectionApi) ProtectUtf8StringForHost ¶
func (dpa *DataProtectionApi) ProtectUtf8StringForHost(ctx context.Context, szwHostId, szwPlainText string) (*PxgValStr, error)
ProtectUtf8StringForHost Protects sensitive data for the specified host (to store in its local settings or a local task) Protects the specified text as UTF8 string encrypted with the key of the specified host.
func (*DataProtectionApi) ProtectUtf8StringGlobally ¶
func (dpa *DataProtectionApi) ProtectUtf8StringGlobally(ctx context.Context, szwPlainText string) (*PxgValStr, error)
ProtectUtf8StringGlobally Protects sensitive data to store in policy, global/group task, Administration Server settings. Protects the specified text as UTF8 string encrypted with the key of the Administration Server.
type DatabaseInfo ¶
type DatabaseInfo service
DatabaseInfo service to Database processing. Allow to get information from a Database.
func (*DatabaseInfo) CheckBackupPath ¶
func (di *DatabaseInfo) CheckBackupPath(ctx context.Context, szwPath string) (*PxgValBool, []byte, error)
CheckBackupPath Check the server administration and SQL-server permissions to read and write files along path.
func (*DatabaseInfo) CheckBackupPath2 ¶
func (di *DatabaseInfo) CheckBackupPath2(ctx context.Context, szwWinPath, szwLinuxPath string) (*PxgValBool, []byte, error)
CheckBackupPath2 Check the server administration and SQL-server permissions to read and write files along path.
func (*DatabaseInfo) GetDBDataSize ¶
GetDBDataSize Get database's data size.
func (*DatabaseInfo) GetDBEventsCount ¶
GetDBEventsCount Get database's events count.
func (*DatabaseInfo) IsCloudSQL ¶
func (di *DatabaseInfo) IsCloudSQL(ctx context.Context, nCloudType int64) (*PxgValBool, []byte, error)
IsCloudSQL Check is current SQL server in cloud (Amazon RDS or Azure SQL)
func (*DatabaseInfo) IsLinuxSQL ¶
func (di *DatabaseInfo) IsLinuxSQL(ctx context.Context) (*PxgValBool, []byte, error)
IsLinuxSQL Check is current SQL server in on Linux.
type DefaultSettings ¶
type DefaultSettings struct {
DefaultSettingsVal *DefaultSettingsVal `json:"PxgRetVal,omitempty"`
}
DefaultSettings struct using in GetDefaultSettings
type DefaultSettingsVal ¶
type DefaultSettingsVal struct { // KlevpNdDaysToStoreEvent Number of days to store events in KSC server DB KlevpNdDaysToStoreEvent *int64 `json:"KLEVP_ND_DAYS_TO_STORE_EVENT,omitempty"` // KlevpNdEmail List of email recipients separated by comma KlevpNdEmail *string `json:"KLEVP_ND_EMAIL,omitempty"` // KlevpNdEmailEsmtpUser Account name to be used for authorization on SMTP server KlevpNdEmailEsmtpUser *string `json:"KLEVP_ND_EMAIL_ESMTP_USER,omitempty"` // KlevpNdEmailFrom Sender address KlevpNdEmailFrom *string `json:"KLEVP_ND_EMAIL_FROM,omitempty"` // KlevpNdEmailSubject Email subject KlevpNdEmailSubject *string `json:"KLEVP_ND_EMAIL_SUBJECT,omitempty"` // KlevpNdEvetnType Event type (e.g., "GNRL_EV_VIRUS_FOUND" or "KLPRCI_TaskState") KlevpNdEvetnType *string `json:"KLEVP_ND_EVETN_TYPE,omitempty"` // KlevpNdMessageTemplate Template of the message to be sent as email; // to see the lis of available tamplate substitutions, see Events templates // ╔══════════╦════════╦═══════════════════╗ // ║ Name ║ Type ║ Description ║ // ╠══════════╬════════╬═══════════════════╣ // ║ SEVERITY ║ string ║ Event severity ║ // ║ COMPUTER ║ string ║ Computer name ║ // ║ EVENT ║ string ║ Event type ║ // ║ DESCR ║ string ║ Event description ║ // ╚══════════╩════════╩═══════════════════╝ KlevpNdMessageTemplate *string `json:"KLEVP_ND_MESSAGE_TEMPLATE,omitempty"` // KlevpNdNetSend Obsolete parameter - must be empty or not present KlevpNdNetSend *string `json:"KLEVP_ND_NET_SEND,omitempty"` // KlevpNdResolveMX Use MX record lookup when email notification is enabled // (meaningful only in case if KLEVP_ND_USE_EMAIL is set to true); // When enabled, KLEVP_ND_SMTP_SERVER is interpreted as a domain name which is to be resolved KlevpNdResolveMX *bool `json:"KLEVP_ND_RESOLVE_MX,omitempty"` // KlevpNdScript Script to be run as event notification KlevpNdScript *string `json:"KLEVP_ND_SCRIPT,omitempty"` // KlevpNdSMSEmailEsmtpUser Account name to be used for authorization on SMTP SMS gateway KlevpNdSMSEmailEsmtpUser *string `json:"KLEVP_ND_SMS_EMAIL_ESMTP_USER,omitempty"` // KlevpNdSMSEmailFrom Sender address to be used for SMTP SMS gateway KlevpNdSMSEmailFrom *string `json:"KLEVP_ND_SMS_EMAIL_FROM,omitempty"` // KlevpNdSMSEmailSubject Email subject for SMTP messages to be sent to SMTP SMS gateway KlevpNdSMSEmailSubject *string `json:"KLEVP_ND_SMS_EMAIL_SUBJECT,omitempty"` // KlevpNdSMSEmailTo Recipient address to be used for SMTP SMS gateway KlevpNdSMSEmailTo *string `json:"KLEVP_ND_SMS_EMAIL_TO,omitempty"` // KlevpNdSMSLimit Limitation on the number of SMS notifications KlevpNdSMSLimit *int64 `json:"KLEVP_ND_SMS_LIMIT,omitempty"` // KlevpNdSMSRecipients SMS recipients list KlevpNdSMSRecipients *string `json:"KLEVP_ND_SMS_RECIPIENTS,omitempty"` // KlevpNdSMSServiceID Unsupported, must be empty KlevpNdSMSServiceID *string `json:"KLEVP_ND_SMS_SERVICE_ID,omitempty"` // KlevpNdSMSSMTPPort SMTP SMS gateway server port to be used for SMS notifications KlevpNdSMSSMTPPort *int64 `json:"KLEVP_ND_SMS_SMTP_PORT,omitempty"` // KlevpNdSMSSMTPServer SMTP SMS gateway server address to be used for SMS notifications KlevpNdSMSSMTPServer *string `json:"KLEVP_ND_SMS_SMTP_SERVER,omitempty"` // KlevpNdSMSTemplate SMS message template; //to see the list of available tamplate substitutions, see Events templates // ╔══════════╦════════╦═══════════════════╗ // ║ Name ║ Type ║ Description ║ // ╠══════════╬════════╬═══════════════════╣ // ║ SEVERITY ║ string ║ Event severity ║ // ║ COMPUTER ║ string ║ Computer name ║ // ║ EVENT ║ string ║ Event type ║ // ║ DESCR ║ string ║ Event description ║ // ╚══════════╩════════╩═══════════════════╝ KlevpNdSMSTemplate *string `json:"KLEVP_ND_SMS_TEMPLATE,omitempty"` // KlevpNdSMSType SMS notification type: // // 0 - Undefined // 1 - SMTP SMS gateway // 2 - SMS service KlevpNdSMSType *int64 `json:"KLEVP_ND_SMS_TYPE,omitempty"` // KlevpNdSMTPPort SMTP server port KlevpNdSMTPPort *int64 `json:"KLEVP_ND_SMTP_PORT,omitempty"` // KlevpNdSMTPServer SMTP server address to be used for email notifications KlevpNdSMTPServer *string `json:"KLEVP_ND_SMTP_SERVER,omitempty"` // KlevpNdStoreAtClientLog Store events in Kaspersky Event Log on client computer KlevpNdStoreAtClientLog *bool `json:"KLEVP_ND_STORE_AT_CLIENT_LOG,omitempty"` // KlevpNdStoreAtClientPres Obsolete parameter - must be set to false or not present KlevpNdStoreAtClientPres *bool `json:"KLEVP_ND_STORE_AT_CLIENT_PRES,omitempty"` // KlevpNdStoreAtServerLog Store events in Kaspersky Event Log on KSC server computer KlevpNdStoreAtServerLog *bool `json:"KLEVP_ND_STORE_AT_SERVER_LOG,omitempty"` // KlevpNdUseEmail Using emails for notifications; must be false for default settings KlevpNdUseEmail *bool `json:"KLEVP_ND_USE_EMAIL,omitempty"` // KlevpNdUseNetSend Obsolete parameter - must be set to false or not present KlevpNdUseNetSend *bool `json:"KLEVP_ND_USE_NET_SEND,omitempty"` // KlevpNdUseScript Notify on event by running the script. The script itself (KLEVP_ND_SCRIPT) // can be set in the same params, otherwise default parameters for server are used KlevpNdUseScript *bool `json:"KLEVP_ND_USE_SCRIPT,omitempty"` // KlevpNdUseSMS Using SMS for notifications; must be false for default settings KlevpNdUseSMS *bool `json:"KLEVP_ND_USE_SMS,omitempty"` // KlevpNdUseSNMP Notify on events by SNMP KlevpNdUseSNMP *bool `json:"KLEVP_ND_USE_SNMP,omitempty"` // KlevpNdUseSyslog Notify on events by exporting to SysLog KlevpNdUseSyslog *bool `json:"KLEVP_ND_USE_SYSLOG,omitempty"` }
Events notification settings
type DeleteFilesForUpdatesParams ¶
type DeleteFilesForUpdatesParams struct { PUpdatesIDS []PUpdatesID `json:"pUpdatesIds"` WstrRequestID string `json:"wstrRequestId,omitempty"` }
type DetectParams ¶
type DetectParams struct { // PArrDetects detection results to disapprove PArrDetects []PArrDetect `json:"pArrDetects"` }
DetectParams struct
type DiapasonAttributes ¶
type DiapasonAttributes struct {
DAttributes *DAttributes `json:"PxgRetVal,omitempty"`
}
DiapasonAttributes struct
type DiapasonParams ¶
type DiapasonParams struct { IDDiapason int64 `json:"idDiapason,omitempty"` PFields []string `json:"pFields"` }
DiapasonParams struct using in ScanDiapasons.GetDiapason
type DiapasonsParams ¶
type DiapasonsParams struct { // VecFieldsToReturn array of diapasons attribute names to return. VecFieldsToReturn []string `json:"vecFieldsToReturn"` //LMaxLifeTime max result-set lifetime in seconds, not more than 7200 LMaxLifeTime int64 `json:"lMaxLifeTime,omitempty"` }
DiapasonsParams struct using in ScanDiapasons.GetDiapasons
type DomainValue ¶
type DomainsValue ¶
type DomainsValue struct { Type *string `json:"type,omitempty"` Value *DomainValue `json:"value,omitempty"` }
type DpeKeyService ¶
type DpeKeyService service
DpeKeyService service for working with encrypted devices..
func (*DpeKeyService) GetDeviceKeys3 ¶
GetDeviceKeys3 Returns information about host and key for chosen encrypted device.
type DynColumn ¶
type DynColumn struct { Type string `json:"type,omitempty"` Value DynColumnValue `json:"value,omitempty"` }
type DynColumnInfoValue ¶
type DynColumnInfoValue struct { // DynColID Column id DynColID *string `json:"DynColId,omitempty"` // DynColName Column name DynColName *string `json:"DynColName,omitempty"` }
DynColumnInfoValue struct
type DynColumnValue ¶
type DynamicColumns ¶
type DynamicColumns struct { // ArrDynColumnInfo Array of params. ArrDynColumnInfo []ArrDynColumnInfo `json:"arrDynColumnInfo"` }
DynamicColumns struct
type ENLimits ¶
type ENLimits struct {
NLimits *NLimits `json:"PxgRetVal,omitempty"`
}
ENLimits struct
type ENLimitsParams ¶
type ENLimitsParams struct {
NLimits *NLimits `json:"pSettings,omitempty"`
}
ENLimitsSettings struct
type ERRValue ¶
type ERRValue struct { KlevpNdDaysToStoreEvent int64 `json:"KLEVP_ND_DAYS_TO_STORE_EVENT,omitempty"` KlevpNdEvetnType string `json:"KLEVP_ND_EVETN_TYPE,omitempty"` KlevpNdStoreAtClientLog bool `json:"KLEVP_ND_STORE_AT_CLIENT_LOG,omitempty"` KlevpNdStoreAtClientPres bool `json:"KLEVP_ND_STORE_AT_CLIENT_PRES,omitempty"` KlevpNdStoreAtServerLog bool `json:"KLEVP_ND_STORE_AT_SERVER_LOG,omitempty"` KlevpNdBodyFilter *KlevpNdBodyFilter `json:"KLEVP_ND_BODY_FILTER,omitempty"` }
type ESrvViewParams ¶
type ESrvViewParams struct { //acquire only first N records TopN int64 `json:"TOP_N,omitempty"` }
ESrvViewParams struct
type ESubscribe ¶
type ESubscribe struct {
ProductName string `json:"product_name,omitempty"`
}
type ESubscribeFilter ¶
type ESubscribeFilter struct { Type string `json:"type"` Value ESubscribe `json:"value"` }
type EULAIDParams ¶
type EULAIDParams struct {
VecEULAIDs []int64 `json:"vecEulaIDs"`
}
type EnumKeysParams ¶
type EnumKeysParams struct { PFields []string `json:"pFields"` LTimeoutSEC int64 `json:"lTimeoutSec,omitempty"` }
EnumKeysParams struct
type Error ¶
type EulasIDSForPatchPrerequisitesParams ¶
type EulasIDSForPatchPrerequisitesParams struct { // LlPatchGlobalID VAPM patch global identity ('nPatchGlbId' update attribute) LlPatchGlobalID int64 `json:"llPatchGlobalId,omitempty"` // NLCID LCID of the patch NLCID int64 `json:"nLCID,omitempty"` }
EulasIDSForPatchPrerequisitesParams struct
type EulasIDSForUpdates ¶
type EulasIDSForUpdates struct { PUpdates []EulasIDSPUpdate `json:"pUpdates"` NLcid int64 `json:"nLcid,omitempty"` }
type EulasIDSPUpdate ¶
type EulasIDSPUpdate struct { Type string `json:"type,omitempty"` Value EulasIDSValue `json:"value,omitempty"` }
type EulasIDSValue ¶
type EulasIdsForUpdatesParams ¶
type EulasIdsForUpdatesParams struct { PUpdates []EulasIdsPUpdate `json:"pUpdates"` NLcid int64 `json:"nLcid,omitempty"` }
ApprovalParams struct
type EulasIdsPUpdate ¶
type EulasIdsPUpdate struct { Type string `json:"type,omitempty"` Value ApprovalValue `json:"value,omitempty"` }
type EventNotificationParams ¶
type EventNotificationParams struct { WstrEventType string `json:"wstrEventType"` PEventBody PEventBody `json:"pEventBody"` TmBirthTime string `json:"tmBirthTime"` }
EventNotificationParams struct
type EventNotificationProperties ¶
type EventNotificationProperties service
EventNotificationProperties service to working with Notification properties. Allows to setup SMTP server address, port and authentication parameters to send notifications via SMTP and/or SMTP SMS gateway, etc.
func (*EventNotificationProperties) GetDefaultSettings ¶
func (enp *EventNotificationProperties) GetDefaultSettings(ctx context.Context) (*DefaultSettings, []byte, error)
GetDefaultSettings Reads the default notification settings. Reads the default notification settings, such as SMTP server properties, etc.
func (*EventNotificationProperties) GetNotificationLimits ¶
func (enp *EventNotificationProperties) GetNotificationLimits(ctx context.Context) (*ENLimits, []byte, error)
GetNotificationLimits Reads the notification limits.
func (*EventNotificationProperties) SetDefaultSettings ¶
func (enp *EventNotificationProperties) SetDefaultSettings(ctx context.Context, params interface{}) ([]byte, error)
SetDefaultSettings Sets up the default notification settings. Allows to setup the default notification settings, such as SMTP server properties, etc.
func (*EventNotificationProperties) SetNotificationLimits ¶
func (enp *EventNotificationProperties) SetNotificationLimits(ctx context.Context, params ENLimitsParams) ([]byte, error)
SetNotificationLimits Sets up the notification limits. Allows to setup notification limits.
func (*EventNotificationProperties) TestNotification ¶
func (enp *EventNotificationProperties) TestNotification(ctx context.Context, eType int, pSettings interface{}) ([]byte, error)
TestNotification Tests the notification settings. Allows to test the notification settings, such as SMTP server properties, etc. by sending a test notification using the provided notification settings.
type EventNotificationsApi ¶
type EventNotificationsApi service
EventNotificationsApi service allows to publish event with Administration Server as publisher.
func (*EventNotificationsApi) PublishEvent ¶
func (ts *EventNotificationsApi) PublishEvent(ctx context.Context, params EventNotificationParams) ([]byte, error)
PublishEvent Publishes event with Administration Server as publisher
type EventPFH ¶
type EventPFH struct { StrDomainName string `json:"strDomainName"` StrHostName string `json:"strHostName"` StrProduct string `json:"strProduct"` StrVersion string `json:"strVersion"` PFilter *PFilter `json:"pFilter"` VecFieldsToReturn []string `json:"vecFieldsToReturn"` VecFieldsToOrder []FieldsToOrder `json:"vecFieldsToOrder"` LifetimeSEC int64 `json:"lifetimeSec"` }
EventPFH struct
type EventPFP ¶
type EventPFP struct { PFilter PFilter `json:"pFilter,omitempty"` VecFieldsToOrder FieldsToOrder `json:"vecFieldsToOrder,omitempty"` VecFieldsToReturn []string `json:"vecFieldsToReturn"` LifetimeSEC int64 `json:"lifetimeSec"` }
EventPFP struct
type EventProcessing ¶
type EventProcessing service
EventProcessing service implements the functionality for viewing and deleting events.
func (*EventProcessing) CancelDelete ¶
func (ep *EventProcessing) CancelDelete(ctx context.Context, params interface{}) ([]byte, error)
CancelDelete Cancels mass delete of the events specified by pSettings in the result-set.
func (*EventProcessing) GetRecordCount ¶
func (ep *EventProcessing) GetRecordCount(ctx context.Context, strIteratorId string) (*PxgValInt, []byte, error)
GetRecordCount Get record count in the result-set. Returns number of elements contained in the specified result-set.
func (*EventProcessing) GetRecordRange ¶
func (ep *EventProcessing) GetRecordRange(ctx context.Context, strIteratorId string, nStart, nEnd int64) ([]byte, error)
GetRecordRange Acquire subset of result-set elements by range. Returns elements contained in the specified result-set in the diapason from position nStart to position nEnd.
func (*EventProcessing) InitiateDelete ¶
func (ep *EventProcessing) InitiateDelete(ctx context.Context, params interface{}) ([]byte, error)
InitiateDelete Initiates mass delete of the events specified by pSettings in the result-set.
func (*EventProcessing) ReleaseIterator ¶
func (ep *EventProcessing) ReleaseIterator(ctx context.Context, strIteratorId string) (*PxgValInt, []byte, error)
ReleaseIterator Releases the specified result-set and frees associated memory.
type EventProcessingFactory ¶
type EventProcessingFactory service
EventProcessingFactory service to create event processing iterators
func (*EventProcessingFactory) CreateEventProcessing ¶
func (epf *EventProcessingFactory) CreateEventProcessing(ctx context.Context, params EventPFP) (*StrIteratorId, []byte, error)
CreateEventProcessing Create event processing iterator.
func (*EventProcessingFactory) CreateEventProcessing2 ¶
func (epf *EventProcessingFactory) CreateEventProcessing2(ctx context.Context, params EventPFP) (*StrIteratorId, []byte, error)
CreateEventProcessing2 Create event processing iterator with filter.
func (*EventProcessingFactory) CreateEventProcessingForHost ¶
func (epf *EventProcessingFactory) CreateEventProcessingForHost(ctx context.Context, params EventPFH) (*StrIteratorId, []byte, error)
CreateEventProcessingForHost Create event processing iterator for host.
func (*EventProcessingFactory) CreateEventProcessingForHost2 ¶
func (epf *EventProcessingFactory) CreateEventProcessingForHost2(ctx context.Context, params EventPFH) (*StrIteratorId, []byte, error)
CreateEventProcessingForHost2 Create event processing iterator with filter for host.
type EventRetrieve ¶
type EventSubscribeParams ¶
type EventSubscribeParams struct { WstrEvent string `json:"wstrEvent"` PFilter ESubscribeFilter `json:"pFilter,omitempty"` }
EventSubscribeParams struct
type Exclusion ¶
type Exclusion struct { ExType int64 `json:"ex_type,omitempty"` Str string `json:"str,omitempty"` Str2 string `json:"str2,omitempty"` StrOp int64 `json:"str_op,omitempty"` VerMajor int64 `json:"ver_major,omitempty"` VerMinor int64 `json:"ver_minor,omitempty"` VerBuild int64 `json:"ver_build,omitempty"` VerRevision int64 `json:"ver_revision,omitempty"` VerSuffix string `json:"ver_suffix,omitempty"` VerRaw string `json:"ver_raw,omitempty"` VerOp int64 `json:"ver_op,omitempty"` //uuid MediaType int64 `json:"media_type,omitempty"` }
type Exclusions ¶
type ExeFileInfoParams ¶
type ExeFileInfoParams struct { SzwHostID string `json:"szwHostId,omitempty"` LFileID int64 `json:"lFileId,omitempty"` ExePFilter *ExePFilter `json:"pFilter,omitempty"` }
type ExePFilter ¶
type ExecuteReportParams ¶
type ExecuteReportParams struct { //report id LReportID int64 `json:"lReportId,omitempty"` //options (see description below) POptions *RPOptions `json:"pOptions,omitempty"` }
ExecuteReportParams struct
type ExecuteRulesParams ¶
type ExecuteRulesParams struct { // NGroupID group to launch rules for NGroupID int64 `json:"nGroupId"` // PRules array of rule ids PRules []int64 `json:"pRules"` // NOptions possible values: // 0 - rule is processed for hosts that need it // 1 - execute even if rule has been already executed NOptions int64 `json:"nOptions"` }
ExecuteRulesParams struct using in HostMoveRules.ExecuteRulesNow
type ExistingSession ¶
type ExistingSession struct { Type string `json:"type"` SessionValue SessionValue `json:"value"` }
ExistingSession struct
type ExistingSessions ¶
type ExistingSessions struct {
ExistingSessions []ExistingSession `json:"PxgRetVal"`
}
ExistingSessions struct
type ExpressionParams ¶
type ExpressionParams struct { NCategoryID int64 `json:"nCategoryId,omitempty"` ArrIDS []int64 `json:"arrIds"` BInclusions bool `json:"bInclusions,omitempty"` }
ExpressionParams struct using in FileCategorizer2.DeleteExpression
type ExtAud ¶
type ExtAud service
ExtAud service for working with ExtAudit subsystem. This service allow you to get a revision of an object and update description.
func (*ExtAud) FinalDelete ¶
FinalDelete delete for deleted objects.
func (*ExtAud) GetRevision ¶
func (ea *ExtAud) GetRevision(ctx context.Context, nObjId, nObjType, nObjRevision int64, out interface{}) ([]byte, error)
GetRevision Get object revision.
╔════╦══════════════════════╗ ║ ID ║ Description ║ ╠════╬══════════════════════╣ ║ 0 ║ None ║ ║ 1 ║ Policy ║ ║ 2 ║ Task ║ ║ 3 ║ Package ║ ║ 4 ║ Server ║ ║ 5 ║ Virtual server ║ ║ 6 ║ User ║ ║ 7 ║ Security Group ║ ║ 8 ║ Administration Group ║ ╚════╩══════════════════════╝
func (*ExtAud) UpdateRevisionDesc ¶
func (ea *ExtAud) UpdateRevisionDesc(ctx context.Context, nObjId, nObjType, nObjRevision int64, wstrNewDescription string) ([]byte, error)
UpdateRevisionDesc Update revision description.
╔════╦══════════════════════╗ ║ ID ║ Description ║ ╠════╬══════════════════════╣ ║ 0 ║ None ║ ║ 1 ║ Policy ║ ║ 2 ║ Task ║ ║ 3 ║ Package ║ ║ 4 ║ Server ║ ║ 5 ║ Virtual server ║ ║ 6 ║ User ║ ║ 7 ║ Security Group ║ ║ 8 ║ Administration Group ║ ╚════╩══════════════════════╝
type ExtTenant ¶
type ExtTenant service
ExtTenant Manage external tenant info interface.
func (*ExtTenant) GetExternalTenantId ¶
GetExternalTenantId Gets external tenant id.
func (*ExtTenant) SetExternalTenantId ¶
func (et *ExtTenant) SetExternalTenantId(ctx context.Context, params ExternalTenantIdparams) error
type ExternalTenantIdparams ¶
type FieldsToOrder ¶
type FieldsToOrder struct { // Type default "params" Type string `json:"type"` // OrderValue OrderValue OrderValue `json:"value"` }
FieldsToOrder struct
type FileCategorizer2 ¶
type FileCategorizer2 service
FileCategorizer2 service for working with FileCategorizer subsystem.
There are 3 types of categories: simple, autoupdate and silverimage.
Simple category can be created by user manually.
Autoupdate category is working on server side and calculating hashes of files from chosen directory.
SilverImage category type accumulates hashes of files from chosen hosts.
func (*FileCategorizer2) AddExpressions ¶
func (fc *FileCategorizer2) AddExpressions(ctx context.Context, params interface{}) (*PxgValStr, []byte, error)
AddExpressions Add some expressions to category.
func (*FileCategorizer2) CancelFileMetadataOperations ¶
func (fc *FileCategorizer2) CancelFileMetadataOperations(ctx context.Context) (*PxgValInt, []byte, error)
CancelFileMetadataOperations Cancel file metadata operations.
Method cancels operation (GetFileMetadata, GetFilesMetadata, GetFilesMetadataFromMSI) initialized using current connection.
func (*FileCategorizer2) CancelFileUpload ¶
CancelFileUpload Cancel file upload for file categorizer subsystem.
This methode cancels file upload. Call FileCategorizer2.InitFileUpload to start new upload.
func (*FileCategorizer2) CreateCategory ¶
func (fc *FileCategorizer2) CreateCategory(ctx context.Context, params CategoryParams) (*PxgValStr, []byte, error)
CreateCategory Create category (simple, autoupdate or silverimage)
func (*FileCategorizer2) DeleteCategory ¶
DeleteCategory Delete category.
func (*FileCategorizer2) DeleteExpression ¶
func (fc *FileCategorizer2) DeleteExpression(ctx context.Context, params ExpressionParams) (*PxgValStr, []byte, error)
DeleteExpression Delete some expressions from category.
func (*FileCategorizer2) DoStaticAnalysisAsync
deprecated
func (*FileCategorizer2) DoStaticAnalysisAsync2 ¶
func (fc *FileCategorizer2) DoStaticAnalysisAsync2(ctx context.Context, nPolicyId int64) (*AsyncID, []byte, error)
DoStaticAnalysisAsync2 Start Static analysis of application categories
func (*FileCategorizer2) DoTestStaticAnalysisAsync
deprecated
func (fc *FileCategorizer2) DoTestStaticAnalysisAsync(ctx context.Context, params interface{}) ([]byte, error)
DoTestStaticAnalysisAsync Start static analysis for test ACL.
Deprecated: Use FileCategorizer2.DoTestStaticAnalysisAsync2 instead.
func (*FileCategorizer2) DoTestStaticAnalysisAsync2 ¶
func (fc *FileCategorizer2) DoTestStaticAnalysisAsync2(ctx context.Context, params interface{}) (*WActionGUID, []byte, error)
DoTestStaticAnalysisAsync2 Start static analysis for test ACL.
func (*FileCategorizer2) FinishStaticAnalysis ¶
func (fc *FileCategorizer2) FinishStaticAnalysis(ctx context.Context) ([]byte, error)
FinishStaticAnalysis Inform server that reading of analysis results is finished and server should clean it.
func (*FileCategorizer2) ForceCategoryUpdate ¶
func (fc *FileCategorizer2) ForceCategoryUpdate(ctx context.Context, nCategoryId int64) ([]byte, error)
ForceCategoryUpdate Force process of automatic update (for autoupdate and silverimage)
func (*FileCategorizer2) GetCategoriesModificationCounter ¶
func (fc *FileCategorizer2) GetCategoriesModificationCounter(ctx context.Context) (*PxgValInt, []byte, error)
GetCategoriesModificationCounter Returns modification counter. It increments on every category change.
func (*FileCategorizer2) GetCategory ¶
GetCategory Get category by id.
func (*FileCategorizer2) GetCategoryByUUID ¶
func (fc *FileCategorizer2) GetCategoryByUUID(ctx context.Context, pCategoryUUID string) ([]byte, error)
GetCategoryByUUID Get category by uuid.
func (*FileCategorizer2) GetFileMetadata ¶
GetFileMetadata Get file metadata.
To get result use AsyncActionStateChecker.CheckActionState.
It returns params with requested attributes.
func (*FileCategorizer2) GetFilesMetadata ¶
GetFilesMetadata Get files metadata from zip-archive.
To get action status use AsyncActionStateChecker.CheckActionState.
When action is not finished and lStateCode equals 2 then task in progress and pStateData may contain attribute "Progress" (int).
When action is successfully finished it returns pStateData with an array "FilesMetadata".
Each element is a params with requested attributes. See list of attributes File metadata flags.
func (*FileCategorizer2) GetFilesMetadataFromMSI ¶
func (fc *FileCategorizer2) GetFilesMetadataFromMSI(ctx context.Context, ulFlag int64) ([]byte, error)
GetFilesMetadataFromMSI Get files metadata from MSI.
func (*FileCategorizer2) GetRefPolicies ¶
func (fc *FileCategorizer2) GetRefPolicies(ctx context.Context, nCatId int64) (*RefPolicies, []byte, error)
GetRefPolicies Returns array of policies with references to specified category.
func (*FileCategorizer2) GetSerializedCategoryBody
deprecated
func (*FileCategorizer2) GetSerializedCategoryBody2 ¶
func (fc *FileCategorizer2) GetSerializedCategoryBody2(ctx context.Context, nCategoryId int64) ([]byte, error)
GetSerializedCategoryBody2 Returns serialized category body for plugin.
func (*FileCategorizer2) InitFileUpload ¶
func (fc *FileCategorizer2) InitFileUpload(ctx context.Context) (*UploadParams, []byte, error)
InitFileUpload Initialize file upload for file categorizer subsystem.
Remark: Only one upload url is allowed for connection.
func (*FileCategorizer2) UpdateCategory ¶
func (fc *FileCategorizer2) UpdateCategory(ctx context.Context, params interface{}) (*PxgValStr, []byte, error)
UpdateCategory Update category.
func (*FileCategorizer2) UpdateExpressions ¶
func (fc *FileCategorizer2) UpdateExpressions(ctx context.Context, params interface{}) (*PxgValStr, []byte, error)
UpdateExpressions Update some expressions in category.
type FileUploadData ¶
type FileUploadData struct { // WstrFileID File identifier to be used in KSC API after file upload WstrFileID string `json:"wstrFileId,omitempty"` // WstrUploadURL relative URL on KSC server to upload file to. // URL becomes invalid when file is uploaded, or after server is restarted, or CancelFileUpload is called. WstrUploadURL string `json:"wstrUploadURL,omitempty"` }
FileUploadData struct
type FilesAcceptor ¶
type FilesAcceptor service
FilesAcceptor service to upload files to server.
func (*FilesAcceptor) CancelFileUpload ¶
func (di *FilesAcceptor) CancelFileUpload(ctx context.Context, wstrFileId string) error
CancelFileUpload Cancel file upload operation.
After cancellation provided URL will not be valid anymore and any uploaded by the moment file chunks will be dropped. You should not call this method unless you want to break upload operation.
func (*FilesAcceptor) InitiateFileUpload ¶
func (di *FilesAcceptor) InitiateFileUpload(ctx context.Context, bIsArchive bool, qwFileSize int64) (*FileUploadData, error)
InitiateFileUpload Prepare server to accept file.
In order to upload file(s) to KSC server follow these steps:
Call this function to get upload URL and file identifier which can be used in KSC API (e.g. uploading installation package)
Upload file using provided URL via HTTP PUT calls ¶
Provide file identifier to KSC API to use file on server side ¶
Uploaded file should be used immediately after upload. Otherwise it may be dropped by timeout or during KSC server restart.
Original file name is ignored, only returned file identifier is used to identify uploaded file.
If you need to transfer to server a directory or several files put them into zip or tar.gz archive and use 'bIsArchive' flag.
All path names inside archive must be in UTF-8 encoding.
type FilesRequest ¶
type FilesRequest struct { //Array of params, each cell (paramParams) contains request-info for one updatable file: FilesRequestElement []FilesRequestElement `json:"aRequest"` }
FilesRequest struct using in GetInfo
type FilesRequestElement ¶
type FilesRequestElement struct { Type string `json:"type,omitempty"` FilesRequestValue FilesRequestValue `json:"value,omitempty"` }
type FilesRequestValue ¶
type FilesRequestValue struct { // Index primary index relative path in lowercase, e.g. "index/u1313g.xml"; Index string `json:"Index,omitempty"` // CompID updatable file component id in UPPERCASE, e.g. "KSC"; CompID string `json:"CompId,omitempty"` // FileName file name without path in lowercase, e.g. "kscdat.zip". FileName string `json:"FileName,omitempty"` }
FilesRequestValue struct
type FinalDeleteParams ¶
type FinalDeleteParams struct {
ArrObjects []ArrObject `json:"arrObjects"`
}
type FindAdGroupsParams ¶
type FindAdGroupsParams struct { VecFieldsToReturn []string `json:"vecFieldsToReturn,omitempty"` VecFieldsToOrder []FieldsToOrder `json:"vecFieldsToOrder,empty"` POptions POptions `json:"pOptions,omitempty"` LMaxLifeTime int64 `json:"lMaxLifeTime,omitempty"` }
FindAdGroupsParams struct
type FindIncidentsParams ¶
type FindIncidentsParams struct { StrFilter string `json:"strFilter,omitempty"` PFieldsToReturn []string `json:"pFieldsToReturn,omitempty"` PFieldsToOrder []FieldsToOrder `json:"pFieldsToOrder,omitempty"` LMaxLifeTime int64 `json:"lMaxLifeTime,omitempty"` }
FindIncidentsParams struct
type Fixes ¶
type Fixes struct { Type string `json:"type"` FixesValue FixesValue `json:"value"` }
type FixesValue ¶
type FuncAreas ¶
type FuncAreas struct { // PFuncAreasArray array of functionality areas. // Each element of the array is a string: "<product>|<version>|<functional area>". PFuncAreasArray []string `json:"pFuncAreasArray"` }
FuncAreas struct using in HstAccessControl.GetAccessibleFuncAreas
type GCM ¶
type GCM struct { // WstrSenderID SENDER_ID (project number), can be retrieved from Google Developers Console. Can't be empty. WstrSenderID string `json:"wstrSenderId"` // WstrAPIKey API key, can be retrieved from Google Developers Console. Can't be empty. WstrAPIKey string `json:"wstrApiKey"` PxgRetVal bool `json:"PxgRetVal,omitempty"` }
GCM Google Cloud Messaging
type GatewayConnection ¶
type GatewayConnection service
GatewayConnection service for creating gateway connections.
func (*GatewayConnection) PrepareGatewayConnection ¶
func (gc *GatewayConnection) PrepareGatewayConnection(ctx context.Context, params GCParams) (*AuthKey, []byte, error)
PrepareGatewayConnection Create gateway connection.
Remark: StartSession method call in KSCGW authentication scheme. Valid only for 60 seconds.
func (*GatewayConnection) PrepareTunnelConnection ¶
func (gc *GatewayConnection) PrepareTunnelConnection(ctx context.Context, params GCParams) (*AuthKey, []byte, error)
PrepareTunnelConnection Create tunnel connection.
Remark: Should be used in 'login' method call in KSCGW authentication scheme. Valid only for 60 seconds.
type Gcm ¶
type Gcm service
Gcm Service to manage settings of using the GCM service.
func (*Gcm) CheckIfGcmServerSettingsPresent ¶
func (gm *Gcm) CheckIfGcmServerSettingsPresent(ctx context.Context) (*PxgValBool, error)
CheckIfGcmServerSettingsPresent It checks if GCM server settings are present. true if settings are present; False otherwise.
func (*Gcm) CheckIfGcmServerSettingsShouldBeSet ¶
func (gm *Gcm) CheckIfGcmServerSettingsShouldBeSet(ctx context.Context) (*PxgValBool, error)
CheckIfGcmServerSettingsShouldBeSet It checks if GCM server settings should be set. true if server settings should be set; False otherwise.
func (*Gcm) DeleteGcmServerSettings ¶
func (gm *Gcm) DeleteGcmServerSettings(ctx context.Context) (*PxgValBool, error)
DeleteGcmServerSettings Deletes GCM (Google Cloud Messaging) server settings.
func (*Gcm) GetGcmPropagation2VS ¶
func (gm *Gcm) GetGcmPropagation2VS(ctx context.Context) (*PropagationState, error)
GetGcmPropagation2VS Retrieves GCM settings propagation option. GCM settings can be propagated to virtual server in one case only - if it is absent on virtual server.
func (*Gcm) GetGcmServerSettings ¶
GetGcmServerSettings Retrieves GCM (Google Cloud Messaging) server settings.
func (*Gcm) SetGcmPropagation2VS ¶
func (gm *Gcm) SetGcmPropagation2VS(ctx context.Context, params PropagationState) (*PropagationState, error)
SetGcmPropagation2VS Sets possibility for GCM settings propagation from main server to virtual servers. GCM settings can be propagated to virtual server in one case only - if it is absent on virtual server.
func (*Gcm) UpdateGcmServerSettings ¶
UpdateGcmServerSettings Update GCM (Google Cloud Messaging) server settings.
type GroupInfo ¶
type GroupInfo struct {
PxgRetVal *GroupInfoVal `json:"PxgRetVal,omitempty"`
}
GroupInfo struct
type GroupInfoExParams ¶
type GroupInfoExParams struct { // NGroupID Id of existing group NGroupID int64 `json:"nGroupId,omitempty"` // PArrAttributes Array of up to 100 strings. Each entry is an attrbute name (see List of group attributes). PArrAttributes []string `json:"pArrAttributes"` }
GroupInfoExParams struct
type GroupInfoVal ¶
type GroupInfoVal struct { KlgrpChldgrpCnt *int64 `json:"KLGRP_CHLDGRP_CNT,omitempty"` KlgrpChldhstCnt *int64 `json:"KLGRP_CHLDHST_CNT,omitempty"` KlgrpChldhstCntCRT *int64 `json:"KLGRP_CHLDHST_CNT_CRT,omitempty"` KlgrpChldhstCntOk *int64 `json:"KLGRP_CHLDHST_CNT_OK,omitempty"` KlgrpChldhstCntWrn *int64 `json:"KLGRP_CHLDHST_CNT_WRN,omitempty"` KLGRPHlfForceChildren *bool `json:"KLGRP_HlfForceChildren,omitempty"` KLGRPHlfForced *bool `json:"KLGRP_HlfForced,omitempty"` KlsrvHststatCritical *KlsrvHststat `json:"KLSRV_HSTSTAT_CRITICAL,omitempty"` KlsrvHststatWarning *KlsrvHststat `json:"KLSRV_HSTSTAT_WARNING,omitempty"` AutoRemovePeriod *int64 `json:"autoRemovePeriod,omitempty"` CGrpAutoInstallPackageID []interface{} `json:"c_grp_autoInstallPackageId"` ChildGroupsNum *int64 `json:"childGroupsNum,omitempty"` CreationDate *DateTime `json:"creationDate,omitempty"` GrpEnableFscan *bool `json:"grp_enable_fscan,omitempty"` GrpFromUnassigned *bool `json:"grp_from_unassigned,omitempty"` GrpFullName *string `json:"grp_full_name,omitempty"` HostsNum *int64 `json:"hostsNum,omitempty"` ID *int64 `json:"id,omitempty"` Level *int64 `json:"level,omitempty"` Name *string `json:"name,omitempty"` NotifyPeriod *int64 `json:"notifyPeriod,omitempty"` LastUpdate *DateTime `json:"lastUpdate,omitempty"` ParentID *int64 `json:"parentId,omitempty"` }
type GroupPInfo ¶
type GroupSync ¶
type GroupSync service
GroupSync service for access to group synchronization objects.
func (*GroupSync) GetSyncDeliveryTime ¶
func (gs *GroupSync) GetSyncDeliveryTime(ctx context.Context, nSync int64, szwHostId string) (*PxgValInt, []byte, error)
GetSyncDeliveryTime Acquire group synchronization delivery time for the specified host.
Returns UTC time when the specified synchronization has been delivered to the specified host
func (*GroupSync) GetSyncHostsInfo ¶
func (gs *GroupSync) GetSyncHostsInfo(ctx context.Context, params NSyncInfoParams) (*PxgValStr, error)
GetSyncHostsInfo Acquire group synchronization state at target hosts. Returns forward iterator to access requested properties of the specified group synchronization at target hosts.
func (*GroupSync) GetSyncInfo ¶
func (gs *GroupSync) GetSyncInfo(ctx context.Context, params GroupSyncInfoParams) (*GroupSyncInfo, error)
GetSyncInfo Acquire group synchronization properties.
Returns requested properties of the specified group synchronization
type GroupSyncInfo ¶
type GroupSyncInfo struct {
SyncInfo *SyncInfo `json:"PxgRetVal,omitempty"`
}
GroupSyncInfo struct
type GroupSyncInfoParams ¶
type GroupSyncInfoParams struct { NSync int64 `json:"nSync,omitempty"` ArrFieldsToReturn []string `json:"arrFieldsToReturn"` }
GroupSyncInfoParams struct
type GroupSyncIterator ¶
type GroupSyncIterator service
GroupSyncIterator service for access to the group synchronization forward iterator for the result-set.
func (*GroupSyncIterator) GetNextItems ¶
func (ca *GroupSyncIterator) GetNextItems(ctx context.Context, szwIterator string, nCount int64, out interface{}) ( []byte, error)
GetNextItems Acquire subset of elements contained in the result-set.
Returns nCount elements contained in the specified result-set beginning from the current position and moves internal pointer to the new position.
func (*GroupSyncIterator) ReleaseIterator ¶
func (ca *GroupSyncIterator) ReleaseIterator(ctx context.Context, szwIterator string) error
ReleaseIterator Releases the result-set. Releases the specified result-set and frees associated memory
type GroupTaskControlApi ¶
type GroupTaskControlApi service
GroupTaskControlApi service to perform some management actions over group tasks.
func (*GroupTaskControlApi) CommitImportedTask ¶
func (gtca *GroupTaskControlApi) CommitImportedTask(ctx context.Context, wstrId string, bCommit bool) (*TaskDescribe, []byte, error)
CommitImportedTask Completes import of task. Performs actual import of task, which was initiated earlier by GroupTaskControlApi.ImportTask method.
This method works with task data, which was already processed and analyzed. At time of calling this method, one should have appropriate rights for task creation. In case of group task, there should be write access to that group. If imported task is task for specified hosts, there should be read access to that hosts. If task is query-based task, there should be read access to related query. For additional info on task import options, see pExtraData parameter of GroupTaskControlApi.ImportTask method.
func (*GroupTaskControlApi) ExportTask ¶
func (gtca *GroupTaskControlApi) ExportTask(ctx context.Context, wstrTaskId string) (*PxgValStr, []byte, error)
ExportTask Gets specific task by its identifier and save data to memory chunk. Chunk can be later saved to file or sent over network
func (*GroupTaskControlApi) GetTaskByRevision ¶
func (gtca *GroupTaskControlApi) GetTaskByRevision(ctx context.Context, nObjId, nRevision int64) (*TaskDescribe, []byte, error)
GetTaskByRevision get the task data by revision. Returns all task data for a group/set task with a given object identity and revision.
If Administration Server version is less than "SC 10 SP2 MR1" then nRevision must be zero.
func (*GroupTaskControlApi) ImportTask ¶
func (gtca *GroupTaskControlApi) ImportTask(ctx context.Context, params interface{}) ([]byte, error)
ImportTask Prepares task import.
Prepares task import operation. This method does not perform actual import of task: instead, it prepares import operation by saving task blob and associating unique identifier with it, which should be later used in GroupTaskControlApi.CommitImportedTask method.
Some tasks have import security restrictions, thus import of task can be allowed or denied.
To determine these restrictions, one should analyze info, returned via output parameter pCommitInfo (see detailed parameter descriptions in parameter section), and pass analyze result in bCommit parameter of GroupTaskControlApi.CommitImportedTask.
func (*GroupTaskControlApi) RequestStatistics ¶
func (gtca *GroupTaskControlApi) RequestStatistics(ctx context.Context, params TasksIDSParams) ([]byte, error)
RequestStatistics of the given tasks. Actual statistics for the tasks will be reported by appropriate "KLEVP_EventGroupTaskStats" events publications.
func (*GroupTaskControlApi) ResetTasksIteratorForCluster ¶
func (gtca *GroupTaskControlApi) ResetTasksIteratorForCluster(ctx context.Context, params ResetIterForClusterParams) ([]byte, error)
ResetTasksIteratorForCluster Reset task iterator for a cluster.
func (*GroupTaskControlApi) RestoreTaskFromRevision ¶
func (gtca *GroupTaskControlApi) RestoreTaskFromRevision(ctx context.Context, nObjId, nRevision int64) (*TaskDescribe, []byte, error)
RestoreTaskFromRevision Restore task from revision. Rolls back the group/set task specified by nObjId to the revision nRevision.
type GuiContext ¶
type GuiContext service
GuiContext Gui context storage interface.
func (*GuiContext) SetLanguage ¶
SetLanguage Sets up language for the current session. pwchIetfLanguageTag IETF language tag (e.g. ru-RU)
type HGParams ¶
type HGParams struct { WstrFilter string `json:"wstrFilter"` VecFieldsToReturn []string `json:"vecFieldsToReturn"` VecFieldsToOrder []FieldsToOrder `json:"vecFieldsToOrder"` PParams PParams `json:"pParams"` LMaxLifeTime int64 `json:"lMaxLifeTime"` }
HGParams struct
type HMRule ¶
type HMRule struct { KLHSTMRAutoDelete bool `json:"KLHST_MR_AutoDelete,omitempty"` KLHSTMRCustom *KLHSTMRCustom `json:"KLHST_MR_Custom,omitempty"` KlhstMrDN string `json:"KLHST_MR_DN,omitempty"` KLHSTMREnabled bool `json:"KLHST_MR_Enabled,omitempty"` KLHSTMRGroup int64 `json:"KLHST_MR_Group,omitempty"` KLHSTMROptions int64 `json:"KLHST_MR_Options,omitempty"` KLHSTMRQuery string `json:"KLHST_MR_Query,omitempty"` KlhstMrSpecial *KlhstMrSpecial `json:"KLHST_MR_SPECIAL,omitempty"` KLHSTMRType int64 `json:"KLHST_MR_Type,omitempty"` }
HMRule struct
type HMoveRule ¶
type HMoveRule struct {
HMRule *HMRule `json:"PxgRetVal,omitempty"`
}
HMoveRule struct using in HostMoveRules.GetRule
type HMoveRules ¶
type HMoveRules struct {
HMRules []HMRules `json:"PxgRetVal,omitempty"`
}
type HTagValue ¶
type HTagValue struct { // KLHSTTagValue Value of the tag KLHSTTagValue string `json:"KLHST_TagValue"` // KlhstIsTagSetByProduct true if tag has been set by product KlhstIsTagSetByProduct bool `json:"KLHST_IS_TAG_SET_BY_PRODUCT,omitempty"` // KlhstIsTagSetByHosttagrule true if tag has been set by host tag rule KlhstIsTagSetByHosttagrule bool `json:"KLHST_IS_TAG_SET_BY_HOSTTAGRULE,omitempty"` }
type HWInvObject ¶
type HWInvObject struct { Type int64 `json:"Type,omitempty"` SubType int64 `json:"SubType,omitempty"` Created DateTime `json:"Created,omitempty"` LastVisible DateTime `json:"LastVisible,omitempty"` IsWrittenOff bool `json:"IsWrittenOff,omitempty"` WriteOffDate bool `json:"WriteOffDate,omitempty"` InvNum string `json:"InvNum,omitempty"` UserName string `json:"UserName,omitempty"` Placement string `json:"Placement,omitempty"` Price Long `json:"Price,omitempty"` PurchaseDate DateTime `json:"PurchaseDate,omitempty"` Corporative bool `json:"Corporative,omitempty"` Name string `json:"Name,omitempty"` Description string `json:"Description,omitempty"` Manufacturer string `json:"Manufacturer,omitempty"` SerialNumber string `json:"SerialNumber,omitempty"` CPU string `json:"CPU,omitempty"` MemorySize int64 `json:"MemorySize,omitempty"` DiskSize int64 `json:"DiskSize,omitempty"` MotherBoard string `json:"MotherBoard,omitempty"` VidPID string `json:"VidPid,omitempty"` Capacity int64 `json:"Capacity,omitempty"` MAC string `json:"Mac,omitempty"` StrMAC string `json:"StrMac,omitempty"` OS string `json:"OS,omitempty"` AdObject string `json:"AdObject,omitempty"` AdObjectDN string `json:"AdObjectDN,omitempty"` //DynColumns []DynColumn `json:"DynColumns"` DynColID string `json:"DynColId,omitempty"` DynColName string `json:"DynColName,omitempty"` DynColData string `json:"DynColData,omitempty"` }
HWInvObject struct
type HWInvObjectParams ¶
type HWInvObjectParams struct { NObjID int64 `json:"nObjId,omitempty"` PObj HWInvObject `json:"pObj,omitempty"` }
HWInvObjectParams struct
type HWInvStorage ¶
type HWInvStorage service
HWInvStorage service for working with Hardware storage subsystem.
func (*HWInvStorage) AddDynColumn ¶
AddDynColumn Add dynamic column.
func (*HWInvStorage) AddHWInvObject ¶
func (*HWInvStorage) DelDynColumn ¶
func (hw *HWInvStorage) DelDynColumn(ctx context.Context, wstrColId string) error
DelDynColumn Delete dynamic column.
func (*HWInvStorage) DelHWInvObject ¶
func (hw *HWInvStorage) DelHWInvObject(ctx context.Context, nObjId int64) error
DelHWInvObject Delete hardware inventory object.
func (*HWInvStorage) DelHWInvObject2 ¶
func (hw *HWInvStorage) DelHWInvObject2(ctx context.Context, arrObjId []int64) error
DelHWInvObject2 Delete array of objects.
func (*HWInvStorage) EnumDynColumns ¶
func (hw *HWInvStorage) EnumDynColumns(ctx context.Context) (*DynamicColumns, error)
EnumDynColumns Return list of dynamic columns.
func (*HWInvStorage) ExportHWInvStorage2 ¶
func (hw *HWInvStorage) ExportHWInvStorage2(ctx context.Context, eExportType int) (*PxgValStr, error)
ExportHWInvStorage2 Start export of hardware inventory.
func (*HWInvStorage) ExportHWInvStorageCancel ¶
func (hw *HWInvStorage) ExportHWInvStorageCancel(ctx context.Context, wstrAsyncId string) error
ExportHWInvStorageCancel Cancel export of hardware inventory.
func (*HWInvStorage) ExportHWInvStorageGetData ¶
func (hw *HWInvStorage) ExportHWInvStorageGetData(ctx context.Context, wstrAsyncId string, nGetDataSize int64) (*HWInvStorageResponse, []byte, error)
ExportHWInvStorageGetData Get exported data. Call this method until nDataSizeRest is not zero.
func (*HWInvStorage) GetHWInvObject ¶
GetHWInvObject Get hardware inventory object.
func (*HWInvStorage) GetProcessingRules ¶
func (hw *HWInvStorage) GetProcessingRules(ctx context.Context) (*ProcessingRules, error)
GetProcessingRules Get processing rules.
func (*HWInvStorage) ImportHWInvStorage2 ¶
func (hw *HWInvStorage) ImportHWInvStorage2(ctx context.Context, eImportType int64) (*PxgValStr, error)
EnumDynColumns Start import of hardware inventory.
func (*HWInvStorage) ImportHWInvStorageCancel ¶
func (hw *HWInvStorage) ImportHWInvStorageCancel(ctx context.Context, params AsyncID) (*PxgValStr, error)
ImportHWInvStorageCancel Cancel import of hardware inventory.
func (*HWInvStorage) ImportHWInvStorageSetData ¶
func (hw *HWInvStorage) ImportHWInvStorageSetData(ctx context.Context, params StorageSetData) error
ImportHWInvStorageSetData Send chunk of importing data to server.
If pChunk is NULL then send data is finished and started data processing and importing to DB. To get status use AsyncActionStateChecker.CheckActionState, lStateCode "0" means OK.
func (*HWInvStorage) SetCorpFlag2 ¶
func (hw *HWInvStorage) SetCorpFlag2(ctx context.Context, params CorpFlagParams) error
SetCorpFlag2 Set corporative flag for array of devices.
func (*HWInvStorage) SetHWInvObject ¶
func (hw *HWInvStorage) SetHWInvObject(ctx context.Context, params HWInvObjectParams) error
SetHWInvObject Set hardware inventory object.
func (*HWInvStorage) SetProcessingRules ¶
func (hw *HWInvStorage) SetProcessingRules(ctx context.Context, params ProcessingRules) error
SetProcessingRules Set processing rules.
func (*HWInvStorage) SetWriteOffFlag ¶
SetWriteOffFlag Set decommissioned flag.
func (*HWInvStorage) SetWriteOffFlag2 ¶
func (hw *HWInvStorage) SetWriteOffFlag2(ctx context.Context, params WriteOffFlag) error
WriteOffFlag Set decommissioned flag for array of devices.
type HWInvStorageResponse ¶
type HWInvStorageResponse struct { // PChunk Data chunk PChunk string `json:"pChunk,omitempty"` // NGotDataSize Actual size of retrieved data NGotDataSize int64 `json:"nGotDataSize,omitempty"` // NDataSizeREST Size of not retrieved data NDataSizeREST int64 `json:"nDataSizeRest,omitempty"` }
HWInvStorageResponse struct
type HostFixes ¶
type HostFixes struct {
PxgRetVal *HostFixesVal `json:"PxgRetVal,omitempty"`
}
HostFixes struct
type HostFixesVal ¶
type HostFixesVal struct { KlhstHFData []KlhstHFDatum `json:"KLHST_HF_DATA"` KlhstHFProducts []KlhstHFProduct `json:"KLHST_HF_PRODUCTS"` }
type HostGroup ¶
type HostGroup service
HostGroup service allow to Hosts and management groups processing.
func (*HostGroup) AddGroup ¶
func (hg *HostGroup) AddGroup(ctx context.Context, params AddGroupParams) (*PxgValInt, []byte, error)
AddGroup Creates new group with the specified attributes and returns its Id. If such group already exists returns Id of existing group.
func (*HostGroup) AddGroupHostsForSync ¶
func (hg *HostGroup) AddGroupHostsForSync(ctx context.Context, nGroupId int64, strSSType string) (*WActionGUID, []byte, error)
AddGroupHostsForSync Add hosts from specified group to synchronization.
func (*HostGroup) AddHostsForSync ¶
func (hg *HostGroup) AddHostsForSync(ctx context.Context, params HostsForSyncParams) (*WActionGUID, []byte, error)
AddHostsForSync Performs synchronization of settings between server and host.
func (*HostGroup) AddIncident ¶
func (hg *HostGroup) AddIncident(ctx context.Context, params AddIncidentsParams) (*PxgValStr, []byte, error)
AddIncident Create new incident.
func (*HostGroup) DeleteIncident ¶
DeleteIncident Delete incident.
func (*HostGroup) FindGroups ¶
FindGroups Finds groups that satisfy conditions from filter pParams, and creates a server-side collection of found groups. Search is performed over the hierarchy
func (*HostGroup) FindHosts ¶
FindHosts Finds hosts that satisfy conditions from filter string wstrFilter, and creates a server-side collection of found hosts. Search is performed over the hierarchy
func (*HostGroup) FindHostsAsync ¶
func (hg *HostGroup) FindHostsAsync(ctx context.Context, params HGParams) (*RequestID, []byte, error)
FindHostsAsync Find host asynchronously by filter string. Finds hosts asynchronously that satisfy conditions from filter string wstrFilter, and creates a server-side collection of found hosts. Search is performed over the hierarchy to get status use AsyncActionStateChecker.CheckActionState, lStateCode "1" means OK and "0" means fail to get accessor id call HostGroup.FindHostsAsyncGetAccessor to cancel operation call HostGroup.FindHostsAsyncCancel
func (*HostGroup) FindHostsAsyncCancel ¶
FindHostsAsyncCancel Cancels asynchronous operation HostGroup.FindHostsAsync
func (*HostGroup) FindHostsAsyncGetAccessor ¶
func (hg *HostGroup) FindHostsAsyncGetAccessor(ctx context.Context, strRequestId string) (*AsyncAccessor, []byte, error)
FindHostsAsyncGetAccessor Gets result of asynchronous operation HostGroup.FindHostsAsync
func (*HostGroup) FindIncidents ¶
func (hg *HostGroup) FindIncidents(ctx context.Context, params FindIncidentsParams) (*Accessor, []byte, error)
FindIncidents Find incident by filter string. Finds incidents that satisfy conditions from filter string strFilter.
func (*HostGroup) FindUsers ¶
FindUsers Finds existing users. Finds users that satisfy conditions from filter string strFilter.
func (*HostGroup) GetAllHostFixes ¶
GetAllHostFixes Returns all hotfixes installed in the network.
func (*HostGroup) GetComponentsForProductOnHost ¶
func (hg *HostGroup) GetComponentsForProductOnHost(ctx context.Context, strHostName, strProductName, strProductVersion string) (*ProductComponents, []byte, error)
GetComponentsForProductOnHost Return array of product components for specified host and product.
func (*HostGroup) GetDomainHosts
deprecated
GetDomainHosts Return a list of workstation names in the domain.
The information is obtained from the domain controller. This call returns the full list of workstations in the domain, even if the workstation is now turned off.
Deprecated: use either HostGroup.FindHostsAsync or HostGroup.FindHosts instead.
func (*HostGroup) GetDomains ¶
GetDomains List of Windows domain in the network.
func (*HostGroup) GetGroupId ¶
func (hg *HostGroup) GetGroupId(ctx context.Context, nParent int64, strName string) (*PxgValInt, []byte, error)
GetGroupId Acquire administration group id by its name and id of parent group.
func (*HostGroup) GetGroupInfo ¶
GetGroupInfo Acquire administration group attributes.
Deprecated: Use HostGroup.GetGroupInfoEx instead
func (*HostGroup) GetGroupInfoEx ¶
func (hg *HostGroup) GetGroupInfoEx(ctx context.Context, params GroupInfoExParams) (*GroupInfo, []byte, error)
GetGroupInfoEx Acquire administration group attributes.
Remark: not working on KSC 10
func (*HostGroup) GetHostInfo ¶
GetHostInfo Acquire specified host attributes.
func (*HostGroup) GetHostProducts ¶
GetHostProducts Return information about installed products on the host.
func (*HostGroup) GetHostTasks ¶
GetHostTasks Return server specific identity to acquire and manage host tasks.
func (*HostGroup) GetHostfixesForProductOnHost ¶
func (hg *HostGroup) GetHostfixesForProductOnHost(ctx context.Context, strHostName, strProductName, strProductVersion string) (*ProductFixes, []byte, error)
GetHostfixesForProductOnHost Return array of hotfixes for specified host and product. Array is ordered according hotfix installation order.
func (*HostGroup) GetInstanceStatistics ¶
func (hg *HostGroup) GetInstanceStatistics(ctx context.Context, params InstanceStatisticsParams) (*ServerInstanceStatistics, error)
GetInstanceStatistics Acquire Server statistics info.
Remark: not working on KSC 10
func (*HostGroup) GetRunTimeInfo ¶
GetRunTimeInfo Return server run-time info.
func (*HostGroup) GetStaticInfo ¶
func (hg *HostGroup) GetStaticInfo(ctx context.Context, params StaticInfoParams) (*ServerStaticInfo, error)
GetStaticInfo Return server static info.
func (*HostGroup) GetSubgroups ¶
func (hg *HostGroup) GetSubgroups(ctx context.Context, nGroupId int64, nDepth int64) (*SubGroups, error)
GetSubgroups Acquire administration group subgroups tree.
func (*HostGroup) GroupIdGroups ¶
GroupIdGroups Id of predefined root group "Managed computers".
func (*HostGroup) GroupIdSuper ¶
GroupIdSuper Id of predefined group "Master server".
func (*HostGroup) GroupIdUnassigned ¶
GroupIdUnassigned Id of predefined group "Unassigned computers".
func (*HostGroup) MoveHostsFromGroupToGroup ¶
func (hg *HostGroup) MoveHostsFromGroupToGroup(ctx context.Context, nSrcGroupId int64, nDstGroupId int64) (*WActionGUID, []byte, error)
MoveHostsFromGroupToGroup Moves hosts from root of source group to root of destination group. Operation is asynchronous.
func (*HostGroup) MoveHostsToGroup ¶
func (hg *HostGroup) MoveHostsToGroup(ctx context.Context, params HostsToGroupParams) ([]byte, error)
MoveHostsToGroup Move multiple hosts into specified administration group.
func (*HostGroup) RemoveGroup ¶
func (hg *HostGroup) RemoveGroup(ctx context.Context, nGroup, nFlags int64) (*WActionGUID, []byte, error)
RemoveGroup Delete administration group.
func (*HostGroup) RemoveHost ¶
RemoveHost Removes host record.
func (*HostGroup) RemoveHosts ¶
RemoveHosts Remove multiple hosts.
Removes multiple hosts. Function behavior depends on bForceDestroy flag.
If bForceDestroy is true then hosts records are deleted.
If bForceDestroy is false hosts records will be deleted only for hosts located in group "Unassigned computers" or its subgroups, others will be moved into corresponding subgroups of group "Unassigned computers".
func (*HostGroup) ResolveAndMoveToGroup ¶
func (hg *HostGroup) ResolveAndMoveToGroup(ctx context.Context, params PInfoRaM) (*KlhstWksResults, []byte, error)
ResolveAndMoveToGroup Moves hosts into a group by name or ip-address.
If the entered name corresponds to the ip-address format, then the server tries to find in the database a host with the indicated ip-address. Otherwise, the server tries to interpret the host as follows:
1. Name (KLHST_WKS_HOSTNAME)
2. Display name (KLHST_WKS_DN)
3. NetBIOS name (KLHST_WKS_WINHOSTNAME)
4. DNS name (KLHST_WKS_DNSNAME)
func (*HostGroup) RestartNetworkScanning ¶
func (hg *HostGroup) RestartNetworkScanning(ctx context.Context, nType int64) (*PxgRetError, []byte, error)
RestartNetworkScanning Restarts specified network scanning type.
func (*HostGroup) SSCreateSection ¶
SSCreateSection Create section in host settings storage.
func (*HostGroup) SSGetNames ¶
func (hg *HostGroup) SSGetNames(ctx context.Context, params SectionParams) (*PxgValArrayOfString, []byte, error)
SSGetNames Get section names from host settings storage.
If product is empty then names will contain all product names. If product is not empty and version is empty then names will contain all versions for the specified product name. If product is not empty and version is not empty then names will contain all sections for the specified product and version.
func (*HostGroup) SetLocInfo ¶
SetLocInfo Allows to set server localization information.
func (*HostGroup) UpdateGroup ¶
UpdateGroup Change attributes of existing administration group.
func (*HostGroup) UpdateHost ¶
UpdateHost Modify specified attributes for host.
func (*HostGroup) UpdateHostsMultiple ¶
UpdateHostsMultiple Update attributes of multiple computers.
func (*HostGroup) UpdateIncident ¶
func (hg *HostGroup) UpdateIncident(ctx context.Context, params UpdateIncidentParams) ([]byte, error)
UpdateIncident Modify properties of an existing incident.
func (*HostGroup) ZeroVirusCountForGroup ¶
func (hg *HostGroup) ZeroVirusCountForGroup(ctx context.Context, nParent int64) (*WActionGUID, []byte, error)
ZeroVirusCountForGroup Zero virus count for hosts in group and all subgroups.
func (*HostGroup) ZeroVirusCountForHosts ¶
func (hg *HostGroup) ZeroVirusCountForHosts(ctx context.Context, params interface{}) (*WActionGUID, []byte, error)
ZeroVirusCountForHosts Zero virus count for specified hosts.
type HostIteratorForTaskParams ¶
type HostIteratorForTaskParams struct { StrTask string `json:"strTask"` NHostStateMask string `json:"nHostStateMask"` PFields2Return []string `json:"pFields2Return"` NLifetime int64 `json:"nLifetime"` }
HostIteratorForTaskParams struct
type HostIteratorForTaskParamsEx ¶
type HostIteratorForTaskParamsEx struct { StrTask string `json:"strTask"` NHostStateMask int64 `json:"nHostStateMask"` PFields2Return []string `json:"pFields2Return"` PFields2Order []FieldsToOrder `json:"pFields2Order"` NLifetime int64 `json:"nLifetime"` }
HostIteratorForTaskParamsEx struct
type HostMoveRules ¶
type HostMoveRules service
HostMoveRules service to Modify and acquire move rules to hosts.
Service allows to acquire and manage host moving rules. The rule will move host which fits KLHST_MR_Query to KLHST_MR_Group
func (*HostMoveRules) AddRule ¶
func (hmr *HostMoveRules) AddRule(ctx context.Context, params interface{}) ([]byte, error)
AddRule Creates new extended host moving rule with specified attributes.
func (*HostMoveRules) DeleteRule ¶
DeleteRule Removes specified extended host moving rule.
func (*HostMoveRules) ExecuteRulesNow ¶
func (hmr *HostMoveRules) ExecuteRulesNow(ctx context.Context, params ExecuteRulesParams) ([]byte, error)
ExecuteRulesNow Executes rules for a specific group
func (*HostMoveRules) GetRules ¶
func (hmr *HostMoveRules) GetRules(ctx context.Context, params Rules) (*HMoveRules, []byte, error)
GetRules Enumerate all extended host moving rules. Enumerates all extended host moving rules.
func (*HostMoveRules) SetRulesOrder ¶
func (hmr *HostMoveRules) SetRulesOrder(ctx context.Context, params RulesOrderParams) (*HMoveRules, []byte, error)
SetRulesOrder Modifies order of specified rules in the global list. Order of rules not contained in pRules array will be indefinite.
func (*HostMoveRules) UpdateRule ¶
func (hmr *HostMoveRules) UpdateRule(ctx context.Context, params interface{}) ([]byte, error)
UpdateRule Modify attributes of specified rule.
type HostProducts ¶
type HostProducts struct { PxgRetVal struct { GNRLEAPARAM1 []struct { Type string `json:"type"` Value struct { ARPRegKey string `json:"ARPRegKey"` CleanerProductName string `json:"CleanerProductName"` Comments string `json:"Comments"` DisplayName string `json:"DisplayName"` DisplayVersion string `json:"DisplayVersion"` HelpLink string `json:"HelpLink"` HelpTelephone string `json:"HelpTelephone"` InstallDate string `json:"InstallDate"` InstallDir string `json:"InstallDir"` InstanceID struct { Type string `json:"type"` Value string `json:"value"` } `json:"InstanceID"` LangId int `json:"LangId"` PackageCode string `json:"PackageCode"` ProductID string `json:"ProductID"` Publisher string `json:"Publisher"` QuietUninstallString string `json:"QuietUninstallString"` UninstallString string `json:"UninstallString"` VapmBuild struct { Type string `json:"type"` Value int `json:"value"` } `json:"VapmBuild"` BIsMsi bool `json:"bIsMsi"` } `json:"value"` } `json:"GNRL_EA_PARAM_1"` } `json:"PxgRetVal"` }
type HostTags ¶
type HostTags struct {
HTags []HTags `json:"PxgRetVal"`
}
HostTags struct using in HostTagsApi.GetHostTags
type HostTagsApi ¶
type HostTagsApi service
HostTagsApi service allows to acquire and manage tags for hosts. It is additional service for common ListTags.
func (*HostTagsApi) GetHostTags ¶
func (kc *HostTagsApi) GetHostTags(ctx context.Context, params HostTagsParams) (*HostTags, []byte, error)
GetHostTags Get tags for the host.
type HostTagsParams ¶
type HostTagsParams struct { // SzwHostID host identifier ( guid ) SzwHostID string `json:"szwHostId"` // PParams reserved. PParams Null `json:"pParams"` }
HostTagsParams using in
type HostTagsRulesApi ¶
type HostTagsRulesApi service
HostTagsRulesApi service allows to acquire and manage host automatic tagging rules
Administration server contains global list of the rules that may automatically set tags for computers.
Every rule is identified by szwTagValue that the rule will be set: szwTagValue is a non-empty string, up to 256 unicode characters.
Application of the rules happens on by HostTagsRulesApi.ExecuteRule call Periodically. By default every 2 hours, by notification about changing important settings that can change rule query output.
Application of the rule is set the rule szwTagValue to the hosts falling under a rule scope and reset szwTagValue for other hosts if the tag has been established by the rule earlier
func (*HostTagsRulesApi) CancelAsyncAction ¶
func (htra *HostTagsRulesApi) CancelAsyncAction(ctx context.Context, wstrActionGuid string) ([]byte, error)
CancelAsyncAction Cancel asynchronous operation.
This method should be called if there is no wish to wait while AsyncActionStateChecker.CheckActionState will return bFinalized for earlier launched asynchronous operation.
func (*HostTagsRulesApi) DeleteRule ¶
DeleteRule Remove host automatic tagging rule.
func (*HostTagsRulesApi) ExecuteRule ¶
func (htra *HostTagsRulesApi) ExecuteRule(ctx context.Context, szwTagValue string) (*WActionGUID, []byte, error)
ExecuteRule Initiate application of the rule. Method initiates application of specified rule.
It is also allowed to execute disabled rule ( when "KLHST_HTR_Enabled" attribute is false ). Such run is reset rule tag for all hosts where it was been previously set by the rule.
After returning from this method it is needed to wait while AsyncActionStateChecker.CheckActionState will return bFinalized or call HostTagsRulesApi.CancelAsyncAction with wstrActionGuid
func (*HostTagsRulesApi) GetRule ¶
GetRule Acquire attributes of specified rule. Returns attributes of specified rule.
func (*HostTagsRulesApi) GetRules ¶
func (htra *HostTagsRulesApi) GetRules(ctx context.Context, params HostTagsRulesParams) ([]byte, error)
GetRules Enumerates all rules. Returns specified attributes of all rules.
Example: - pFields2ReturnArray (array) string array with names of requested rule attribute names. { "pFields2ReturnArray" : [ "KLHST_HTR_DN", "KLHST_HTR_Enabled", "KLHST_HTR_TagValue", "KLHST_HTR_Custom", "KLHST_HTR_Query", ] }
func (*HostTagsRulesApi) UpdateRule ¶
func (htra *HostTagsRulesApi) UpdateRule(ctx context.Context, params UpdateRuleParams) ([]byte, error)
UpdateRule Adds/Updates host automatic tagging rule.
type HostTagsRulesParams ¶
type HostTagsRulesParams struct {
PFields2ReturnArray []string `json:"pFields2ReturnArray"`
}
HostTagsRulesParams struct
type HostTasks ¶
type HostTasks service
HostTasks service to basic management operations with host tasks.
This service allows to acquire and manage tasks for hosts: add, update, remove, enumerate and perform other actions.
func (*HostTasks) GetNextTask ¶
GetNextTask Sequentially get task data.
func (*HostTasks) ResetTasksIterator ¶
func (ht *HostTasks) ResetTasksIterator(ctx context.Context, strSrvObjId, strProductName, strVersion, strComponentName, strInstanceId, strTaskName string) ([]byte, error)
ResetTasksIterator Reset task iterator for a specified filter data. If one of the parameters is not specified then the filtration will not be performed by this parameter.
type HostsForSyncParams ¶
type HostsForSyncParams struct { // PHostNames array of host names PHostNames []string `json:"pHostNames"` // StrSSType setting storage identity (empty string means synchronization of all setting storages) StrSSType string `json:"strSSType,omitempty"` }
HostsForSyncParams struct using in HostGroup.AddHostsForSync
type HostsKeyIterator ¶
type HostsToGroupParams ¶
type HostsToGroupParams struct { NGroup int64 `json:"nGroup"` PHostNames []string `json:"pHostNames"` }
HostsToGroupParams struct
type HstAccessControl ¶
type HstAccessControl service
HstAccessControl Security policy Allows to specify permissions for administration groups and non-group objects.
func (*HstAccessControl) AccessCheckToAdmGroup ¶
func (hac *HstAccessControl) AccessCheckToAdmGroup(ctx context.Context, lGroupId, dwAccessMask int64, szwFuncArea, szwProduct, szwVersion string) (*PxgValBool, []byte, error)
AccessCheckToAdmGroup Checks if current user session has access to the administration group.
func (*HstAccessControl) AddRole ¶
func (hac *HstAccessControl) AddRole(ctx context.Context, params interface{}) ([]byte, error)
AddRole A role can be added only at a main server.
func (*HstAccessControl) DeleteRole ¶
func (hac *HstAccessControl) DeleteRole(ctx context.Context, nId int64, bProtection bool) ([]byte, error)
DeleteRole Delete user role.
func (*HstAccessControl) DeleteScObjectAcl ¶
func (hac *HstAccessControl) DeleteScObjectAcl(ctx context.Context, nObjId, nObjType int64) ([]byte, error)
DeleteScObjectAcl Deletes ACL for the specified object.
func (*HstAccessControl) DeleteScVServerAcl ¶
DeleteScVServerAcl Deletes ACL for the specified virtual server.
func (*HstAccessControl) FindRoles ¶
func (hac *HstAccessControl) FindRoles(ctx context.Context, params PFindParams) (*Accessor, []byte, error)
FindRoles Find roles by filter string.
func (*HstAccessControl) FindTrustees ¶
func (hac *HstAccessControl) FindTrustees(ctx context.Context, params PFindParams) (*Accessor, []byte, error)
FindTrustees Searches for trustees meeting specified criteria.
func (*HstAccessControl) GetAccessibleFuncAreas ¶
func (hac *HstAccessControl) GetAccessibleFuncAreas(ctx context.Context, lGroupId, dwAccessMask int64, szwProduct, szwVersion string, bInvert bool) ([]byte, error)
GetAccessibleFuncAreas Returns accessible functional areas.
func (*HstAccessControl) GetMappingFuncAreaToPolicies ¶
func (hac *HstAccessControl) GetMappingFuncAreaToPolicies(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
GetMappingFuncAreaToPolicies Returns mapping functional area to policies.
func (*HstAccessControl) GetMappingFuncAreaToReports ¶
func (hac *HstAccessControl) GetMappingFuncAreaToReports(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
GetMappingFuncAreaToReports Returns mapping functional area to reports.
func (*HstAccessControl) GetMappingFuncAreaToSettings ¶
func (hac *HstAccessControl) GetMappingFuncAreaToSettings(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
GetMappingFuncAreaToSettings Returns mapping functional area to settings.
func (*HstAccessControl) GetMappingFuncAreaToTasks ¶
func (hac *HstAccessControl) GetMappingFuncAreaToTasks(ctx context.Context, szwProduct, szwVersion string) ([]byte, error)
GetMappingFuncAreaToTasks Returns mapping functional area to tasks.
func (*HstAccessControl) GetPolicyReadonlyNodes ¶
func (hac *HstAccessControl) GetPolicyReadonlyNodes(ctx context.Context, params interface{}) ([]byte, error)
GetPolicyReadonlyNodes Returns array of paths for all nodes actually located in the specified policy section, which are readonly for current user session.
func (*HstAccessControl) GetRole ¶
func (hac *HstAccessControl) GetRole(ctx context.Context, params TRParams) (*Trustee, []byte, error)
GetRole Return parameters of a role.
func (*HstAccessControl) GetScObjectAcl ¶
func (hac *HstAccessControl) GetScObjectAcl(ctx context.Context, nObjId, nObjType int64) ([]byte, error)
GetScObjectAcl Returns ACL for the specified object.
func (*HstAccessControl) GetScVServerAcl ¶
GetScVServerAcl Returns ACL for the server.
func (*HstAccessControl) GetSettingsReadonlyNodes ¶
func (hac *HstAccessControl) GetSettingsReadonlyNodes(ctx context.Context, params interface{}) ([]byte, error)
GetSettingsReadonlyNodes Returns array of paths for nodes from product's setting section, which are readonly for current user session.
func (*HstAccessControl) GetTrustee ¶
func (hac *HstAccessControl) GetTrustee(ctx context.Context, params TRParams) (*Trustee, []byte, error)
GetTrustee Get trustee data.
func (*HstAccessControl) GetVisualViewForAccessRights ¶
func (hac *HstAccessControl) GetVisualViewForAccessRights(ctx context.Context, wstrLangCode string, nObjId, nObjType int64) ([]byte, error)
GetVisualViewForAccessRights Returns descriptions of visual view for access rights in KSC.
func (*HstAccessControl) IsTaskTypeReadonly ¶
func (hac *HstAccessControl) IsTaskTypeReadonly(ctx context.Context, lGroupId int64, szwProduct, szwVersion, szwTaskTypeName string) (*PxgValBool, []byte, error)
IsTaskTypeReadonly Determines read only attribute by product's task type.
func (*HstAccessControl) ModifyScObjectAcl ¶
func (hac *HstAccessControl) ModifyScObjectAcl(ctx context.Context, params interface{}) ([]byte, error)
ModifyScObjectAcl Modify ACL for the specified object. Method updates only Accounts, permissions and roles which presented in pAclParams. To delete Ace from Acl, it must be added to 'delete' list.
func (*HstAccessControl) SetScObjectAcl ¶
func (hac *HstAccessControl) SetScObjectAcl(ctx context.Context, params interface{}) ([]byte, error)
SetScObjectAcl Sets ACL for the specified object.
func (*HstAccessControl) SetScVServerAcl ¶
func (hac *HstAccessControl) SetScVServerAcl(ctx context.Context, params interface{}) ([]byte, error)
SetScVServerAcl Set ACL for virtual server.
func (*HstAccessControl) UpdateRole ¶
func (hac *HstAccessControl) UpdateRole(ctx context.Context, params interface{}) ([]byte, error)
UpdateRole Update user role.
type IOptions ¶
type IOptions struct { // KlmigrRootGroupID root group identifier KlmigrRootGroupID int64 `json:"KLMIGR_ROOT_GROUP_ID"` }
IOptions struct
type IWebSrvSettings ¶
type IWebSrvSettings service
IWebSrvSettings service to working with Web server settings proxy.
func (*IWebSrvSettings) GetCertificateInfo ¶
func (iws *IWebSrvSettings) GetCertificateInfo(ctx context.Context) (*PxgValCIFIL, []byte, error)
GetCertificateInfo. Returns information about custom certificate.
If cert present then it return params with [["CERT_TYPE"] == 0 (PEM form)] and ["CERT_PUBLIC_PART"] fields. In case if certificate not set, then it returns empty params with no any fields.
func (*IWebSrvSettings) GetCustomPkgHttpFqdn ¶
GetCustomPkgHttpFqdn. Returns custom HTTP FQDN.
func (*IWebSrvSettings) SetCustomCertificate ¶
func (iws *IWebSrvSettings) SetCustomCertificate(ctx context.Context, params interface{}) ([]byte, error)
SetCustomCertificate. Sets custom certificate for Web Server's SSL listener. FQDN name from certificate are used for HTTPS link generation.
func (*IWebSrvSettings) SetCustomPkgHttpFqdn ¶
func (iws *IWebSrvSettings) SetCustomPkgHttpFqdn(ctx context.Context, wsFqdn string) ([]byte, error)
SetCustomPkgHttpFqdn. Set's custom HTTP FQDN. It is useful for HTTP link generation.
type IWebUsersSrv ¶
type IWebUsersSrv service
IWebUsersSrv service to operating with emails
func (*IWebUsersSrv) SendEmail ¶
func (iwus *IWebUsersSrv) SendEmail(ctx context.Context, params interface{}) ([]byte, error)
SendEmail Send an email to multiple recipients.
How to embeed QR-code pictures into html body ("QrCodes" array):
Set "EmbedQrCodes" value to true if you want to embed QR-code pictures into html rather then sending them as attachments.
Pictures will be embedded into html using pattern:
'<div id="qrcode<arrayIndex>"><img src="cid:<"QrCodePicture">"></div>' which will pe appended to the end of "MailBody" (in respect of the order they appear in "QrCodes" array)
For example, embedding of the first qr-code picture from "QrCodes" array would look like: <div id="qrcode0"><img src="cid:example.png"></div>
You can also css-style that div using its id inside of your html message body.
type IWebUsersSrv2 ¶
type IWebUsersSrv2 service
IWebUsersSrv2 service to operating with emails from GUI
func (*IWebUsersSrv2) SendEmailAsync ¶
func (iwus2 *IWebUsersSrv2) SendEmailAsync(ctx context.Context, params interface{}) ([]byte, error)
SendEmailAsync IWebUsersSrvProxy2::SendEmail GUI bridge.
type ImportMDParams ¶
type ImportMDParams struct { // WstrURL upload URL. Use MigrationData.InitFileUpload() method to obtain it WstrURL string `json:"wstrUrl"` // IOptions import options IOptions IOptions `json:"pOptions"` }
ImportMDParams struct using in MigrationData.Import
type InstallationLogs ¶
type InstallationLogs struct { Type string `json:"type,omitempty"` Value *InstallationLogsValue `json:"value,omitempty"` }
type InstallationLogsValue ¶
type InstallationLogsValue struct { InstallationLogsMSI []interface{} `json:"InstallationLogs_MSI"` InstallationLogsRI []string `json:"InstallationLogs_RI"` }
type InstanceStatisticsParams ¶
type InstanceStatisticsParams struct { // VecFilterFields Array of needed attributes // Remark: can be empty, but not nil VecFilterFields []string `json:"vecFilterFields"` }
InstanceStatisticsParams struct
type IntegrationToken ¶
type IntegrityCheckInfo ¶
type InvLicenseProducts ¶
type InvLicenseProducts service
InvLicenseProducts service to manage License Management (third party) Functionality.
func (*InvLicenseProducts) AddLicenseKey ¶
func (ilp *InvLicenseProducts) AddLicenseKey(ctx context.Context, params LicenseKeyParams) (*PxgValInt, error)
AddLicenseKey Add a new License Key.
╔════════════════════════════════╦═══════════════╦═══════════════════════════════════════╦══════════╗ ║ Name ║ Type ║ Description ║ Remarks ║ ╠════════════════════════════════╬═══════════════╬═══════════════════════════════════════╬══════════╣ ║ "KLINVLIC_KEY_NAME" ║ paramString ║ License Key name ║ ║ ║ "KLINVLIC_KEY_LICCOUNT" ║ paramInt ║ Count of installations allowed by key ║ Optional ║ ║ "KLINVLIC_KEY_CREATION" ║ paramDateTime ║ Indicates time when key become active ║ Optional ║ ║ "KLINVLIC_KEY_EXPIRATIONLIMIT" ║ paramDateTime ║ Indicates time when key expires ║ Optional ║ ║ "KLINVLIC_KEY_INFO" ║ paramString ║ Description ║ ║ ╚════════════════════════════════╩═══════════════╩═══════════════════════════════════════╩══════════╝
func (*InvLicenseProducts) AddLicenseProduct ¶
func (ilp *InvLicenseProducts) AddLicenseProduct(ctx context.Context, params LicenseProductParams) (*PxgValInt, error)
AddLicenseProduct Add a new License Product.
func (*InvLicenseProducts) DeleteLicenseKey ¶
func (ilp *InvLicenseProducts) DeleteLicenseKey(ctx context.Context, nLicKeyId int64) (*PxgRetError, error)
DeleteLicenseKey Removes specified License Key.
func (*InvLicenseProducts) DeleteLicenseProduct ¶
func (ilp *InvLicenseProducts) DeleteLicenseProduct(ctx context.Context, nLicProdId int64) (*PxgRetError, error)
DeleteLicenseProduct Removes specified License Product.
func (*InvLicenseProducts) GetLicenseProducts ¶
func (ilp *InvLicenseProducts) GetLicenseProducts(ctx context.Context) (*LicenseKeysResponse, error)
GetLicenseProducts Acquire License Products data.
func (*InvLicenseProducts) UpdateLicenseKey ¶
func (ilp *InvLicenseProducts) UpdateLicenseKey(ctx context.Context, params UpdateLicenseKeyParams) error
UpdateLicenseKey Modifies attributes of specified License Key.
func (*InvLicenseProducts) UpdateLicenseProduct ¶
func (ilp *InvLicenseProducts) UpdateLicenseProduct(ctx context.Context, params UpdateLicenseProductParams) error
UpdateLicenseProduct Modifies attributes of specified License Product.
type InvPatches ¶
type InvPatches struct { PxgRetVal struct { GNRLEAPARAM1 []struct { Type string `json:"type"` Value struct { Classification string `json:"Classification"` Comments string `json:"Comments"` DisplayName string `json:"DisplayName"` DisplayVersion string `json:"DisplayVersion"` HelpLink string `json:"HelpLink"` HelpTelephone string `json:"HelpTelephone"` InstallDate string `json:"InstallDate"` MoreInfoURL string `json:"MoreInfoURL"` ParentID string `json:"ParentID"` PatchID string `json:"PatchID"` Publisher string `json:"Publisher"` QuietUninstallString string `json:"QuietUninstallString"` UninstallString string `json:"UninstallString"` BIsMsi bool `json:"bIsMsi"` } `json:"value"` } `json:"GNRL_EA_PARAM_1"` } `json:"PxgRetVal"` }
type InvProducts ¶
type InvProducts struct { PxgRetVal struct { GNRLEAPARAM1 []struct { Type string `json:"type"` Value struct { ARPRegKey string `json:"ARPRegKey"` CleanerProductName string `json:"CleanerProductName"` Comments string `json:"Comments"` DisplayName string `json:"DisplayName"` DisplayVersion string `json:"DisplayVersion"` HelpLink string `json:"HelpLink"` HelpTelephone string `json:"HelpTelephone"` InstallDate string `json:"InstallDate"` InstallDir string `json:"InstallDir"` LangId int `json:"LangId"` PackageCode string `json:"PackageCode"` ProductID string `json:"ProductID"` Publisher string `json:"Publisher"` QuietUninstallString string `json:"QuietUninstallString"` UninstallString string `json:"UninstallString"` VapmBuild struct { Type string `json:"type"` Value int `json:"value"` } `json:"VapmBuild"` BIsMsi bool `json:"bIsMsi"` } `json:"value"` } `json:"GNRL_EA_PARAM_1"` } `json:"PxgRetVal"` }
type InventoryAPI ¶
type InventoryAPI service
InventoryAPI service for working with Software Inventory subsystem.
Service allows to get information about software applications that's are installed on client hosts and modify some settings for Software Inventory subsystem.
To get additional information you also can use SrvView (InvSrvViewName)
func (*InventoryAPI) DeleteUninstalledApps ¶
func (ia *InventoryAPI) DeleteUninstalledApps(ctx context.Context) error
DeleteUninstalledApps Remove from database info about software applications which aren't installed on any host.
func (*InventoryAPI) GetHostInvPatches ¶
func (ia *InventoryAPI) GetHostInvPatches(ctx context.Context, szwHostID string) (*InvPatches, error)
GetHostInvPatches Acquire software application updates which are installed on specified host.
func (*InventoryAPI) GetHostInvProducts ¶
func (ia *InventoryAPI) GetHostInvProducts(ctx context.Context, szwHostID string) (*HostProducts, error)
GetHostInvProducts Acquire all software applications.
func (*InventoryAPI) GetInvPatchesList ¶
func (ia *InventoryAPI) GetInvPatchesList(ctx context.Context, params Null) (*InvPatches, error)
GetInvPatchesList Acquire all software application updates.
func (*InventoryAPI) GetInvProductsList ¶
func (ia *InventoryAPI) GetInvProductsList(ctx context.Context, params Null) (*InvProducts, error)
GetInvProductsList Acquire all software applications.
func (*InventoryAPI) GetObservedApps ¶
func (ia *InventoryAPI) GetObservedApps(ctx context.Context, params Null) (*PxgValArrayOfString, error)
GetObservedApps Acquire list of observed applications.
func (*InventoryAPI) GetSrvCompetitorIniFileInfoList ¶
func (ia *InventoryAPI) GetSrvCompetitorIniFileInfoList(ctx context.Context, wstrType string) (*PxgValCIFIL, error)
GetSrvCompetitorIniFileInfoList Acquire info about all cleaner ini-files of specified type from SC-server. Returns info about cleaner ini-files of specified type from SC-server. These files are used to detect and uninstall applications which incompatible with KasperskyLab antivirus applications
func (*InventoryAPI) SetObservedApps ¶
func (ia *InventoryAPI) SetObservedApps(ctx context.Context, params ObservedAppsParams) ([]byte, error)
SetObservedApps Set list of observed applications.
type IssuanceSetting ¶
type IssuanceSetting struct { // IssuanceSettingValue array of issuance settings PxgRetVal IssuanceSettingValue `json:"PxgRetVal"` }
type IssuanceSettingVal ¶
type IssuanceSettingVal struct { Type string `json:"type"` Value IssuanceSettingValue `json:"value"` }
type IssuanceSettingValue ¶
type IssuanceSettingValue struct { // CIBAutoIssuanceDisabled Is certificate auto-issuance allowed CIBAutoIssuanceDisabled bool `json:"CI_bAutoIssuanceDisabled"` // CIBAutorenewalEnabled If autorenewal enabled CIBAutorenewalEnabled bool `json:"CI_bAutorenewalEnabled"` // CIBEncryptionEnabled Is certificate encryption feature enabled CIBEncryptionEnabled bool `json:"CI_bEncryptionEnabled"` // CIBFeatureActive Is issuance feature active CIBFeatureActive bool `json:"CI_bFeatureActive"` // CINCERTType certificate type CINCERTType int64 `json:"CI_nCertType"` // CINEncryptionPwdLength certificate password length for certificate encryption feature CINEncryptionPwdLength int64 `json:"CI_nEncryptionPwdLength"` // CINExpiryPeriod Certificate expiry period CINExpiryPeriod int64 `json:"CI_nExpiryPeriod"` // CINRenewalPeriodSEC Certificate renewal period CINRenewalPeriodSEC int64 `json:"CI_nRenewalPeriodSec"` // CIWstrPKICERTTemplateName PKI certificate template name CIWstrPKICERTTemplateName string `json:"CI_wstrPkiCertTemplateName"` }
type IssuanceSettings ¶
type IssuanceSettings struct { // IssuanceSettingVal array of issuance settings PxgRetVal []IssuanceSettingVal `json:"PxgRetVal"` }
type ItemsChunkParams ¶
type KLEVPNDBODYFILTERValue ¶
type KLEVPNDBODYFILTERValue struct {
KLPRCINewState int64 `json:"KLPRCI_newState,omitempty"`
}
type KLEVerControl ¶
type KLEVerControl service
KLEVerControl service to controls the possibility to download and automatically create installation packages.
func (*KLEVerControl) CancelDownloadDistributive ¶
func (kvc *KLEVerControl) CancelDownloadDistributive(ctx context.Context, wstrRequestId string) ([]byte, error)
CancelDownloadDistributive Cancel asynchronous operation DownloadDistributiveAsync.
func (*KLEVerControl) ChangeCreatePackage ¶
func (kvc *KLEVerControl) ChangeCreatePackage(ctx context.Context, params interface{}) ([]byte, error)
ChangeCreatePackage Initiate or cancel distributives downloading and installation packages registration from KL public distributives storage. The distributives are identified by "db_loc_id" from the appropriate SrvView Kaspersky Lab corporate product distributives available for download.
func (*KLEVerControl) DownloadDistributiveAsync ¶
func (kvc *KLEVerControl) DownloadDistributiveAsync(ctx context.Context, params interface{}) ([]byte, error)
DownloadDistributiveAsync Initiate downloading of the distributive by URL into SC-server. Method is needed to download distributive by URL into SC-server. After that the distributive will be available to downloading from SC-server.
func (*KLEVerControl) GetDownloadDistributiveResult ¶
func (kvc *KLEVerControl) GetDownloadDistributiveResult(ctx context.Context, wstrRequestId string) ([]byte, error)
GetDownloadDistributiveResult Get result of asynchronous operation DownloadDistributiveAsync.
type KLHSTHFDATUMValue ¶
type KLHSTHFPRODUCTValue ¶
type KLHSTHFPRODUCTValue struct { KlhstHFProdid *int64 `json:"KLHST_HF_PRODID,omitempty"` KlhstWksProductID *string `json:"KLHST_WKS_PRODUCT_ID,omitempty"` KlhstWksProductName *string `json:"KLHST_WKS_PRODUCT_NAME,omitempty"` KlhstWksProductVersion *string `json:"KLHST_WKS_PRODUCT_VERSION,omitempty"` }
type KLHSTHTRCustom ¶
type KLHSTHTRCustom struct { // Type type "params" Type string `json:"type"` // CustomValue Any data associated with rule. It is not analyzed by the Administration Server CustomValue CustomValue `json:"value"` }
KLHSTHTRCustom struct
type KLHSTMRCustom ¶
type KLHSTMRCustom struct { Type string `json:"type,omitempty"` Value *KLHSTMRCustomValue `json:"value,omitempty"` }
type KLHSTMRCustomValue ¶
type KLHSTMRCustomValue struct { HruleFromUnassigned bool `json:"HRULE_FROM_UNASSIGNED,omitempty"` HruleIncludeChildOu bool `json:"HRULE_INCLUDE_CHILD_OU,omitempty"` HruleNagentStatus int64 `json:"HRULE_NAGENT_STATUS,omitempty"` HruleOSVersions []int64 `json:"HRULE_OS_VERSIONS"` HruleQueryPart1 string `json:"HRULE_QUERY_PART1,omitempty"` HruleQueryPart3 string `json:"HRULE_QUERY_PART3,omitempty"` HruleQueryPart4 string `json:"HRULE_QUERY_PART4,omitempty"` HruleUserCERTInstalled int64 `json:"HRULE_USER_CERT_INSTALLED,omitempty"` KlhstAdGroup int64 `json:"KLHST_AD_GROUP,omitempty"` KlhstAdOrgunit int64 `json:"KLHST_AD_ORGUNIT,omitempty"` OSBuild int64 `json:"OsBuild,omitempty"` OSBuildCond int64 `json:"OsBuildCond,omitempty"` OSRelease int64 `json:"OsRelease,omitempty"` OSReleaseCond int64 `json:"OsReleaseCond,omitempty"` }
type KLHSTMRSPECIALADValue ¶
type KLHSTMRSPECIALADValue struct { KlhstMrSpecialAdCreateSubgroups bool `json:"KLHST_MR_SPECIAL_AD_CREATE_SUBGROUPS,omitempty"` KlhstMrSpecialAdDeleteSubgroups bool `json:"KLHST_MR_SPECIAL_AD_DELETE_SUBGROUPS,omitempty"` KlhstMrSpecialAdMoveToSubgroups bool `json:"KLHST_MR_SPECIAL_AD_MOVE_TO_SUBGROUPS,omitempty"` KlhstMrSpecialAdOuid int64 `json:"KLHST_MR_SPECIAL_AD_OUID,omitempty"` }
type KLHSTMRSPECIALValue ¶
type KLHSTMRSPECIALValue struct {
KlhstMrSpecialAd *KlhstMrSpecialAd `json:"KLHST_MR_SPECIAL_AD,omitempty"`
}
type KLINVLICLICPRODUCTSARRAYValue ¶
type KLINVLICLICPRODUCTSARRAYValue struct { KlinvlicData *KlinvlicData `json:"KLINVLIC_DATA,omitempty"` KlinvlicID *int64 `json:"KLINVLIC_ID,omitempty"` }
type KLPRSSEVPNotifications ¶
type KLPRSSEVPNotifications struct { Type string `json:"type,omitempty"` Value *KLPRSSEVPNotificationsValue `json:"value,omitempty"` }
type KLQRSQUERYDATAValue ¶
type KLQRSQUERYDATAValue struct { Name string `json:"Name,omitempty"` PredefinedID string `json:"PredefinedID,omitempty"` NetInfoPageSettings *PageSettings `json:"NetInfoPageSettings,omitempty"` NetInfoExPageSettings *PageSettings `json:"NetInfoExPageSettings,omitempty"` ProtectionPageSettings *PageSettings `json:"ProtectionPageSettings,omitempty"` Query string `json:"Query,omitempty"` }
type KLUpdate ¶
type KLUpdate struct { Type *string `json:"type,omitempty"` // KLUpdateValue containing well-known retranslated update components list, // which can be used for update retranslation task tuning KLUpdateValue *KLUpdateValue `json:"value,omitempty"` }
KLUpdate
type KLUpdateValue ¶
type KLUpdateValue struct { // AppID Application identity, only anti-spam components, e.g.: "1184" AppID *string `json:"AppId,omitempty"` // AppSuperID Application family identity, for anti-spam components only, possible values: // 0 - Unknown // 1 - AntiSpam Personal 1.0 // 2 - AntiSpam Personal 1.1 // 3 - Security for SMTPGateway 5.5 // 4 - Security for Exchange 2003 // 5 - AntiSpam 3.0 AppSuperID *string `json:"AppSuperId,omitempty"` // CompID Component internal name, e.g.: "KDB" CompID *string `json:"CompId,omitempty"` // Descr Component description Descr *string `json:"Descr,omitempty"` // Name Component title Name *string `json:"Name,omitempty"` }
type KeyDataParams ¶
type KeyDataParams struct { // PKeyInfo container which must contain "KLLIC_SERIAL" attribute to specify the interested license. // For any attribute to query you must put such attribute with any value into the container pKeyInfo. // In particular, if you need the key body then put into pKeyInfo container the attribute with name "KLLICSRV_KEYDATA" of type PKeyInfo PKeyInfo `json:"pKeyInfo,omitempty"` }
KeyDataParams struct
type KeyPairAccess ¶
type KeyPairAccess struct { // BAllowScanning Access for pcloud device discovery BAllowScanning bool `json:"bAllowScanning,omitempty"` // BAllowDeployment Access for remote deployment BAllowDeployment bool `json:"bAllowDeployment,omitempty"` }
KeyPairAccess struct
type KeyService ¶
type KeyService service
KeyService service for working with KeyService subsystem.
func (*KeyService) DecryptData ¶
func (ks *KeyService) DecryptData(ctx context.Context, pEncryptedData, wstrProdName, wstrProdVersion string) (*PDecryptedData, []byte, error)
DecryptData Method unprotects crypto container created by EncryptData.
func (*KeyService) EncryptData ¶
func (ks *KeyService) EncryptData(ctx context.Context, pData string) (*PEncryptedData, []byte, error)
EncryptData Method creates crypto container.
func (*KeyService) EncryptDataForHost ¶
func (ks *KeyService) EncryptDataForHost(ctx context.Context, wstrHostId, pData string) (*PEncryptedData, []byte, error)
EncryptDataForHost Method creates a crypto container for chosen host. Data may be decrypted only locally on host.
func (*KeyService) GenerateTransportCertificate ¶
func (ks *KeyService) GenerateTransportCertificate(ctx context.Context, wstrCommonName string) (*TransportCertificate, []byte, error)
GenerateTransportCertificate Method generates transport certificate.
type KeyService2 ¶
type KeyService2 service
KeyService2 additional service for working with KeyService subsystem.
func (*KeyService2) ExportDpeKeys ¶
ExportDpeKeys Exports own and all stored encryption keys.
func (*KeyService2) ImportDpeKeys ¶
ImportDpeKeys Imports encryption keys.
type KldpnsIL ¶
type KldpnsIL struct { // Type "params" Type *string `json:"type,omitempty"` //KldpnsILValue Value KldpnsILValue *KldpnsILValue `json:"value,omitempty"` }
KldpnsIL struct ip intervals or subnets descriptions
type KldpnsILValue ¶
type KldpnsILValue struct { // KldpnsILIssubnet true if subnet and false if ip interval KldpnsILIssubnet *bool `json:"KLDPNS_IL_ISSUBNET,omitempty"` // KldpnsILMaskorlow subnet mask (if KLDPNS_IL_ISSUBNET is true) or low ip of interval end (if KLDPNS_IL_ISSUBNET is false) // in TCP/IP network byte order. Subnet mask must be contigious. KldpnsILMaskorlow *int64 `json:"KLDPNS_IL_MASKORLOW,omitempty"` // KldpnsILSubnetorhi subnet address (if KLDPNS_IL_ISSUBNET is true) or high interval end (if KLDPNS_IL_ISSUBNET is false) // in TCP/IP network byte order. Subnet address must correspond subnet mask. KldpnsILSubnetorhi *int64 `json:"KLDPNS_IL_SUBNETORHI,omitempty"` }
type KlevpNdBodyFilter ¶
type KlevpNdBodyFilter struct { Type string `json:"type,omitempty"` Value *KLEVPNDBODYFILTERValue `json:"value,omitempty"` }
type KlhstACLTrusteeSid ¶
type KlhstHFDatum ¶
type KlhstHFDatum struct { Type *string `json:"type,omitempty"` Value *KLHSTHFDATUMValue `json:"value,omitempty"` }
type KlhstHFProduct ¶
type KlhstHFProduct struct { Type *string `json:"type,omitempty"` Value *KLHSTHFPRODUCTValue `json:"value,omitempty"` }
type KlhstMrSpecial ¶
type KlhstMrSpecial struct { Type string `json:"type,omitempty"` Value *KLHSTMRSPECIALValue `json:"value,omitempty"` }
type KlhstMrSpecialAd ¶
type KlhstMrSpecialAd struct { Type string `json:"type,omitempty"` Value *KLHSTMRSPECIALADValue `json:"value,omitempty"` }
type KlhstPrcstComponentID ¶
type KlhstWksResults ¶
type KlhstWksResults struct {
PResults PResults `json:"pResults"`
}
KlhstWksResults struct
type KlinvlicData ¶
type KlinvlicData struct { Type *string `json:"type,omitempty"` Value *PLicProdData `json:"value,omitempty"` }
type KlinvlicKey ¶
type KlinvlicLicProductsArray ¶
type KlinvlicLicProductsArray struct { Type *string `json:"type,omitempty"` Value *KLINVLICLICPRODUCTSARRAYValue `json:"value,omitempty"` }
type KlinvlicMasks ¶
type KlinvlicMasks struct { Type string `json:"type,omitempty"` KlinvlicMasksValue KlinvlicMasksValue `json:"value"` }
type KlinvlicMasksValue ¶
type KlinvlicMasksValue struct { KlinvlicMaskProdDispNameFilter string `json:"KLINVLIC_MASK_PROD_DISP_NAME_FILTER,omitempty"` KlinvlicMaskProdDispVerFilter string `json:"KLINVLIC_MASK_PROD_DISP_VER_FILTER,omitempty"` KlinvlicMaskProdPublisherFilter string `json:"KLINVLIC_MASK_PROD_PUBLISHER_FILTER,omitempty"` KlinvlicMaskProdTagValue string `json:"KLINVLIC_MASK_PROD_TAG_VALUE,omitempty"` }
type KlmdmCmdFlag ¶
type KlmigrArrProductsInfo ¶
type KlmigrArrProductsInfo struct { Type string `json:"Type,omitempty"` ProductsInfoValue ProductsInfoValue `json:"Value"` }
type KlpkgNpiExtraData ¶
type KlpkgNpiExtraData struct { KlpggVapmDistribGlbid *KlpkgNpiSize `json:"KLPGG_VAPM_DISTRIB_GLBID,omitempty"` KlpkgEULAUid *Klpkg `json:"KLPKG_EULA_UID,omitempty"` KlpkgFormat int64 `json:"KLPKG_FORMAT,omitempty"` KlpkgIsMSI bool `json:"KLPKG_IS_MSI,omitempty"` KlpkgLangTag string `json:"KLPKG_LANG_TAG,omitempty"` KlpkgParentID int64 `json:"KLPKG_PARENT_ID,omitempty"` KlpkgPkgMan int64 `json:"KLPKG_PKG_MAN,omitempty"` KlpkgPlatform int64 `json:"KLPKG_PLATFORM,omitempty"` KlpkgPrdType int64 `json:"KLPKG_PRD_TYPE,omitempty"` KlpkgType int64 `json:"KLPKG_TYPE,omitempty"` BPkgPrereqAllowed bool `json:"bPkgPrereqAllowed,omitempty"` NPatchGlbID *KlpkgNpiSize `json:"nPatchGlbId,omitempty"` NPatchLcid int64 `json:"nPatchLcid,omitempty"` }
type KlpkgNpiSize ¶
type KlpkgNpiTime ¶
type KlpolPolOutbreak ¶
type KlpolPolOutbreak struct { Type string `json:"type"` Value PolOutbreak `json:"value"` }
type KlqrsQueryData ¶
type KlqrsQueryData struct { Type string `json:"type,omitempty"` Value *KLQRSQUERYDATAValue `json:"value,omitempty"` }
type KlrptChartDatum ¶
type KlrptOutputFormat ¶
type KlrptOutputFormat struct { Type string `json:"type,omitempty"` Value *KlrptOutputFormatValue `json:"value,omitempty"` }
type KlrptOutputFormatValue ¶
type KlrptOutputFormatValue struct { //Maximum number of records in details table KlrptMaxRecordsDetails int64 `json:"KLRPT_MAX_RECORDS_DETAILS,omitempty"` //Report target format, see Types of report target format // ╔═══════╦══════════╦═════════════╗ // ║ Value ║ Alias ║ Description ║ // ╠═══════╬══════════╬═════════════╣ // ║ 0 ║ RTT_XML ║ XML ║ // ║ 1 ║ RTT_CSV ║ CSV ║ // ║ 2 ║ RTT_JSON ║ JSON ║ // ╚═══════╩══════════╩═════════════╝ KlrptTargetType int64 `json:"KLRPT_TARGET_TYPE,omitempty"` //Report target XML format, see Types of report XML target format // ╔═══════╦═════════════╦════════════════════╗ // ║ Value ║ Alias ║ Description ║ // ╠═══════╬═════════════╬════════════════════╣ // ║ -1 ║ RTT_UNKNOWN ║ Unknown or not set ║ // ║ 0 ║ RTT_HTML ║ HTML ║ // ║ 1 ║ RTT_XLS ║ XLS ║ // ║ 2 ║ RTT_PDF ║ PDF ║ // ╚═══════╩═════════════╩════════════════════╝ KlrptXMLTargetType int64 `json:"KLRPT_XML_TARGET_TYPE,omitempty"` KlrptPDFLandscape bool `json:"KLRPT_PDF_LANDSCAPE,omitempty"` //Page size for PDF report document, see Sizes of report PDF document // ╔═══════╦═════════════╦═════════════════════╗ // ║ Value ║ Alias ║ Description ║ // ╠═══════╬═════════════╬═════════════════════╣ // ║ 0 ║ Custom ║ User-defined format ║ // ║ 1 ║ Letter ║ Letter format ║ // ║ 2 ║ Note ║ Note format ║ // ║ 3 ║ Legal ║ Legal format ║ // ║ 4 ║ A0 ║ A0 format ║ // ║ 5 ║ A1 ║ A1 format ║ // ║ 6 ║ A2 ║ A2 format ║ // ║ 7 ║ A3 ║ A3 format ║ // ║ 8 ║ A4 ║ A4 format ║ // ║ 9 ║ A5 ║ A5 format ║ // ║ 10 ║ A6 ║ A6 format ║ // ║ 11 ║ A7 ║ A7 format ║ // ║ 12 ║ A8 ║ A8 format ║ // ║ 13 ║ A9 ║ A9 format ║ // ║ 14 ║ A10 ║ A10 format ║ // ║ 15 ║ B0 ║ B0 format ║ // ║ 16 ║ B1 ║ B1 format ║ // ║ 17 ║ B2 ║ B2 format ║ // ║ 18 ║ B3 ║ B3 format ║ // ║ 19 ║ B4 ║ B4 format ║ // ║ 20 ║ B5 ║ B5 format ║ // ║ 21 ║ ArchE ║ ArchE format ║ // ║ 22 ║ ArchD ║ ArchD format ║ // ║ 23 ║ ArchC ║ ArchC format ║ // ║ 24 ║ ArchB ║ ArchB format ║ // ║ 25 ║ ArchA ║ ArchA format ║ // ║ 26 ║ Flsa ║ Flsa format ║ // ║ 27 ║ HalfLetter ║ HalfLetter format ║ // ║ 28 ║ Letter11x17 ║ 11x17 format ║ // ║ 29 ║ Ledger ║ Ledger format ║ // ╚═══════╩═════════════╩═════════════════════╝ KlrptPDFPageSize int64 `json:"KLRPT_PDF_PAGE_SIZE,omitempty"` }
type KlsplPermission ¶
type KlsplPermission struct { Type string `json:"type,omitempty"` // KlsplPermissionValue permissions entry KlsplPermissionValue KlsplPermissionValue `json:"value,omitempty"` }
KlsplPermission container of permissions entry attributes
type KlsplPermissionValue ¶
type KlsplPermissionValue struct { // KlspluSid Security ID (if OS account). KlspluSid string `json:"KLSPLU_SID,omitempty"` // KlspluName User or group name (if OS account). KlspluName string `json:"KLSPLU_NAME,omitempty"` // KlspluIsGroup Is group (if OS account). KlspluIsGroup bool `json:"KLSPLU_IS_GROUP,omitempty"` // KlspluAkuserID Id of AK user. KlspluAkuserID int64 `json:"KLSPLU_AKUSER_ID,omitempty"` // KlspluMayWrite The entry may be modified. KlspluMayWrite bool `json:"KLSPLU_MAY_WRITE,omitempty"` // KlspluMayRemove The entry may be removed. KlspluMayRemove bool `json:"KLSPLU_MAY_REMOVE,omitempty"` // KlspluAllowmask Allow access mask KlspluAllowmask int64 `json:"KLSPLU_ALLOWMASK,omitempty"` // KlspluDenymask Deny access mask KlspluDenymask int64 `json:"KLSPLU_DENYMASK,omitempty"` }
type KlsrvCertutilsCERTPPart ¶
type KlsrvHststat ¶
type KlsrvHststat struct { Type *string `json:"type,omitempty"` Value *KlsrvHststatValue `json:"value,omitempty"` }
type KlsrvHststatValue ¶
type KlsrvHststatValue struct { KlsrvHststatInheritable *bool `json:"KLSRV_HSTSTAT_INHERITABLE,omitempty"` KlsrvHststatInherited *bool `json:"KLSRV_HSTSTAT_INHERITED,omitempty"` KlsrvHststatLocked *bool `json:"KLSRV_HSTSTAT_LOCKED,omitempty"` KlsrvHststatMask *int64 `json:"KLSRV_HSTSTAT_MASK,omitempty"` KlsrvHststatOldAVBases *int64 `json:"KLSRV_HSTSTAT_OLD_AV_BASES,omitempty"` KlsrvHststatOldFscan *int64 `json:"KLSRV_HSTSTAT_OLD_FSCAN,omitempty"` KlsrvHststatOldLastConnect *int64 `json:"KLSRV_HSTSTAT_OLD_LAST_CONNECT,omitempty"` KlsrvHststatOldLicense *int64 `json:"KLSRV_HSTSTAT_OLD_LICENSE,omitempty"` KlsrvHststatSPBootExpired *int64 `json:"KLSRV_HSTSTAT_SP_BOOT_EXPIRED,omitempty"` KlsrvHststatSPBootReasons *int64 `json:"KLSRV_HSTSTAT_SP_BOOT_REASONS,omitempty"` KlsrvHststatSPDiskspace *int64 `json:"KLSRV_HSTSTAT_SP_DISKSPACE,omitempty"` KlsrvHststatSPEncryption *int64 `json:"KLSRV_HSTSTAT_SP_ENCRYPTION,omitempty"` KlsrvHststatSPRptDiffers *int64 `json:"KLSRV_HSTSTAT_SP_RPT_DIFFERS,omitempty"` KlsrvHststatSPRptInactive *int64 `json:"KLSRV_HSTSTAT_SP_RPT_INACTIVE,omitempty"` KlsrvHststatSPUasearch *int64 `json:"KLSRV_HSTSTAT_SP_UASEARCH,omitempty"` KlsrvHststatSPUncured *int64 `json:"KLSRV_HSTSTAT_SP_UNCURED,omitempty"` KlsrvHststatSPViruses *int64 `json:"KLSRV_HSTSTAT_SP_VIRUSES,omitempty"` KlsrvHststatSPVulnerability *int64 `json:"KLSRV_HSTSTAT_SP_VULNERABILITY,omitempty"` KlsrvHststatSPVulnFlags *int64 `json:"KLSRV_HSTSTAT_SP_VULN_FLAGS,omitempty"` }
type KlvsrvLicense ¶
type KlvsrvLicense struct { Type *string `json:"type,omitempty"` KlvsrvLicenseValue *KlvsrvLicenseValue `json:"value,omitempty"` }
type KlvsrvLicenseValue ¶
type KlvsrvProdBuilds ¶
type KlvsrvProdBuilds struct { Type *string `json:"type,omitempty"` KlvsrvProdBuildValue KlvsrvProdValue `json:"value,omitempty"` }
type KlvsrvProdValue ¶
type KlvsrvProdValue struct { KlvsrvProdCnt *int64 `json:"KLVSRV_PROD_CNT,omitempty"` KlvsrvProdDN *string `json:"KLVSRV_PROD_DN,omitempty"` KlvsrvProdDv *string `json:"KLVSRV_PROD_DV,omitempty"` KlvsrvProdBuilds []KlvsrvProdBuilds `json:"KLVSRV_PROD_BUILDS,omitempty"` }
type KlvsrvProdVersion ¶
type KlvsrvProdVersion struct { Type *string `json:"type,omitempty"` KlvsrvProdValue KlvsrvProdValue `json:"value,omitempty"` }
type KlvsrvProds ¶
type KlvsrvProds struct { Type *string `json:"type,omitempty"` Value *map[string]KlvsrvProdVersion `json:"value,omitempty"` }
type KlvsrvProducts ¶
type KlvsrvProducts struct { Type *string `json:"type,omitempty"` Value *map[string]KlvsrvProds `json:"value,omitempty"` }
Klvsrv struct
type KnownProductVal ¶
type KnownProducts ¶
type KnownProducts struct {
KnownProductsVal []KnownProductsVal `json:"PxgRetVal"`
}
KnownProducts struct
type KnownProductsVal ¶
type KnownProductsVal struct { Type string `json:"type,omitempty"` KnownProductVal *KnownProductVal `json:"value,omitempty"` }
type KscClient ¶
type KscClient struct { AdfsSso *AdfsSso AdHosts *AdHosts AdmServerSettings *AdmServerSettings AdSecManager *AdSecManager AppCtrlAPI *AppCtrlApi AKPatches *AKPatches AsyncActionStateChecker *AsyncActionStateChecker CertPoolCtrl *CertPoolCtrl CertPoolCtrl2 *CertPoolCtrl2 CertUtils *CertUtils CgwHelper *CgwHelper ChunkAccessor *ChunkAccessor CloudAccess *CloudAccess ConEvents *ConEvents DatabaseInfo *DatabaseInfo DataProtectionAPI *DataProtectionApi DpeKeyService *DpeKeyService EventNotificationProperties *EventNotificationProperties EventNotificationsAPI *EventNotificationsApi EventProcessing *EventProcessing EventProcessingFactory *EventProcessingFactory ExtAud *ExtAud ExtTenant *ExtTenant FileCategorizer2 *FileCategorizer2 FilesAcceptor *FilesAcceptor GatewayConnection *GatewayConnection Gcm *Gcm GroupSync *GroupSync HostGroup *HostGroup HostMoveRules *HostMoveRules HostTagsAPI *HostTagsApi HostTagsRulesAPI *HostTagsRulesApi HostTasks *HostTasks HstAccessControl *HstAccessControl HWInvStorage *HWInvStorage GroupSyncIterator *GroupSyncIterator GroupTaskControlAPI *GroupTaskControlApi GuiContext *GuiContext InventoryAPI *InventoryAPI InvLicenseProducts *InvLicenseProducts IWebSrvSettings *IWebSrvSettings IWebUsersSrv *IWebUsersSrv IWebUsersSrv2 *IWebUsersSrv2 KeyService *KeyService KeyService2 *KeyService2 KillChain *KillChain KLEVerControl *KLEVerControl KsnInternal *KsnInternal LicenseInfoSync *LicenseInfoSync LicenseKeys *LicenseKeys LicensePolicy *LicensePolicy Limits *Limits ListTags *ListTags MfaCache *MfaCache MdmCertCtrlApi *MdmCertCtrlApi MfaCacheInner *MfaCacheInner MfaCacheInnerTest *MfaCacheInnerTest MigrationData *MigrationData ModulesIntegrityCheck *ModulesIntegrityCheck Multitenancy *Multitenancy NagCgwHelper *NagCgwHelper NagGuiCalls *NagGuiCalls NagHstCtl *NagHstCtl NagNetworkListAPI *NagNetworkListApi NagRdu *NagRdu NagRemoteScreen *NagRemoteScreen NetUtils *NetUtils NlaDefinedNetworks *NlaDefinedNetworks OAuth2 *OAuth2 OsVersion *OsVersion PackagesAPI *PackagesApi PatchParameters *PatchParameters PLCDevAPI *PLCDevApi PluginData *PluginData PluginDataStorage *PluginDataStorage Policy *Policy PolicyProfiles *PolicyProfiles ProductBackendIntegration *ProductBackendIntegration ProductUserTokenIssuer *ProductUserTokenIssuer QueriesStorage *QueriesStorage QBTNetworkListAPI *QBTNetworkListApi ReportManager *ReportManager RetrFiles *RetrFiles ScanDiapasons *ScanDiapasons SeamlessUpdatesTestAPI *SeamlessUpdatesTestApi SecurityPolicy *SecurityPolicy SecurityPolicy3 *SecurityPolicy3 ServerHierarchy *ServerHierarchy ServerTransportSettings *ServerTransportSettings ServiceNwcCommandProvider *ServiceNwcCommandProvider ServiceNwcDeployment *ServiceNwcDeployment Session *Session SiemExport *SiemExport SmsQueue *SmsQueue SmsSenders *SmsSenders SpamEvents *SpamEvents SrvCloud *SrvCloud SrvCloudStat *SrvCloudStat SrvIpmNewsAndStatistics *SrvIpmNewsAndStatistics SrvRi *SrvRi SrvSsRevision *SrvSsRevision SrvView *SrvView SsContents *SsContents SsRevisionGetNames *SsRevisionGetNames SubnetMasks *SubnetMasks Tasks *Tasks TotpGlobalSettings *TotpGlobalSettings TotpRegistration *TotpRegistration TotpUserSettings *TotpUserSettings TrafficManager *TrafficManager UaControl *UaControl Updates *Updates UpdComps *UpdComps UserDevicesAPI *UserDevicesApi VapmControlAPI *VapmControlApi UserName, Password, Server, VServerName, XKscSessionToken, Domain string XKscSession, InsecureSkipVerify, InternalUser bool VServers *VServers VServers2 *VServers2 WolSender *WolSender Debug bool // contains filtered or unexported fields }
KscClient -------------Client------------------
func NewKscClient ¶
type KsnInternal ¶
type KsnInternal service
KsnInternal service for working with KsnProxy subsystem.
This service allow you to set KPSN settings, check license and check connection.
func (*KsnInternal) CheckKsnConnection ¶
func (sd *KsnInternal) CheckKsnConnection(ctx context.Context) (*PxgValBool, []byte, error)
CheckKsnConnection Check connection with KSN cloud (or KPSN)
func (*KsnInternal) GetNKsnEula ¶
GetNKsnEula Get KPSN eula.
func (*KsnInternal) GetNKsnEulas ¶
func (sd *KsnInternal) GetNKsnEulas(ctx context.Context) ([]byte, error)
GetNKsnEulas Get all KPSN eula.
func (*KsnInternal) GetSettings ¶
func (sd *KsnInternal) GetSettings(ctx context.Context) (*KsnSettings, []byte, error)
GetSettings Returns settings of KsnProxy. May be used on virtual server.
func (*KsnInternal) NeedToSendStatistics ¶
func (sd *KsnInternal) NeedToSendStatistics(ctx context.Context) (*PxgValBool, []byte, error)
NeedToSendStatistics Check possibility to send statistics.
type KsnSettings ¶
type KsnSettings struct {
PSettings *PSettings `json:"pSettings,omitempty"`
}
KsnSettings is returned by GetSettings.
type LKResponse ¶
type LKResponse struct {
KlinvlicLicProductsArray []KlinvlicLicProductsArray `json:"KLINVLIC_LIC_PRODUCTS_ARRAY,omitempty"`
}
type LicenseInfoSync ¶
type LicenseInfoSync service
LicenseInfoSync service provided operating with licenses.
func (*LicenseInfoSync) AcquireKeysForProductOnHost ¶
func (lis *LicenseInfoSync) AcquireKeysForProductOnHost(ctx context.Context, szwHostName, szwProduct, szwVersion string) ([]byte, error)
AcquireKeysForProductOnHost Acquire serial numbers of the active and reserved licenses on the host.
func (*LicenseInfoSync) GetKeyDataForHost ¶
func (lis *LicenseInfoSync) GetKeyDataForHost(ctx context.Context, szwSerial, szwHostName, szwProduct, szwVersion string) ([]byte, error)
GetKeyDataForHost Get host-specific key data.
func (*LicenseInfoSync) IsLicForSaasValid2 ¶
func (lis *LicenseInfoSync) IsLicForSaasValid2(ctx context.Context, params SaasKeyParam2) ([]byte, error)
IsLicForSaasValid2 Check if license is suitable for being used by the adm. server.
func (*LicenseInfoSync) IsPCloudKey ¶
IsPCloudKey Check whether the key's product id belongs to the Public Cloud product ids list.
func (*LicenseInfoSync) SynchronizeLicInfo2 ¶
SynchronizeLicInfo2 Force synchronization of subscription licenses' metadata.
func (*LicenseInfoSync) TryToInstallLicForSaas2 ¶
func (lis *LicenseInfoSync) TryToInstallLicForSaas2(ctx context.Context, params SaasKeyParam2) ([]byte, error)
TryToInstallLicForSaas2 Install adm. server's license.
func (*LicenseInfoSync) TryToUnistallLicense ¶
func (lis *LicenseInfoSync) TryToUnistallLicense(ctx context.Context, bCurrent bool) ([]byte, error)
TryToUnistallLicense Uninstall adm. server's license.
type LicenseKeyParams ¶
type LicenseKeyParams struct {
PLicKeyData *PLicKeyData `json:"pLicKeyData,omitempty"`
}
LicenseKeyParams struct
type LicenseKeys ¶
type LicenseKeys service
LicenseKeys service to operating with keys
func (*LicenseKeys) AcquireKeyHosts ¶
func (lk *LicenseKeys) AcquireKeyHosts(ctx context.Context, params AcquireKeyHostsParams) (*HostsKeyIterator, []byte, error)
AcquireKeyHosts Get an array of hosts that are currently using the specified key.
func (*LicenseKeys) AdjustKey ¶
func (lk *LicenseKeys) AdjustKey(ctx context.Context, params AdjustKeyParams) ([]byte, error)
AdjustKey Adjust adm. server's license attributes.
func (*LicenseKeys) CheckIfSaasLicenseIsValid ¶
func (lk *LicenseKeys) CheckIfSaasLicenseIsValid(ctx context.Context, params SaasKeyParam) ([]byte, error)
CheckIfSaasLicenseIsValid Check if license can be installed to the adm. server. License is treated as a valid one if it is suitable for being used by the adm. server itself (its AppId is 1017, it is not expired etc.)
func (*LicenseKeys) DownloadKeyFiles ¶
func (lk *LicenseKeys) DownloadKeyFiles(ctx context.Context, wstrActivationCode string) bool
DownloadKeyFiles Download license key files from activation key servers V1.
func (*LicenseKeys) EnumKeys ¶
func (lk *LicenseKeys) EnumKeys(ctx context.Context, params EnumKeysParams) ([]byte, error)
EnumKeys Enumerate keys.
func (*LicenseKeys) GetKeyData ¶
func (lk *LicenseKeys) GetKeyData(ctx context.Context, params KeyDataParams) ([]byte, error)
func (*LicenseKeys) InstallKey ¶
func (lk *LicenseKeys) InstallKey(ctx context.Context, pKeyInfo interface{}) bool
InstallKey Install a key on the server.
func (*LicenseKeys) SaasTryToInstall ¶
func (lk *LicenseKeys) SaasTryToInstall(ctx context.Context, params SaasKeyParam) ([]byte, error)
SaasTryToInstall Install an adm. server's license.
func (*LicenseKeys) SaasTryToUninstall ¶
SaasTryToUninstall Uninstall an adm. server's license.
func (*LicenseKeys) UninstallKey ¶
UninstallKey Uninstall an adm. server's license.
type LicenseKeysResponse ¶
type LicenseKeysResponse struct {
PxgRetVal *LKResponse `json:"PxgRetVal,omitempty"`
}
type LicensePolicy ¶
type LicensePolicy service
LicensePolicy service by default, all functionalities are not available (IsLimitedMode returns true - functionality is limited). Functionality can be enabled in various ways. As a rule, functionality is enabled by certain parameters of license used. "Pay-per-Use Licensing (Paid AMI)" functionality is enabled if KSC is installed on a virtual machine with certain parameters in cloud infrastructure.
func (*LicensePolicy) GetFreeLicenseCount ¶
func (lp *LicensePolicy) GetFreeLicenseCount(ctx context.Context, nFunctionality int64) ([]byte, error)
GetFreeLicenseCount Get number of free licenses for functionality.
func (*LicensePolicy) GetTotalLicenseCount ¶
func (lp *LicensePolicy) GetTotalLicenseCount(ctx context.Context, nFunctionality int64) (*PxgValInt, []byte, error)
GetTotalLicenseCount Get total number of licenses for functionality.
func (*LicensePolicy) IsLimitedMode ¶
func (lp *LicensePolicy) IsLimitedMode(ctx context.Context, nFunctionality int64) (*PxgValBool, []byte, error)
IsLimitedMode Check a functionality in restricted mode.
func (*LicensePolicy) SetLimitedModeTest ¶
func (lp *LicensePolicy) SetLimitedModeTest(ctx context.Context, bLimited bool, eFunctionality int64) ([]byte, error)
SetLimitedModeTest Enable or disable restricted mode for functionality.
func (*LicensePolicy) SetTotalLicenseCountTest ¶
func (lp *LicensePolicy) SetTotalLicenseCountTest(ctx context.Context, eFunctionality, nCount int64) ([]byte, error)
SetTotalLicenseCountTest Set total number of licenses for functionality in restricted mode.
func (*LicensePolicy) SetUsedLicenseCountTest ¶
func (lp *LicensePolicy) SetUsedLicenseCountTest(ctx context.Context, eFunctionality, nCount int64) ([]byte, error)
SetUsedLicenseCountTest Set number of used licenses for functionality in restricted mode.
type LicenseProductParams ¶
type LicenseProductParams struct {
PLicProdData PLicProdData `json:"pLicProdData,omitempty"`
}
LicenseProductParams struct
type Limits ¶
type Limits service
Limits Interface for working with Limits subsystem.
This interface allow you to get a limit of specified parameter.
type ListTags ¶
type ListTags service
ListTags Service allows to acquire and manage tags to various KSC objects.
Homogeneous objects, i.e. objects of the same type, can be considered as a list. To work with such list, it is convenient to be able to associate string values called tags with list items. The tags for each list are completely independent of each other.
Each instance of the ListTags interface is associated with a specific list. It is needed to specify ListTagID as Instance (see Request Format of the request) The set of possible ListTagIDs is described in The set of lists that support tags
func (*ListTags) DeleteTags2 ¶
DeleteTags2 Allows to delete multiple tag values in one method call
func (*ListTags) GetAllTags ¶
GetAllTags Retrieves all known tag values that can be set for a list item
type LoggedInUsing2FA ¶
type MDExportParams ¶
type MDExportParams struct { // MDPOptions Export options, which include the following (see below). All options are mandatory! MDPOptions *MDPOptions `json:"pOptions,omitempty"` }
MDExportParams struct
type MDPOptions ¶
type MDPOptions struct { // KlmigrRootGroupID Root group identifier KlmigrRootGroupID int64 `json:"KLMIGR_ROOT_GROUP_ID,omitempty"` // KlmigrArrIDReports Identifiers of report templates KlmigrArrIDReports []int64 `json:"KLMIGR_ARR_ID_REPORTS"` // KlmigrArrIDCmnTasks Non-group tasks identifiers KlmigrArrIDCmnTasks []int64 `json:"KLMIGR_ARR_ID_CMN_TASKS"` // KlmigrArrIDExtraQrs Extra (user-created) queries identifiers KlmigrArrIDExtraQrs []int64 `json:"KLMIGR_ARR_ID_EXTRA_QRS"` // KlmigrArrProductsInfo Array of params, where each element contains the following: KlmigrArrProductsInfo []KlmigrArrProductsInfo `json:"KLMIGR_ARR_PRODUCTS_INFO"` // KlmigrSkipCustomRoles Skip import of custom roles KlmigrSkipCustomRoles bool `json:"KLMIGR_SKIP_CUSTOM_ROLES,omitempty"` // KlmigrSkipUsersGroups Skip import of internal users and security groups KlmigrSkipUsersGroups bool `json:"KLMIGR_SKIP_USERS_GROUPS,omitempty"` // KlmigrSkipCustomAppCategories Skip import of custom application categories KlmigrSkipCustomAppCategories bool `json:"KLMIGR_SKIP_CUSTOM_APP_CATEGORIES,omitempty"` }
MDPOptions struct
type MdmCertCtrlApi ¶
type MdmCertCtrlApi service
MdmCertCtrlApi Mobile devices certificates and restore data management.
func (*MdmCertCtrlApi) CancelGeneratePackage2 ¶
func (mca *MdmCertCtrlApi) CancelGeneratePackage2(ctx context.Context, wstrRequestId string) error
CancelGeneratePackage2 Cancels asynchronous operation SetCertificateAsync.GeneratePackageAsync2.
wstrRequestId - identity of asynchronous operation
func (*MdmCertCtrlApi) CancelSetCertificate2 ¶
func (mca *MdmCertCtrlApi) CancelSetCertificate2(ctx context.Context, wstrRequestId string) error
CancelSetCertificate2 Cancels asynchronous operation SetCertificateAsync.SetCertificateAsync2.
wstrRequestId - identity of asynchronous operation
func (*MdmCertCtrlApi) CheckMailNotificationSettings ¶
func (mca *MdmCertCtrlApi) CheckMailNotificationSettings(ctx context.Context, bCheckMainServerDefaults bool) (*PxgValBool, error)
CheckMailNotificationSettings Check email settings It defines if virtual server's email settings should be checked in merge (as defaults) with main server's email settings
func (*MdmCertCtrlApi) CheckPkiEnabled ¶
func (mca *MdmCertCtrlApi) CheckPkiEnabled(ctx context.Context) (*PxgValStr, error)
CheckPkiEnabled Check if PKI enabled.
func (*MdmCertCtrlApi) GetCertificatePublic ¶
func (mca *MdmCertCtrlApi) GetCertificatePublic(ctx context.Context, nCertId int64) error
GetCertificatePublic certificate id to get
nCertId - Retrieve certificate's public part.
func (*MdmCertCtrlApi) GetIssuanceSettings ¶
func (mca *MdmCertCtrlApi) GetIssuanceSettings(ctx context.Context) (*IssuanceSettings, error)
GetIssuanceSettings Retrieve saved issuance settings for certificate types.
func (*MdmCertCtrlApi) GetIssuanceSettingsByType ¶
func (mca *MdmCertCtrlApi) GetIssuanceSettingsByType(ctx context.Context, nCertType int64) (*IssuanceSetting, error)
GetIssuanceSettingsByType Retrieve saved issuance settings for specific certificate type.
nCertType Certificate type (0 - Unknown, 1 - User, 2 - EMail, 3 - VPN)
func (*MdmCertCtrlApi) GetPkiTemplates ¶
func (mca *MdmCertCtrlApi) GetPkiTemplates(ctx context.Context, bForceReload bool) error
GetPkiTemplates Get PKI templates.
bForceReload (bool) if True then templates will be reloaded from AD, if False then it will be loaded from cache
type MfaCacheInner ¶
type MfaCacheInner service
MfaCacheInner MFA Cache provider (Only inside server)
func (*MfaCacheInner) GetMfaKeyIssuer ¶
func (mci *MfaCacheInner) GetMfaKeyIssuer(ctx context.Context) ([]byte, error)
GetMfaKeyIssuer Get 2FA key Issuer
func (*MfaCacheInner) GetMfaRequiredForAll ¶
func (mci *MfaCacheInner) GetMfaRequiredForAll(ctx context.Context) ([]byte, error)
GetMfaRequiredForAll Get "MFA required for all users" flag
func (*MfaCacheInner) GetTotpSecretKeySettings ¶
func (mci *MfaCacheInner) GetTotpSecretKeySettings(ctx context.Context) ([]byte, error)
func (*MfaCacheInner) GetTotpVerifySettings ¶
func (mci *MfaCacheInner) GetTotpVerifySettings(ctx context.Context) ([]byte, error)
func (*MfaCacheInner) IsCurrentUserExcludesMfa ¶
func (mci *MfaCacheInner) IsCurrentUserExcludesMfa(ctx context.Context) ([]byte, error)
type MfaCacheInnerTest ¶
type MfaCacheInnerTest service
MfaCacheInnerTest Test-only interface for MfaCacheInner
type MigrationData ¶
type MigrationData service
MigrationData service provide to:
Migration of data between KSC On-Premise and KSCHosted.
Migration of data from KSC On-Premise to KSCHosted
func (*MigrationData) AcquireKnownProducts ¶
func (md *MigrationData) AcquireKnownProducts(ctx context.Context) (*KnownProducts, []byte, error)
AcquireKnownProducts Acquire list of known products for migration.
func (*MigrationData) CancelExport ¶
CancelExport Interrupts and cancels export operation at any time by async action GUID of export operation, returned by MigrationData.Export method
func (*MigrationData) Export ¶
func (md *MigrationData) Export(ctx context.Context, params MDExportParams) (*PxgValStr, []byte, error)
Export Performs export of objects. Exports all objects, specified in pOptions, and returns async action GUID, which can be used later to retrieve file URL. To provide more consistency, method can also export some additional "child" objects, which are referred to by "parent" objects, specified by user.
As a result, user receives GUID to async action, containing URL to zip-archive with all exported data
func (*MigrationData) Import ¶
func (md *MigrationData) Import(ctx context.Context, params ImportMDParams) (*PxgValStr, []byte, error)
Import Performs import of objects. Imports all objects, specified in pOptions, from file, pointed by upload URL.
Method is asynchronious. To correctly use this method, first call InitFileUpload() to obtain file URL. If wstrUrl is invalid, method fails with error.
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker. CheckActionState returns bFinalized=true and lStateCode=1 in pStateData. Otherwise, a call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*MigrationData) InitFileUpload ¶
InitFileUpload Retrieves URL for zip archive upload. Retrieves URL for upload zip archive with exported data. To correctly upload zip archive, which was received after export, one should do the following:
1. Acquire async action GUID from MigrationData.Export method
2. Get URL from async action GUID by calling AsyncActionStateChecker.CheckActionState - URL-path to zip archive will be in in pStateData
3. Download zip file from URL, received in previous step
4. Call method MigrationData.InitFileUpload to receive URL for upload (this method)
5. Upload zip archive to URL, retrieved in previous step, using HTTP PUT request.
After all above is done, you can call MigrationData.Import to perform import
type ModulesIntegrityCheck ¶
type ModulesIntegrityCheck service
ModulesIntegrityCheck Interface for modules integrity check.
func (*ModulesIntegrityCheck) GetIntegrityCheckInfo ¶
func (mic *ModulesIntegrityCheck) GetIntegrityCheckInfo(ctx context.Context) (*IntegrityCheckInfo, error)
GetIntegrityCheckInfo Returns integrity check info.
type MovePolicyParams ¶
type MovePolicyParams struct { NPolicy int64 `json:"nPolicy"` NNewGroupID int64 `json:"nNewGroupId"` BDeleteOrigin bool `json:"bDeleteOrigin"` PExtraData PExtraDataValue `json:"pExtraData"` }
MovePolicyParams struct
type Multitenancy ¶
type Multitenancy service
Multitenancy product managing.
func (*Multitenancy) CheckAuthToken ¶
func (m *Multitenancy) CheckAuthToken(ctx context.Context, params VerifyTokenParam) ([]byte, error)
CheckAuthToken Verify token
func (*Multitenancy) GetAuthToken ¶
GetAuthToken Get new binary token for current tennant
func (*Multitenancy) GetProducts ¶
func (m *Multitenancy) GetProducts(ctx context.Context, strProdName, strProdVersion string) ([]byte, error)
GetProducts Retrieves multitenancy products available for current tenant.
func (*Multitenancy) GetTenantId ¶
GetTenantId Retrieves tenant identity. Identity is unique for each tenant
type NLimits ¶
type NLimits struct { KlevpMaxEventsToSendPerPeriod *int64 `json:"KLEVP_MAX_EVENTS_TO_SEND_PER_PERIOD,omitempty"` KlevpMaxVirusEventsForOutbreak *int64 `json:"KLEVP_MAX_VIRUS_EVENTS_FOR_OUTBREAK,omitempty"` KlevpMaxVirusEventsForOutbreakE *int64 `json:"KLEVP_MAX_VIRUS_EVENTS_FOR_OUTBREAK_E,omitempty"` KlevpMaxVirusEventsForOutbreakP *int64 `json:"KLEVP_MAX_VIRUS_EVENTS_FOR_OUTBREAK_P,omitempty"` KlevpTestPeriodToOutbreak *int64 `json:"KLEVP_TEST_PERIOD_TO_OUTBREAK,omitempty"` KlevpTestPeriodToOutbreakE *int64 `json:"KLEVP_TEST_PERIOD_TO_OUTBREAK_E,omitempty"` KlevpTestPeriodToOutbreakP *int64 `json:"KLEVP_TEST_PERIOD_TO_OUTBREAK_P,omitempty"` KlevpTestPeriodToSendEvents *int64 `json:"KLEVP_TEST_PERIOD_TO_SEND_EVENTS,omitempty"` }
NLimits struct
type NSyncInfoParams ¶
type NSyncInfoParams struct { // NSync id of the group synchronization. Can be retrieved from policy attribute KLPOL_GSYN_ID NSync int64 `json:"nSync,omitempty"` // ArrFieldsToReturn array of attribute names to return. // See List of group synchronization host attributes for attribute names ArrFieldsToReturn []string `json:"arrFieldsToReturn"` // ArrFieldsToOrder array of containers each of them containing two attributes : // "Name" (string) name of List of group synchronization host attributes used for sorting // "Asc" (bool) ascending if true descending otherwise ArrFieldsToOrder []FieldsToOrder `json:"arrFieldsToOrder,omitempty"` // NLifeTime timeout in seconds to keep the result-set alive, zero means 'default value' NLifeTime int64 `json:"nLifeTime,omitempty"` }
NSyncInfoParams struct using in GroupSync.GetSyncHostsInfo
type NagCgwHelper ¶
type NagCgwHelper service
NagCgwHelper Nagent CGW (Connection Gateway) API
This interface is implemented at Network Agent side, so use gateway connection to connect Network Agent and call interface methods.
func (*NagCgwHelper) GetProductComponentLocation ¶
func (nc *NagCgwHelper) GetProductComponentLocation(ctx context.Context, szwProduct, szwVersion, szwComponent string) ([]byte, error)
GetProductComponentLocation Retrieves product's component location.
type NagGuiCalls ¶
type NagGuiCalls service
NagGuiCalls Remote host caller.
This interface is implemented at Network Agent side, so use gateway connection to connect Network Agent and call interface methods.
func (*NagGuiCalls) CallConnectorAsync ¶
func (ngc *NagGuiCalls) CallConnectorAsync(ctx context.Context, params interface{}) ([]byte, error)
CallConnectorAsync Asynchronously connects to the remote host (if hasn't connected yet), and makes call with the specified name szwCallName
type NagHstCtl ¶
type NagHstCtl service
NagHstCtl Manage nagent on host.
This interface is implemented at Network Agent side, so use gateway connection to connect Network Agent and call interface methods.
func (*NagHstCtl) GetHostRuntimeInfo ¶
GetHostRuntimeInfo Acquire runtime host information
func (*NagHstCtl) SendProductAction ¶
func (nh *NagHstCtl) SendProductAction(ctx context.Context, szwProduct, szwVersion string, nProductAction int64) ([]byte, error)
SendProductAction Initiate changing state of products at host The method sends to the specified product 'start' or 'stop' command.
func (*NagHstCtl) SendTaskAction ¶
func (nh *NagHstCtl) SendTaskAction(ctx context.Context, szwProduct, szwVersion, szwTaskStorageId string, nTaskAction int64) ([]byte, error)
SendTaskAction Initiate changing state of tasks at host The method sends to the specified product task one of such commands as 'start', 'stop', 'suspend', 'resume'.
type NagLocation ¶
type NagLocation struct { GwLOCHostID string `json:"GwLocHostId,omitempty"` GwLOCIndirect bool `json:"GwLocIndirect,omitempty"` GwLOCLocation string `json:"GwLocLocation,omitempty"` GwLOCSignUDP bool `json:"GwLocSignUdp,omitempty"` GwLOCTargetComponent string `json:"GwLocTargetComponent,omitempty"` GwLOCUseCompression bool `json:"GwLocUseCompression,omitempty"` }
type NagNetworkListApi ¶
type NagNetworkListApi service
NagNetworkListApi Nagent OpenAPI to work with network lists.
func (*NagNetworkListApi) GetListItemFileChunk ¶
func (nnl *NagNetworkListApi) GetListItemFileChunk(ctx context.Context, params NetworkListParams) ([]byte, error)
GetListItemFileChunk Retrieves chunk of the file associated with network list item.
Values for listName and itemId see in Network lists which elements are associated with files Network lists which elements are associated with files.
func (*NagNetworkListApi) GetListItemFileInfo ¶
func (nnl *NagNetworkListApi) GetListItemFileInfo(ctx context.Context, params NetworkListParams) ([]byte, error)
GetListItemFileInfo Retrieves information about file associated with network list item.
Values for listName and itemId see in Network lists which elements are associated with files Network lists which elements are associated with files.
type NagRdu ¶
type NagRdu service
NagRdu Class service to remote diagnostics on host. This service is implemented at Network Agent side, so use gateway connection to connect Network Agent and call interface methods.
func (*NagRdu) ChangeTraceParams ¶
func (nr *NagRdu) ChangeTraceParams(ctx context.Context, szwProductID string, nTraceLevel int64) (*CurrentHostState, []byte, error)
ChangeTraceParams Change trace-level for specific product, turns on/off tracing
func (*NagRdu) ChangeTraceRotatedParams ¶
func (nr *NagRdu) ChangeTraceRotatedParams(ctx context.Context, szwProductID string, nTraceLevel, nPartsCount, nMaxPartSize int64) (*CurrentHostState, []byte, error)
ChangeTraceRotatedParams Change rotated-trace-level for specific product, turns on/off tracing
func (*NagRdu) ChangeXperfBaseParams ¶
func (nr *NagRdu) ChangeXperfBaseParams(ctx context.Context, szwProductID string, nTraceLevel, nXPerfMode int64) (*CurrentHostState, []byte, error)
ChangeXperfBaseParams Change XPerf trace-level for specific product, turns on/off XPerf tracing
func (*NagRdu) ChangeXperfRotatedParams ¶
func (nr *NagRdu) ChangeXperfRotatedParams(ctx context.Context, szwProductID string, nTraceLevel, nXPerfMode, nMaxPartSize int64) (*CurrentHostState, []byte, error)
ChangeXperfRotatedParams Change XPerf rotated-trace-level for specific product, turns on/off XPerf tracing
func (*NagRdu) CreateAndDownloadDumpAsync ¶
func (nr *NagRdu) CreateAndDownloadDumpAsync(ctx context.Context, szwProcessName string) (*PxgValStr, []byte, error)
CreateAndDownloadDumpAsync Asynchronously create and download dump for specific process
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker.CheckActionState returns URL-path in pStateData. Otherwise, a call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
func (*NagRdu) DeleteFile ¶
func (nr *NagRdu) DeleteFile(ctx context.Context, szwRemoteFile string) (*CurrentHostState, []byte, error)
DeleteFile Permanently delete specific file on host
func (*NagRdu) DeleteFiles ¶
func (nr *NagRdu) DeleteFiles(ctx context.Context, params RemoteFilesParams) (*CurrentHostState, []byte, error)
DeleteFiles Permanently delete array of specific files on host
func (*NagRdu) DownloadCommonDataAsync ¶
DownloadCommonDataAsync Asynchronously create archive with common-data (products local settings, policy, tasks, ...) and download it
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker.CheckActionState returns URL-path in pStateData. Otherwise, a call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
func (*NagRdu) DownloadEventlogAsync ¶
func (nr *NagRdu) DownloadEventlogAsync(ctx context.Context, szwEventLog string) (*PxgValStr, []byte, error)
DownloadEventlogAsync Asynchronously download specific event-log
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker.CheckActionState returns URL-path in pStateData. Otherwise, a call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
func (*NagRdu) ExecuteFileAsync ¶
func (nr *NagRdu) ExecuteFileAsync(ctx context.Context, szwURL, szwShortExecName, szwParams string) (*PxgValStr, []byte, error)
ExecuteFileAsync Asynchronously run executable file, previously uploaded to host using GetUrlToUploadFileToHost. Uploaded file should be a zip-archive with executable-file (and, maybe, other files and folders) on 'utility'-folder
func (*NagRdu) ExecuteGsiAsync ¶
ExecuteGsiAsync Asynchronously run GSI-utility
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker.CheckActionState returns URL-path in pStateData. Otherwise, a call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*NagRdu) GetCurrentHostState ¶
GetCurrentHostState Acquire current host state
func (*NagRdu) GetUrlToDownloadFileFromHost ¶
func (nr *NagRdu) GetUrlToDownloadFileFromHost(ctx context.Context, szwRemoteFile string) (*PxgValStr, []byte, error)
GetUrlToDownloadFileFromHost Get URL-path for later download file from host
func (*NagRdu) GetUrlToUploadFileToHost ¶
GetUrlToUploadFileToHost Get URL-path for later upload file to host
func (*NagRdu) RunKlnagchkAsync ¶
func (nr *NagRdu) RunKlnagchkAsync(ctx context.Context, szwProductID string) (*PxgValStr, []byte, error)
RunKlnagchkAsync Asynchronously run diagnostic-utility (klnagchk.exe) for specific product
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker.CheckActionState returns current host state in pStateData. Otherwise, a call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
func (*NagRdu) SetProductStateAsync ¶
func (nr *NagRdu) SetProductStateAsync(ctx context.Context, szwProductID string, nNewState int64) (*PxgValStr, []byte, error)
SetProductStateAsync Asynchronously start, restart or stop specific product
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker.CheckActionState returns current host state in pStateData. Otherwise, a call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
type NagRemoteScreen ¶
type NagRemoteScreen service
NagRemoteScreen Interface for remote screen session management..
func (*NagRemoteScreen) CloseSession ¶
func (nrs *NagRemoteScreen) CloseSession(ctx context.Context, params SharingHandle) ([]byte, error)
CloseSession Closes session.
func (*NagRemoteScreen) GetDataForTunnel ¶
func (nrs *NagRemoteScreen) GetDataForTunnel(ctx context.Context, params SharingHandle) (*TunnelData, []byte, error)
GetDataForTunnel Returns data to create an use tunnel
func (*NagRemoteScreen) GetExistingSessions ¶
func (nrs *NagRemoteScreen) GetExistingSessions(ctx context.Context, nType int64) (*ExistingSessions, []byte, error)
GetExistingSessions Returns existing remote screen sessions.
func (*NagRemoteScreen) GetWdsData ¶
func (nrs *NagRemoteScreen) GetWdsData(ctx context.Context, params WdsDataParams) ([]byte, error)
GetWdsData Returns data specific for Windows Desktop Sharing
func (*NagRemoteScreen) OpenSession ¶
func (nrs *NagRemoteScreen) OpenSession(ctx context.Context, nType int64, szwID string) (*SessionHandle, []byte, error)
OpenSession Shares the session, opens ports etc.
type NagentLocation ¶
type NagentLocation struct {
NagLocation *NagLocation `json:"PxgRetVal,omitempty"`
}
NagentLocation struct
type NetUtils ¶
type NetUtils service
NetUtils custom service to upload\download files from\to KSC servers
func (*NetUtils) DownloadFile ¶
DownloadFile using to download files from KSC server
type NetworkListFileInfo ¶
type NetworkListFileInfo struct {
PPInfo *PPInfo `json:"PxgRetVal,omitempty"`
}
NetworkListFileInfo struct
type NetworkListParams ¶
type NetworkListParams struct { // ListName Network list name ListName string `json:"listName"` // ItemID Network list item identifier ItemID string `json:"itemId"` // BNeedPacked if true than will be get info about packed content of the file. // It is useful if file is the virus and it is needed to load it. BNeedPacked bool `json:"bNeedPacked"` // ULStartPos start position of the chunk ULStartPos int64 `json:"ulStartPos"` // LBytesToRead number of bytes to read LBytesToRead int64 `json:"lBytesToRead"` }
type NewHost ¶
type NewHost struct { PInfo struct { Type string `json:"type"` Value struct { KLHSTWKSDN string `json:"KLHST_WKS_DN"` KLHSTWKSGROUPID int `json:"KLHST_WKS_GROUPID"` KLHSTWKSWINDOMAIN string `json:"KLHST_WKS_WINDOMAIN"` KLHSTWKSWINHOSTNAME string `json:"KLHST_WKS_WINHOSTNAME"` KLHSTWKSDNSDOMAIN string `json:"KLHST_WKS_DNSDOMAIN"` KLHSTWKSDNSNAME string `json:"KLHST_WKS_DNSNAME"` KLHSTWKSIP struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLHST_WKS_IP"` } `json:"value"` } `json:"pInfo"` }
type NewPackage ¶
type NewPackage struct { WstrPackageName string `json:"wstrPackageName,omitempty"` WstrFileID string `json:"wstrFileId,omitempty"` WstrFolder string `json:"wstrFolder,omitempty"` WstrProductName string `json:"wstrProductName,omitempty"` WstrProductVersion string `json:"wstrProductVersion,omitempty"` WstrProductDisplName string `json:"wstrProductDisplName,omitempty"` WstrProductDisplVersion string `json:"wstrProductDisplVersion,omitempty"` }
NewPackage struct using in PackagesApi.RecordNewPackage and PackagesApi.RecordNewPackage2
type NewPolicy ¶
type NewPolicy struct {
PPolicyData PPolicyData `json:"pPolicyData,omitempty"`
}
NewPolicy new policy with the specified attributes
type NewTagParams ¶
type NewTagParams struct { SzwTagValue string `json:"szwTagValue,omitempty"` PParams Null `json:"pParams,omitempty"` }
NewTagParams struct
type NlaDefinedNetworks ¶
type NlaDefinedNetworks service
NlaDefinedNetworks Network location awareness (NLA) defined networks.
Used as a scope for Update agents.
Each NLA-defined network is defined by list of NLA locations.
func (*NlaDefinedNetworks) AddNetwork ¶
func (ndn *NlaDefinedNetworks) AddNetwork(ctx context.Context, wstrNetworkName string) (*PxgValInt, []byte, error)
AddNetwork Add NLA-defined network.
func (*NlaDefinedNetworks) DeleteNetwork ¶
DeleteNetwork Delete NLA-defined network.
func (*NlaDefinedNetworks) GetNetworkInfo ¶
func (ndn *NlaDefinedNetworks) GetNetworkInfo(ctx context.Context, nNetworkId int64) (*PNetworkInfo, []byte, error)
GetNetworkInfo Get NLA-defined network info.
func (*NlaDefinedNetworks) GetNetworksList ¶
func (ndn *NlaDefinedNetworks) GetNetworksList(ctx context.Context) (*PNetworkList, []byte, error)
GetNetworksList Get list of all NLA-defined networks.
func (*NlaDefinedNetworks) SetNetworkInfo ¶
func (ndn *NlaDefinedNetworks) SetNetworkInfo(ctx context.Context, params interface{}) ([]byte, error)
SetNetworkInfo Change NLA-defined network.
type OAuth2 ¶
type OAuth2 service
OAuth2 product managing.
func (*OAuth2) GetClients ¶
GetClients Retrieves OAuth2 clients information.
nFilterByState (int64) filters the result by client state (see OAuth2 items states), if set to -1 the result will not be filtered
func (*OAuth2) GetClientsToRegistration ¶
GetClientsToRegistration Retrieves clients for registration them on the OAuth2 server.
func (*OAuth2) GetNewClients ¶
GetNewClients Retrieves new OAuth2 clients for admin approval.
func (*OAuth2) GetNewResServers ¶
GetNewResServers Retrieves new OAuth2 resource servers for admin approval.
func (*OAuth2) GetResServers ¶
func (oa *OAuth2) GetResServers(ctx context.Context, nFilterByState int64) (*IssuanceSetting, error)
GetResServers Retrieves OAuth2 resource servers information.
nFilterByState (int64) filters the result by resource server state (see OAuth2 items states), if set to -1 the result will not be filtered
type OPData ¶
type OPData struct {
KlpolPolOutbreak []KlpolPolOutbreak `json:"KLPOL_POL_OUTBREAK"`
}
type OSAttribute ¶
type OSAttribute struct { Type string `json:"type,omitempty"` OSAttributeValue *OSAttributeValue `json:"value,omitempty"` }
OSAttribute struct
type OSAttributeValue ¶
type OSAttributeValue struct { KlhstWksCtype int64 `json:"KLHST_WKS_CTYPE,omitempty"` KlhstWksOSBuildNumber int64 `json:"KLHST_WKS_OS_BUILD_NUMBER,omitempty"` KlhstWksOSName string `json:"KLHST_WKS_OS_NAME,omitempty"` KlhstWksOSVerMajor int64 `json:"KLHST_WKS_OS_VER_MAJOR,omitempty"` KlhstWksOSVerMinor int64 `json:"KLHST_WKS_OS_VER_MINOR,omitempty"` KlhstWksPtype int64 `json:"KLHST_WKS_PTYPE,omitempty"` KlwnfOSIsServer bool `json:"KLWNF_OS_IS_SERVER,omitempty"` }
OSAttributeValue struct
type OSAttributes ¶
type OSAttributes struct {
OSAttribute *[]OSAttribute `json:"PxgRetVal"`
}
OSAttributes struct
type OSRetVal ¶
type OSRetVal struct { Type string `json:"type,omitempty"` OSValue *OSValue `json:"value,omitempty"` }
OSRetVal struct
type OSValue ¶
type OSValue struct { KlhstWksOSName string `json:"KLHST_WKS_OS_NAME,omitempty"` KlwnfOSID int64 `json:"KLWNF_OS_ID,omitempty"` KlwnfOSIsServer bool `json:"KLWNF_OS_IS_SERVER,omitempty"` }
OSValue struct
type OUAttributes ¶
type OUAttributes struct {
Attributes Attributes `json:"PxgRetVal"`
}
OUAttributes struct
type OUAttributesParams ¶
type OUAttributesParams struct { IDOU int64 `json:"idOU,omitempty"` PFields []string `json:"pFields"` }
OUAttributesParams struct
type OUPData ¶
type OUPData struct { //If scanning of this OU is allowed AdhstEnableAdScan bool `json:"adhst_enable_ad_scan,omitempty"` }
OUPData struct
type ObservedAppsParams ¶
type ObservedAppsParams struct { // PAppIDS collection of (string) application string Id. PAppIDS []string `json:"pAppIds"` // PParams reserved. (params) PParams Null `json:"pParams"` }
ObservedAppsParams struct using in InventoryApi.SetObservedApps
type OptionsEx ¶
type OptionsEx struct { KlpkgRoptsAskForRebootPeriodMin int64 `json:"KLPKG_ROPTS_ASK_FOR_REBOOT_PERIOD_MIN,omitempty"` KlpkgRoptsAskRebootMsgtext string `json:"KLPKG_ROPTS_ASK_REBOOT_MSGTEXT,omitempty"` KlpkgRoptsForceAppsClosed bool `json:"KLPKG_ROPTS_FORCE_APPS_CLOSED,omitempty"` KlpkgRoptsForceRebootTimeMin int64 `json:"KLPKG_ROPTS_FORCE_REBOOT_TIME_MIN,omitempty"` }
type OrderValue ¶
type OsVersion ¶
type OsVersion service
OsVersion Operating systems dictionary access.
Provides access to the server-side operating systems dictionary
func (*OsVersion) GetAttributesByOs ¶
func (ov *OsVersion) GetAttributesByOs(ctx context.Context, params OSIndices) (*OSAttributes, []byte, error)
GetAttributesByOs Acquire attributes for specified operating systems.
func (*OsVersion) GetOsByAttributes ¶
func (ov *OsVersion) GetOsByAttributes(ctx context.Context, params interface{}) (*OSRetValS, []byte, error)
GetOsByAttributes Determine operating system by specified attributes.
Example:
{ "pDataToResolve" : [ { "type" : "params", "value" : { "KLHST_WKS_CTYPE" : 4194304, "KLHST_WKS_OS_BUILD_NUMBER" : 0, "KLHST_WKS_OS_NAME" : "Microsoft Windows 98", "KLHST_WKS_OS_VER_MAJOR" : 4, "KLHST_WKS_OS_VER_MINOR" : 10, "KLHST_WKS_PTYPE" : 0, "KLWNF_OS_IS_SERVER" : false } } ] }
type OutbreakPolicies ¶
type OutbreakPolicies struct {
PxgRetVal *OPData `json:"PxgRetVal,omitempty"`
}
type OutbreakPoliciesParams ¶
type OutbreakPoliciesParams struct {
OPData OPData `json:"pData,omitempty"`
}
OutbreakPoliciesParams struct
type PArrDetect ¶
type PArrDetect struct { Type string `json:"type,omitempty"` Value PDetectValue `json:"value,omitempty"` }
type PAvailableUpdateComps ¶
type PAvailableUpdateComps struct {
KLUpdates []KLUpdate `json:"KLUpdates"`
}
PAvailableUpdateComps
type PChartData ¶
type PChartData struct { KlrptChartData []KlrptChartDatum `json:"KLRPT_CHART_DATA"` KlrptChartDataDesc string `json:"KLRPT_CHART_DATA_DESC,omitempty"` KlrptChartLgndDesc string `json:"KLRPT_CHART_LGND_DESC,omitempty"` KlrptChartSeries []string `json:"KLRPT_CHART_SERIES"` KlrptChartSeriesColors []int64 `json:"KLRPT_CHART_SERIES_COLORS"` }
type PData ¶
type PData struct { KlincdtSeverity int64 `json:"KLINCDT_SEVERITY"` KlincdtAdded *DateTime `json:"KLINCDT_ADDED"` KlincdtBody string `json:"KLINCDT_BODY"` KlhstWksHostname string `json:"KLHST_WKS_HOSTNAME"` KlhstuserID int64 `json:"KLHSTUSER_ID"` }
PData struct
type PDecryptedData ¶
type PDecryptedData struct {
PDecryptedData string `json:"pDecryptedData"`
}
PDecryptedData struct
type PDetectValue ¶
type PDetectValue struct { // KlhstWksHostname host name KlhstWksHostname string `json:"KLHST_WKS_HOSTNAME,omitempty"` // KlhstWksProductName name of product KlhstWksProductName string `json:"KLHST_WKS_PRODUCT_NAME,omitempty"` // KlhstWksProductVersion version of product KlhstWksProductVersion string `json:"KLHST_WKS_PRODUCT_VERSION,omitempty"` // ListItemID id of item ListItemID string `json:"ListItemId,omitempty"` }
type PEULAParam ¶
type PEULAParam struct { StrEULAURL string `json:"strEULAUrl,omitempty"` StrEULA string `json:"strEULA,omitempty"` }
PEULAParam struct
type PEULAParams ¶
type PEULAParams struct {
PEULAParam *PEULAParam `json:"pEulaParams,omitempty"`
}
PEULAParams struct using in VapmControlApi.GetEulaParams
type PEncryptedData ¶
type PEncryptedData struct {
PEncryptedData string `json:"pEncryptedData"`
}
PEncryptedData struct
type PEulaIDParams ¶
type PEulaIDParams struct {
PEulaIDs []int64 `json:"pEulaIDs"`
}
PEulaIDParams struct using in VapmControlApi.AcceptEulas
type PEulasInfo ¶
type PEulasInfo struct { // PEulasInfo array of EULA params PEulasInfo []PEulasInfoElement `json:"pEulasInfo"` }
type PEulasInfoElement ¶
type PEulasInfoElement struct { Type *string `json:"type,omitempty"` Value *PEulasInfoValue `json:"value,omitempty"` }
type PEulasInfoValue ¶
type PEulasInfoValue struct { // NEulaDbId EULA id NEulaDbId *int64 `json:"nEulaDbId,omitempty"` // StrEULAUrl EULA file URL StrEULAUrl *string `json:"strEULAUrl,omitempty"` // StrEULA EULA text StrEULA *string `json:"strEULA,omitempty"` }
PEulasInfoValue
type PEventBody ¶
type PEventBody struct { GnrlEaParam2 string `json:"GNRL_EA_PARAM_2"` GnrlEaParam5 string `json:"GNRL_EA_PARAM_5"` GnrlEaParam7 string `json:"GNRL_EA_PARAM_7"` GnrlEaParam8 int64 `json:"GNRL_EA_PARAM_8"` }
PEventBody struct
type PExtraDataClass ¶
type PExtraDataClass struct { Type string `json:"type"` PExtraDataValue PExtraDataValue `json:"value"` }
type PExtraDataValue ¶
type PFailedSlavesInfo ¶
type PFailedSlavesInfo struct {
KlgrpFailedSlavesParams []interface{} `json:"KLGRP_FAILED_SLAVES_PARAMS"`
}
type PFindParams ¶
type PFindParams struct { StrFilter string `json:"strFilter,omitempty"` PFieldsToReturn []string `json:"pFieldsToReturn"` PFieldsToOrder []FieldsToOrder `json:"pFieldsToOrder,omitempty"` PParams PParams `json:"pParams,omitempty"` LMaxLifeTime int64 `json:"lMaxLifeTime,omitempty"` }
type PGrpParams ¶
type PIncidentData ¶
type PIncidentData struct { KlhstWksHostname string `json:"KLHST_WKS_HOSTNAME"` //Incident body KlincdtBody string `json:"KLINCDT_BODY,omitempty"` //Incident severity KlincdtSeverity int64 `json:"KLINCDT_SEVERITY,omitempty"` //Time of incident entry creation KlincdtAdded *DateTime `json:"KLINCDT_ADDED,omitempty"` //"IsHandled" flag. True - if incident marked as "Handled", otherwise false KlincdtIsHandled bool `json:"KLINCDT_IS_HANDLED,omitempty"` }
type PInfoGroup ¶
type PInfoGroup struct { Name string `json:"name,omitempty"` ParentID int64 `json:"parentId,omitempty"` AutoRemovePeriod bool `json:"autoRemovePeriod,omitempty"` NotifyPeriod int64 `json:"notifyPeriod,omitempty"` KLGRPHlfInherited bool `json:"KLGRP_HlfInherited,omitempty"` KLGRPHlfForceChildren bool `json:"KLGRP_HlfForceChildren,omitempty"` Level int64 `json:"level,omitempty"` KlsrvHststatCritical interface{} `json:"KLSRV_HSTSTAT_CRITICAL,omitempty"` KlsrvHststatWarning interface{} `json:"KLSRV_HSTSTAT_WARNING,omitempty"` CGrpAutoInstallPackageID []int64 `json:"c_grp_autoInstallPackageId"` GrpEnableFscan bool `json:"grp_enable_fscan,omitempty"` }
type PInvalidIntervals ¶
type PInvalidIntervals struct { }
type PKData ¶
type PKData struct { // KllicsrvAutokey License serial number (mandatory) KllicsrvAutokey bool `json:"KLLICSRV_AUTOKEY,omitempty"` // KllicSerial true if license can be deployed automatically, // false otherwise (string, mandatory) KllicSerial string `json:"KLLIC_SERIAL,omitempty"` }
PKData struct
type PKeyPair ¶
type PKeyPair struct { // ClientID Subscription ID (paramString, mandatory if there is "AZURE_APP_ID") ClientID string `json:"CLIENT_ID,omitempty"` // AzureAppID Application ID (paramString, mandatory if there is "CLIENT_SECRET") AzureAppID string `json:"AZURE_APP_ID,omitempty"` // ClientSecret UTF-8 encoded Application authentication key string encrypted with KLCSPWD::ProtectDataGlobally //(or KLCSPWD::ProtectDataLocally), (paramBinary, optional) ClientSecret string `json:"CLIENT_SECRET,omitempty"` // AzureStorageName Storage account name (paramString, mandatory if there is "AZURE_STORAGE_KEY") AzureStorageName string `json:"AZURE_STORAGE_NAME,omitempty"` // AzureStorageKey UTF-8 encoded Storage account key string encrypted with KLCSPWD::ProtectDataGlobally //(or KLCSPWD::ProtectDataLocally), (paramBinary, optional) AzureStorageKey string `json:"AZURE_STORAGE_KEY,omitempty"` }
type PLCDevApi ¶
type PLCDevApi service
PLCDevApi Interface allows to acquire and manage PLC devices registry.
Administration server contains global list of the PLC devices.
Every PLC device is identified by pPLCId - (binary) - binary data as array of 16 bytes.
type PLicKeyData ¶
type PLicKeyData struct { KlinvlicKeyName string `json:"KLINVLIC_KEY_NAME,omitempty"` KlinvlicKeyLiccount int64 `json:"KLINVLIC_KEY_LICCOUNT,omitempty"` KlinvlicKeyCreation *KlinvlicKey `json:"KLINVLIC_KEY_CREATION,omitempty"` KlinvlicKeyExpirationlimit *KlinvlicKey `json:"KLINVLIC_KEY_EXPIRATIONLIMIT,omitempty"` KlinvlicKeyInfo string `json:"KLINVLIC_KEY_INFO,omitempty"` }
type PLicProdData ¶
type PLicProdData struct { KlinvlicActive bool `json:"KLINVLIC_ACTIVE,omitempty"` KlinvlicDesc string `json:"KLINVLIC_DESC,omitempty"` KlinvlicLikeys []int64 `json:"KLINVLIC_LIKEYS"` KlinvlicMasks []KlinvlicMasks `json:"KLINVLIC_MASKS,omitempty"` KlinvlicName string `json:"KLINVLIC_NAME,omitempty"` KlinvlicType int64 `json:"KLINVLIC_TYPE,omitempty"` }
type PList ¶
type PList struct { Type *string `json:"type,omitempty"` PListValue *PListValue `json:"value,omitempty"` }
type PListValue ¶
type PListValue struct { KlpolAcceptParent *bool `json:"KLPOL_ACCEPT_PARENT,omitempty"` KlpolActive *bool `json:"KLPOL_ACTIVE,omitempty"` KlpolCreated *DateTime `json:"KLPOL_CREATED,omitempty"` KlpolDN *string `json:"KLPOL_DN,omitempty"` KlpolForced *bool `json:"KLPOL_FORCED,omitempty"` KlpolForceDistrib2Children *bool `json:"KLPOL_FORCE_DISTRIB2CHILDREN,omitempty"` KlpolGroupID *int64 `json:"KLPOL_GROUP_ID,omitempty"` KlpolGroupName *string `json:"KLPOL_GROUP_NAME,omitempty"` KlpolGsynID *int64 `json:"KLPOL_GSYN_ID,omitempty"` KlpolHideOnSlaves *bool `json:"KLPOL_HIDE_ON_SLAVES,omitempty"` KlpolID *int64 `json:"KLPOL_ID,omitempty"` KlpolInherited *bool `json:"KLPOL_INHERITED,omitempty"` KlpolModified *DateTime `json:"KLPOL_MODIFIED,omitempty"` KlpolProduct *string `json:"KLPOL_PRODUCT,omitempty"` KlpolProfilesNum *int64 `json:"KLPOL_PROFILES_NUM,omitempty"` KlpolRoaming *bool `json:"KLPOL_ROAMING,omitempty"` KlpolVersion *string `json:"KLPOL_VERSION,omitempty"` }
type PLocation ¶
type PLocation struct { Type string `json:"type,omitempty"` PLocationValue *NagLocation `json:"value,omitempty"` }
type PNetwork ¶
type PNetwork struct { // NlantwkEnableAutoua Enable automatic Update agents assignment to this network flag NlantwkEnableAutoua bool `json:"NLANTWK_ENABLE_AUTOUA,omitempty"` // NlantwkNetworkID Network id NlantwkNetworkID int64 `json:"NLANTWK_NETWORK_ID,omitempty"` // NlantwkNetworkName Human-readable network name NlantwkNetworkName string `json:"NLANTWK_NETWORK_NAME,omitempty"` }
PNetwork struct
type PNetworkInfo ¶
type PNetworkInfo struct {
PNetwork *PNetwork `json:"pNetwork,omitempty"`
}
PNetworkInfo struct
type PNetworkList ¶
type PNetworkList struct { //Each representing NLA-defined network PNetworks []PNetworks `json:"pNetworks"` }
PNetworkList struct
type PNetworks ¶
type PNetworks struct { Type string `json:"type,omitempty"` Value *PNetwork `json:"value,omitempty"` }
PNetworks struct
type PNewStatus ¶
type PNewStatus struct { Type string `json:"type,omitempty"` PNewStatusValue PNewStatusValue `json:"value,omitempty"` }
PNewStatus struct
type PNewStatusValue ¶
type PNewStatusValue struct { Name string `json:"name,omitempty"` BMayUseSMSSending bool `json:"bMayUseSmsSending,omitempty"` }
PNewStatusValue struct
type PNewStatuses ¶
type PNewStatuses struct {
PNewStatus PNewStatus `json:"pNewStatuses,omitempty"`
}
PNewStatuses struct
type PPInfo ¶
type PPInfo struct { //Host name. (see "strHostName" attribute from Quarantine, Backup, TIF lists) StrHostName string `json:"strHostName,omitempty"` //Name of the network list. StrID string `json:"strId,omitempty"` //Id of an item on the host. //(see "strId" attribute from Quarantine, Backup, TIF lists) StrListName string `json:"strListName,omitempty"` }
PPInfo (params) container
type PPolicyData ¶
type PPolicyData struct { KlpolDN string `json:"KLPOL_DN"` KlpolProduct string `json:"KLPOL_PRODUCT"` KlpolVersion string `json:"KLPOL_VERSION"` KlpolGroupID int64 `json:"KLPOL_GROUP_ID"` KlpolAcceptParent bool `json:"KLPOL_ACCEPT_PARENT,omitempty"` KlpolActive bool `json:"KLPOL_ACTIVE,omitempty"` KlpolForceDistrib2Children bool `json:"KLPOL_FORCE_DISTRIB2CHILDREN,omitempty"` KlpolHideOnSlaves bool `json:"KLPOL_HIDE_ON_SLAVES,omitempty"` KlpolRoaming bool `json:"KLPOL_ROAMING,omitempty"` }
type PRuleInfo ¶
type PRuleInfo struct { // KlhstHtrDN Rule display name. KlhstHtrDN string `json:"KLHST_HTR_DN"` // KLHSTHTREnabled Whether rule is turned on. KLHSTHTREnabled bool `json:"KLHST_HTR_Enabled"` // KLHSTHTRTagValue Tag value that will be set by rule. It is rule identifier. KLHSTHTRTagValue string `json:"KLHST_HTR_TagValue"` // KLHSTHTRQuery Host filtering expression (see Search filter syntax). // // Don't use filtering by fields other then listed below. // // - KLHST_WKS_FROM_UNASSIGNED // - KLHST_NAG_INSTID // - KLHST_WKS_STATUS // - KLHST_WKS_WINHOSTNAME // - KLHST_WKS_WINDOMAIN // - KLHST_WKS_DNSNAME // - KLHST_WKS_DNSDOMAIN // - KLHST_WKS_IP_LONG // - KLHST_WKS_CONNECT_IP_LONG // - KLHST_WKS_CTYPE // - KLHST_WKS_PTYPE // - KLHST_WKS_OS_VER_MAJOR // - KLHST_WKS_OS_VER_MINOR // - KLHST_WKS_OSSP_VER_MAJOR // - KLHST_WKS_CPU_ARCH // - KLDPNS_ID // - KLHST_WKS_GROUPID // - KLHST_AD_ORGUNIT // - KLHST_AD_ORGUNIT_GP // - KLHST_AD_GROUP // - KLHST_MOB_HAS_OWNER_CERT // - HST_VM_TYPE // - HST_VM_VDI // - KLHST_INVENTORY_PRODUCT_NAME // - KLHST_INVENTORY_PRODUCT_DISPLAY_VERSION // - KLHST_INVENTORY_PRODUCT_PUBLISHER KLHSTHTRQuery string `json:"KLHST_HTR_Query"` //Any data associated with rule. It is not analyzed by the Administration Server KLHSTHTRCustom KLHSTHTRCustom `json:"KLHST_HTR_Custom"` }
type PRules ¶
type PRules struct { // AutoCorporativeByType Array of Object type. See Object types. Type of each element is int64. AutoCorporativeByType []int64 `json:"AutoCorporativeByType"` }
Processing rules
type PSettings ¶
type PSettings struct { KsnproxyEnable bool `json:"KSNPROXY_ENABLE,omitempty"` KsnproxyEnablePatchManStat bool `json:"KSNPROXY_ENABLE_PATCH_MAN_STAT,omitempty"` KsnproxyKsnType int64 `json:"KSNPROXY_KSN_TYPE,omitempty"` KsnproxyTCPPort int64 `json:"KSNPROXY_TCP_PORT,omitempty"` KsnproxyUDPPort int64 `json:"KSNPROXY_UDP_PORT,omitempty"` KsnproxyUseMasterKsnproxyAsKsn bool `json:"KSNPROXY_USE_MASTER_KSNPROXY_AS_KSN,omitempty"` }
type PSharingHandle ¶
type PSharingHandle struct { KlnagRscrHandleID int64 `json:"KLNAG_RSCR_HANDLE_ID"` KlnagRscrHandleType int64 `json:"KLNAG_RSCR_HANDLE_TYPE"` KlnagRscrHostname string `json:"KLNAG_RSCR_HOSTNAME"` KlnagRscrPort int64 `json:"KLNAG_RSCR_PORT"` }
PSharingHandle struct
type PStateData ¶
type PStateData struct { KlblagErrorCode int64 `json:"KLBLAG_ERROR_CODE,omitempty"` KlblagErrorFname string `json:"KLBLAG_ERROR_FNAME,omitempty"` KlblagErrorLnumber int64 `json:"KLBLAG_ERROR_LNUMBER,omitempty"` KlblagErrorModule string `json:"KLBLAG_ERROR_MODULE,omitempty"` KlblagErrorMsg string `json:"KLBLAG_ERROR_MSG,omitempty"` KlblagErrorSubcode int64 `json:"KLBLAG_ERROR_SUBCODE,omitempty"` // KlrptOutputChart string `json:"KLRPT_OUTPUT_CHART,omitempty"` KlrptOutputFile string `json:"KLRPT_OUTPUT_FILE,omitempty"` KlrptOutputFormat *KlrptOutputFormat `json:"KLRPT_OUTPUT_FORMAT,omitempty"` KlrptOutputLogo string `json:"KLRPT_OUTPUT_LOGO,omitempty"` // LastActionResult string `json:"LastActionResult,omitempty"` // EventLogs []string `json:"EventLogs"` HostDN string `json:"HostDN,omitempty"` InstallationLogs *InstallationLogs `json:"InstallationLogs,omitempty"` Products *Products `json:"Products,omitempty"` WuaLogs []string `json:"WuaLogs"` WuaLogsWin10 []string `json:"WuaLogs_Win10"` }
type PSubnetSettings ¶
type PSubnetSettings struct { // PSubnetSettingsClass Subnet parameters PSubnetSettingsClass *PSubnetSettingsClass `json:"pSubnetSettings,omitempty"` }
PSubnetSettings struct
type PSubnetSettingsClass ¶
type PSubnetSettingsClass struct { // NIPAddress Subnet IP NIPAddress int64 `json:"nIpAddress,omitempty"` // NMask Subnet mask NMask int64 `json:"nMask,omitempty"` // WstrSubnetName Subnet name (not empty, maximum 100 unicode symbols) WstrSubnetName string `json:"wstrSubnetName,omitempty"` // WstrComment Subnet description WstrComment string `json:"wstrComment,omitempty"` }
PSubnetSettingsClass struct
type PSubnetUpdateSettings ¶
type PSubnetUpdateSettings struct { // NIPAddress Subnet IP NIPAddress int64 `json:"nIpAddress,omitempty"` // NMask Subnet mask NMask int64 `json:"nMask,omitempty"` // PSubnetSettings new subnet parameters (params). If parameters not exist - it will be ignored PSubnetUpdateSettingsClass *PSubnetUpdateSettingsClass `json:"pSubnetSettings,omitempty"` }
PSubnetSettings struct Subnet parameters
type PSupportedLanguages ¶
type PSupportedLanguages struct { // PSupportedLanguages Sorted array of supported languages id PSupportedLanguages []int64 `json:"pSupportedLanguages"` }
PSupportedLanguages supported languages for software update
type PTrusteeData ¶
type PTrusteeData struct { //KlsplUserID User id KlsplUserID int64 `json:"KLSPL_USER_ID,omitempty"` // KlsplUserName User name KlsplUserName string `json:"KLSPL_USER_NAME,omitempty"` // KlsplUserPwd Plain text user password. Obsolete KlsplUserPwd string `json:"KLSPL_USER_PWD,omitempty"` //KlsplUserPwdEncrypted Encrypted user password KlsplUserPwdEncrypted string `json:"KLSPL_USER_PWD_ENCRYPTED,omitempty"` // KlsplUserFullName User full name KlsplUserFullName string `json:"KLSPL_USER_FULL_NAME,omitempty"` // KlsplUserDescription User description KlsplUserDescription string `json:"KLSPL_USER_DESCRIPTION,omitempty"` // KlsplUserMail User mail KlsplUserMail string `json:"KLSPL_USER_MAIL,omitempty"` // KlsplUserPhone User phone KlsplUserPhone string `json:"KLSPL_USER_PHONE,omitempty"` // KlsplUserEnabled User account is enabled if true KlsplUserEnabled bool `json:"KLSPL_USER_ENABLED,omitempty"` // KlsplUserUis User account is based on UIS. For hosted server only KlsplUserUis bool `json:"KLSPL_USER_UIS,omitempty"` }
PTrusteeData struct
type PUaInfo ¶
type PUaInfo struct { CGMobileAuthCERT *CGMobileAuthCERT `json:"CgMobileAuthCert,omitempty"` CGMobileAuthPort *int64 `json:"CgMobileAuthPort,omitempty"` CGMobilePort *int64 `json:"CgMobilePort,omitempty"` CGMobileURL *string `json:"CgMobileUrl,omitempty"` CGOpenMobileAuthPort *bool `json:"CgOpenMobileAuthPort,omitempty"` CGOpenMobilePort *bool `json:"CgOpenMobilePort,omitempty"` CGOpenWebConsolePort *bool `json:"CgOpenWebConsolePort,omitempty"` CGRemoteAddress *string `json:"CgRemoteAddress,omitempty"` CGServerInitiateConnection *bool `json:"CgServerInitiateConnection,omitempty"` CGWebConsolePort *int64 `json:"CgWebConsolePort,omitempty"` UaCustomFolder *string `json:"UaCustomFolder,omitempty"` UaDistributePackages *bool `json:"UaDistributePackages,omitempty"` UaDistributeUpdates *bool `json:"UaDistributeUpdates,omitempty"` UaHostDisplayName *string `json:"UaHostDisplayName,omitempty"` UaHostID *string `json:"UaHostId,omitempty"` UaIsCG *bool `json:"UaIsCg,omitempty"` UaMulticastAddr *string `json:"UaMulticastAddr,omitempty"` UaNonSSLPort *int64 `json:"UaNonSslPort,omitempty"` UaPort *int64 `json:"UaPort,omitempty"` UaReserved *bool `json:"UaReserved,omitempty"` UaUpdFolder *string `json:"UaUpdFolder,omitempty"` UaUpdTask *string `json:"UaUpdTask,omitempty"` UaScope *UaScope `json:"UaScope"` //using in GetUpdateAgentInfo }
type PUasArr ¶
type PUasArr struct { Type *string `json:"type,omitempty"` Value *UpdateAgentValue `json:"value,omitempty"` }
type PUpdate ¶
type PUpdate struct { Type string `json:"type,omitempty"` Value PUpdateValue `json:"value,omitempty"` }
type PUpdateValue ¶
type PUpdates ¶
type PUpdates struct { // PUpdates array of PUpdate to be approved/declined PUpdates []PUpdate `json:"pUpdates"` // NLcid preferred LCID NLcid int64 `json:"nLcid"` }
PUpdates
type PUpdatesID ¶
type PUpdatesID struct { Type string `json:"type,omitempty"` Value PUpdatesValue `json:"value,omitempty"` }
type PUpdatesValue ¶
type PUser ¶
type PUser struct { // KlsplUserName User name KlsplUserName string `json:"KLSPL_USER_NAME"` // KlsplUserPwdEncrypted Encrypted user password KlsplUserPwdEncrypted string `json:"KLSPL_USER_PWD_ENCRYPTED,omitempty"` // KlsplUserFullName User full name KlsplUserFullName string `json:"KLSPL_USER_FULL_NAME"` // KlsplUserDescription User description KlsplUserDescription string `json:"KLSPL_USER_DESCRIPTION"` // KlsplUserMail User mail KlsplUserMail string `json:"KLSPL_USER_MAIL"` // KlsplUserPhone User phone KlsplUserPhone string `json:"KLSPL_USER_PHONE"` // KlsplUserEnabled User account is enabled if true. KlsplUserEnabled bool `json:"KLSPL_USER_ENABLED"` }
PUser struct
type Package ¶
type Package struct { Type string `json:"type"` Value PackageStruct `json:"value"` }
type PackageStruct ¶
type PackageStruct struct { KlpkgNpiCreationTime KlpkgNpiTime `json:"KLPKG_NPI_CREATION_TIME"` KlpkgNpiModifTime KlpkgNpiTime `json:"KLPKG_NPI_MODIF_TIME"` KlpkgNpiName string `json:"KLPKG_NPI_NAME"` KlpkgNpiPackagePath string `json:"KLPKG_NPI_PACKAGE_PATH"` KlpkgNpiPkgid int64 `json:"KLPKG_NPI_PKGID"` KlpkgNpiProductDisplName string `json:"KLPKG_NPI_PRODUCT_DISPL_NAME"` KlpkgNpiProductDisplVersion string `json:"KLPKG_NPI_PRODUCT_DISPL_VERSION"` KlpkgNpiProductName string `json:"KLPKG_NPI_PRODUCT_NAME"` KlpkgNpiProductVersion string `json:"KLPKG_NPI_PRODUCT_VERSION"` KlpkgNpiSize KlpkgNpiSize `json:"KLPKG_NPI_SIZE"` KlpkgNpiSsDescr string `json:"KLPKG_NPI_SS_DESCR"` KlpkgNpiAVBasesUpdateTime *KlpkgNpiTime `json:"KLPKG_NPI_AV_BASES_UPDATE_TIME,omitempty"` KlpkgNpiAVBasesUpdSupported bool `json:"KLPKG_NPI_AV_BASES_UPD_SUPPORTED,omitempty"` KlpkgNpiExtraData *KlpkgNpiExtraData `json:"KLPKG_NPI_EXTRA_DATA,omitempty"` }
type PackagesApi ¶
type PackagesApi service
PackagesApi Operating with packages.
func (*PackagesApi) AcceptEulas ¶
func (pa *PackagesApi) AcceptEulas(ctx context.Context, params EULAIDParams) ([]byte, error)
AcceptEulasAccepts given EULAs.
func (*PackagesApi) AddExtendedSign ¶
func (pa *PackagesApi) AddExtendedSign(ctx context.Context, params interface{}) ([]byte, error)
AddExtendedSign Add extended certificate/sign with authenticated attributes to executable file.
Remarks: If extended sign already exists - one more sign will be added
func (*PackagesApi) AddExtendedSignAsync ¶
func (pa *PackagesApi) AddExtendedSignAsync(ctx context.Context, params interface{}) ([]byte, error)
AddExtendedSignAsync Add extended certificate/sign with authenticated attributes to executable file (asynchronously).
func (*PackagesApi) AllowSharedPrerequisitesInstallation ¶
func (pa *PackagesApi) AllowSharedPrerequisitesInstallation(ctx context.Context, nPackageId int64, bAllow bool) ([]byte, error)
AllowSharedPrerequisitesInstallation Allow installation of the shared prerequisites.
func (*PackagesApi) CancelCreateExecutablePkg ¶
func (pa *PackagesApi) CancelCreateExecutablePkg(ctx context.Context, wstrRequestId string) ([]byte, error)
CancelCreateExecutablePkg Cancel an asynchronous call to PackagesApi.CreateExecutablePkgAsync.
func (*PackagesApi) CancelGetExecutablePkgFile ¶
func (pa *PackagesApi) CancelGetExecutablePkgFile(ctx context.Context, wstrRequestId string) ([]byte, error)
CancelGetExecutablePkgFile Cancel an asynchronous call to PackagesApi.GetExecutablePkgFileAsync.
func (*PackagesApi) CancelRecordNewPackage ¶
func (pa *PackagesApi) CancelRecordNewPackage(ctx context.Context, wstrRequestId string) ([]byte, error)
CancelRecordNewPackage Cancel an asynchronous call to PackagesApi.RecordVapmPackageAsync or PackagesApi.RecordVapmPackageAsync.
func (*PackagesApi) CancelUpdateBasesInPackages ¶
func (pa *PackagesApi) CancelUpdateBasesInPackages(ctx context.Context, wstrRequestId string) ([]byte, error)
CancelUpdateBasesInPackages Cancel an asynchronous call to PackagesApi.UpdateBasesInPackagesAsync.
func (*PackagesApi) CreateExecutablePkgAsync ¶
func (pa *PackagesApi) CreateExecutablePkgAsync(ctx context.Context, params interface{}) ([]byte, error)
CreateExecutablePkgAsync Create a standalone package (asynchronously).
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized or cancel it by calling PackagesApi.CancelGetExecutablePkgFile.
func (*PackagesApi) DeleteExecutablePkg ¶
DeleteExecutablePkg Delete standalone package.
func (*PackagesApi) GetEulaText ¶
GetEulaText Requests EULA text.
func (*PackagesApi) GetExecutablePackages ¶
GetExecutablePackages Get standalone packages.
func (*PackagesApi) GetExecutablePkgFileAsync ¶
func (pa *PackagesApi) GetExecutablePkgFileAsync(ctx context.Context, params interface{}) ([]byte, error)
GetExecutablePkgFileAsync Get standalone package file attributes (asynchronously).
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized or cancel it by calling PackagesApi.CancelGetExecutablePkgFile.
To download it, client should send an HTTP GET-request to the URL of format as follows: "http://host:port" + KLPKG_EP_DOWNLOAD_PATH
If the action failed then call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*PackagesApi) GetIncompatibleAppsInfo ¶
func (pa *PackagesApi) GetIncompatibleAppsInfo(ctx context.Context, nPackageId int64) ([]byte, error)
GetIncompatibleAppsInfo Get incompatible apps info.
func (*PackagesApi) GetIntranetFolderForNewPackage ¶
func (pa *PackagesApi) GetIntranetFolderForNewPackage(ctx context.Context, wstrProductName, wstrProductVersion string) (*PxgValStr, []byte, error)
GetIntranetFolderForNewPackage Get intranet folder for a new package.
func (*PackagesApi) GetIntranetFolderForPackage ¶
func (pa *PackagesApi) GetIntranetFolderForPackage(ctx context.Context, nPackageId int64) ([]byte, error)
GetIntranetFolderForPackage Get intranet folder for particular package.
func (*PackagesApi) GetKpdProfileString ¶
func (pa *PackagesApi) GetKpdProfileString(ctx context.Context, params interface{}) ([]byte, error)
GetKpdProfileString Read kpd profile string.
func (*PackagesApi) GetLicenseKey ¶
GetLicenseKey Get license key.
func (*PackagesApi) GetLoginScript ¶
func (pa *PackagesApi) GetLoginScript(ctx context.Context, nPackageId int64, wstrTaskId string) ([]byte, error)
GetLoginScript Get text of the login script.
func (*PackagesApi) GetMoveRuleInfo ¶
GetMoveRuleInfo Get information about the move-rule used by the standalone-package.
func (*PackagesApi) GetPackageInfo ¶
GetPackageInfo Get package info.
func (*PackagesApi) GetPackageInfo2 ¶
GetPackageInfo2 Get package info.
func (*PackagesApi) GetPackageInfoFromArchive ¶
func (pa *PackagesApi) GetPackageInfoFromArchive(ctx context.Context, params interface{}) ([]byte, error)
GetPackageInfoFromArchive Get information from archive (zip, cab, tar, tar.gz) with package data
First scenario: Upload archive with kpd-file to FileTransfer -> call PackagesApi.GetPackageInfoFromArchive -> call PackagesApi.RecordNewPackage3.
Second scenario: Upload archive with executable file to FileTransfer -> call PackagesApi.GetPackageInfoFromArchive -> call PackagesApi.RecordNewPackage3.
func (*PackagesApi) GetPackagePlugin ¶
GetPackagePlugin Get package plugin
func (*PackagesApi) GetPackages ¶
GetPackages Get packages information.
func (*PackagesApi) GetPackages2 ¶
GetPackages2 Get packages.
func (*PackagesApi) GetRebootOptionsEx ¶
func (pa *PackagesApi) GetRebootOptionsEx(ctx context.Context, nPackageId int64) (*RebootOptionsEx, []byte, error)
GetRebootOptionsEx Get reboot options.
func (*PackagesApi) GetUserAgreements ¶
GetUserAgreements Request user agreements related to user packages, registered on current VS.
func (*PackagesApi) IsPackagePublished ¶
func (pa *PackagesApi) IsPackagePublished(ctx context.Context, nPkgExecId int64) (*PxgValBool, []byte, error)
IsPackagePublished Check whether the package is published on KSC web server.
func (*PackagesApi) PrePublishMobilePackage ¶
func (pa *PackagesApi) PrePublishMobilePackage(ctx context.Context, params interface{}) ([]byte, error)
PrePublishMobilePackage Prepare server-side data for mobile package publication on KSC web server.
func (*PackagesApi) PublishMobileManifest ¶
func (pa *PackagesApi) PublishMobileManifest(ctx context.Context, params interface{}) ([]byte, error)
PublishMobileManifest Publish mobile manifest on KSC web server.
func (*PackagesApi) PublishMobilePackage ¶
func (pa *PackagesApi) PublishMobilePackage(ctx context.Context, params interface{}) ([]byte, error)
PublishMobilePackage Publish mobile package on KSC web server.
func (*PackagesApi) PublishStandalonePackage ¶
func (pa *PackagesApi) PublishStandalonePackage(ctx context.Context, params interface{}) ([]byte, error)
PublishStandalonePackage Publish/Unpublish a standalone package on KSC web server.
Note: You can publish an already published package and vice versa
func (*PackagesApi) ReadKpdFile ¶
func (pa *PackagesApi) ReadKpdFile(ctx context.Context, nPackageId int64) (*PxgValStr, []byte, error)
ReadKpdFile Read kpd file.
func (*PackagesApi) ReadPkgCfgFile ¶
func (pa *PackagesApi) ReadPkgCfgFile(ctx context.Context, nPackageId int64, wstrFileName string) (*PxgValStr, []byte, error)
ReadPkgCfgFile Read package configuration file.
func (*PackagesApi) RecordNewPackage ¶
func (pa *PackagesApi) RecordNewPackage(ctx context.Context, params NewPackage) (*PxgValStr, []byte, error)
RecordNewPackage Creates a package with the default settings based on the product, overwritten in the folder, the path to which was obtained by calling the PackagesApi.GetIntranetFolderForNewPackage.
func (*PackagesApi) RecordNewPackage2 ¶
func (pa *PackagesApi) RecordNewPackage2(ctx context.Context, params *NewPackage) (*PxgValStr, []byte, error)
RecordNewPackage2 Creates a package with the default settings based on the product, transferred using FileTransfer.
func (*PackagesApi) RecordNewPackage3 ¶
func (pa *PackagesApi) RecordNewPackage3(ctx context.Context, params interface{}) ([]byte, error)
RecordNewPackage3 Create a package using data from archive (zip, cab, tar, tar.gz) or executable file.
Use PackagesApi.GetPackageInfoFromArchive to get package information from archive.
First scenario: Upload archive with kpd-file to FileTransfer -> call PackagesApi.GetPackageInfoFromArchive -> call PackagesApi.RecordNewPackage3.
Second scenario: Upload archive with executable file to FileTransfer -> call PackagesApi.GetPackageInfoFromArchive -> call PackagesApi.RecordNewPackage3.
Third scenario: Upload executable file to FileTransfer -> call PackagesApi.RecordNewPackage3.
func (*PackagesApi) RecordNewPackage3Async ¶
func (pa *PackagesApi) RecordNewPackage3Async(ctx context.Context, params interface{}) ([]byte, error)
RecordNewPackage3Async Creates a package (asynchronously) with the default settings based on the product, overwritten in the folder, the path to which was obtained by calling the PackagesApi.GetIntranetFolderForNewPackage.
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized or cancel it by calling PackagesApi.CancelRecordNewPackage.
If the operation succeeds then AsyncActionStateChecker.CheckActionState returns these attributes in pStateData container: KLPKG_NPI_PKGID - (int64) ID of the executable package.
If the action failed then call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*PackagesApi) RecordNewPackageAsync ¶
func (pa *PackagesApi) RecordNewPackageAsync(ctx context.Context, params interface{}) ([]byte, error)
RecordNewPackageAsync Creates a package (asynchronously) with the default settings based on the product, overwritten in the folder, the path to which was obtained by calling the PackagesApi.GetIntranetFolderForNewPackage.
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized or cancel it by calling PackagesApi.CancelRecordNewPackage.
If the operation succedes then AsyncActionStateChecker.CheckActionState returns these attributes in pStateData container: KLPKG_NPI_PKGID - (int) ID of the executable package.
If the action failed then call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*PackagesApi) RecordVapmPackageAsync ¶
func (pa *PackagesApi) RecordVapmPackageAsync(ctx context.Context, params interface{}) ([]byte, error)
RecordVapmPackageAsync Create a package using VAPM product information.
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized or cancel it by calling PackagesApi.CancelRecordNewPackage.
If the operation succedes then AsyncActionStateChecker.CheckActionState returns Package ID in pStateData container as KLPKG_NPI_PKGID (paramInt) attribute.
Otherwise, a call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*PackagesApi) RemovePackage ¶
RemovePackage Remove a package.
func (*PackagesApi) RemovePackage2 ¶
func (pa *PackagesApi) RemovePackage2(ctx context.Context, nPackageId int64) (*RemovePackageResult, []byte, error)
RemovePackage2 Remove a package and get the list of dependent tasks.
func (*PackagesApi) RenamePackage ¶
func (pa *PackagesApi) RenamePackage(ctx context.Context, nPackageId int64, wstrNewPackageName string) ([]byte, error)
RenamePackage Rename package.
func (*PackagesApi) ResetDefaultServerSpecificSettings ¶
func (pa *PackagesApi) ResetDefaultServerSpecificSettings(ctx context.Context, nPackageId int64) (*PxgValBool, []byte, error)
ResetDefaultServerSpecificSettings Reset server-specific settings for package.
func (*PackagesApi) ResolvePackageLcid ¶
func (pa *PackagesApi) ResolvePackageLcid(ctx context.Context, nPackageId, nLcid int64) ([]byte, error)
ResolvePackageLcid Resolve LCID of a package.
func (*PackagesApi) RetranslateToVServerAsync ¶
func (pa *PackagesApi) RetranslateToVServerAsync(ctx context.Context, params interface{}) ([]byte, error)
RetranslateToVServerAsync Retranslate package to a Virtual Server (asynchronously).
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized.
If the operation succeeds then AsyncActionStateChecker.CheckActionState does not return any attributes in pStateData container. If the action failed then call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*PackagesApi) SSGetNames ¶
func (pa *PackagesApi) SSGetNames(ctx context.Context, params interface{}) ([]byte, error)
SSGetNames Get settings storage section names.
func (*PackagesApi) SSRead ¶
func (pa *PackagesApi) SSRead(ctx context.Context, params interface{}) ([]byte, error)
SSRead Read settings storage data.
func (*PackagesApi) SSSectionOperation ¶
func (pa *PackagesApi) SSSectionOperation(ctx context.Context, params interface{}) ([]byte, error)
SSSectionOperation Perform operation on a settings storage section.
func (*PackagesApi) SSWrite ¶
func (pa *PackagesApi) SSWrite(ctx context.Context, params interface{}) ([]byte, error)
SSWrite Write settings storage data.
func (*PackagesApi) SetLicenseKey ¶
func (pa *PackagesApi) SetLicenseKey(ctx context.Context, params interface{}) ([]byte, error)
SetLicenseKey Set license key.
func (*PackagesApi) SetRemoveIncompatibleApps ¶
func (pa *PackagesApi) SetRemoveIncompatibleApps(ctx context.Context, nPackageId int64, bRemoveIncompatibleApps bool) (*PxgValBool, []byte, error)
SetRemoveIncompatibleApps Set incompatible apps info.
func (*PackagesApi) UnpublishMobilePackage ¶
func (pa *PackagesApi) UnpublishMobilePackage(ctx context.Context, wstrProfileId string) ([]byte, error)
UnpublishMobilePackage Unpublish a previously published mobile package on KSC web server.
func (*PackagesApi) UpdateBasesInPackagesAsync ¶
func (pa *PackagesApi) UpdateBasesInPackagesAsync(ctx context.Context, params interface{}) ([]byte, error)
UpdateBasesInPackagesAsync Get standalone package file attributes (asynchronously).
Remarks: Check the operation state by calling AsyncActionStateChecker.CheckActionState periodically until it's finalized or cancel it by calling PackagesApi.CancelGetExecutablePkgFile.
To download it, client should send an HTTP GET-request to the URL of format as follows: "http://host:port" + KLPKG_EP_DOWNLOAD_PATH If the action failed then call to AsyncActionStateChecker.CheckActionState returns error in pStateData.
func (*PackagesApi) WriteKpdProfileString ¶
func (pa *PackagesApi) WriteKpdProfileString(ctx context.Context, nPackageId int64, wstrSection, wstrKey, wstrValue string) ([]byte, error)
WriteKpdProfileString Write kpd profile string.
func (*PackagesApi) WritePkgCfgFile ¶
func (pa *PackagesApi) WritePkgCfgFile(ctx context.Context, params PkgCFGFileParams) ([]byte, error)
WritePkgCfgFile Write package configuration file.
type PageSettings ¶
type PageSettings struct { Type string `json:"type,omitempty"` Value *PageSettingsValue `json:"value,omitempty"` }
type PageSettingsValue ¶
type Parameters ¶
type Parameters struct {
PwchContentID string `json:"pwchContentId"`
}
type PatchOption ¶
type PatchOption struct { Type string `json:"type"` Value PatchValue `json:"value"` }
type PatchParameters ¶
type PatchParameters service
PatchParameters Patch parameters processing.
func (*PatchParameters) GetTemplate ¶
GetTemplate Get template for command.
func (*PatchParameters) GetValuesByPkg ¶
GetValuesByPkg Get install command for patch.
func (*PatchParameters) SetValues ¶
func (pp *PatchParameters) SetValues(ctx context.Context, params interface{}) ([]byte, error)
SetValues Set values for parameters of command.
func (*PatchParameters) SetValuesByPkg ¶
func (pp *PatchParameters) SetValuesByPkg(ctx context.Context, params interface{}) ([]byte, error)
SetValuesByPkg Set values for parameters of command.
type PatchParams ¶
type PatchParams struct { SzwPatchID string `json:"szwPatchId"` PatchOption *PatchOption `json:"parOptions"` }
PatchParams struct
type PatchValue ¶
type PatchValue struct {
NeedBackupServer bool `json:"NeedBackupServer"`
}
type PendingRulesTasks ¶
type PendingRulesTasks struct { // PTasksIDS Array of task ids PTasksIDS []int64 `json:"pTasksIds"` }
PendingRulesTasks contains task ids array
type Permissions ¶
type Permissions struct { // KlsplInherited If the permissions list is inherited. KlsplInherited bool `json:"KLSPL_INHERITED,omitempty"` //KlsplPermissions Permission list KlsplPermissions []KlsplPermission `json:"KLSPL_PERMISSIONS"` // KlsplPossibleRights Bitmask of access rights available for editing KlsplPossibleRights int64 `json:"KLSPL_POSSIBLE_RIGHTS,omitempty"` }
type PkgCFGFileParams ¶
type PkgCFGFileParams struct { NPackageID int64 `json:"nPackageId,omitempty"` WstrFileName string `json:"wstrFileName,omitempty"` PData string `json:"pData,omitempty"` }
PkgCFGFileParams struct using in PackagesApi.WritePkgCfgFile
type PluginData
deprecated
type PluginData service
Deprecated: Obsolete, use PluginDataStorage instead PluginData Plugin data managing.
type PluginDataStorage ¶
type PluginDataStorage service
PluginDataStorage Plugin Data Storage interface.
type PolOutbreak ¶
type Policy ¶
type Policy service
Policy Policies processing. Allows to manage policies, change policies states and acquire policies data
func (*Policy) AddPolicy ¶
AddPolicy Create new policy. Creates a new policy with the specified attributes
func (*Policy) CopyOrMovePolicy ¶
func (pl *Policy) CopyOrMovePolicy(ctx context.Context, params MovePolicyParams) (*PxgValInt, error)
CopyOrMovePolicy Copy or move policy. Copies the specified policy and optionally deletes it. Returns id of the new policy
func (*Policy) DeletePolicy ¶
DeletePolicy Delete policy. Makes the the specified policy inactive, and then deletes it.
func (*Policy) ExportPolicy ¶
ExportPolicy Export policy to a blob.
func (*Policy) GetEffectivePoliciesForGroup ¶
func (pl *Policy) GetEffectivePoliciesForGroup(ctx context.Context, nGroupId int64) (*PolicyList, error)
GetEffectivePoliciesForGroup Obtain policies that affect the specified group. Returns active and roaming policies that affect specified group
func (*Policy) GetOutbreakPolicies ¶
func (pl *Policy) GetOutbreakPolicies(ctx context.Context) (*OutbreakPolicies, error)
GetOutbreakPolicies Acquire array of outbreak policies. Returns the array of outbreak policies
func (*Policy) GetPoliciesForGroup ¶
GetPoliciesForGroup Obtain policies for specified group. Returns policies located in specified group.
func (*Policy) GetPolicyContents ¶
func (pl *Policy) GetPolicyContents(ctx context.Context, nPolicy, nRevisionId, nLifeTime int64) (*PxgValStr, error)
GetPolicyContents Acquire policy contents. Opens settings storage SsContents of the specified policy. The settings storage contains both predefined and product-specific sections.
func (*Policy) GetPolicyData ¶
GetPolicyData Obtain policy data. Returns data for specified policy
func (*Policy) ImportPolicy ¶
ImportPolicy Import policy from blob.
func (*Policy) MakePolicyActive ¶
func (pl *Policy) MakePolicyActive(ctx context.Context, nPolicy int64, bActive bool) (*PxgValBool, error)
MakePolicyActive Make policy active or inactive.
func (*Policy) MakePolicyRoaming ¶
MakePolicyRoaming Make policy roaming.
func (*Policy) RevertPolicyToRevision ¶
RevertPolicyToRevision Revert policy to its older version. Replaces the specified policy nPolicy by its revision (older version) nRevisionId
func (*Policy) SetOutbreakPolicies ¶
func (pl *Policy) SetOutbreakPolicies(ctx context.Context, params OutbreakPoliciesParams) error
SetOutbreakPolicies Specify array of outbreak policies. Sets the array of outbreak policies
func (*Policy) UpdatePolicyData ¶
func (pl *Policy) UpdatePolicyData(ctx context.Context, params PolicyDataUpdateParams) ([]byte, error)
UpdatePolicyData Update policy attributes.
type PolicyBlob ¶
type PolicyBlob struct { LGroup int64 `json:"lGroup,omitempty"` // PData raw []byte data of policy base64 encoded PData string `json:"pData,omitempty"` }
PolicyBlob struct
type PolicyDataUpdateParams ¶
type PolicyDataUpdateParams struct { // identifier of the policy to update NPolicy int64 `json:"nPolicy"` // contains attributes to modify PPolicyData PPolicyData `json:"pPolicyData"` }
PolicyDataUpdateParams struct using in Policy.UpdatePolicyData
type PolicyProfiles ¶
type PolicyProfiles service
PolicyProfiles service Policy profiles processing.
Provides access to policy profiles.
To determine which hosts have the specified policy profile active, or which policy profiles are active at the specified host use Srvview KLPOL_PROFILE_HST active policy profiles at hosts
func (*PolicyProfiles) AddProfile ¶
func (pp *PolicyProfiles) AddProfile(ctx context.Context, params interface{}) ([]byte, error)
AddProfile Create a new profile.
Creates a new profile with the specified name. The method returns identifier of opened SsContents, hat must be filled by the client.
Actually the profile is saved only after the returned SsContents is filled with one or more sections, and SsContents.SsApply method is called. So, the SsContents.SsApply method may also throw an exception if the profile is not unique.
Note: Don't forget to fill returned SsContents, and call SsContents::Ss_Apply and SsContents::SS_Release methods
func (*PolicyProfiles) DeleteProfile ¶
func (pp *PolicyProfiles) DeleteProfile(ctx context.Context, nPolicy int64, szwName string) ([]byte, error)
DeleteProfile Deletes the specified profile and all data associated.
func (*PolicyProfiles) EnumProfiles ¶
func (pp *PolicyProfiles) EnumProfiles(ctx context.Context, nPolicy, nRevision int64) ([]byte, error)
EnumProfiles Acquire profile list.
Returns array of all profiles for the specified policy
func (*PolicyProfiles) ExportProfile ¶
func (pp *PolicyProfiles) ExportProfile(ctx context.Context, lPolicy int64, szwName string) ([]byte, error)
ExportProfile Export policy profile to a blob.
func (*PolicyProfiles) GetEffectivePolicyContents ¶
func (pp *PolicyProfiles) GetEffectivePolicyContents(ctx context.Context, nPolicy, nLifeTime int64, szwHostId string) (*PxgValStr, []byte, error)
GetEffectivePolicyContents Acquire effective policy contents for host.
Creates a copy of the settings storage SsContents of the specified policy, and applies to it those policy profiles which are active at the specified host.
func (*PolicyProfiles) GetPriorities ¶
func (pp *PolicyProfiles) GetPriorities(ctx context.Context, nPolicy, nRevision int64) ([]byte, error)
GetPriorities Acquire profile priority array.
Returns array of profile names, the profile with lesser index has greater priority.
func (*PolicyProfiles) GetProfile ¶
func (pp *PolicyProfiles) GetProfile(ctx context.Context, nPolicy, nRevision int64, szwName string) ([]byte, error)
GetProfile Acquire profile attributes.
Returns profile data for the specified policy profile.
func (*PolicyProfiles) GetProfileSettings ¶
func (pp *PolicyProfiles) GetProfileSettings(ctx context.Context, nPolicy, nLifeTime, nRevision int64, szwName string) (*PxgValStr, []byte, error)
GetProfileSettings Acquire profile contents.
Returns SsContents interface for the profile contents
func (*PolicyProfiles) ImportProfile ¶
func (pp *PolicyProfiles) ImportProfile(ctx context.Context, lPolicy int64, pData string) ([]byte, error)
ImportProfile Import policy profile from blob.
func (*PolicyProfiles) PutPriorities ¶
func (pp *PolicyProfiles) PutPriorities(ctx context.Context, params ProfilesPrioritiesParams) ([]byte, error)
PutPriorities Update profile priority array.
func (*PolicyProfiles) RenameProfile ¶
func (pp *PolicyProfiles) RenameProfile(ctx context.Context, nPolicy int64, szwExistingName, szwNewName string) ([]byte, error)
RenameProfile Changes the name of the existing profile.
func (*PolicyProfiles) UpdateProfile ¶
func (pp *PolicyProfiles) UpdateProfile(ctx context.Context, params interface{}) ([]byte, error)
UpdateProfile Update attributes of an existing profile.
type PpObj ¶
type PpObj struct {
PPObj HWInvObject `json:"pObj"`
}
type ProcessingRules ¶
type ProcessingRules struct {
PRules *PRules `json:"pRules,omitempty"`
}
ProcessingRules Processing rules container
type ProductBackendIntegration ¶
type ProductBackendIntegration service
ProductBackendIntegration Product backend integration.
type ProductComponent ¶
type ProductComponent struct { KlhstPrcstComponentDN string `json:"KLHST_PRCST_COMPONENT_DN,omitempty"` KlhstPrcstComponentID *KlhstPrcstComponentID `json:"KLHST_PRCST_COMPONENT_ID,omitempty"` KlhstPrcstComponentStatus int64 `json:"KLHST_PRCST_COMPONENT_STATUS,omitempty"` KlhstPrcstComponentVersion *KlhstPrcstComponentVersion `json:"KLHST_PRCST_COMPONENT_VERSION,omitempty"` }
type ProductComponents ¶
type ProductComponents struct {
ProductComponentsArray []ProductComponentsArray `json:"PxgRetVal"`
}
ProductComponents is returned by GetComponentsForProductOnHost
type ProductComponentsArray ¶
type ProductComponentsArray struct { Type string `json:"type,omitempty"` ProductComponent *ProductComponent `json:"value,omitempty"` }
type ProductFixes ¶
type ProductFixes struct {
Fixes []Fixes `json:"PxgRetVal"`
}
ProductFixes struct
type ProductUserTokenIssuer ¶
type ProductUserTokenIssuer service
ProductUserTokenIssuer Product backend user token issuer.
Allows to issue/revoke product backend tokens for current user
func (*ProductUserTokenIssuer) IssueUserToken ¶
func (srn *ProductUserTokenIssuer) IssueUserToken(ctx context.Context, wstrProductName, wstrProductVersion string) error
IssueUserToken Issue user token.
Underlying backend command is "IssueUserToken" - get new user access/refresh token pair. All issued tokens for current user automatically revoked by KSC server when user rights changed for specified product or when KSC server restarts. Command result may be obtained using AsyncActionStateChecker. Command result format is defined by product backend, errors returned as Asynchronous action errors
func (*ProductUserTokenIssuer) RevokeUserToken ¶
func (srn *ProductUserTokenIssuer) RevokeUserToken(ctx context.Context, wstrProductName, wstrProductVersion string) error
RevokeUserToken Revoke user token.
Underlying backend command is "RevokeUserToken" - revoke all tokens for specific user. Command result may be obtained using AsyncActionStateChecker. Command result format is defined by product backend, errors returned as Asynchronous action errors
type Products ¶
type Products struct { Type string `json:"type,omitempty"` Value map[string]ProductsValues `json:"value,omitempty"` }
type ProductsInfoValue ¶
type ProductsInfoValue struct { // KlmigrProductInfoName Name of product, for which tasks and policies should be exported KlmigrProductInfoName string `json:"KLMIGR_PRODUCT_INFO_NAME,omitempty"` // KlmigrProductInfoVersion Version of product, for which tasks and policies should be exported KlmigrProductInfoVersion string `json:"KLMIGR_PRODUCT_INFO_VERSION,omitempty"` }
type ProductsValue ¶
type ProductsValue struct { ComponentName string `json:"ComponentName,omitempty"` DiagLog string `json:"DiagLog,omitempty"` DiagTrace string `json:"DiagTrace,omitempty"` InstallPath string `json:"InstallPath,omitempty"` ProdDumps []interface{} `json:"ProdDumps"` ProdProps int64 `json:"ProdProps,omitempty"` ProductBuild string `json:"ProductBuild,omitempty"` ProductDN string `json:"ProductDN,omitempty"` ProductName string `json:"ProductName,omitempty"` ProductRunning bool `json:"ProductRunning,omitempty"` ProductVersion string `json:"ProductVersion,omitempty"` TraceFile []string `json:"TraceFile"` TraceLevel int64 `json:"TraceLevel,omitempty"` TraceLimitDef int64 `json:"TraceLimitDef,omitempty"` TraceLimitMax int64 `json:"TraceLimitMax,omitempty"` TraceLimitMin int64 `json:"TraceLimitMin,omitempty"` TraceRotatedEnable int64 `json:"TraceRotatedEnable,omitempty"` TraceRotatedFileCount int64 `json:"TraceRotatedFileCount,omitempty"` TraceRotatedFileSizeMB int64 `json:"TraceRotatedFileSizeMb,omitempty"` TraceRotatedLevel int64 `json:"TraceRotatedLevel,omitempty"` XperfTraceFile []interface{} `json:"XperfTraceFile"` XperfTraceLevel int64 `json:"XperfTraceLevel,omitempty"` XperfTraceSize int64 `json:"XperfTraceSize,omitempty"` XperfTraceState int64 `json:"XperfTraceState,omitempty"` XperfTraceType int64 `json:"XperfTraceType,omitempty"` }
type ProductsValues ¶
type ProductsValues struct { Type string `json:"type,omitempty"` Value *ProductsValue `json:"value,omitempty"` }
type ProfilesPrioritiesParams ¶
type ProfilesPrioritiesParams struct { // NPolicy policy id NPolicy int64 `json:"nPolicy,omitempty"` // PArrayOfNames each array entry is the profile name PArrayOfNames []string `json:"pArrayOfNames"` }
ProfilesPrioritiesParams struct
type PropagationState ¶
type PropagationState struct {
BPropagate2VS bool `json:"bPropagate2VS"`
}
type ProtectedData ¶
type ProtectedData struct {
PDataProtected string `json:"pDataProtected,omitempty"`
}
ProtectedData struct
type PrtsTaskCreationDate ¶
PrtsTaskCreationDate struct
type PushServerOApi ¶
type PushServerOApi service
PushServerOApi Interface for working with PushServer subsystem.
func (*PushServerOApi) SendSyncPushMessage ¶
func (pso *PushServerOApi) SendSyncPushMessage(ctx context.Context, wstrHostId string) (*PxgValBool, error)
SendSyncPushMessage Send synchronization push message to device.
return (bool) true if message sent, otherwise it returns false
type PxgRetError ¶
type PxgRetError struct {
Error *Error `json:"PxgError,omitempty"`
}
PxgRetError struct
type PxgRetVal ¶
type PxgRetVal struct { Type *string `json:"type,omitempty"` Value *CmdLibValue `json:"value,omitempty"` }
type PxgRetValCIFIL ¶
type PxgRetValCIFIL struct {
CIFILValue *CIFILValue `json:"value"`
}
type PxgRetValPolicy ¶
type PxgRetValPolicy struct { KlpolAcceptParent *bool `json:"KLPOL_ACCEPT_PARENT"` KlpolActive *bool `json:"KLPOL_ACTIVE"` KlpolCreated *DateTime `json:"KLPOL_CREATED"` KlpolDN *string `json:"KLPOL_DN"` KlpolForced *bool `json:"KLPOL_FORCED"` KlpolForceDistrib2Children *bool `json:"KLPOL_FORCE_DISTRIB2CHILDREN"` KlpolGroupID *int64 `json:"KLPOL_GROUP_ID"` KlpolGroupName *string `json:"KLPOL_GROUP_NAME"` KlpolGsynID *int64 `json:"KLPOL_GSYN_ID"` KlpolHideOnSlaves *bool `json:"KLPOL_HIDE_ON_SLAVES"` KlpolID *int64 `json:"KLPOL_ID"` KlpolInherited *bool `json:"KLPOL_INHERITED"` KlpolModified *DateTime `json:"KLPOL_MODIFIED"` KlpolProduct *string `json:"KLPOL_PRODUCT"` KlpolRoaming *bool `json:"KLPOL_ROAMING"` KlpolVersion *string `json:"KLPOL_VERSION"` }
type PxgValArrayOfInt ¶
type PxgValArrayOfInt struct {
Array []int64 `json:"PxgRetVal"`
}
PxgValArrayOfInt struct
type PxgValArrayOfString ¶
type PxgValArrayOfString struct {
Array []string `json:"PxgRetVal"`
}
PxgValArrayOfString struct
type PxgValCIFIL ¶
type PxgValCIFIL struct {
PxgRetValCIFIL []PxgRetValCIFIL `json:"PxgRetVal"`
}
PxgValCIFIL struct
type PxgValPolicy ¶
type PxgValPolicy struct {
PxgRetValPolicy *PxgRetValPolicy `json:"PxgRetVal"`
}
PxgValPolicy struct
type QBTNetworkListApi ¶
type QBTNetworkListApi service
QBTNetworkListApi Interface to working with Quarantine, Backup and TIF network lists.
To retrieve info for these lists use List of files from quarantine, backup or unprocessed network lists
func (*QBTNetworkListApi) AddListItemTask ¶
AddListItemTask Initiate action under the specified file from specified network list.
func (*QBTNetworkListApi) AddListItemsTask ¶
func (nc *QBTNetworkListApi) AddListItemsTask(ctx context.Context, params QBTsParam) ([]byte, error)
AddListItemsTask Initiate action under the specified files from specified network list.
func (*QBTNetworkListApi) GetListItemInfo ¶
func (nc *QBTNetworkListApi) GetListItemInfo(ctx context.Context, itemId int64) (*NetworkListFileInfo, []byte, error)
GetListItemInfo Acquire info about specified file from specified network list.
type QBTParams ¶
type QBTParams struct { //Name of the network list. ListName string `json:"listName,omitempty"` //Identifier of the file. (see "nId" attribute from Quarantine, Backup, TIF lists) ItemID int64 `json:"itemId,omitempty"` //Name of the action. List of supported actions: // ╔══════════════════╦════════════════════════════════════════════════════╗ // ║ Action name ║ Description ║ // ╠══════════════════╬════════════════════════════════════════════════════╣ // ║ "RestoreObj" ║ Restore object from quarantine/backup ║ // ║ "DeleteObj" ║ Delete object from quarantine/backup ║ // ║ "ScanQuarantine" ║ Scan object on quarantine. Desinfect object on tif ║ // ╚══════════════════╩════════════════════════════════════════════════════╝ TaskName string `json:"taskName,omitempty"` //Deprecated: May be empty but should be not null PTaskParams PTaskParams `json:"pTaskParams,omitempty"` }
QBTParams struct
type QBTsParam ¶
type QBTsParam struct { //Name of the network list. ListName string `json:"listName,omitempty"` //Collection of the file identifiers. //Each entry of the array is (int) identifier of the file. (see "nId" attribute from Quarantine, Backup, TIF lists) PItemsIDS []int64 `json:"pItemsIds,omitempty"` //Name of the action. List of supported actions: // ╔══════════════════╦════════════════════════════════════════════════════╗ // ║ Action name ║ Description ║ // ╠══════════════════╬════════════════════════════════════════════════════╣ // ║ "RestoreObj" ║ Restore object from quarantine/backup ║ // ║ "DeleteObj" ║ Delete object from quarantine/backup ║ // ║ "ScanQuarantine" ║ Scan object on quarantine. Desinfect object on tif ║ // ╚══════════════════╩════════════════════════════════════════════════════╝ TaskName string `json:"taskName,omitempty"` //Deprecated: May be empty but should be not null PTaskParams PTaskParams `json:"pTaskParams,omitempty"` }
QBTsParam struct
type QueriesStorage ¶
type QueriesStorage service
QueriesStorage QueriesStorage.
func (*QueriesStorage) AddQuery ¶
func (qs *QueriesStorage) AddQuery(ctx context.Context, params interface{}) ([]byte, error)
AddQuery New query registration.
Creates a new query and stores it for the current user (associated with the connection to the Administration Server).
func (*QueriesStorage) DeleteQuery ¶
DeleteQuery Delete query.
Deletes the query with the specified ID.
func (*QueriesStorage) GetQueries ¶
GetQueries Acquire array of queries params of given type.
Returns array of IDs and data of all queries of given type defined for the current user (associated with the connection to the Administration Server).
func (*QueriesStorage) GetQuery ¶
func (qs *QueriesStorage) GetQuery(ctx context.Context, nId int64) (*QueryParams, []byte, error)
GetQuery Acquire query param by id.
Returns data of the query with the specified ID.
func (*QueriesStorage) GetQueryIds ¶
GetQueryIds Acquire array of queries id given type.
Returns array of IDs of all queries of given type defined for the current user (associated with the connection to the Administration Server).
func (*QueriesStorage) UpdateQuery ¶
func (qs *QueriesStorage) UpdateQuery(ctx context.Context, params interface{}) ([]byte, error)
UpdateQuery Query params update.
Clears current contents of the query data and stores new contents specified in pParData
type QueryParamVal ¶
type QueryParamVal struct { KlqrsQueryData *KlqrsQueryData `json:"KLQRS_QUERY_DATA,omitempty"` KlqrsQueryGUID string `json:"KLQRS_QUERY_GUID,omitempty"` KlqrsQueryType int64 `json:"KLQRS_QUERY_TYPE,omitempty"` }
type QueryParams ¶
type QueryParams struct {
QueryParamVal *QueryParamVal `json:"PxgRetVal,omitempty"`
}
QueryParams struct
type RPOptions ¶
type RPOptions struct { //Locale identifier RptLOCLocale int64 `json:"RPT_LOC_LOCALE,omitempty"` //If the flag is set, values of datetime fields will be in UTC, //YYYY-MM-DDTHH:mm:ss format. Otherwise, time zone will be taken into account, //long date format. KlrptUseUTC bool `json:"KLRPT_USE_UTC,omitempty"` //Description of report output format KlrptOutputFormat *KlrptOutputFormat `json:"KLRPT_OUTPUT_FORMAT,omitempty"` }
type RebootOptionsEx ¶
type RebootOptionsEx struct {
OptionsEx *OptionsEx `json:"PxgRetVal,omitempty"`
}
type RecordRangeParams ¶
type RecordRangeParams struct { WstrIteratorID string `json:"wstrIteratorId,omitempty"` NStart int64 `json:"nStart,omitempty"` NEnd int64 `json:"nEnd,omitempty"` }
RecordRangeParams struct
type RefPolicies ¶
type RefPolicies struct {
PPolicies *PPolicies `json:"pPolicies,omitempty"`
}
RefPolicies struct
type RefPolicy ¶
type RefPolicy struct { Type string `json:"type,omitempty"` RefPolicyValue *RefPolicyValue `json:"value,omitempty"` }
type RefPolicyValue ¶
type RefPolicyValue struct { FromMaster bool `json:"FromMaster,omitempty"` GroupID int64 `json:"GroupId,omitempty"` GroupName string `json:"GroupName,omitempty"` PolID int64 `json:"PolId,omitempty"` PolName string `json:"PolName,omitempty"` VServerID int64 `json:"VServerId,omitempty"` VServerName string `json:"VServerName,omitempty"` }
type RemoteFilesParams ¶
type RemoteFilesParams struct {
PRemoteFiles []string `json:"pRemoteFiles"`
}
type RemoveHostsParams ¶
type RemoveHostsParams struct { //Array of host names PHostNames []string `json:"pHostNames"` //Whether to force deleting hosts records BForceDestroy bool `json:"bForceDestroy"` }
RemoveHostsParams struct
type RemovePackageResult ¶
type RemovePackageResult struct { BResult bool `json:"bResult,omitempty"` PTasks interface{} `json:"pTasks"` }
RemovePackageResult struct using in PackagesApi.RemovePackage2
type ReportData ¶
type ReportData struct { PXMLData string `json:"pXmlData,omitempty"` NDataSizeREST int64 `json:"nDataSizeRest,omitempty"` PChartData *PChartData `json:"pChartData,omitempty"` }
ReportData struct
type ReportManager ¶
type ReportManager service
ReportManager Reports managing.
Allows to enumerate, create, execute and delete reports.
func (*ReportManager) AddReport ¶
func (rm *ReportManager) AddReport(ctx context.Context, params interface{}) (*PxgValInt, []byte, error)
AddReport Create new report.
func (*ReportManager) CancelStatisticsRequest ¶
func (rm *ReportManager) CancelStatisticsRequest(ctx context.Context, strRequestId string) ([]byte, error)
CancelStatisticsRequest Cancels asynchronous operation ReportManager.RequestStatisticsData.
Deprecated: Since SC12 patch B
func (*ReportManager) CollectStatisticsAsync ¶
func (rm *ReportManager) CollectStatisticsAsync(ctx context.Context) (*PxgValArrayOfInt, []byte, error)
CollectStatisticsAsync TODO params ???
func (*ReportManager) CreateChartPNG ¶
func (rm *ReportManager) CreateChartPNG(ctx context.Context, params ChartDataParams) (*PPngData, []byte, error)
CreateChartPNG Creates image in PNG format with chart data
func (*ReportManager) EnumReportTypes ¶
func (rm *ReportManager) EnumReportTypes(ctx context.Context) ([]byte, error)
EnumReportTypes Enumerate report types supported by administration server.
Enumerates all existing types.
func (*ReportManager) EnumReports ¶
func (rm *ReportManager) EnumReports(ctx context.Context) ([]byte, error)
EnumReports Enumerate existing reports.
Enumerates all existing reports.
func (*ReportManager) ExecuteReportAsync ¶
func (rm *ReportManager) ExecuteReportAsync(ctx context.Context, params ExecuteReportParams) (*RequestID, []byte, error)
ExecuteReportAsync Execute report
Asynchronously executes specified report, creates resulting data in XML and data to chart. The progress and result of the report generation is reported by the event KLPPT_EventRptExecDone.
func (*ReportManager) ExecuteReportAsyncCancel ¶
func (rm *ReportManager) ExecuteReportAsyncCancel(ctx context.Context, strRequestId string) ([]byte, error)
ExecuteReportAsyncCancel Cancels asynchronous operation ReportManager.ExecuteReportAsync.
func (*ReportManager) ExecuteReportAsyncCancelWaitingForSlaves ¶
func (rm *ReportManager) ExecuteReportAsyncCancelWaitingForSlaves(ctx context.Context, strRequestId string) ([]byte, error)
ExecuteReportAsyncCancelWaitingForSlaves Cancel waiting for report data from slave servers.
Cancels waiting for report data from slave servers when generating report. Can be used when report data from current server is already ready (an appropriate report generation progress status event KLPPT_EventRptExecDone received), but the data from slave servers is not, to get the report without data from some slave servers.
func (*ReportManager) ExecuteReportAsyncGetData ¶
func (rm *ReportManager) ExecuteReportAsyncGetData(ctx context.Context, strRequestId string, nChunkSize int64) (*ReportData, []byte, error)
ExecuteReportAsyncGetData Get result of ReportManager.ExecuteReportAsync operation. Gets result of asynchronous operation ReportManager.ExecuteReportAsync. If result is not ready pXmlData will be empty.
Deprecated: Use HTTP GET request instead, see ReportManager.ExecuteReportAsync
func (*ReportManager) GetAvailableDashboards ¶
func (rm *ReportManager) GetAvailableDashboards(ctx context.Context) (*PxgValArrayOfInt, []byte, error)
GetAvailableDashboards Enumerate available dashboards.
func (*ReportManager) GetConstantOutputForReportType ¶
func (rm *ReportManager) GetConstantOutputForReportType(ctx context.Context, lReportType, lXmlTargetType int64) (*PxgValStr, []byte, error)
GetConstantOutputForReportType Return XSLT transform for report type.
Returns XSLT transform as a string for specified report type.
func (*ReportManager) GetDefaultReportInfo ¶
func (rm *ReportManager) GetDefaultReportInfo(ctx context.Context, lReportType int64) ([]byte, error)
GetDefaultReportInfo Obtain default report info for specified report type.
Returns default report info for the specified report type.
func (*ReportManager) GetFilterSettings ¶
GetFilterSettings Get filter settings.
func (*ReportManager) GetReportCommonData ¶
GetReportCommonData Obtain report common data.
Returns common data for specified report.
func (*ReportManager) GetReportIds ¶
func (rm *ReportManager) GetReportIds(ctx context.Context) (*PxgValArrayOfInt, []byte, error)
GetReportIds Enumerate ids of existing reports.
Returns array of existing report ids.
func (*ReportManager) GetReportInfo ¶
GetReportInfo Obtain report info.
Returns report info for specified report.
func (*ReportManager) GetReportTypeDetailedInfo ¶
func (rm *ReportManager) GetReportTypeDetailedInfo(ctx context.Context, lReportType int64) ([]byte, error)
GetReportTypeDetailedInfo Obtain report type info.
Returns report info for specified report type.
func (*ReportManager) GetStatisticsData ¶
func (rm *ReportManager) GetStatisticsData(ctx context.Context, strRequestId string) ([]byte, error)
GetStatisticsData Gets result of asynchronous operation ReportManager.RequestStatisticsData, such as statistics, general statuses and dashboards data.
Deprecated: Since SC12 patch B
func (*ReportManager) RemoveReport ¶
RemoveReport Removes specified report
func (*ReportManager) RequestStatisticsData ¶
func (rm *ReportManager) RequestStatisticsData(ctx context.Context, params interface{}) (*RequestID, []byte, error)
RequestStatisticsData Request statistics, general statuses and dashboards. Asynchronously requests statistics, general statuses and dashboards data.
Deprecated: Since SC12 patch B, see ReportManager.CollectStatisticsAsync
func (*ReportManager) ResetStatisticsData ¶
func (rm *ReportManager) ResetStatisticsData(ctx context.Context, params interface{}) (*RequestID, []byte, error)
ResetStatisticsData Force reset of statistics data.
Force resets statistics data, for example, resets the status of "Virus attack" or "Failed to perform the administration server task" after acquaintance with the detailed information.
func (*ReportManager) UpdateReport ¶
func (rm *ReportManager) UpdateReport(ctx context.Context, params interface{}) ([]byte, error)
UpdateReport Updates info for existing report
type RequestID ¶
type RequestID struct {
StrRequestID string `json:"strRequestId,omitempty"`
}
RequestID struct
type RequiredPlugins ¶
type RequiredPlugins struct { Pxgretval []struct { Type string `json:"type"` Value struct { Nrequiredpluginversion struct { Type string `json:"type"` Value int64 `json:"value"` } `json:"nRequiredPluginVersion"` Wstrproductname string `json:"wstrProductName"` Wstrproductversion string `json:"wstrProductVersion"` } `json:"value"` } `json:"PxgRetVal"` }
type ResetIterForClusterParams ¶
type ResetIterForClusterParams struct { SzwClusterID string `json:"szwClusterId,omitempty"` SzwProductName string `json:"szwProductName,omitempty"` SzwVersion string `json:"szwVersion,omitempty"` SzwComponentName string `json:"szwComponentName,omitempty"` SzwInstanceID string `json:"szwInstanceId,omitempty"` SzwTaskName string `json:"szwTaskName,omitempty"` }
ResetIterForClusterParams struct
type RetrFiles ¶
type RetrFiles service
RetrFiles service provides means to get retranslated files info
func (*RetrFiles) GetInfo ¶
func (rf *RetrFiles) GetInfo(ctx context.Context, params FilesRequest) (*Retranslates, error)
GetInfo Synchronously requests information about some retranslated files.
type Retranslate ¶
type Retranslate struct { Type *string `json:"type,omitempty"` RetranslateValue *RetranslateValue `json:"value,omitempty"` }
type RetranslateValue ¶
type RetranslateValue struct {
RelativeSrvPath *string `json:"RelativeSrvPath,omitempty"`
}
type Retranslates ¶
type Retranslates struct { // Retranslate list of matched files data Retranslate [][]Retranslate `json:"PxgRetVal"` }
Retranslates found files info, correspondingly to incoming request-array, cell-by-cell
type RiTask ¶
type RiTask struct { WstrHostID string `json:"wstrHostID"` PData struct { Type string `json:"type"` Value struct { Type string `json:"type"` Value struct { KLRISRVRITASKID string `json:"KLRI_SRVRI_TASK_ID"` KLRISRVRIRESDESCR string `json:"KLRI_SRVRI_RES_DESCR"` KLRISRVRIRESCODE int `json:"KLRI_SRVRI_RES_CODE"` } `json:"value"` } `json:"value"` } `json:"pData"` }
type RoleValue ¶
type RoleValue struct { KlhstACLRoleBuiltIn *bool `json:"KLHST_ACL_ROLE_BUILT_IN,omitempty"` KlhstACLRoleDN *string `json:"KLHST_ACL_ROLE_DN,omitempty"` KlhstACLRoleID *int64 `json:"KLHST_ACL_ROLE_ID,omitempty"` KlhstACLRoleInherited *bool `json:"KLHST_ACL_ROLE_INHERITED,omitempty"` KlhstACLRoleName *string `json:"KLHST_ACL_ROLE_NAME,omitempty"` KlhstACLTrusteeID *int64 `json:"KLHST_ACL_TRUSTEE_ID,omitempty"` DN *string `json:"dn,omitempty"` ObjectGUID *string `json:"objectGUID,omitempty"` UserPrincipalName *string `json:"userPrincipalName,omitempty"` }
type RolesAttributes ¶
type RolesAttributes struct { RolesPChunk *RolesPChunk `json:"pChunk,omitempty"` PxgRetVal *int64 `json:"PxgRetVal,omitempty"` }
RolesAttributes to use in the HstAccessControl.FindRoles method.
type RolesIteratorArray ¶
type RolesPChunk ¶
type RolesPChunk struct {
RolesIteratorArray []RolesIteratorArray `json:"KLCSP_ITERATOR_ARRAY"`
}
type RulesOrderParams ¶
type RulesOrderParams struct { // PRules array of rule ids PRules []int64 `json:"pRules"` }
RulesOrderParams struct using in HostMoveRules.SetRulesOrder
type SQCParams ¶
type SQCParams struct { NRequestID int64 `json:"nRequestId,omitempty"` PRecipients []string `json:"pRecipients"` }
SQCParams struct
type SSCParams ¶
type SSCParams struct { KlsrvCertutilsCERTCommonName string `json:"KLSRV_CERTUTILS_CERT_COMMON_NAME"` KlsrvCertutilsCERTDNSNames string `json:"KLSRV_CERTUTILS_CERT_DNS_NAMES"` KlsrvCertutilsCERTLifeTime int64 `json:"KLSRV_CERTUTILS_CERT_LIFE_TIME"` KlsrvCertutilsCERTEkuServer bool `json:"KLSRV_CERTUTILS_CERT_EKU_SERVER"` KlsrvCertutilsCERTEkuClient bool `json:"KLSRV_CERTUTILS_CERT_EKU_CLIENT"` }
type SSCRetVal ¶
type SSCRetVal struct { KlsrvCertutilsCERTHash string `json:"KLSRV_CERTUTILS_CERT_HASH"` KlsrvCertutilsCERTPassword string `json:"KLSRV_CERTUTILS_CERT_PASSWORD"` KlsrvCertutilsCERTPrivatePart KlsrvCertutilsCERTPPart `json:"KLSRV_CERTUTILS_CERT_PRIVATE_PART"` KlsrvCertutilsCERTPublicPart KlsrvCertutilsCERTPPart `json:"KLSRV_CERTUTILS_CERT_PUBLIC_PART"` }
type SaasKeyPInData ¶
type SaasKeyPInData struct { //serial number of the license being checked, mandatory (paramString). //The license must be placed in the license store before installing (see InstallKey). KllicSerial string `json:"KLLIC_SERIAL,omitempty"` }
type SaasKeyParam ¶
type SaasKeyParam struct { //input data container, mandatory. SaasKeyPInData *SaasKeyPInData `json:"pInData,omitempty"` //true if license should be installed in place of active one, //false to install it as a reserved one. BAsCurrent bool `json:"bAsCurrent,omitempty"` }
SaasKeyParam struct using in LicenseKeys.SaasTryToInstall
type SaasKeyParam2 ¶
type SaasKeyParam2 struct { // SaasPKeyInfo License attribute container, mandatory. See List of license key attributes for attribute names. SaasPKeyInfo *SaasPKeyInfo `json:"pKeyInfo,omitempty"` // BAsCurrent true to check it as an active one, false to check it as a reserved one. BAsCurrent bool `json:"bAsCurrent,omitempty"` }
SaasKeyParam2 struct
type SaasPKeyInfo ¶
type SaasPKeyInfo struct { // KllicSerial License key serial number KllicSerial string `json:"KLLIC_SERIAL,omitempty"` }
type ScanDiapasons ¶
type ScanDiapasons service
ScanDiapasons Network subnets processing.
func (*ScanDiapasons) AddDiapason ¶
func (sd *ScanDiapasons) AddDiapason(ctx context.Context, params interface{}) ([]byte, error)
AddDiapason Adds new diapason with the specified attributes (see List of network diapason attributes). Error occurs if at least one of intervals/subnet intersects with any of existing intervals/subnets.
func (*ScanDiapasons) GetDiapason ¶
func (sd *ScanDiapasons) GetDiapason(ctx context.Context, params DiapasonParams) (*DiapasonAttributes, []byte, error)
GetDiapason Acquire specified diapason attributes.
Returns specified attributes of given diapason.
func (*ScanDiapasons) GetDiapasons ¶
func (sd *ScanDiapasons) GetDiapasons(ctx context.Context, params DiapasonsParams) (*PxgValStr, []byte, error)
GetDiapasons Enumerate existing diapasons.
func (*ScanDiapasons) NotifyDpnsTask ¶
func (sd *ScanDiapasons) NotifyDpnsTask(ctx context.Context) ([]byte, error)
NotifyDpnsTask Restart the task scanning IP diapasons.
func (*ScanDiapasons) RemoveDiapason ¶
RemoveDiapason Removes specified diapason.
func (*ScanDiapasons) UpdateDiapason ¶
func (sd *ScanDiapasons) UpdateDiapason(ctx context.Context, params UpdateDiapasonParams) (*UpdateDiapasonRespond, []byte, error)
UpdateDiapason Change one or more attributes of diapason.
Performs update of one or more attributes of diapason. If at least one of diapasons intersects with any of existing diapasons or is invalid then false is returned and such interval is added to "KLDPNS_ILS" array in ppInvalidIntervals.
type ScopeGroup ¶
type ScopeGroup struct { Type *string `json:"type,omitempty"` Value *ScopeGroupValue `json:"value,omitempty"` }
type ScopeGroupValue ¶
type SeamlessUpdatesTestApi
deprecated
type SeamlessUpdatesTestApi service
Deprecated: Obsolete, removed ??? SeamlessUpdatesTestApi ... ????
func (*SeamlessUpdatesTestApi) CleanupSeamlessUpdates ¶
func (suta *SeamlessUpdatesTestApi) CleanupSeamlessUpdates(ctx context.Context) (*LoggedInUsing2FA, error)
func (*SeamlessUpdatesTestApi) GetRequiredPlugins ¶
func (suta *SeamlessUpdatesTestApi) GetRequiredPlugins(ctx context.Context) (*RequiredPlugins, error)
func (*SeamlessUpdatesTestApi) GetVapmKlUpdatesToApprove ¶
func (suta *SeamlessUpdatesTestApi) GetVapmKlUpdatesToApprove(ctx context.Context) (*VapmKlUpdatesToApprove, error)
type SectionParams ¶
type SectionParams struct { //host name (unique server-generated string) StrHostName string `json:"strHostName,omitempty"` //type of storage (for example: "SS_SETTINGS") StrType string `json:"strType,omitempty"` //product name string, non-empty string, not longer than 31 character, and cannot contain characters /\:*?"<>. StrProduct string `json:"strProduct,omitempty"` //version string, non-empty string, not longer than 31 character, and cannot contain characters /\:*?"<>. StrVersion string `json:"strVersion,omitempty"` //section name string, non-empty string, not longer than 31 character, and cannot contain characters /\:*?"<>. StrSection string `json:"strSection,omitempty"` //write option, values: // 1 - "Update", updates existing variables in the specified section. If a variable does not exist an error occurs. // 2 - "Add", adds new variables to the specified section. If a variable already exists an error occurs. // 3 - "Replace", replaces variables in the specified section. If a variable already exists it will be updates, if a variable does not exist it will be added. // 4 - "Delete", deletes variables specified in pData from the specified section. // 7 - "Clear", replaces existing section contents with pData, i.e. existing section contents will deleted and variables from pData will be written to the section. NOption int64 `json:"nOption,omitempty"` PSettings interface{} `json:"pSettings,omitempty"` }
SectionParams struct using in HostGroup.SS_CreateSection | HostGroup.SS_DeleteSection
type SecurityGroupParams ¶
type SecurityGroupParams struct { // LVsID id of a virtual server, a value = 0 means main server. // It is ignored in case of connection to virtual server. LVsID int64 `json:"lVsId,omitempty"` PGrpParams PGrpParams `json:"pGrpParams,omitempty"` }
SecurityGroupParams struct
type SecurityPolicy ¶
type SecurityPolicy service
SecurityPolicy Allows to manage users and permissions.
func (*SecurityPolicy) AddUser ¶
func (sp *SecurityPolicy) AddUser(ctx context.Context, params PUserData) (*PxgValInt, []byte, error)
AddUser Add new user.
func (*SecurityPolicy) GetCurrentUserId ¶
GetCurrentUserId Acquire current internal user id.
func (*SecurityPolicy) GetCurrentUserId2 ¶
func (sp *SecurityPolicy) GetCurrentUserId2(ctx context.Context) (*UserInfoEx, []byte, error)
GetCurrentUserId2 Acquire current user id.
For internal user: lUserId > 0;
For non internal user: lUserId = -1; binSystemId - binary representation of user SID;
func (*SecurityPolicy) GetUsers ¶
func (sp *SecurityPolicy) GetUsers(ctx context.Context, lUserId, lVsId int64) (*UsersInfo, []byte, error)
GetUsers Acquire existing user properties.
Acquires properties of the specified user, or all users if lUserId==(-1);
func (*SecurityPolicy) LoadPerUserData ¶
func (sp *SecurityPolicy) LoadPerUserData(ctx context.Context) ([]byte, error)
LoadPerUserData Get current user personal data.
func (*SecurityPolicy) SavePerUserData ¶
func (sp *SecurityPolicy) SavePerUserData(ctx context.Context, params interface{}) ([]byte, error)
SavePerUserData Save or replace current user personal data.
func (*SecurityPolicy) UpdateTrustee ¶
func (sp *SecurityPolicy) UpdateTrustee(ctx context.Context, params TrusteeParam) ([]byte, error)
UpdateTrustee Modifies properties of the specified user (either internal user or user and group from Active Directory); for internal groups use SecurityPolicy3.UpdateSecurityGroup.
func (*SecurityPolicy) UpdateUser ¶
func (sp *SecurityPolicy) UpdateUser(ctx context.Context, lUserId int, params PUserData) (*PxgValInt, []byte, error)
UpdateUser Modify existing user properties.
Modifies properties of the specified user
type SecurityPolicy3 ¶
type SecurityPolicy3 service
SecurityPolicy3 Allows to manage security groups of internal users.
Use srvview SplUserGroupSrvViewName to get information about relationship between users and groups. To use this class, a caller must has 'Change security rights' permissions (access mask 0x400) in User Permissions functional area on Administration server.
func (*SecurityPolicy3) AddSecurityGroup ¶
func (sp *SecurityPolicy3) AddSecurityGroup(ctx context.Context, params SecurityGroupParams) (*PxgValInt, error)
AddSecurityGroup Creates a security group on a server. lVsId (int64) id of a virtual server, a value = 0 means main server.
It is ignored in case of connection to virtual server.
func (*SecurityPolicy3) AddUserIntoSecurityGroup ¶
func (sp *SecurityPolicy3) AddUserIntoSecurityGroup(ctx context.Context, lUserId, lGrpId int64) error
AddUserIntoSecurityGroup Adds user into a security group.
If a group or user does not exist a error occurs.
Connection to a virtual server has access only to groups and users which located on this virtual server.
A user located on a virtual server can be added only into a group located on this virtual server, otherwise a error occurs.
A user located on a main server can be added only into a group located on this main server, otherwise a error occurs.
func (*SecurityPolicy3) CloseUserConnections ¶
func (sp *SecurityPolicy3) CloseUserConnections(ctx context.Context, lUserId int64) error
CloseUserConnections Closes user connections.
func (*SecurityPolicy3) DeleteSecurityGroup ¶
func (sp *SecurityPolicy3) DeleteSecurityGroup(ctx context.Context, lGrpId int64) error
DeleteSecurityGroup Delete a security group.
Connection to a virtual server has access only to groups which located on this virtual server.
func (*SecurityPolicy3) DeleteUserFromSecurityGroup ¶
func (sp *SecurityPolicy3) DeleteUserFromSecurityGroup(ctx context.Context, lUserId, lGrpId int64) error
DeleteUserFromSecurityGroup Removes user from a security group.
Connection to a virtual server has access only to groups and users which located on this virtual server.
func (*SecurityPolicy3) MoveUserIntoOtherSecurityGroup ¶
func (sp *SecurityPolicy3) MoveUserIntoOtherSecurityGroup(ctx context.Context, lUserId, lGrpIdFrom, lGrpIdTo int64) error
MoveUserIntoOtherSecurityGroup Moves user from one security group into other security group.
func (*SecurityPolicy3) UpdateSecurityGroup ¶
func (sp *SecurityPolicy3) UpdateSecurityGroup(ctx context.Context, params UpdateSecurityGroupParams) error
UpdateSecurityGroup Security group update. If a group does not exist a error occurs. Connection to a virtual server has access only to groups which located on this virtual server.
type SelfSignedCERTParams ¶
type SelfSignedCERTParams struct {
PParams SSCParams `json:"pParams"`
}
type SelfSignedCERTResponse ¶
type SelfSignedCERTResponse struct {
PxgRetVal SSCRetVal `json:"PxgRetVal"`
}
type ServerHierarchy ¶
type ServerHierarchy service
ServerHierarchy Server hierarchy management service.
func (*ServerHierarchy) DelServer ¶
DelServer Remove specified slave server.
This action only removes slave server registration info from master server. To remove master server settings from slave server use HostGroup.SSWrite to overwrite master server connection settings section and set "KLSRV_MASTER_SRV_USE" to false.
func (*ServerHierarchy) FindSlaveServers ¶
func (sh *ServerHierarchy) FindSlaveServers(ctx context.Context, params PFindParams) ([]byte, error)
FindSlaveServers Searches for slave servers meeting specified criteria.
func (*ServerHierarchy) GetChildServers ¶
GetChildServers Enumerate slave servers for specified group.
func (*ServerHierarchy) GetServerInfo ¶
func (sh *ServerHierarchy) GetServerInfo(ctx context.Context, params ServerHierarchyParams) ([]byte, error)
GetServerInfo Acquire specified slave server attributes.
type ServerHierarchyParams ¶
type ServerHierarchyParams struct { LServer int `json:"lServer"` // PFields attributes to return. See list of slave server attributes for attributes list and description // // "KLSRVH_SRV_ID" Slave server id // // "KLSRVH_SRV_INST_ID" Slave server instance id // // "KLSRVH_SRV_ADDR" Slave server address and port // // "KLSRVH_SRV_DN" Display name // // "KLSRVH_SRV_GROUPID" Id of administration group where the slave server is located // // "KLSRVH_SRV_CERTIFICATE" Slave server certificate. // // "KLSRVH_SRV_PUBLIC_KEY_HASH" Slave server certificate MD5-hash // // "KLSRVH_SRV_STATUS" Slave server status: 0 means "Inactive", 1 means "Active". // // "KLSRVH_SRV_VERSION" Slave server version // // "KLSRVH_SRV_PASSIVE" Flag set if the slave is passive (does not connect to server, but accepts master connections instead) // // "KLSRVH_SRV_LAST_CONNECTED" Time when server was available last time // // "KLSRVH_SRV_MASTER_ADDR" Master server connection address, valid for non-passive slaves // // "KLSRVH_SRV_HOST_GUID" Slave server host identity PFields []string `json:"pFields"` }
type ServerInstanceStatistics ¶
type ServerInstanceStatistics struct { PxgRetVal struct { KLASYNCACTCOUNTERS struct { Type string `json:"type"` Value struct { KLASYNCACTACTIONCOUNT int `json:"KLASYNCACT_ACTION_COUNT"` KLASYNCACTCHECKLIMITVIOLATIONCOUNT int `json:"KLASYNCACT_CHECK_LIMIT_VIOLATION_COUNT"` KLASYNCACTCONNECTIONCOUNT int `json:"KLASYNCACT_CONNECTION_COUNT"` KLASYNCACTDURATIONMSEC struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLASYNCACT_DURATION_MSEC"` KLASYNCACTFINALIZEDACTIONCOUNT int `json:"KLASYNCACT_FINALIZED_ACTION_COUNT"` KLASYNCACTFINALIZEDACTIONVIOLATIONCOUNT int `json:"KLASYNCACT_FINALIZED_ACTION_VIOLATION_COUNT"` } `json:"value"` } `json:"KLASYNCACT_COUNTERS"` KLFTSSTGETCHUNKREQUESTSREJECTED struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLFTS_ST_GET_CHUNK_REQUESTS_REJECTED"` KLFTSSTGETCHUNKREQUESTSTOTAL struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLFTS_ST_GET_CHUNK_REQUESTS_TOTAL"` KLFTSSTTRANSMITTEDSIZE struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLFTS_ST_TRANSMITTED_SIZE"` KLSRVSTADSCANPERCENT int `json:"KLSRV_ST_AD_SCAN_PERCENT"` KLSRVSTALLCONSCNT int `json:"KLSRV_ST_ALL_CONS_CNT"` KLSRVSTCONEVENTS struct { Type string `json:"type"` Value struct { KLSRVSTCONEVLOSTEVENTSCOUNT int `json:"KLSRV_ST_CON_EV_LOST_EVENTS_COUNT"` KLSRVSTCONEVSESSIONCOUNT int `json:"KLSRV_ST_CON_EV_SESSION_COUNT"` KLSRVSTCONEVSUBSCOUNT int `json:"KLSRV_ST_CON_EV_SUBS_COUNT"` KLSRVSTCONEVUNAVAILRETRCOUNT int `json:"KLSRV_ST_CON_EV_UNAVAIL_RETR_COUNT"` KLSRVSTCONEVUNSUBSRETRCOUNT int `json:"KLSRV_ST_CON_EV_UNSUBS_RETR_COUNT"` } `json:"value"` } `json:"KLSRV_ST_CON_EVENTS"` KLSRVSTCPUKERNEL struct { Type string `json:"type"` Value float64 `json:"value"` } `json:"KLSRV_ST_CPU_KERNEL"` KLSRVSTCPUUSER struct { Type string `json:"type"` Value float64 `json:"value"` } `json:"KLSRV_ST_CPU_USER"` KLSRVSTCTLNGTCONSCNT int `json:"KLSRV_ST_CTLNGT_CONS_CNT"` KLSRVSTDPNSSCANPERCENT int `json:"KLSRV_ST_DPNS_SCAN_PERCENT"` KLSRVSTEVENTBULKSCNT int `json:"KLSRV_ST_EVENTBULKS_CNT"` KLSRVSTEVENTBULKSERRORCNT int `json:"KLSRV_ST_EVENTBULKS_ERROR_CNT"` KLSRVSTEVENTBULKSJNCNT int `json:"KLSRV_ST_EVENTBULKS_JN_CNT"` KLSRVSTEVENTBULKSREJECTEDCNT int `json:"KLSRV_ST_EVENTBULKS_REJECTED_CNT"` KLSRVSTEVENTSCNT int `json:"KLSRV_ST_EVENTS_CNT"` KLSRVSTEVENTSERRORCNT int `json:"KLSRV_ST_EVENTS_ERROR_CNT"` KLSRVSTEVENTSJNCNT int `json:"KLSRV_ST_EVENTS_JN_CNT"` KLSRVSTEVENTSREJECTEDCNT int `json:"KLSRV_ST_EVENTS_REJECTED_CNT"` KLSRVSTFULLSCANPERCENT int `json:"KLSRV_ST_FULL_SCAN_PERCENT"` KLSRVSTGUICALLSCNT int `json:"KLSRV_ST_GUI_CALLS_CNT"` KLSRVSTLASTADSCANTIME struct { Type string `json:"type"` Value string `json:"value"` } `json:"KLSRV_ST_LAST_ADSCAN_TIME"` KLSRVSTLASTDPNSSCANTIME struct { Type string `json:"type"` Value string `json:"value"` } `json:"KLSRV_ST_LAST_DPNSSCAN_TIME"` KLSRVSTLASTFASTNETSCANTIME struct { Type string `json:"type"` Value string `json:"value"` } `json:"KLSRV_ST_LAST_FASTNETSCAN_TIME"` KLSRVSTLASTFULLNETSCANTIME struct { Type string `json:"type"` Value string `json:"value"` } `json:"KLSRV_ST_LAST_FULLNETSCAN_TIME"` KLSRVSTNAGCONSCNT int `json:"KLSRV_ST_NAG_CONS_CNT"` KLSRVSTNETWORKDOMAINSCANNED string `json:"KLSRV_ST_NETWORK_DOMAIN_SCANNED"` KLSRVSTNETWORKSCANNED bool `json:"KLSRV_ST_NETWORK_SCANNED"` KLSRVSTNETWORKSCANPERCENT int `json:"KLSRV_ST_NETWORK_SCAN_PERCENT"` KLSRVSTPINGCNT int `json:"KLSRV_ST_PING_CNT"` KLSRVSTPINGERRORCNT int `json:"KLSRV_ST_PING_ERROR_CNT"` KLSRVSTPINGJNCNT int `json:"KLSRV_ST_PING_JN_CNT"` KLSRVSTPINGREJECTEDCNT int `json:"KLSRV_ST_PING_REJECTED_CNT"` KLSRVSTSYNCCNT int `json:"KLSRV_ST_SYNC_CNT"` KLSRVSTSYNCJNCNT int `json:"KLSRV_ST_SYNC_JN_CNT"` KLSRVSTSYNCQUEUESIZE int `json:"KLSRV_ST_SYNC_QUEUE_SIZE"` KLSRVSTSYNCREALCNT int `json:"KLSRV_ST_SYNC_REAL_CNT"` KLSRVSTSYNCSUCCNT int `json:"KLSRV_ST_SYNC_SUC_CNT"` KLTRSTACCEPTSFAILED struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLTR_ST_ACCEPTS_FAILED"` KLTRSTACCEPTSTOTAL struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLTR_ST_ACCEPTS_TOTAL"` KLTRSTRECEIVEDBYTES struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLTR_ST_RECEIVED_BYTES"` KLTRSTSENTBYTES struct { Type string `json:"type"` Value int `json:"value"` } `json:"KLTR_ST_SENT_BYTES"` } `json:"PxgRetVal"` }
type ServerStaticInfo ¶
type ServerStaticInfo struct { PxgRetVal struct { KLADMSRVB2BCLOUDMODE bool `json:"KLADMSRV_B2B_CLOUD_MODE"` KLADMSRVEVEVSIZE struct { Type string `json:"type"` Value float64 `json:"value"` } `json:"KLADMSRV_EV_EV_SIZE"` KLADMSRVFORCESYNCSUPPORTED bool `json:"KLADMSRV_FORCE_SYNC_SUPPORTED"` KLADMSRVGRPROOT int `json:"KLADMSRV_GRP_ROOT"` KLADMSRVGRPSUPER int `json:"KLADMSRV_GRP_SUPER"` KLADMSRVGRPUNASSIGNED int `json:"KLADMSRV_GRP_UNASSIGNED"` KLADMSRVHOSTEDTYPE int `json:"KLADMSRV_HOSTED_TYPE"` KLADMSRVISVIRTUAL bool `json:"KLADMSRV_IS_VIRTUAL"` KLADMSRVKSCMODE int `json:"KLADMSRV_KSC_MODE"` KLADMSRVLINUXEDITION bool `json:"KLADMSRV_LINUX_EDITION"` KLADMSRVMAINTENANCESUPPORTED bool `json:"KLADMSRV_MAINTENANCE_SUPPORTED"` KLADMSRVNAGENTRUNNING bool `json:"KLADMSRV_NAGENT_RUNNING"` KLADMSRVNEEDUNCPATH bool `json:"KLADMSRV_NEED_UNC_PATH"` KLADMSRVPCLOUDMODE bool `json:"KLADMSRV_PCLOUD_MODE"` KLADMSRVPRODUCTFULLVERSION string `json:"KLADMSRV_PRODUCT_FULL_VERSION"` KLADMSRVPRODUCTNAME string `json:"KLADMSRV_PRODUCT_NAME"` KLADMSRVPRODUCTVERSION string `json:"KLADMSRV_PRODUCT_VERSION"` KLADMSRVSERVERHOSTNAME string `json:"KLADMSRV_SERVER_HOSTNAME"` KLADMSRVSERVERVERSIONID int `json:"KLADMSRV_SERVER_VERSION_ID"` KLADMSRVSPLPPCENABLED bool `json:"KLADMSRV_SPL_PPC_ENABLED"` KLADMSRVUSERID int `json:"KLADMSRV_USERID"` KLADMSRVVSID int `json:"KLADMSRV_VSID"` KLADMSRVVSUID string `json:"KLADMSRV_VSUID"` KLSRVNETSIZE int `json:"KLSRV_NETSIZE"` } `json:"PxgRetVal"` }
type ServerTransportSettings ¶
type ServerTransportSettings service
ServerTransportSettings Server transport settings proxy class.
func (*ServerTransportSettings) CheckDefaultCertificateExists ¶
func (sts *ServerTransportSettings) CheckDefaultCertificateExists(ctx context.Context, szwCertType string) (*PxgValBool, []byte, error)
CheckDefaultCertificateExists It checks if default certificate exists.
func (*ServerTransportSettings) GetCurrentConnectionSettings ¶
func (sts *ServerTransportSettings) GetCurrentConnectionSettings(ctx context.Context, szwCertType string) (*CurrentConnectionSettings, []byte, error)
GetCurrentConnectionSettings Returns current connection settings.
func (*ServerTransportSettings) GetCustomSrvCertificateInfo ¶
func (sts *ServerTransportSettings) GetCustomSrvCertificateInfo(ctx context.Context, szwCertType string) ([]byte, error)
GetCustomSrvCertificateInfo Returns information about custom certificate.
func (*ServerTransportSettings) GetDefaultConnectionSettings ¶
func (sts *ServerTransportSettings) GetDefaultConnectionSettings(ctx context.Context, szwCertType string) (*CurrentConnectionSettings, []byte, error)
GetDefaultConnectionSettings Returns default connection settings.
func (*ServerTransportSettings) GetNumberOfManagedDevicesAgentless ¶
func (sts *ServerTransportSettings) GetNumberOfManagedDevicesAgentless(ctx context.Context) (*PxgValInt, []byte, error)
GetNumberOfManagedDevicesAgentless Returns number of agentless managed devices.
Note: It can be called from main server only !
func (*ServerTransportSettings) GetNumberOfManagedDevicesKSM ¶
func (sts *ServerTransportSettings) GetNumberOfManagedDevicesKSM(ctx context.Context) (*PxgValInt, []byte, error)
GetNumberOfManagedDevicesKSM Returns number of managed devices for KSM (Kaspersky for Mobile).
Note: It can be called from main server only !
func (*ServerTransportSettings) IsFeatureActive ¶
func (sts *ServerTransportSettings) IsFeatureActive(ctx context.Context, szwCertType string) (*PxgValBool, []byte, error)
IsFeatureActive Checks if feature is activated and certificate can be changed to some custom value.
func (*ServerTransportSettings) ResetCstmReserveCertificate ¶
func (sts *ServerTransportSettings) ResetCstmReserveCertificate(ctx context.Context, szwCertType string) ([]byte, error)
ResetCstmReserveCertificate Resets custom reserve certificate.
func (*ServerTransportSettings) ResetDefaultReserveCertificate ¶
func (sts *ServerTransportSettings) ResetDefaultReserveCertificate(ctx context.Context, szwCertType string) ([]byte, error)
ResetDefaultReserveCertificate Resets default reserve certificate.
func (*ServerTransportSettings) SetCustomSrvCertificate ¶
func (sts *ServerTransportSettings) SetCustomSrvCertificate(ctx context.Context, params interface{}) ([]byte, error)
SetCustomSrvCertificate Sets custom certificate for one of SC Server's SSL listener.
func (*ServerTransportSettings) SetFeatureActive ¶
func (sts *ServerTransportSettings) SetFeatureActive(ctx context.Context, szwCertType string, bFeatureActive bool) (*PxgValBool, []byte, error)
SetFeatureActive Sets feature active.
func (*ServerTransportSettings) SetOrCreateDefaultCertificate ¶
func (sts *ServerTransportSettings) SetOrCreateDefaultCertificate(ctx context.Context, params interface{}) ([]byte, error)
SetOrCreateDefaultCertificate. It sets or recreates default certificate.
type ServiceAccount ¶
type ServiceAccount struct {
PAccount *PAccount `json:"pAccount,omitempty"`
}
type ServiceNwcCommandProvider ¶
type ServiceNwcCommandProvider service
ServiceNwcCommandProvider Service console command provider.
func (*ServiceNwcCommandProvider) GetCommandPayload ¶
func (srn *ServiceNwcCommandProvider) GetCommandPayload(ctx context.Context, wstrCommandId string) error
GetCommandPayload Get command payload.
type ServiceNwcDeployment ¶
type ServiceNwcDeployment service
ServiceNwcDeployment Service NWC Deployment.
func (*ServiceNwcDeployment) CreateServiceAccount ¶
func (snd *ServiceNwcDeployment) CreateServiceAccount(ctx context.Context) (*ServiceAccount, error)
CreateServiceAccount Create NWC Service Account.
type Session ¶
type Session service
Session management service.
func (*Session) CreateBlob ¶
CreateBlob Create blob with connection parameters for the klsctunnel utility, including target address and one-time authentication token. See Tunnels creation
func (*Session) CreateToken ¶
CreateToken Creates session token.
Creates session token for current security context.
Those token can be used for logon purposes to Administaration Server for a short time (3 minutes by default).
func (*Session) EndSession ¶
EndSession Terminate authentication session. After this call all requests within session will fail with 403 Forbidden status.
If current session is bount do a gateway connection, such connection will be closed.
Session id to terminate is passed in "X-KSC-Session" header.
type SessionHandle ¶
type SessionHandle struct {
PSharingHandle PSharingHandle `json:"PxgRetVal"`
}
SessionHandle struct using in
type SessionValue ¶
type SessionValue struct { KlnagRscrSessionDN string `json:"KLNAG_RSCR_SESSION_DN"` KlnagRscrSessionID string `json:"KLNAG_RSCR_SESSION_ID"` }
SessionValue struct
type SharingHandle ¶
type SharingHandle struct { //PSharingHandle value of the sharing handle returned by OpenSession PSharingHandle PSharingHandle `json:"pSharingHandle"` }
SharingHandle struct using in NagRemoteScreen.CloseSession
type SiemExport ¶
type SiemExport service
SiemExport is SIEM control interface
func (*SiemExport) GetAdfsEnabled ¶
func (se *SiemExport) GetAdfsEnabled(ctx context.Context) ([]byte, error)
GetAdfsEnabled SIEM export settings.
type SmsQueue ¶
type SmsQueue service
SmsQueue service to manage SMS message queue.
type SmsSenders ¶
type SmsSenders service
SmsSenders service provide to configure mobile devices as SMS senders.
func (*SmsSenders) AllowSenders ¶
func (ss *SmsSenders) AllowSenders(ctx context.Context, params PNewStatuses) ([]byte, error)
AllowSenders change bMayUseSmsSending parameter for mobile devices
func (*SmsSenders) HasAllowedSenders ¶
func (ss *SmsSenders) HasAllowedSenders(ctx context.Context) (*PxgValBool, []byte, error)
HasAllowedSenders checks if there is a device allowed to send SMS
type SpamEvents ¶
type SpamEvents service
SpamEvents Service for reading and editing of SPAM-events list. Works in the context of a virtual server.
func (*SpamEvents) GetSpamList ¶
func (se *SpamEvents) GetSpamList(ctx context.Context) error
GetSpamList Return array of SPAM events
type SrvCloud ¶
type SrvCloud service
SrvCloud service to acquire info about public clouds.
func (*SrvCloud) GetCloudHostInfo ¶
func (sc *SrvCloud) GetCloudHostInfo(ctx context.Context, params CloudHostInfoParams) ([]byte, error)
GetCloudHostInfo Returns properties of the cloud host.
type SrvCloudStat ¶
type SrvCloudStat service
SrvCloudStat Service for working with statistics of using clouds.
func (*SrvCloudStat) CloudWizardCompleted ¶
func (scs *SrvCloudStat) CloudWizardCompleted(ctx context.Context, bErrorHappen bool) error
CloudWizardCompleted Notify that the Cloud Wizard has been completed. Method shouldn't be called if user cancelled the wizard.
func (*SrvCloudStat) CloudWizardStarted ¶
func (scs *SrvCloudStat) CloudWizardStarted(ctx context.Context) error
CloudWizardStarted Notify that the Cloud Wizard has been started.
type SrvIpmNewsAndStatistics ¶
type SrvIpmNewsAndStatistics service
SrvIpmNewsAndStatistics In-product marketing support interface
func (*SrvIpmNewsAndStatistics) GetTrackingData ¶
func (sins *SrvIpmNewsAndStatistics) GetTrackingData(ctx context.Context, params Parameters) (*TrackingData, error)
GetTrackingData Gets TrackingData for specified content.
func (*SrvIpmNewsAndStatistics) SendStatistics ¶
func (sins *SrvIpmNewsAndStatistics) SendStatistics(ctx context.Context, params Parameters) error
SendStatistics Send IPM statistics.
type SrvRi ¶
type SrvRi service
SrvRi "Remote installation" task results
func (*SrvRi) SetRebootConfirmedHosts ¶
func (*SrvRi) SetRiTaskResults ¶
SetRiTaskResults Send to server "Remote installation" task results. This method is only for Network Agents.
func (*SrvRi) ShouldForceReboot ¶
func (sr *SrvRi) ShouldForceReboot(ctx context.Context, wstrHostID, wstrTaskID string) (*PxgValBool, error)
ShouldForceReboot Check if the administrator has started a forced reboot of the host. This method is only for Network Agents.
type SrvSsRevision ¶
type SrvSsRevision service
SrvSsRevision service provide access to virtual server settings storage revisions.
func (*SrvSsRevision) SsRevisionClose ¶
SsRevisionClose Close settings storage opened by SrvSsRevision.SsRevisionOpen
func (*SrvSsRevision) SsRevisionGetNames ¶
func (*SrvSsRevision) SsRevisionOpen ¶
func (ssr *SrvSsRevision) SsRevisionOpen(ctx context.Context, nVServer, nRevision int64, szwType string) ([]byte, error)
SsRevisionOpen Open specified version of virtual server settings storage.
type SrvView ¶
type SrvView service
SrvView service to get plain-queries from SC-server.
func (*SrvView) GetRecordCount ¶
func (sv *SrvView) GetRecordCount(ctx context.Context, wstrIteratorId string) (*PxgValInt, []byte, error)
GetRecordCount Acquire count of result-set elements.
Returns number of elements contained in the specified result-set.
func (*SrvView) GetRecordRange ¶
func (sv *SrvView) GetRecordRange(ctx context.Context, params *RecordRangeParams, out interface{}) ([]byte, error)
GetRecordRange Acquire subset of result-set elements by range.
Returns elements contained in the specified result-set in the diapason from position nStart to position nEnd.
func (*SrvView) ReleaseIterator ¶
ReleaseIterator Releases the specified result-set and frees associated memory
func (*SrvView) ResetIterator ¶
func (sv *SrvView) ResetIterator(ctx context.Context, params *SrvViewParams) (*WstrIteratorID, []byte, error)
ResetIterator Find srvview data by filter string.
Finds data records for srvview wstrViewName that satisfy conditions from filter string wstrFilter, and creates a server-side collection of found data records.
Parameters: Example: { "wstrViewName":"HWInvStorageSrvViewName", "wstrFilter":"(&(MotherBoard=\"*\"))", "vecFieldsToReturn":["Id","Type","CPU"], "vecFieldsToOrder":null, "pParams":null, "lifetimeSec":7200 }
The result-set is destroyed and associated memory is freed in following cases: Passed lifetimeSec seconds after last access to the result-set (by methods GetRecordCount and GetRecordRange). Session to the Administration Server has been closed. ReleaseIterator has been called.
type SrvViewParams ¶
type SrvViewParams struct { // WstrViewName name of srvview see List of supported srvviews. WstrViewName string `json:"wstrViewName"` // WstrFilter filter string, contains a condition over srvview attributes, see also Search filter syntax. WstrFilter string `json:"wstrFilter"` // VecFieldsToReturn array of srvview attribute names to return. VecFieldsToReturn []string `json:"vecFieldsToReturn"` // VecFieldsToOrder array of containers each of them containing two attributes: // - "Name" (paramString) name of attribute used for sorting // - "Asc" (paramBool) ascending if true descending otherwise VecFieldsToOrder []FieldsToOrder `json:"vecFieldsToOrder"` // PParams extra options. This parameter can contain additional options to configure query. //Some options are specific to the wstrViewName and are part of it specification. //And some options are common for all srvviews. List of common options: //"TOP_N" (int64) acquire only first N records PParams *ESrvViewParams `json:"pParams"` // LifetimeSEC max result-set lifetime in seconds LifetimeSEC int64 `json:"lifetimeSec"` }
SrvViewParams struct
type SsContent ¶
type SsContent struct { // WstrID identifier of opened SsContents WstrID string `json:"wstrID"` // WstrProduct product name string, non-empty string, not longer than 31 character, //and cannot contain characters /\:*?"<>. WstrProduct string `json:"wstrProduct"` // WstrVersion version string, non-empty string, not longer than 31 character, //and cannot contain characters /\:*?"<>. WstrVersion string `json:"wstrVersion"` // WstrSection section name string, non-empty string, not longer than 31 character, //and cannot contain characters /\:*?"<>. WstrSection string `json:"wstrSection"` // PNewData new data to write PNewData interface{} `json:"pNewData"` }
SsContent struct
type SsContentD ¶
type SsContentD struct { // WstrID identifier of opened SsContents WstrID string `json:"wstrID"` // WstrProduct product name string, non-empty string, not longer than 31 character, //and cannot contain characters /\:*?"<>. WstrProduct string `json:"wstrProduct"` // WstrVersion version string, non-empty string, not longer than 31 character, //and cannot contain characters /\:*?"<>. WstrVersion string `json:"wstrVersion,omitempty"` // WstrSection section name string, non-empty string, not longer than 31 character, //and cannot contain characters /\:*?"<>. WstrSection string `json:"wstrSection,omitempty"` // PData data PData interface{} `json:"pData,omitempty"` }
SsContentD struct
type SsContents ¶
type SsContents service
SsContents service provide access to settings storage.
func (*SsContents) SSGetNames ¶
func (sc *SsContents) SSGetNames(ctx context.Context, params SsContentD) (*PxgValArrayOfString, []byte, error)
SSGetNames Enumerate contents of settings storage
Retrieves list of sections.
func (*SsContents) SsAdd ¶
SsAdd Add new data to settings storage. Adds new variables to the specified section.
Changes are not saved until method SsApply is called. Unsaved data is not available by methods SsRead and SSGetNames.
func (*SsContents) SsApply ¶
SsApply Saves changes made by methods: SsUpdate, SsAdd, SsReplace, SsClear, SsDelete, SsCreateSection, SsDeleteSection
func (*SsContents) SsClear ¶
SsClear Clear and write data in settings storage.
Replaces existing section contents with pData, i.e. existing section contents will deleted and variables from pData will be written to the section. Changes are not saved until method SsApply is called. Unsaved data is not available by methods SsRead and SSGetNames.
func (*SsContents) SsCreateSection ¶
func (sc *SsContents) SsCreateSection(ctx context.Context, params SsContentD) ([]byte, error)
SsCreateSection Create section in settings storage.
Creates empty section in settings storage Changes are not saved until method SsApply is called. Unsaved data is not available by methods SsRead and SSGetNames.
func (*SsContents) SsDelete ¶
func (sc *SsContents) SsDelete(ctx context.Context, params SsContentD) ([]byte, error)
SsDelete Delete data from settings storage.
Deletes variables specified in pData from the specified section. Changes are not saved until method SsApply is called. Unsaved data is not available by methods SsRead and SSGetNames.
func (*SsContents) SsDeleteSection ¶
func (sc *SsContents) SsDeleteSection(ctx context.Context, params SsContentD) ([]byte, error)
SsDeleteSection Delete section from settings storage.
Deletes section with all contents from settings storage. Changes are not saved until method SsApply is called. Unsaved data is not available by methods SsRead and SSGetNames.
func (*SsContents) SsRead ¶
func (sc *SsContents) SsRead(ctx context.Context, params SsContentD, v interface{}) ([]byte, error)
SsRead Reads saved data from the specified section of settings storage.
func (*SsContents) SsRelease ¶
SsRelease Closes opened SsContents and releases associated server resources.
After calling this method wstrID is not longer valid.
func (*SsContents) SsReplace ¶
SsReplace Replaces variables in the specified section.
If a variable already exists it will be updated, if a variable does not exist it will be added. Changes are not saved until method Ss_Apply is called. Unsaved data is not available by methods SsRead and SSGetNames.
type SsRevisionGetNames ¶
type SsRevisionGetNames service
SsRevisionGetNames Product backend integration.
This interface allows to set up and remove integration with backend product. Product backend integration is virtual server specific. If integration is done on main server, then it applies to all virtual servers except ones with their own integration. Service console must be deployed before this interface can be used. When product integration is set, KSC server automatically refreshes integration token until integration is removed.
func (*SsRevisionGetNames) DeleteIntegrationToken ¶
func (srn *SsRevisionGetNames) DeleteIntegrationToken(ctx context.Context, wstrProdName, wstrProdVersion string) error
DeleteIntegrationToken Remove integration with product backend.
Before removing integration KSC server calls backend command to delete all user tokens issued within this integration.
func (*SsRevisionGetNames) SetIntegrationToken ¶
func (srn *SsRevisionGetNames) SetIntegrationToken(ctx context.Context, params IntegrationToken) ([]byte, error)
SetIntegrationToken Set up integration with product backend.
type StaticInfoParams ¶
type StaticInfoParams struct {
PValues []string `json:"pValues"`
}
StaticInfoParams struct
type StorageSetData ¶
type StorageSetData struct { WstrAsyncID string `json:"wstrAsyncId,omitempty"` PChunk *string `json:"pChunk,omitempty"` }
StorageSetData struct
type StrHostIteratorId ¶
type StrHostIteratorId struct {
StrHostIteratorId string `json:"strHostIteratorId"`
}
type StrIteratorId ¶
type StrIteratorId struct {
StrIteratorID string `json:"strIteratorId"`
}
type SubGroup ¶
type SubGroup struct { Type *string `json:"type,omitempty"` Value *SubGroupValue `json:"value,omitempty"` }
type SubGroupValue ¶
type SubnetMasks ¶
type SubnetMasks service
SubnetMasks Subnets provider.
func (*SubnetMasks) CreateSubnet ¶
func (sm *SubnetMasks) CreateSubnet(ctx context.Context, params PSubnetSettings) ([]byte, error)
CreateSubnet for current server with specific parameters
func (*SubnetMasks) DeleteSubnet ¶
DeleteSubnet Remove existing subnet
func (*SubnetMasks) ModifySubnet ¶
func (sm *SubnetMasks) ModifySubnet(ctx context.Context, params PSubnetUpdateSettings) ([]byte, error)
ModifySubnet Modify existing subnet parameters
type SubscribeEventResponse ¶
type SubscribeEventResponse struct { NPeriod int64 `json:"nPeriod"` PxgRetVal int64 `json:"PxgRetVal"` }
SubscribeEventResponse struct
type SupportedLcids ¶
type SupportedLcids struct { // PLcids array of Lcids PLcids []int64 `json:"pLcids"` }
SupportedLcids contains Lcids ids array
type SyncInfo ¶
type SyncInfo struct { GsynCntFailed int64 `json:"gsyn_cnt_Failed,omitempty"` GsynCntFinished int64 `json:"gsyn_cnt_Finished,omitempty"` GsynCntRunning int64 `json:"gsyn_cnt_Running,omitempty"` GsynCntScheduled int64 `json:"gsyn_cnt_Scheduled,omitempty"` GsynCntFullCount int64 `json:"gsyn_cnt_FullCount,omitempty"` }
type TASKINFOPARAMSValue ¶
type TASKINFOPARAMSValue struct { DisplayName string `json:"DisplayName,omitempty"` KlevpNotificationDescrID string `json:"KLEVP_NOTIFICATION_DESCR_ID,omitempty"` KlhstWksCtype int64 `json:"KLHST_WKS_CTYPE,omitempty"` KLPRSSEVPNotifications *KLPRSSEVPNotifications `json:"KLPRSS_EVPNotifications,omitempty"` KlsrvPrtsTaskEnabledFlag bool `json:"KLSRV_PRTS_TASK_ENABLED_FLAG,omitempty"` KltskAllowAutoRandomization bool `json:"KLTSK_ALLOW_AUTO_RANDOMIZATION,omitempty"` NhTaskCreatedByQsw bool `json:"NH_TASK_CREATED_BY_QSW,omitempty"` PrtsExceptGroupids []interface{} `json:"PRTS_EXCEPT_GROUPIDS"` PrtsTaskCreationDate *TaskschFirstExecutionTime `json:"PRTS_TASK_CREATION_DATE,omitempty"` PrtsTaskEnabled bool `json:"PRTS_TASK_ENABLED,omitempty"` PrtsTaskGroupid int64 `json:"PRTS_TASK_GROUPID,omitempty"` PrtsTaskGroupname string `json:"PRTS_TASK_GROUPNAME,omitempty"` KlprtsDontApplyToSlaveServers bool `json:"klprts-DontApplyToSlaveServers,omitempty"` KlprtsTaskScheduleSubtype int64 `json:"klprts-TaskScheduleSubtype,omitempty"` }
type TOTPSettings ¶
type TOTPSettings struct { PSettings struct { TotpIssuer string `json:"TotpIssuer"` } `json:"pSettings"` }
type TRParams ¶
type TRParams struct { // NID id of trustee\role NID int64 `json:"nId,omitempty"` // PFieldsToReturn array of strings with attribute names PFieldsToReturn []string `json:"pFieldsToReturn"` }
TrusteeParams struct using in HstAccessControl.GetTrustee
type Task ¶
type Task struct { DisplayName string `json:"DisplayName"` PrtsTaskCreationDate PrtsTaskCreationDate `json:"PRTS_TASK_CREATION_DATE"` TaskidProductName string `json:"TASKID_PRODUCT_NAME"` TaskidVersion string `json:"TASKID_VERSION"` TaskName string `json:"TASK_NAME"` TaskUniqueID string `json:"TASK_UNIQUE_ID"` }
Task struct
type TaskAdditionalParams ¶
type TaskAdditionalParams struct { Type string `json:"type,omitempty"` Value *TASKADDITIONALPARAMSValue `json:"value,omitempty"` }
type TaskDescribe ¶
type TaskDescribe struct {
TaskValue *TaskValue `json:"PxgRetVal,omitempty"`
}
TaskDescribe struct
type TaskHistoryParams ¶
type TaskHistoryParams struct { StrTask string `json:"strTask"` PFields2Return []string `json:"pFields2Return"` PSortFields []FieldsToOrder `json:"pSortFields"` StrHostName string `json:"strHostName"` PFilter interface{} `json:"pFilter"` }
TaskHistoryParams struct
type TaskInfoParams ¶
type TaskInfoParams struct { Type string `json:"type,omitempty"` Value *TASKINFOPARAMSValue `json:"value,omitempty"` }
type TaskStatistic ¶
type TaskStatistic struct { The1 int64 `json:"1"` The2 int64 `json:"2"` The4 int64 `json:"4"` The8 int64 `json:"8"` The16 int64 `json:"16"` The32 int64 `json:"32"` The64 int64 `json:"64"` GnrlCompletedPercent int64 `json:"GNRL_COMPLETED_PERCENT"` KltskNeedRbtCnt int64 `json:"KLTSK_NEED_RBT_CNT"` }
TaskStatistic struct
type TaskStatistics ¶
type TaskStatistics struct {
TaskStatistic TaskStatistic `json:"PxgRetVal"`
}
TaskStatistics struct
type TaskValue ¶
type TaskValue struct { EventType string `json:"EVENT_TYPE,omitempty"` FilterEventsComponentName string `json:"FILTER_EVENTS_COMPONENT_NAME,omitempty"` FilterEventsInstanceID string `json:"FILTER_EVENTS_INSTANCE_ID,omitempty"` FilterEventsProductName string `json:"FILTER_EVENTS_PRODUCT_NAME,omitempty"` FilterEventsVersion string `json:"FILTER_EVENTS_VERSION,omitempty"` TaskidComponentName string `json:"TASKID_COMPONENT_NAME,omitempty"` TaskidInstanceID string `json:"TASKID_INSTANCE_ID,omitempty"` TaskidProductName string `json:"TASKID_PRODUCT_NAME,omitempty"` TaskidVersion string `json:"TASKID_VERSION,omitempty"` TaskschEwDay int64 `json:"TASKSCH_EW_DAY,omitempty"` TaskschEwHours int64 `json:"TASKSCH_EW_HOURS,omitempty"` TaskschEwMins int64 `json:"TASKSCH_EW_MINS,omitempty"` TaskschEwSecs int64 `json:"TASKSCH_EW_SECS,omitempty"` TaskschFirstExecutionTime *TaskschFirstExecutionTime `json:"TASKSCH_FIRST_EXECUTION_TIME,omitempty"` TaskschFirstExecutionTimeSEC int64 `json:"TASKSCH_FIRST_EXECUTION_TIME_SEC,omitempty"` TaskschLifetime *TaskschFirstExecutionTime `json:"TASKSCH_LIFETIME,omitempty"` TaskschMSPeriod int64 `json:"TASKSCH_MS_PERIOD,omitempty"` TaskschRunMissedFlag bool `json:"TASKSCH_RUN_MISSED_FLAG,omitempty"` TaskschType int64 `json:"TASKSCH_TYPE,omitempty"` TaskAdditionalParams *TaskAdditionalParams `json:"TASK_ADDITIONAL_PARAMS,omitempty"` TaskClassID int64 `json:"TASK_CLASS_ID,omitempty"` TaskDelAfterRunFlag bool `json:"TASK_DEL_AFTER_RUN_FLAG,omitempty"` TaskInfoParams *TaskInfoParams `json:"TASK_INFO_PARAMS,omitempty"` TaskLastExecTime *TaskschFirstExecutionTime `json:"TASK_LAST_EXEC_TIME,omitempty"` TaskLastExecTimeSEC int64 `json:"TASK_LAST_EXEC_TIME_SEC,omitempty"` TaskMaxExecTime int64 `json:"TASK_MAX_EXEC_TIME,omitempty"` TaskName string `json:"TASK_NAME,omitempty"` TaskPrepStart int64 `json:"TASK_PREP_START,omitempty"` TaskPriority int64 `json:"TASK_PRIORITY,omitempty"` TaskStartDelta int64 `json:"TASK_START_DELTA,omitempty"` TaskUniqueID string `json:"TASK_UNIQUE_ID,omitempty"` }
TaskValue struct
type Tasks ¶
type Tasks service
Tasks Group tasks service allows to acquire task attributes, enumerate, control and delete tasks.
func (*Tasks) CancelTask ¶
CancelTask Cancels execution of the specified task.
func (*Tasks) DeleteTask ¶
DeleteTask Deletes the specified task.
func (*Tasks) GetAllTasksOfHost ¶
func (ts *Tasks) GetAllTasksOfHost(ctx context.Context, strDomainName, strHostName string) (*PxgValArrayOfString, []byte, error)
GetAllTasksOfHost Get all group and global tasks of specified host.
func (*Tasks) GetHostStatusRecordRange ¶
func (ts *Tasks) GetHostStatusRecordRange(ctx context.Context, strHostIteratorId string, nStart, nEnd int64) ([]byte, error)
GetHostStatusRecordRange Gets result of operation Tasks.ResetHostIteratorForTaskStatus or Tasks.ResetHostIteratorForTaskStatusEx
Parameters: - strHostIteratorId (string) iterator id which got from Tasks.ResetHostIteratorForTaskStatus or Tasks.ResetHostIteratorForTaskStatusEx - nStart (int) zero-based start position. - nEnd (int) zero-based finish position. Returns: - (int64) actual number of elements contained in the record set - pParHostStatus (params) container that has requested elements in the array with name "statuses", each item of array contains attributes from Host task state attributes Example:
{ "pParHostStatus" : { "statuses" : [ { "type" : "params", "value" : { "hostdn" : "HostDisplayName", "hostname" : "53bf5bda-d728-4888-b002-67e63b6e4c63" } } ] }, "PxgRetVal" : 1 }
func (*Tasks) GetHostStatusRecordsCount ¶
func (ts *Tasks) GetHostStatusRecordsCount(ctx context.Context, strHostIteratorId string) (*PxgValInt, []byte, error)
GetHostStatusRecordsCount Get records count of result of operation: ResetHostIteratorForTaskStatus or ResetHostIteratorForTaskStatusEx.
func (*Tasks) GetNextHostStatus ¶
GetNextHostStatus Sequentially gets result of operation Tasks.ResetHostIteratorForTaskStatus or Tasks.ResetHostIteratorForTaskStatusEx
func (*Tasks) GetNextTask ¶
GetNextTask Sequentially get task data. Gets result of operation Tasks.ResetTasksIterator
func (*Tasks) GetTaskData ¶
GetTaskData Acquire task settings.
func (*Tasks) GetTaskGroup ¶
GetTaskGroup Return the group id for the group task.
func (*Tasks) GetTaskHistory ¶
func (ts *Tasks) GetTaskHistory(ctx context.Context, params interface{}) (*StrIteratorId, []byte, error)
GetTaskHistory Acquire task execution history events.
Example: strIteratorId, _, _ := client.Tasks.GetTaskHistory(ctx, kaspersky.TaskHistoryParams{ StrTask: "195", PFields2Return: []string{ "hostdn", "product_name", "product_displ_version", "product_version", "task_display_name", "GNRL_COMPLETED_PERCENT", "event_id", "host_type", }, PSortFields: []kaspersky.PSortFields{ {Type: "params", PSortField: kaspersky.PSortField{ Name: "event_id", Asc: true, }}, }, StrHostName: "c2b22f83-307c-45aa-8533-5ffffbcc6bf1", PFilter: nil, })
func (*Tasks) GetTaskStartEvent ¶
GetTaskStartEvent Returns event which should run the task.
func (*Tasks) GetTaskStatistics ¶
func (ts *Tasks) GetTaskStatistics(ctx context.Context, strTask string) (*TaskStatistics, []byte, error)
GetTaskStatistics Acquire statistics of the specified task.
func (*Tasks) ProtectPassword ¶
ProtectPassword Encrypt an account password.
func (*Tasks) ReleaseHostStatusIterator ¶
func (ts *Tasks) ReleaseHostStatusIterator(ctx context.Context, strHostIteratorId string) ([]byte, error)
ReleaseHostStatusIterator Releases iterator of specified data and frees associated memory
func (*Tasks) ReleaseTasksIterator ¶
func (ts *Tasks) ReleaseTasksIterator(ctx context.Context, strTaskIteratorId string) ([]byte, error)
ReleaseTasksIterator Release task iterator.
func (*Tasks) ResetHostIteratorForTaskStatus ¶
func (ts *Tasks) ResetHostIteratorForTaskStatus(ctx context.Context, params HostIteratorForTaskParams) ([]byte, error)
ResetHostIteratorForTaskStatus Make host task states request. Makes request of the status of group task that runs on many machines
func (*Tasks) ResetHostIteratorForTaskStatusEx ¶
func (ts *Tasks) ResetHostIteratorForTaskStatusEx(ctx context.Context, params HostIteratorForTaskParamsEx) (*StrHostIteratorId, []byte, error)
ResetHostIteratorForTaskStatusEx Make host task states request.
Example:
iteratorForTaskStatusEx, _, _ := client.Tasks.ResetHostIteratorForTaskStatusEx(ctx, kaspersky.HostIteratorForTaskParams{ StrTask: "195", NHostStateMask: 0x01, PFields2Return: []string{"hostname", "state_descr"}, PFields2Order: []kaspersky.FieldsToOrder{ { Type: "params", OrderValue: kaspersky.OrderValue{ Name: "hostname", Asc: true}, }, }, NLifetime: 100, })
func (*Tasks) ResetTasksIterator ¶
func (ts *Tasks) ResetTasksIterator(ctx context.Context, params TasksIteratorParams) ([]byte, error)
ResetTasksIterator Reset task iterator for a specified filter data.
If one of the parameters is not specified then the filtration will not be performed by this parameter.
The group Super is parent of the group Groups and is intended for assignment of group tasks and policies received from the master server.
func (*Tasks) ResolveTaskId ¶
ResolveTaskId Get task id by PRTS task id.
func (*Tasks) ResumeTask ¶
ResumeTask Resumes specified task
type TasksIDSParams ¶
type TasksIDSParams struct {
PTasksIDS []string `json:"pTasksIds"`
}
TasksIDSParams struct
type TasksIteratorParams ¶
type TasksIteratorParams struct { NGroupID int64 `json:"nGroupId"` BGroupIDSignificant bool `json:"bGroupIdSignificant"` StrProductName string `json:"strProductName"` StrVersion string `json:"strVersion"` StrComponentName string `json:"strComponentName"` StrInstanceID string `json:"strInstanceId"` StrTaskName string `json:"strTaskName"` BIncludeSupergroups bool `json:"bIncludeSupergroups"` }
TasksIteratorParams struct
type TotpGlobalSettings ¶
type TotpGlobalSettings service
TotpGlobalSettings 2FA global settings
func (*TotpGlobalSettings) Get2FaRequiredForAll ¶
func (tgs *TotpGlobalSettings) Get2FaRequiredForAll(ctx context.Context) (*PxgValBool, error)
Get2FaRequiredForAll Read global flag "2FA is required for all users".
func (*TotpGlobalSettings) GetTotpGlobalSettings ¶
func (tgs *TotpGlobalSettings) GetTotpGlobalSettings(ctx context.Context) (*TOTPSettings, error)
GetTotpGlobalSettings Read global TOTP settings.
func (*TotpGlobalSettings) IfCanConfigure2FaSettings ¶
func (tgs *TotpGlobalSettings) IfCanConfigure2FaSettings(ctx context.Context) (*LoggedInUsing2FA, error)
IfCanConfigure2FaSettings Checks whether calling user has enough access rights to modify 2FA settings Used by console to decide whether to display configuration options and whether to start setting up 2FA for current user. 2FA settings modification is allowed only if this method returns true AND bLoggedInUsing2FA is true.
func (*TotpGlobalSettings) Set2FaRequiredForAll ¶
func (tgs *TotpGlobalSettings) Set2FaRequiredForAll(ctx context.Context, bRequiredForAll bool) error
Set2FaRequiredForAll Set global flag "2FA is required for all users" Second factor must be configured for current user to be able to call this method.
type TotpRegistration ¶
type TotpRegistration service
TotpRegistration TOTP registration.
func (*TotpRegistration) ClearSecretForCurrentUser ¶
func (tr *TotpRegistration) ClearSecretForCurrentUser(ctx context.Context) (*PxgValBool, error)
ClearSecretForCurrentUser Clears TOTP secret for current user. Function succeeds only if '2FA required for all' flag is not set, or if user is in exceptions list.
func (*TotpRegistration) DeleteSecret ¶
func (tr *TotpRegistration) DeleteSecret(ctx context.Context, wstrSecretId string) error
DeleteSecret Clears secret, identified by wstrSecretId.
func (*TotpRegistration) GenerateSecret ¶
func (tr *TotpRegistration) GenerateSecret(ctx context.Context) (*TotpSecretData, error)
GenerateSecret Generates TotpSecret with random key.
func (*TotpRegistration) IfCurrentUserMayClearSecret ¶
func (tr *TotpRegistration) IfCurrentUserMayClearSecret(ctx context.Context) (*PxgValBool, error)
IfCurrentUserMayClearSecret Checks whether current user is allowed to reset his TOTP secret.
func (*TotpRegistration) SaveSecretForCurrentUser ¶
func (tr *TotpRegistration) SaveSecretForCurrentUser(ctx context.Context, wstrSecretId, wstrValidationCode string) error
SaveSecretForCurrentUser Set TOTP 2FA authentication for current user. If validation code does not pass verification, current user TOTP settings don't change. If validation code passes verification, secret will be used as second factor when users logs in. If user already has registered TOTP secret, it will be replaced with new one.
type TotpSecretData ¶
type TotpUserSettings ¶
type TotpUserSettings service
TotpUserSettings 2FA user settings
func (*TotpUserSettings) AddUserToTotpRequrementExceptions ¶
func (tgs *TotpUserSettings) AddUserToTotpRequrementExceptions(ctx context.Context, llTrusteeID int, bInExceptions bool) error
AddUserToTotpRequrementExceptions Add/remove user to/from exceptions list of "2FA is required for all users" requirement.
func (*TotpUserSettings) ClearUserSecret ¶
func (tgs *TotpUserSettings) ClearUserSecret(ctx context.Context, llTrusteeID int) error
ClearUserSecret Clear TOTP secret for user (spl_users, ak_users only)
func (*TotpUserSettings) IfCanClearUser2FaSecret ¶
func (tgs *TotpUserSettings) IfCanClearUser2FaSecret(ctx context.Context, llTrusteeId int) (*LoggedInUsing2FA, error)
IfCanClearUser2FaSecret Checks whether calling user has enough access rights to clear 2FA secret.
type TrackingData ¶
type TrackingData struct { PxgRetVal []struct { Type string `json:"type"` Value struct { ApplicationID int `json:"ApplicationId"` ApplicationVersion string `json:"ApplicationVersion"` HardwareID string `json:"HardwareId"` LicenseID string `json:"LicenseId"` Localization string `json:"Localization"` LtsID string `json:"LtsId"` } `json:"value"` } `json:"PxgRetVal"` }
type TrafficManager ¶
type TrafficManager service
TrafficManager service allows to limit network traffic speed between KSC server and Network agents or between servers within server hierarchy.
func (*TrafficManager) AddRestriction ¶
func (tm *TrafficManager) AddRestriction(ctx context.Context, params TrafficRestrictions) (*PxgValInt, []byte, error)
AddRestriction Add traffic restriction.
func (*TrafficManager) DeleteRestriction ¶
func (tm *TrafficManager) DeleteRestriction(ctx context.Context, nRestrictionId int64) ([]byte, error)
DeleteRestriction Remove traffic restriction.
func (*TrafficManager) GetRestrictions ¶
func (tm *TrafficManager) GetRestrictions(ctx context.Context) ([]byte, error)
GetRestrictions Returns all currently active restrictions list.
func (*TrafficManager) UpdateRestriction ¶
func (tm *TrafficManager) UpdateRestriction(ctx context.Context, params interface{}) ([]byte, error)
UpdateRestriction Modify existing traffic restriction settings.
type TrafficPRestrictions ¶
type TrafficPRestrictions struct { // TrfmRestrFromHour time period start hour, 0-23 TrfmRestrFromHour int64 `json:"TRFM_RESTR_FROM_HOUR"` //TrfmRestrFromMin time period start minute, 0-59 TrfmRestrFromMin int64 `json:"TRFM_RESTR_FROM_MIN"` // TrfmRestrIp4High High border of IP addresses diapason TrfmRestrIp4High string `json:"TRFM_RESTR_IP4_HIGH"` // TrfmRestrIp4Low Low border of IP addresses diapason TrfmRestrIp4Low string `json:"TRFM_RESTR_IP4_LOW"` // TrfmRestrIp4Mask IP subnet mask TrfmRestrIp4Mask string `json:"TRFM_RESTR_IP4_MASK,omitempty"` // TrfmRestrIp4Subnet IP subnet TrfmRestrIp4Subnet string `json:"TRFM_RESTR_IP4_SUBNET,omitempty"` // TrfmRestrLimit limit for all other time, kilobytes per second TrfmRestrLimit int64 `json:"TRFM_RESTR_LIMIT"` // TrfmRestrTimeLimit limit for specified time, kilobytes per second TrfmRestrTimeLimit int64 `json:"TRFM_RESTR_TIME_LIMIT"` // TrfmRestrToHour time period start hour, 0-23 TrfmRestrToHour int64 `json:"TRFM_RESTR_TO_HOUR"` // TrfmRestrToMin time period end minute, 0-59 TrfmRestrToMin int64 `json:"TRFM_RESTR_TO_MIN"` }
TrafficPRestrictions struct
type TrafficRestrictions ¶
type TrafficRestrictions struct {
TrafficPRestrictions TrafficPRestrictions `json:"pRestriction"`
}
TrafficRestrictions struct
type TransportCertificate ¶
type TransportCertificate struct { // PPublic public part of certificate PPublic string `json:"pPublic"` // PPrivate private part of certificate PPrivate string `json:"pPrivate"` // WstrPass password for private part WstrPass string `json:"wstrPass"` }
TransportCertificate struct using in KeyService.GenerateTransportCertificate
type Trustee ¶
type Trustee struct {
Trustee *TrusteeValue `json:"PxgRetVal,omitempty"`
}
Trustee struct using in HstAccessControl.GetTrustee
type TrusteeIteratorArray ¶
type TrusteeIteratorArray struct { Type *string `json:"type,omitempty"` TrusteeValue *TrusteeValue `json:"value,omitempty"` }
type TrusteePChunk ¶
type TrusteePChunk struct {
TrusteeIteratorArray []TrusteeIteratorArray `json:"KLCSP_ITERATOR_ARRAY"`
}
type TrusteeParam ¶
type TrusteeParam struct { LlTrusteeID int64 `json:"llTrusteeId,omitempty"` PTrusteeData *PTrusteeData `json:"pUserData,omitempty"` }
TrusteeParam struct
type TrusteeValue ¶
type TrusteeValue struct { KlhstACLTrusteeID *int64 `json:"KLHST_ACL_TRUSTEE_ID,omitempty"` KlhstACLTrusteeSid *KlhstACLTrusteeSid `json:"KLHST_ACL_TRUSTEE_SID,omitempty"` DN *string `json:"dn,omitempty"` ObjectGUID *string `json:"objectGUID,omitempty"` UserPrincipalName *string `json:"userPrincipalName,omitempty"` KscInternalUserID *int64 `json:"kscInternalUserId,omitempty"` }
type Trustees ¶
type Trustees struct { TrusteePChunk *TrusteePChunk `json:"pChunk,omitempty"` PxgRetVal *int64 `json:"PxgRetVal,omitempty"` }
Trustee struct
type TunnelData ¶
type TunnelData struct { //NHostPortNumber nHostPortNumber NHostPortNumber int64 `json:"nHostPortNumber"` //WstrHostNameOrIPAddr wstrHostNameOrIpAddr WstrHostNameOrIPAddr string `json:"wstrHostNameOrIpAddr"` }
TunnelData using in NagRemoteScreen.GetDataForTunnel
type UADInfo ¶
type UADInfo struct { Type *string `json:"type,omitempty"` Value *UpdateAgentValue `json:"value,omitempty"` }
type UDPInfo ¶
type UDPInfo struct { // KldpnsDN Diapason display name KldpnsDN string `json:"KLDPNS_DN,omitempty"` // KldpnsLF Ip address validity period in seconds KldpnsLF int64 `json:"KLDPNS_LF,omitempty"` // KLDPNSScanEnabled If diapason may be scanned by ip subnets scanning KLDPNSScanEnabled bool `json:"KLDPNS_ScanEnabled,omitempty"` }
type UPParams ¶
type UPParams struct { // ArrCategoryFilter Updatable component identifier list: each cell is ID of some updatable // component to download, e.g. "KSC" // (there exist many components on KL update servers, one must know, what is required) ArrCategoryFilter []string `json:"arrCategoryFilter"` // BDoUpdate Run update operation for given components (true) or retranslate them to KSC share (false) BDoUpdate bool `json:"bDoUpdate"` }
UPParams struct
type UaControl ¶
type UaControl service
UaControl service Update agents and Connection gateways management.
func (*UaControl) GetAssignUasAutomatically ¶
func (uc *UaControl) GetAssignUasAutomatically(ctx context.Context) (*PxgValBool, error)
GetAssignUasAutomatically Check if Update agents automatic assignment is enabled, see uactl_ua_assignment.
func (*UaControl) GetDefaultUpdateAgentRegistrationInfo ¶
func (uc *UaControl) GetDefaultUpdateAgentRegistrationInfo(ctx context.Context) (*AgentRegistrationInfo, error)
GetDefaultUpdateAgentRegistrationInfo Fill in default Update agent settings.
func (*UaControl) GetUpdateAgentInfo ¶
func (uc *UaControl) GetUpdateAgentInfo(ctx context.Context, wstrUaHostId string) (*UpdateAgentInfo, error)
GetUpdateAgentInfo Get Update agent info.
func (*UaControl) GetUpdateAgentsDisplayInfoForHost ¶
func (uc *UaControl) GetUpdateAgentsDisplayInfoForHost(ctx context.Context, wstrHostId string) (*UpdateAgentsDisplayInfoForHost, error)
GetUpdateAgentsDisplayInfoForHost Returns list of Update agents assigned to specified host.
func (*UaControl) GetUpdateAgentsList ¶
func (uc *UaControl) GetUpdateAgentsList(ctx context.Context) (*UpdateAgentsList, error)
GetUpdateAgentsList List all registered Update agents.
func (*UaControl) ModifyUpdateAgent ¶
func (uc *UaControl) ModifyUpdateAgent(ctx context.Context, params AgentRegistrationInfo) error
ModifyUpdateAgent Modify update agent info of an existing Update agent.
func (*UaControl) RegisterDmzGateway ¶
RegisterDmzGateway Register Connection gateway located in DMZ.
See Connection gateways to know about DMZ-located connection gateways. To register CG in DMZ, one should: on target host install Network agent with option 'Use as connection gateway' in installer or in installation package settings determine scope of hosts which will be using this CG call this method providing ip address by which CG host is available to KSC server
After successful registration CG host will appear in Unassigned computers group and will be assigned as CG.
After that move CG host to appropriate Administration group. If Network agents which will be using this CG cannot access KSC server without using this CG (which is likely) they must be installed with 'Use CG' installer option.
func (*UaControl) RegisterUpdateAgent ¶
func (uc *UaControl) RegisterUpdateAgent(ctx context.Context, params AgentRegistrationInfo) error
RegisterUpdateAgent Register host as Update agent or Connection gateway.
To register host as an Update agent one should: call GetDefaultUpdateAgentRegistrationInfo() to get default UA settings set host id via UaHostId attribute (mandatory) define Update agent scope via UaScope attribute (mandatory) modify other options if required (optional), see Update agent settings perform this call
func (*UaControl) SetAssignUasAutomatically ¶
SetAssignUasAutomatically Enable or disable automatic Update agents assignment, see uactl_ua_assignment.
type UaScope ¶
type UaScope struct { Type *string `json:"type,omitempty"` Value *UaScopeValue `json:"value,omitempty"` }
type UaScopeValue ¶
type UaScopeValue struct { ScopeBcDomains []interface{} `json:"ScopeBcDomains"` ScopeGroups []ScopeGroup `json:"ScopeGroups"` ScopeNlaNetworks []interface{} `json:"ScopeNlaNetworks"` }
type UpdComps ¶
type UpdComps service
UpdComps service provides means to manage updatable components (bases).
func (*UpdComps) AsyncUpdate ¶
AsyncUpdate Requests asynchronous bases update or retranslation.
func (*UpdComps) UpdateAsync ¶
func (uc *UpdComps) UpdateAsync(ctx context.Context, params UpdateParams) error
UpdateAsync Requests asynchronous bases update or retranslation.
type UpdateAgentInfo ¶
type UpdateAgentInfo struct {
PUaInfo *PUaInfo `json:"pUaInfo,omitempty"`
}
type UpdateAgentValue ¶
type UpdateAgentsDisplayInfoForHost ¶
type UpdateAgentsDisplayInfoForHost struct {
PUaInfo []UADInfo `json:"pUaInfo"`
}
type UpdateAgentsList ¶
type UpdateAgentsList struct {
PUasArr []PUasArr `json:"pUasArr"`
}
UpdateAgentsList struct
type UpdateDiapasonParams ¶
type UpdateDiapasonParams struct { // IDDiapason id of diapason to modify IDDiapason int64 `json:"idDiapason,omitempty"` // UDPInfo container with diapason attributes UDPInfo UDPInfo `json:"pInfo,omitempty"` }
UpdateDiapasonParams struct using in ScanDiapasons.UpdateDiapason
type UpdateDiapasonRespond ¶
type UpdateDiapasonRespond struct { PInvalidIntervals *PInvalidIntervals `json:"pInvalidIntervals,omitempty"` PxgRetVal *bool `json:"PxgRetVal,omitempty"` }
type UpdateGroupParam ¶
type UpdateGroupParam struct { NGroup int64 `json:"nGroup,omitempty"` PInfo PInfoGroup `json:"pInfo,omitempty"` }
UpdateGroupParam struct
type UpdateIncidentParams ¶
type UpdateIncidentParams struct { NID int64 `json:"nId,omitempty"` PData *PIncidentData `json:"pData,omitempty"` }
UpdateIncidentParams struct using in HostGroup.UpdateIncident
type UpdateLicenseKeyParams ¶
type UpdateLicenseKeyParams struct { //NLicKeyID id of License Key to modify NLicKeyID int64 `json:"nLicKeyId"` //PLicKeyData object containing License Key attributes to modify PLicKeyData PLicKeyData `json:"pLicKeyData"` }
UpdateLicenseKeyParams struct using in InvLicenseProducts.UpdateLicenseKey
type UpdateLicenseProductParams ¶
type UpdateLicenseProductParams struct { // NLicProdID id of License Product to modify NLicProdID string `json:"nLicProdId"` // PLicProdData object containing License Product attributes to modify PLicProdData PLicProdData `json:"pLicProdData"` }
UpdateLicenseProductParams struct using in InvLicenseProducts.UpdateLicenseProduct
type UpdateOUParams ¶
type UpdateOUParams struct { //Id of organization unit IDOU int64 `json:"idOU,omitempty"` //Params OUPData *OUPData `json:"pData,omitempty"` }
UpdateOUParams struct
type UpdateParams ¶
type UpdateParams struct {
UPParams UPParams `json:"pParams"`
}
UpdateParams struct of Update operation parameters
type UpdateRuleParams ¶
type UpdateRuleParams struct { // SzwTagValue tag of the rule. rule id SzwTagValue string `json:"szwTagValue"` // PRuleInfo object containing rule attributes, see List of host automatic tagging rule attributes. PRuleInfo PRuleInfo `json:"pRuleInfo"` }
UpdateRuleParams struct using in HostTagsRulesApi.UpdateRule
type UpdateSecurityGroupParams ¶
type UpdateSecurityGroupParams struct { // lGrpId id of a created group. LGrpId int64 `json:"lGrpId,omitempty"` // PGrpParams parameters of a group. PGrpParams PGrpParams `json:"pGrpParams,omitempty"` }
SecurityGroupParams struct
type UpdateVServerInfoParams ¶
type UpdateVServerInfoParams struct { // LVServer virtual server id LVServer int64 `json:"lVServer,omitempty"` //VSInfo a container containing no-read-only attributes "KLVSRV_*" VSInfo VSInfo `json:"pInfo,omitempty"` }
UpdateVServerInfoParams struct
type Updates ¶
type Updates service
Updates processing.
func (*Updates) GetAvailableUpdatesInfo ¶
func (upd *Updates) GetAvailableUpdatesInfo(ctx context.Context, strLocalization string) (*AvailableUpdates, error)
GetAvailableUpdatesInfo Get available updates info. strLocalization can be one of "ru", "en", "fr", "de"; for other values "en" localization will be used.
func (*Updates) GetUpdatesInfo ¶
func (upd *Updates) GetUpdatesInfo(ctx context.Context, params UpdatesInfoParams) (*UpdatesInfos, error)
GetUpdatesInfo lists of retransmissions.
func (*Updates) RemoveUpdates ¶
RemoveUpdates Asynchronously remove updates.
type UpdatesInfo ¶
type UpdatesInfo struct { Type *string `json:"type,omitempty"` UpdatesInfoValue *UpdatesInfoValue `json:"value,omitempty"` }
UpdatesInfo
type UpdatesInfoParams ¶
type UpdatesInfoParams struct {
PFilter []string `json:"pFilter"`
}
UpdatesInfoParams
type UpdatesInfoValue ¶
type UpdatesInfoValue struct { ChangeStatus *string `json:"ChangeStatus,omitempty"` CompID *string `json:"CompId,omitempty"` Date *DateTime `json:"Date,omitempty"` FileName *string `json:"FileName,omitempty"` Index *string `json:"Index,omitempty"` KlupdsrvBundleDwlDate *DateTime `json:"KLUPDSRV_BUNDLE_DWL_DATE,omitempty"` KlupdsrvBundleID *string `json:"KLUPDSRV_BUNDLE_ID,omitempty"` KlupdsrvBundleTypeDescr *string `json:"KLUPDSRV_BUNDLE_TYPE_DESCR,omitempty"` LocalPath *string `json:"LocalPath,omitempty"` RelativeSrvPath *string `json:"RelativeSrvPath,omitempty"` Type *string `json:"Type,omitempty"` Size *Size `json:"Size,omitempty"` Stt *string `json:"Stt,omitempty"` }
UpdatesInfoValue
type UpdatesInfos ¶
type UpdatesInfos struct {
UpdatesInfo []UpdatesInfo `json:"PxgRetVal"`
}
UpdatesInfos
type UploadParams ¶
type UploadParams struct {
WstrUploadURL string `json:"wstrUploadUrl,omitempty"`
}
type UserDevicesApi ¶
type UserDevicesApi service
UserDevicesApi Interface to unified mobile device management.
func (*UserDevicesApi) DeleteCommand ¶
func (uda *UserDevicesApi) DeleteCommand(ctx context.Context, c_wstrCommandGuid string, bForced bool) ([]byte, error)
DeleteCommand Delete a command previously posted to the specified device.
func (*UserDevicesApi) DeleteDevice ¶
DeleteDevice Delete device.
func (*UserDevicesApi) DeleteEnrollmentPackage ¶
func (uda *UserDevicesApi) DeleteEnrollmentPackage(ctx context.Context, lEnrPkgId int64) ([]byte, error)
DeleteEnrollmentPackage Delete enrollment package.
func (*UserDevicesApi) GenerateQRCode ¶
func (uda *UserDevicesApi) GenerateQRCode(ctx context.Context, strInputData string, lQRCodeSize, lImageFormat int64) ([]byte, error)
GenerateQRCode Generates QR code from any string
func (*UserDevicesApi) GetCommands ¶
GetCommands Acquire states of all commands posted to the specified device.
func (*UserDevicesApi) GetCommandsLibrary ¶
func (uda *UserDevicesApi) GetCommandsLibrary(ctx context.Context) (*CommandsLibrary, error)
GetCommandsLibrary Acquires list contains commands info reqired to display and launch commands
func (*UserDevicesApi) GetDecipheredCommandList ¶
func (uda *UserDevicesApi) GetDecipheredCommandList(ctx context.Context, params interface{}) ([]byte, error)
GetDecipheredCommandList Calculate commands array according to bit mask of supported commands. Makes commands array according to bit mask of commands supported by device
func (*UserDevicesApi) GetDevice ¶
GetDevice Acquire properties of the specified user device.
Deprecated: Previously used for the SSP. Now, use the SrvView UmdmDevices instead.
func (*UserDevicesApi) GetDevices ¶
GetDevices Acquire properties of all registered devices owned by specified user.
Deprecated: Previously used for the SSP. Now, use the SrvView UmdmDevices instead.
func (*UserDevicesApi) GetDevicesExtraData ¶
func (uda *UserDevicesApi) GetDevicesExtraData(ctx context.Context, params interface{}) ([]byte, error)
GetDevicesExtraData Gets additional data from devices such as installed applications, profiles, certificates and etc. !
func (*UserDevicesApi) GetEnrollmentPackage ¶
func (uda *UserDevicesApi) GetEnrollmentPackage(ctx context.Context, llEnrPkgId int64) ([]byte, error)
GetEnrollmentPackage Get the info of enrollment package created for the device.
func (*UserDevicesApi) GetEnrollmentPackageFileData ¶
func (uda *UserDevicesApi) GetEnrollmentPackageFileData(ctx context.Context, c_wstrPackageId, c_wstrPackageFileType string, lBuffOffset, lBuffSize int64) ([]byte, error)
GetEnrollmentPackageFileData Get enrollment package file data.
func (*UserDevicesApi) GetEnrollmentPackageFileInfo ¶
func (uda *UserDevicesApi) GetEnrollmentPackageFileInfo(ctx context.Context, c_wstrPackageId, c_wstrUserAgent, c_wstrPackageFileType string) ([]byte, error)
GetEnrollmentPackageFileInfo Get enrollment package file data.
func (*UserDevicesApi) GetEnrollmentPackages ¶
func (uda *UserDevicesApi) GetEnrollmentPackages(ctx context.Context, params interface{}) ([]byte, error)
GetEnrollmentPackages Get the list of enrollment packages created for a device.
func (*UserDevicesApi) GetJournalCommandResult ¶
func (uda *UserDevicesApi) GetJournalCommandResult(ctx context.Context, llJrnlId int64) ([]byte, error)
GetJournalCommandResult Returns command result for specific journal record.
func (*UserDevicesApi) GetJournalRecords ¶
GetJournalRecords Acquire records from journal about completed or failed commands posted to device
func (*UserDevicesApi) GetJournalRecords2 ¶
GetJournalRecords2 Acquires records from journal about completed or failed commands posted to device without command result. To get command result for specific record you can use UserDevicesApi.GetJournalCommandResult
func (*UserDevicesApi) GetLatestDeviceActivityDate ¶
func (uda *UserDevicesApi) GetLatestDeviceActivityDate(ctx context.Context, lDeviceId int64) ([]byte, error)
GetLatestDeviceActivityDate Acquire latest device activity date.
Deprecated: Previously used for the SSP. Now, use the SrvView UmdmDevices instead.
func (*UserDevicesApi) GetMobileAgentSettingStorageData ¶
func (uda *UserDevicesApi) GetMobileAgentSettingStorageData(ctx context.Context, lDeviceId int64, c_wstrSectionName string) ([]byte, error)
GetMobileAgentSettingStorageData Get mobile agent setting storage data.
func (*UserDevicesApi) GetMultitenancyServerSettings ¶
func (uda *UserDevicesApi) GetMultitenancyServerSettings(ctx context.Context, c_wstrMtncServerId string) ([]byte, error)
GetMultitenancyServerSettings Retrieves multitenancy server settings.
func (*UserDevicesApi) GetMultitenancyServersInfo ¶
func (uda *UserDevicesApi) GetMultitenancyServersInfo(ctx context.Context, nProtocolIds int64) ([]byte, error)
GetMultitenancyServersInfo Retrieves multitenancy servers list.
func (*UserDevicesApi) GetSafeBrowserAutoinstallFlag ¶
func (uda *UserDevicesApi) GetSafeBrowserAutoinstallFlag(ctx context.Context) (*PxgValBool, []byte, error)
GetSafeBrowserAutoinstallFlag Returns flag which means install or don't install SafeBrowser automatically when device connects first time.
func (*UserDevicesApi) GetSyncInfo ¶
func (uda *UserDevicesApi) GetSyncInfo(ctx context.Context, params interface{}) ([]byte, error)
GetSyncInfo Retrieves group synchronization info for UMDM policy.
func (*UserDevicesApi) GlueDevices ¶
func (uda *UserDevicesApi) GlueDevices(ctx context.Context, lDevice1Id, lDevice2Id int64) ([]byte, error)
GlueDevices Glue information on a device got from different sources
Deprecated: Not used.
func (*UserDevicesApi) PostCommand ¶
func (uda *UserDevicesApi) PostCommand(ctx context.Context, params interface{}) ([]byte, error)
PostCommand Post a command to the specified device. Note, you can't sent more then one command with same type to the specified device while command with same type is not completed, instead you may call method RecallCommand
func (*UserDevicesApi) RecallCommand ¶
func (uda *UserDevicesApi) RecallCommand(ctx context.Context, c_wstrCommandGuid string) ([]byte, error)
RecallCommand previously posted to the specified device.
func (*UserDevicesApi) SetMultitenancyServerSettings ¶
func (uda *UserDevicesApi) SetMultitenancyServerSettings(ctx context.Context, params interface{}) ([]byte, error)
SetMultitenancyServerSettings Set multitenancy server settings.
func (*UserDevicesApi) SetSafeBrowserAutoinstallFlag ¶
func (uda *UserDevicesApi) SetSafeBrowserAutoinstallFlag(ctx context.Context, bInstall bool) ([]byte, error)
SetSafeBrowserAutoinstallFlag Set flag which means install or don't install SafeBrowser automatically when device connects first time.
Deprecated: The SafeBrowser is not supported now
func (*UserDevicesApi) SspLoginAllowed ¶
func (uda *UserDevicesApi) SspLoginAllowed(ctx context.Context) ([]byte, error)
SspLoginAllowed Check user permission to login to SSP.
Deprecated: The SSP is not supported now
func (*UserDevicesApi) UpdateDevice ¶
func (uda *UserDevicesApi) UpdateDevice(ctx context.Context, params interface{}) ([]byte, error)
UpdateDevice Modify properties of the specified user device.
Deprecated: Previously used for the SSP
type UserEULA ¶
type UserEULA struct { Type string `json:"type,omitempty"` UserEULAValue *UserEULAValue `json:"value,omitempty"` }
type UserEULAValue ¶
type UserEULAValue struct { KlpkgEULATextParams *KlpkgEULA `json:"KLPKG_EULA_TEXT_PARAMS,omitempty"` KlpkgEULAUid *KlpkgEULA `json:"KLPKG_EULA_UID,omitempty"` KlpkgLangTag string `json:"KLPKG_LANG_TAG,omitempty"` BEULAAccepted bool `json:"bEulaAccepted,omitempty"` NAgreementType int64 `json:"nAgreementType,omitempty"` NEULADBID int64 `json:"nEulaDbId,omitempty"` NLCID int64 `json:"nLCID,omitempty"` }
type UserInfo ¶
type UserInfo struct { LUserID int64 `json:"lUserId,omitempty"` PxgRetVal bool `json:"PxgRetVal,omitempty"` }
UserExInfo struct
type UserInfoEx ¶
type UserInfoEx struct { LUserID int64 `json:"lUserId,omitempty"` NType int64 `json:"nType,omitempty"` BinSystemID interface{} `json:"binSystemId"` WstrDisplayName string `json:"wstrDisplayName,omitempty"` }
UserInfoEx struct
type UserProperties ¶
type UserProperties struct { // KlsplUserDescription User description KlsplUserDescription string `json:"KLSPL_USER_DESCRIPTION,omitempty"` // KlsplUserEnabled User account is enabled if true. KlsplUserEnabled bool `json:"KLSPL_USER_ENABLED,omitempty"` // KlsplUserFullName User full name KlsplUserFullName string `json:"KLSPL_USER_FULL_NAME,omitempty"` // KlsplUserID User id KlsplUserID int64 `json:"KLSPL_USER_ID,omitempty"` // KlsplUserMail User mail KlsplUserMail string `json:"KLSPL_USER_MAIL,omitempty"` // KlsplUserName User name KlsplUserName string `json:"KLSPL_USER_NAME,omitempty"` // KlsplUserPhone User phone KlsplUserPhone string `json:"KLSPL_USER_PHONE,omitempty"` // KlsplUserUis User account is based on UIS. For hosted server only KlsplUserUis bool `json:"KLSPL_USER_UIS,omitempty"` }
UserProperties struct
type UsersInfo ¶
type UsersInfo struct {
UsersInfoArray []UsersInfoArray `json:"PxgRetVal"`
}
UsersInfo struct
type UsersInfoArray ¶
type UsersInfoArray struct { Type string `json:"type,omitempty"` UserProperties *UserProperties `json:"value,omitempty"` }
UsersInfoArray struct
type VSInfo ¶
type VSInfo struct { // KlvsrvDN Virtual server display name. KlvsrvDN string `json:"KLVSRV_DN,omitempty"` // KlvsrvEnabled If the specified virtual server is enabled. KlvsrvEnabled bool `json:"KLVSRV_ENABLED,omitempty"` // KlvsrvLicEnabled Allow automatic deployment of license keys from the virtual Server to its devices. KlvsrvLicEnabled bool `json:"KLVSRV_LIC_ENABLED,omitempty"` // KlvsrvCreated Creation time. KlvsrvCreated *DateTime `json:"KLVSRV_CREATED,omitempty"` // KlvsrvCustomInfo Custom info XML. KlvsrvCustomInfo string `json:"KLVSRV_CUSTOM_INFO,omitempty"` // KlvsrvNewHostsProhibited New managed hosts cannot be added to the VS due to the limitation violation //(see LP_VS_MaxCountOfHosts), read-only attribute. KlvsrvNewHostsProhibited bool `json:"KLVSRV_NEW_HOSTS_PROHIBITED,omitempty"` // KlvsrvTooMuchHosts Number of managed hosts connected to a VS has already reached 10% of the limit //(see LP_VS_MaxCountOfHosts) , read-only attribute. KlvsrvTooMuchHosts bool `json:"KLVSRV_TOO_MUCH_HOSTS,omitempty"` }
VSInfo struct
type VSStatistic ¶
type VSStatistic struct { KlvsrvCreated *DateTime `json:"KLVSRV_CREATED,omitempty"` KlvsrvGroups *int64 `json:"KLVSRV_GROUPS,omitempty"` KlvsrvHosts *int64 `json:"KLVSRV_HOSTS,omitempty"` KlvsrvLicenses []KlvsrvLicense `json:"KLVSRV_LICENSES,omitempty"` KlvsrvMdmios *int64 `json:"KLVSRV_MDMIOS,omitempty"` KlvsrvMobilies *int64 `json:"KLVSRV_MOBILIES,omitempty"` KlvsrvProducts *KlvsrvProducts `json:"KLVSRV_PRODUCTS,omitempty"` KlvsrvProducts2 *KlvsrvProducts `json:"KLVSRV_PRODUCTS_2,omitempty"` KlvsrvUsers *int64 `json:"KLVSRV_USERS,omitempty"` }
VSStatistic struct
type VServer ¶
type VServer struct { // KlvsrvCreated Creation time. KlvsrvCreated *DateTime `json:"KLVSRV_CREATED,omitempty"` // KlvsrvDN Virtual server display name. KlvsrvDN *string `json:"KLVSRV_DN,omitempty"` // KlvsrvEnabled If the specified virtual server is enabled. KlvsrvEnabled *bool `json:"KLVSRV_ENABLED,omitempty"` // KlvsrvGroups Id of virtual server's group "Managed computers". KlvsrvGroups *int64 `json:"KLVSRV_GROUPS,omitempty"` // KlvsrvGrp Id of parent group KlvsrvGrp *int64 `json:"KLVSRV_GRP,omitempty"` // KlvsrvHstUid Host name of the virtual server KlvsrvHstUid *string `json:"KLVSRV_HST_UID,omitempty"` // KlvsrvID Virtual server ID KlvsrvID *int64 `json:"KLVSRV_ID,omitempty"` // KlvsrvLicEnabled Allow automatic deployment of license keys from the virtual Server to its devices. KlvsrvLicEnabled *bool `json:"KLVSRV_LIC_ENABLED,omitempty"` // KlvsrvNewHostsProhibited New managed hosts cannot be added to the VS due to the limitation violation KlvsrvNewHostsProhibited *bool `json:"KLVSRV_NEW_HOSTS_PROHIBITED,omitempty"` // KlvsrvSuper Id of virtual server's group "Master server". KlvsrvSuper *int64 `json:"KLVSRV_SUPER,omitempty"` // KlvsrvTooMuchHosts Number of managed hosts connected to a VS has already reached 10% of the limit //(see LP_VS_MaxCountOfHosts) , read-only attribute. KlvsrvTooMuchHosts *bool `json:"KLVSRV_TOO_MUCH_HOSTS,omitempty"` // KlvsrvUid Virtual server name - a globally unique string KlvsrvUid *string `json:"KLVSRV_UID,omitempty"` // KlvsrvUnassigned Id of virtual server's group "Unassigned computers". KlvsrvUnassigned *int64 `json:"KLVSRV_UNASSIGNED,omitempty"` }
type VServerInfo ¶
type VServerInfo struct {
VServer *VServer `json:"PxgRetVal,omitempty"`
}
VServerInfo struct using in AddVServerInfo
type VServerInfoParams ¶
type VServerInfoParams struct { // LVServer virtual server id LVServer int64 `json:"lVServer,omitempty"` // PFields2Return attributes to acquire PFields2Return []string `json:"pFields2Return"` }
VServerInfoParams struct
type VServerPermissions ¶
type VServerPermissions struct {
Permissions *Permissions `json:"PxgRetVal,omitempty"`
}
VServerPermissions struct
type VServerStatistic ¶
type VServerStatistic struct {
VSStatistic *VSStatistic `json:"PxgRetVal,omitempty"`
}
VServerStatistic struct
type VServers ¶
type VServers service
VServers service allows to create and destroy virtual servers, acquire and modify their attributes.
func (*VServers) AddVServerInfo ¶
func (vs *VServers) AddVServerInfo(ctx context.Context, strDisplayName string, lParentGroup int64) (*VServerInfo, []byte, error)
AddVServerInfo Register new virtual server.
func (*VServers) DelVServer ¶
DelVServer Unregister specified Virtual Server.
func (*VServers) GetPermissions ¶
func (vs *VServers) GetPermissions(ctx context.Context, lVServer int64) (*VServerPermissions, error)
GetPermissions Return ACL for the specified virtual server.
func (*VServers) GetVServerInfo ¶
func (vs *VServers) GetVServerInfo(ctx context.Context, params VServerInfoParams) (*VServerInfo, error)
GetVServerInfo Returns info about the specified virtual server.
func (*VServers) GetVServers ¶
GetVServers Acquire virtual servers for the specified group.
func (*VServers) MoveVServer ¶
func (vs *VServers) MoveVServer(ctx context.Context, lVServer int64, lNewParentGroup int64) (*WActionGUID, error)
MoveVServer Moves specified virtual server to new parent group
func (*VServers) RecallCertAndCloseConnections ¶
RecallCertAndCloseConnections Function recalls Network Agent certificate from the specified virtual server and closes active connections from such Network Agents.
func (*VServers) SetPermissions ¶
SetPermissions Set ACL for the specified virtual server.
func (*VServers) UpdateVServerInfo ¶
func (vs *VServers) UpdateVServerInfo(ctx context.Context, params UpdateVServerInfoParams) error
UpdateVServerInfo Modifies attributes of the specified virtual server
type VServers2 ¶
type VServers2 service
VServers2 service to access Virtual servers processing.
func (*VServers2) GetVServerStatistic ¶
GetVServerStatistic Acquire info on virtual server. Returns info about the specified virtual server
type VServersInfo ¶
type VServersInfos ¶
type VServersInfos struct {
VServersInfo *[]VServersInfo `json:"PxgRetVal,omitempty"`
}
VServersInfos struct using in VServers
type VapmControlApi ¶
type VapmControlApi service
VapmControlApi VAPM.
func (*VapmControlApi) AcceptEulas ¶
func (vca *VapmControlApi) AcceptEulas(ctx context.Context, params PEulaIDParams) ([]byte, error)
AcceptEulas Accepts given EULAs.
func (*VapmControlApi) CancelDeleteFilesForUpdates ¶
func (vca *VapmControlApi) CancelDeleteFilesForUpdates(ctx context.Context, wstrRequestId string) ([]byte, error)
CancelDeleteFilesForUpdates Cancel the files cleanup process initiated by DeleteFilesForUpdates() call.
func (*VapmControlApi) CancelDownloadPatch ¶
func (vca *VapmControlApi) CancelDownloadPatch(ctx context.Context, wstrRequestId string) ([]byte, error)
CancelDownloadPatch Cancel the patch downloading started by DownloadPatchAsync().
func (*VapmControlApi) ChangeApproval ¶
func (vca *VapmControlApi) ChangeApproval(ctx context.Context, params EulasIDSForUpdates) ([]byte, error)
ChangeApproval Changes updates approval.
func (*VapmControlApi) ChangeVulnerabilityIgnorance ¶
func (vca *VapmControlApi) ChangeVulnerabilityIgnorance(ctx context.Context, wstrVulnerabilityUid, wstrHostId string, bIgnore bool) ([]byte, error)
ChangeVulnerabilityIgnorance Changes "ignore" state of a vulnerability.
func (*VapmControlApi) DeclineEulas ¶
func (vca *VapmControlApi) DeclineEulas(ctx context.Context, params PEulaIDParams) ([]byte, error)
DeclineEulas Decline given EULAs.
func (*VapmControlApi) DeleteFilesForUpdates ¶
func (vca *VapmControlApi) DeleteFilesForUpdates(ctx context.Context, params DeleteFilesForUpdatesParams) ([]byte, error)
DeleteFilesForUpdates Cleanup all the files in all the server storages containing the bodies of the given patches.
func (*VapmControlApi) DownloadPatchAsync ¶
func (vca *VapmControlApi) DownloadPatchAsync(ctx context.Context, llPatchGlbId, nLcid int64, wstrRequestId string) ([]byte, error)
DownloadPatchAsync Download 3-party patch to save locally.
func (*VapmControlApi) GetAttributesSetVersionNum ¶
func (vca *VapmControlApi) GetAttributesSetVersionNum(ctx context.Context) (*PxgValInt, error)
GetAttributesSetVersionNum Returns edition of supported attributes, EAttributesSetVersion.
func (*VapmControlApi) GetDownloadPatchDataChunk ¶
func (vca *VapmControlApi) GetDownloadPatchDataChunk(ctx context.Context, wstrRequestId string, nStartPos, nSizeMax int64) ([]byte, error)
GetDownloadPatchDataChunk Get the downloaded patch body chunk.
func (*VapmControlApi) GetDownloadPatchResult ¶
func (vca *VapmControlApi) GetDownloadPatchResult(ctx context.Context, wstrRequestId string) ([]byte, error)
GetDownloadPatchResult Get the information on the patch download result.
func (*VapmControlApi) GetEulaParams ¶
func (vca *VapmControlApi) GetEulaParams(ctx context.Context, nEulaId int64) (*PEULAParams, error)
GetEulaParams Requests EULA params.
func (*VapmControlApi) GetEulasIdsForPatchPrerequisites ¶
func (vca *VapmControlApi) GetEulasIdsForPatchPrerequisites(ctx context.Context, params EulasIDSForPatchPrerequisitesParams) (*EulasIDS, error)
GetEulasIdsForPatchPrerequisites Requests the set of EULA ids for the distributives/patches which are required to install the given patch.
func (*VapmControlApi) GetEulasIdsForUpdates ¶
func (vca *VapmControlApi) GetEulasIdsForUpdates(ctx context.Context, params EulasIdsForUpdatesParams) (*EulasID, error)
GetEulasIdsForUpdates Requests the set of EULA ids for the given set of updates.
func (*VapmControlApi) GetEulasIdsForVulnerabilitiesPatches ¶
func (vca *VapmControlApi) GetEulasIdsForVulnerabilitiesPatches(ctx context.Context, params EulasIDSForVulnerabilitiesPatchesParams) ([]byte, error)
GetEulasIdsForVulnerabilitiesPatches Requests set of EULA ids for the given set of vulnerabilities. Remark: not implemented
func (*VapmControlApi) GetEulasInfo ¶
func (vca *VapmControlApi) GetEulasInfo(ctx context.Context, params PUpdates) (*PEulasInfo, error)
GetEulasInfo Requests the set of EULA descriptors for the given set of updates.
func (*VapmControlApi) GetPendingRulesTasks ¶
func (vca *VapmControlApi) GetPendingRulesTasks(ctx context.Context) (*PendingRulesTasks, error)
GetPendingRulesTasks Get identities of VAPM tasks which rules are still being processed.
func (*VapmControlApi) GetSupportedLcidsForPatchPrerequisites ¶
func (vca *VapmControlApi) GetSupportedLcidsForPatchPrerequisites(ctx context.Context, llPatchGlobalId, nOriginalLcid int64) (*SupportedLcids, error)
GetSupportedLcidsForPatchPrerequisites Gets all LCIDs supported by distributives/patches which are required to install the given patch.
func (*VapmControlApi) GetUpdateSupportedLanguagesFilter ¶
func (vca *VapmControlApi) GetUpdateSupportedLanguagesFilter(ctx context.Context, nUpdateSource int64) (*PSupportedLanguages, error)
GetUpdateSupportedLanguagesFilter Get filter of supported languages for software update.
func (*VapmControlApi) InitiateDownload ¶
func (vca *VapmControlApi) InitiateDownload(ctx context.Context) ([]byte, error)
InitiateDownload Check if any updates have KLVAPM::DS_NEED_DOWNLOAD state, and start the download process if needed.
func (*VapmControlApi) SetPackagesToFixVulnerability ¶
func (vca *VapmControlApi) SetPackagesToFixVulnerability(ctx context.Context, params interface{}) ([]byte, error)
SetPackagesToFixVulnerability Set custom packages as patches for a vulnerability.
type VapmKlUpdatesToApprove ¶
type VapmKlUpdatesToApprove struct { Pxgretval []struct { Type string `json:"type"` Value struct { Bkleulastoaccept bool `json:"bKlEulasToAccept"` Bklmobileeulastoaccept bool `json:"bKlMobileEulasToAccept"` Bklpatchestoapprove bool `json:"bKlPatchesToApprove"` Bksnagreementstoaccept bool `json:"bKsnAgreementsToAccept"` Brevokedpatchesnotdeclined bool `json:"bRevokedPatchesNotDeclined"` } `json:"value"` } `json:"PxgRetVal"` }
type VerifyTokenParam ¶
type VerifyTokenParam struct { //tenant identity WstrTenantID string `json:"wstrTenantId,omitempty"` //binary token (see Multitenancy.GetAuthToken) BinToken string `json:"binToken,omitempty"` }
VerifyTokenParam struct using in CheckAuthToken
type WActionGUID ¶
type WActionGUID struct {
WstrActionGUID string `json:"wstrActionGuid"`
}
WActionGUID struct
type WdsDataParams ¶
type WdsDataParams struct { PSharingHandle PSharingHandle `json:"pSharingHandle"` NLocalPortNumber int64 `json:"nLocalPortNumber"` }
WdsDataParams using in NagRemoteScreen.GetWdsData
type WriteOffFlag ¶
type WriteOffFlag struct { VecObjId []int64 `json:"vecObjId,omitempty"` BFlag bool `json:"bFlag,omitempty"` }
WriteOffFlag struct
type WstrIteratorID ¶
type WstrIteratorID struct {
WstrIteratorID string `json:"wstrIteratorId"`
}
Source Files
¶
- AKPatches.go
- AdHosts.go
- AdSecManager.go
- AdfsSso.go
- AdmServerSettings.go
- AppCtrlApi.go
- AsyncActionStateChecker.go
- CertPoolCtrl.go
- CertPoolCtrl2.go
- CertUtils.go
- CgwHelper.go
- ChunkAccessor.go
- CloudAccess.go
- ConEvents.go
- DataProtectionApi.go
- DatabaseInfo.go
- DpeKeyService.go
- EventNotificationProperties.go
- EventNotificationsApi.go
- EventProcessing.go
- EventProcessingFactory.go
- ExtAud.go
- ExtTenant.go
- FileCategorizer2.go
- FilesAcceptor.go
- GatewayConnection.go
- Gcm.go
- GroupSync.go
- GroupSyncIterator.go
- GroupTaskControlApi.go
- GuiContext.go
- HWInvStorage.go
- Helper.go
- HostGroup.go
- HostMoveRules.go
- HostTagsApi.go
- HostTagsRulesApi.go
- HostTasks.go
- HstAccessControl.go
- IWebSrvSettings.go
- IWebUsersSrv.go
- IWebUsersSrv2.go
- InvLicenseProducts.go
- InventoryApi.go
- KLEVerControl.go
- Kaspersky.go
- KeyService.go
- KeyService2.go
- KillChain.go
- KsnInternal.go
- LicenseInfoSync.go
- LicenseKeys.go
- LicensePolicy.go
- Limits.go
- ListTags.go
- MdmCertCtrlApi.go
- MfaCache.go
- MfaCacheInner.go
- MfaCacheInnerTest.go
- MigrationData.go
- ModulesIntegrityCheck.go
- Multitenancy.go
- NagCgwHelper.go
- NagGuiCalls.go
- NagHstCtl.go
- NagNetworkListApi.go
- NagRdu.go
- NagRemoteScreen.go
- NetUtils.go
- NlaDefinedNetworks.go
- OAuth2.go
- OsVersion.go
- PLCDevApi.go
- PackagesApi.go
- PatchParameters.go
- PluginData.go
- PluginDataStorage.go
- Policy.go
- PolicyProfiles.go
- ProductBackendIntegration.go
- ProductUserTokenIssuer.go
- PushServerOApi.go
- QBTNetworkListApi.go
- QueriesStorage.go
- ReportManager.go
- RetrFiles.go
- ScanDiapasons.go
- SeamlessUpdatesTestApi.go
- SecurityPolicy.go
- SecurityPolicy3.go
- ServerHierarchy.go
- ServerTransportSettings.go
- ServiceNwcCommandProvider.go
- ServiceNwcDeployment.go
- Session.go
- SiemExport.go
- SmsQueue.go
- SmsSenders.go
- SpamEvents.go
- SrvCloud.go
- SrvCloudStat.go
- SrvIpmNewsAndStatistics.go
- SrvRi.go
- SrvSsRevision.go
- SrvView.go
- SsContents.go
- SsRevisionGetNames.go
- SubnetMasks.go
- Tasks.go
- TotpGlobalSettings.go
- TotpRegistration.go
- TotpUserSettings.go
- TrafficManager.go
- UaControl.go
- UpdComps.go
- Updates.go
- UserDevicesApi.go
- VServers.go
- VServers2.go
- VapmControlApi.go
- WolSender.go