Class CIM_Service
extends CIM_EnabledLogicalElement

A Service is a LogicalElement that represents the availability of functionality that can be managed. This functionality may be provided by a seperately modeled entity such as a LogicalDevice or a SoftwareFeature, or both. The modeled Service typically provides only functionality required for management of itself or the elements it affects.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_EnabledLogicalElement
   |
   +--CIM_Service

Direct Known Subclasses

CIM_BIOSService
CIM_BootService
CIM_ClusteringService
CIM_ConditioningService
CIM_ConfigurationReportingService
CIM_ControllerConfigurationService
CIM_DatabaseService
CIM_DiagnosticService
CIM_DropThresholdCalculationService
CIM_FibreProtocolService
CIM_HelpService
CIM_IBSubnetManager
CIM_IndicationService
CIM_IPConfigurationService
CIM_J2eeDeployedObject
CIM_J2eeEJB
CIM_J2eeResourceAdapter
CIM_J2eeServlet
CIM_LaunchInContextService
CIM_MetricService
CIM_NetworkPortConfigurationService
CIM_NetworkService
CIM_OOBAlertService
CIM_OpaqueManagementDataService
CIM_PlatformWatchdogService
CIM_PowerManagementService
CIM_PowerUtilizationManagementService
CIM_PrintService
CIM_ProtocolService
CIM_QoSService
CIM_RedirectionService
CIM_ResourcePoolConfigurationService
CIM_SCSIPathConfigurationService
CIM_SecurityService
CIM_SharedDeviceManagementService
CIM_SNMPService
CIM_SoftwareInstallationService
CIM_StatisticsService
CIM_StorageConfigurationService
CIM_TimeService
CIM_VirtualSystemManagementService
CIM_VirtualSystemSnapshotService
CIM_VLANService
CIM_WakeUpService
CIM_WBEMService
CIM_ZoneService
PRS_SISService

Class Qualifiers

NameData TypeValue
Abstractbooleantrue
DeprecatedstringCIM_Service.RequestStateChange
DescriptionstringA Service is a LogicalElement that represents the availability of functionality that can be managed. This functionality may be provided by a seperately modeled entity such as a LogicalDevice or a SoftwareFeature, or both. The modeled Service typically provides only functionality required for management of itself or the elements it affects.
UMLPackagePathstringCIM::Core::Service
Versionstring2.35.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
CreationClassNamestring
DescriptionstringCreationClassName indicates the name of the class or the subclass that is used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.
Keybooleantrue
MaxLenuint32256
Namestring
DescriptionstringThe Name property uniquely identifies the Service and provides an indication of the functionality that is managed. This functionality is described in more detail in the Description property of the object.
Keybooleantrue
MaxLenuint32256
OverridestringName
PrimaryOwnerContactstring
DescriptionstringA string that provides information on how the primary owner of the Service can be reached (for example, phone number, e-mail address, and so on).
MappingStringsstringMIF.DMTF|General Information|001.4
MaxLenuint32256
Writebooleantrue
PrimaryOwnerNamestring
DescriptionstringThe name of the primary owner for the service, if one is defined. The primary owner is the initial support contact for the Service.
MappingStringsstringMIF.DMTF|General Information|001.3
MaxLenuint3264
Writebooleantrue
Startedboolean
DescriptionstringStarted is a Boolean that indicates whether the Service has been started (TRUE), or stopped (FALSE).
StartModestring
DeprecatedstringCIM_Service.EnabledDefault
DescriptionstringNote: The use of this element is deprecated in lieu of the EnabledDefault property that is inherited from EnabledLogicalElement. The EnabledLogicalElement addresses the same semantics. The change to a uint16 data type was discussed when CIM V2.0 was defined. However, existing V1.0 implementations used the string property. To remain compatible with those implementations, StartMode was grandfathered into the schema. Use of the deprecated qualifier allows the maintenance of the existing property but also permits an improved, clarified definition using EnabledDefault. Deprecated description: StartMode is a string value that indicates whether the Service is automatically started by a System, an Operating System, and so on, or is started only upon request.
MaxLenuint3210
ValueMapstringAutomatic, Manual
SystemCreationClassNamestring
DescriptionstringThe CreationClassName of the scoping System.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_System.CreationClassName
SystemNamestring
DescriptionstringThe Name of the scoping System.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_System.Name

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
ElementNamestringCIM_ManagedElement
EnabledDefaultuint16CIM_EnabledLogicalElement
EnabledStateuint16CIM_EnabledLogicalElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
InstanceIDstringCIM_ManagedElement
OperatingStatusuint16CIM_ManagedSystemElement
OtherEnabledStatestringCIM_EnabledLogicalElement
PrimaryStatusuint16CIM_ManagedSystemElement
RequestedStateuint16CIM_EnabledLogicalElement
StatusstringCIM_ManagedSystemElement
TimeOfLastStateChangedatetimeCIM_EnabledLogicalElement
TransitioningToStateuint16CIM_EnabledLogicalElement
AvailableRequestedStatesuint16[]CIM_EnabledLogicalElement
OperationalStatusuint16[]CIM_ManagedSystemElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods

Local Class Methods

StartService (uint32)

Method Qualifiers (StartService)

NameData TypeValue
DeprecatedstringCIM_Service.RequestStateChange
DescriptionstringThe StartService method places the Service in the started state. Note that the function of this method overlaps with the RequestedState property. RequestedState was added to the model to maintain a record (such as a persisted value) of the last state request. Invoking the StartService method should set the RequestedState property appropriately. The method returns an integer value of 0 if the Service was successfully started, 1 if the request is not supported, and any other number to indicate an error. In a subclass, the set of possible return codes could be specified using a ValueMap qualifier on the method. The strings to which the ValueMap contents are translated can also be specified in the subclass as a Values array qualifier. Note: The semantics of this method overlap with the RequestStateChange method that is inherited from EnabledLogicalElement. This method is maintained because it has been widely implemented, and its simple "start" semantics are convenient to use.

Method Parameters (StartService)

NameTypeQualifiers
NameData TypeValue

StopService (uint32)

Method Qualifiers (StopService)

NameData TypeValue
DeprecatedstringCIM_Service.RequestStateChange
DescriptionstringThe StopService method places the Service in the stopped state. Note that the function of this method overlaps with the RequestedState property. RequestedState was added to the model to maintain a record (such as a persisted value) of the last state request. Invoking the StopService method should set the RequestedState property appropriately. The method returns an integer value of 0 if the Service was successfully stopped, 1 if the request is not supported, and any other number to indicate an error. In a subclass, the set of possible return codes could be specified using a ValueMap qualifier on the method. The strings to which the ValueMap contents are translated can also be specified in the subclass as a Values array qualifier. Note: The semantics of this method overlap with the RequestStateChange method that is inherited from EnabledLogicalElement. This method is maintained because it has been widely implemented, and its simple "stop" semantics are convenient to use.

Method Parameters (StopService)

NameTypeQualifiers
NameData TypeValue

Inherited Class Methods

NameReturn TypeClass Origin
RequestStateChangeuint32CIM_EnabledLogicalElement