HP Operations Manager for Windows

OV_ServiceTypeDefinition


Description
This is the definitional component of a Service. It describes the format for the name (key) and caption. It is also the anchor point for the default calculation rules and message propagation rules for the service instances created from this type definition. The version qualifier is set by whoever creates an instance of OV_ServiceTypeDefinition. The version provides the discovery agent with the version of the definitional information.
class OV_ServiceTypeDefinition
{
Properties:
string GUID;
string CalcRuleId;
string KeyFormat;
string CaptionFormat;
string DescriptionFormat;
string Icon;
string MsgPropRuleId;
string ManagementModuleId;
string ReportFamily;
string ReportCategory;
string GraphFamily;
string GraphCategory;
string Version;

Class Methods:
OV_ServiceTypeDefinition GetRoot(
);
OV_ServiceTypeDefinition GetRoot_Trans(
[in] string TransId
);
OV_ServiceTypeDefinition GetById(
[in] string GUID
);
OV_ServiceTypeDefinition GetById_Trans(
[in] string TransId,
[in] string GUID
);
OV_ServiceTypeDefinition GetByHierarchicalPath(
[in] string Path
);
OV_ServiceTypeDefinition GetByHierarchicalPath_Trans(
[in] string TransId,
[in] string Path
);

Instance Methods:
sint32 GetParents(
[out] OV_ServiceTypeDefinition ServiceTypes[],
[in, optional] boolean IncludeAllHierarchicalParents
);
sint32 GetParents_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition ServiceTypes[],
[in, optional] boolean IncludeAllHierarchicalParents
);
boolean IsChildOf(
[in] string ParentGUID
);
boolean IsChildOf_Trans(
[in] string TransId,
[in] string ParentGUID
);
sint32 GetChildServiceTypes(
[out] OV_ServiceTypeDefinition ServiceTypes[],
[in, optional] boolean IncludeAllSubordinate
);
sint32 GetChildServiceTypes_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition ServiceTypes[],
[in, optional] boolean IncludeAllSubordinate
);
boolean HasChildServiceType(
[in] string ChildGUID,
[in, optional] boolean IncludeAllSubordinate
);
boolean HasChildServiceType_Trans(
[in] string TransId,
[in] string ChildGUID,
[in, optional] boolean IncludeAllSubordinate
);
sint32 GetAntecedentServiceTypes(
[out] OV_ServiceTypeDefinition AntecedentServiceTypes[],
[in, optional] boolean IncludeAllAntecedent
);
sint32 GetAntecedentServiceTypes_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition AntecedentServiceTypes[],
[in, optional] boolean IncludeAllAntecedent
);
boolean HasAntecedentServiceType(
[in] string AntecedentGUID,
[in, optional] boolean IncludeAllAntecedent
);
boolean HasAntecedentServiceType_Trans(
[in] string TransId,
[in] string AntecedentGUID,
[in, optional] boolean IncludeAllAntecedent
);
boolean AddAntecedentServiceType(
[in] string AntecedentGUID,
[in] string PropRuleId
);
boolean AddAntecedentServiceType_Trans(
[in] string TransId,
[in] string AntecedentGUID,
[in] string PropRuleId
);
void RemoveAntecedentServiceType(
[in] string AntecedentGUID
);
void RemoveAntecedentServiceType_Trans(
[in] string TransId,
[in] string AntecedentGUID
);
sint32 GetDependentServiceTypes(
[out] OV_ServiceTypeDefinition DependentServiceTypes[],
[in, optional] boolean IncludeAllDependent
);
sint32 GetDependentServiceTypes_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition DependentServiceTypes[],
[in, optional] boolean IncludeAllDependent
);
boolean HasDependentServiceType(
[in] string DependentGUID,
[in, optional] boolean IncludeAllDependent
);
boolean HasDependentServiceType_Trans(
[in] string TransId,
[in] string DependentGUID,
[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[]
);
sint32 GetActions_Trans(
[in] string TransId,
[out] OV_Action Actions[]
);
boolean HasAction(
[in] string ActionName
);
boolean HasAction_Trans(
[in] string TransId,
[in] string ActionName
);
boolean AddAutoDeployPolicyGroup(
[in] string AutoDeployPolicyGroupName
);
boolean AddAutoDeployPolicyGroup_Trans(
[in] string TransId,
[in] string AutoDeployPolicyGroupName
);
void RemoveAutoDeployPolicyGroup(
[in] string AutoDeployPolicyGroupName
);
void RemoveAutoDeployPolicyGroup_Trans(
[in] string TransId,
[in] string AutoDeployPolicyGroupName
);
sint32 GetAutoDeployPolicyGroups(
[out] OV_AutoDeployPolicyGroup AutoDeployPolicyGroups[]
);
sint32 GetAutoDeployPolicyGroups_Trans(
[in] string TransId,
[out] OV_AutoDeployPolicyGroup AutoDeployPolicyGroups[]
);
boolean HasAutoDeployPolicyGroup(
[in] string AutoDeployPolicyGroupName
);
boolean HasAutoDeployPolicyGroup_Trans(
[in] string TransId,
[in] string AutoDeployPolicyGroupName
);
boolean AddAutoDeployPackage(
[in] string AutoDeployPackageName,
[in, optional] string Attributes[]
);
boolean AddAutoDeployPackage_Trans(
[in] string TransId,
[in] string AutoDeployPackageName,
[in, optional] string Attributes[]
);
void RemoveAutoDeployPackage(
[in] string AutoDeployPackageName
);
void RemoveAutoDeployPackage_Trans(
[in] string TransId,
[in] string AutoDeployPackageName
);
sint32 GetAutoDeployPackages(
[out] OV_AutoDeployPackages AutoDeployPackages[]
);
sint32 GetAutoDeployPackages_Trans(
[in] string TransId,
[out] OV_AutoDeployPackages AutoDeployPackages[]
);
boolean HasAutoDeployPackage(
[in] string AutoDeployPackageName
);
boolean HasAutoDeployPackage_Trans(
[in] string TransId,
[in] string AutoDeployPackageName
);
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
);
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 SetDependencyPropagationRule(
[in] string AntecedentServiceType,
[in] string PropRuleId
);
void SetDependencyPropagationRule_Trans(
[in] string TransId,
[in] string AntecedentServiceType,
[in] string PropRuleId
);
OV_PropagationRule GetDependencyPropagationRule(
[in] string AntecedentServiceType
);
OV_PropagationRule GetDependencyPropagationRule_Trans(
[in] string TransId,
[in] string AntecedentServiceType
);
void SetCompositionPropagationRule(
[in] string ChildServiceType,
[in] string PropRuleId
);
void SetCompositionPropagationRule_Trans(
[in] string TransId,
[in] string ChildServiceType,
[in] string PropRuleId
);
OV_PropagationRule GetCompositionPropagationRule(
[in] string ChildServiceType
);
OV_PropagationRule GetCompositionPropagationRule_Trans(
[in] string TransId,
[in] string ChildServiceType
);
};