HP Operations Manager for Windows

OV_Service


Description
This class identifies service objects that represent actual or virtual services in the enterprise. These services may be discovered or entered manually.
class OV_Service
{
Properties:
string Name;
string HostPath;
string Attributes[];
string CalcRuleId;
string Icon;
string MsgPropRuleId;
real32 MsgWeightFactor;
string ServiceTypeId;
string ReportFamily;
string ReportCategory;
string GraphFamily;
string GraphCategory;
string GraphInstanceID;
string SDSearchCode;
string OriginalId;
string MsgSvcName[];
boolean IsInMaintMode;
boolean IsInSchedOutage;
boolean DeleteMsgInMaintMode;
boolean DeleteMsgInSchedOutage;

Class Methods:
OV_Service Create(
[in] string Caption,
[in] string ServiceTypeId,
[in, optional] sint32 HostingType,
[in, optional] string HostedOnName,
[in, optional] string ParentName,
[in, optional] string Name,
[in, optional] string Description,
[in, optional] string Attributes[]
);
OV_Service Create_Trans(
[in] string TransId,
[in] string Caption,
[in] string ServiceTypeId,
[in, optional] sint32 HostingType,
[in, optional] string HostedOnName,
[in, optional] string ParentName,
[in, optional] string Name,
[in, optional] string Description,
[in, optional] string Attributes[]
);
void Remove(
[in] string Name
);
void Remove_Trans(
[in] string TransId,
[in] string Name
);
OV_Service GetRoot(
);
OV_Service GetRoot_Trans(
[in] string TransId
);
OV_Service GetByName(
[in] string Name
);
OV_Service GetByName_Trans(
[in] string TransId,
[in] string Name
);
OV_Service GetByHierarchicalPath(
[in] string Path
);
OV_Service GetByHierarchicalPath_Trans(
[in] string TransId,
[in] string Path
);
sint32 GetServiceSet(
[out] OV_Service Services[],
[in, optional] string ServiceNames[],
[in, optional] string ServicePaths[],
[in, optional] string ParentServiceNames[],
[in, optional] string ParentServicePaths[]
);
sint32 GetServiceSet_Trans(
[in] string TransId,
[out] OV_Service Services[],
[in, optional] string ServiceNames[],
[in, optional] string ServicePaths[],
[in, optional] string ParentServiceNames[],
[in, optional] string ParentServicePaths[]
);

Instance Methods:
void Modify(
[in] OV_Service Service
);
void Modify_Trans(
[in] string TransId,
[in] OV_Service Service
);
sint32 GetParents(
[out] OV_Service Services[],
[in, optional] boolean IncludeAllHierarchicalParents
);
sint32 GetParents_Trans(
[in] string TransId,
[out] OV_Service Services[],
[in, optional] boolean IncludeAllHierarchicalParents
);
boolean IsChildOf(
[in] string ParentName
);
boolean IsChildOf_Trans(
[in] string TransId,
[in] string ParentName
);
sint32 GetChildServices(
[out] OV_Service Services[],
[in, optional] boolean IncludeAllSubordinate
);
sint32 GetChildServices_Trans(
[in] string TransId,
[out] OV_Service Services[],
[in, optional] boolean IncludeAllSubordinate
);
boolean HasChildService(
[in] string ServiceName,
[in, optional] boolean IncludeAllSubordinate
);
boolean HasChildService_Trans(
[in] string TransId,
[in] string ServiceName,
[in, optional] boolean IncludeAllSubordinate
);
sint32 GetAntecedentServices(
[out] OV_Service AntecedentServices[],
[in, optional] boolean IncludeAllAntecedent
);
sint32 GetAntecedentServices_Trans(
[in] string TransId,
[out] OV_Service AntecedentServices[],
[in, optional] boolean IncludeAllAntecedent
);
boolean HasAntecedentService(
[in] string AntecedentName,
[in, optional] boolean IncludeAllAntecedent
);
boolean HasAntecedentService_Trans(
[in] string TransId,
[in] string AntecedentName,
[in, optional] boolean IncludeAllAntecedent
);
boolean AddAntecedentService(
[in] string AntecedentName,
[in, optional] string PropRuleId,
[in, optional] real32 WeightFactor,
[in, optional] sint32 State
);
boolean AddAntecedentService_Trans(
[in] string TransId,
[in] string AntecedentName,
[in, optional] string PropRuleId,
[in, optional] real32 WeightFactor,
[in, optional] sint32 State
);
void RemoveAntecedentService(
[in] string AntecedentName
);
void RemoveAntecedentService_Trans(
[in] string TransId,
[in] string AntecedentName
);
sint32 GetDependentServices(
[out] OV_Service DependentServices[],
[in, optional] boolean IncludeAllDependent
);
sint32 GetDependentServices_Trans(
[in] string TransId,
[out] OV_Service DependentServices[],
[in, optional] boolean IncludeAllDependent
);
boolean HasDependentService(
[in] string DependentName,
[in, optional] boolean IncludeAllDependent
);
boolean HasDependentService_Trans(
[in] string TransId,
[in] string DependentName,
[in, optional] boolean IncludeAllDependent
);
boolean AddAction(
[in] string ActionName
);
boolean AddAction_Trans(
[in] string TransId,
[in] string ActionName
);
void RemoveAction(
[in] string ActionName
);
void RemoveAction_Trans(
[in] string TransId,
[in] string ActionName
);
sint32 GetActions(
[out] OV_Action Actions[],
[in, optional] boolean IncludeDefault
);
sint32 GetActions_Trans(
[in] string TransId,
[out] OV_Action Actions[],
[in, optional] boolean IncludeDefault
);
boolean HasAction(
[in] string ActionName,
[in, optional] boolean IncludeDefault
);
boolean HasAction_Trans(
[in] string TransId,
[in] string ActionName,
[in, optional] boolean IncludeDefault
);
void SetReport(
[in, optional] string ReportFamily,
[in] string ReportCategory
);
void SetReport_Trans(
[in] string TransId,
[in, optional] string ReportFamily,
[in] string ReportCategory
);
void DeleteReport(
);
void DeleteReport_Trans(
[in] string TransId
);
void SetGraph(
[in, optional] string GraphFamily,
[in] string GraphCategory
);
void SetGraph_Trans(
[in] string TransId,
[in, optional] string GraphFamily,
[in] string GraphCategory
);
void DeleteGraph(
);
void DeleteGraph_Trans(
[in] string TransId
);
OV_ServiceTypeDefinition GetServiceType(
);
OV_ServiceTypeDefinition GetServiceType_Trans(
[in] string TransId
);
boolean GetHostNode(
[out] OV_ManagedNode Node
);
boolean GetHostNode_Trans(
[in] string TransId,
[out] OV_ManagedNode Node
);
boolean IsHostedOnNode(
[in] string NodeName
);
boolean IsHostedOnNode_Trans(
[in] string TransId,
[in] string NodeName
);
boolean GetHostNodeGroup(
[out] OV_NodeGroup NodeGroup
);
boolean GetHostNodeGroup_Trans(
[in] string TransId,
[out] OV_NodeGroup NodeGroup
);
boolean IsHostedOnNodeGroup(
[in] string NodeGroupName
);
boolean IsHostedOnNodeGroup_Trans(
[in] string TransId,
[in] string NodeGroupName
);
void SetCalculationRule(
[in] string CalcRuleId
);
void SetCalculationRule_Trans(
[in] string TransId,
[in] string CalcRuleId
);
OV_CalculationRule GetCalculationRule(
);
OV_CalculationRule GetCalculationRule_Trans(
[in] string TransId
);
void SetMessagePropagationRule(
[in] string MsgPropRuleId
);
void SetMessagePropagationRule_Trans(
[in] string TransId,
[in] string MsgPropRuleId
);
OV_PropagationRule GetMessagePropagationRule(
);
OV_PropagationRule GetMessagePropagationRule_Trans(
[in] string TransId
);
void SetMessageWeightFactor(
[in] real32 MsgWeightFactor
);
void SetMessageWeightFactor_Trans(
[in] string TransId,
[in] real32 MsgWeightFactor
);
real32 GetMessageWeightFactor(
);
real32 GetMessageWeightFactor_Trans(
[in] string TransId
);
void SetDependencyPropagationRule(
[in] string AntecedentService,
[in] string PropRuleId
);
void SetDependencyPropagationRule_Trans(
[in] string TransId,
[in] string AntecedentService,
[in] string PropRuleId
);
OV_PropagationRule GetDependencyPropagationRule(
[in] string AntecedentService
);
OV_PropagationRule GetDependencyPropagationRule_Trans(
[in] string TransId,
[in] string AntecedentService
);
void SetDependencyWeightFactor(
[in] string AntecedentService,
[in] real32 MsgWeightFactor
);
void SetDependencyWeightFactor_Trans(
[in] string TransId,
[in] string AntecedentService,
[in] real32 MsgWeightFactor
);
real32 GetDependencyWeightFactor(
[in] string AntecedentService
);
real32 GetDependencyWeightFactor_Trans(
[in] string TransId,
[in] string AntecedentService
);
void SetCompositionPropagationRule(
[in] string ChildService,
[in] string PropRuleId
);
void SetCompositionPropagationRule_Trans(
[in] string TransId,
[in] string ChildService,
[in] string PropRuleId
);
OV_PropagationRule GetCompositionPropagationRule(
[in] string ChildService
);
OV_PropagationRule GetCompositionPropagationRule_Trans(
[in] string TransId,
[in] string ChildService
);
void SetCompositionWeightFactor(
[in] string ChildService,
[in] real32 MsgWeightFactor
);
void SetCompositionWeightFactor_Trans(
[in] string TransId,
[in] string ChildService,
[in] real32 MsgWeightFactor
);
real32 GetCompositionWeightFactor(
[in] string ChildService
);
real32 GetCompositionWeightFactor_Trans(
[in] string TransId,
[in] string ChildService
);
void SetOutage(
[in] sint32 IsInOutage,
[in] boolean IsScheduled,
[in, optional] sint32 DeleteMessageInOutage,
[in, optional] boolean IncludeAllSubordinate
);
void SetOutage_Trans(
[in] string TransId,
[in] sint32 IsInOutage,
[in] boolean IsScheduled,
[in, optional] sint32 DeleteMessageInOutage,
[in, optional] boolean IncludeAllSubordinate
);
};