Msvm_StorageJob, ROOT\virtualization\v2

Class | Methods (4) | Properties (44) | Qualifiers (4) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

This class represents a image operation job created by the Microsoft Hyper-V Image Management Service.

Msvm_StorageJob methods

Msvm_StorageJob has 4 methods (1 Local, 3 Derived)

NameOriginReturn
GetErrorCIM_ConcreteJobuint32 {'out':True}
GetErrorExMsvm_StorageJobuint32 {'out':True}
KillJobCIM_Jobuint32 {'out':True}
RequestStateChangeCIM_ConcreteJobuint32 {'out':True}

Msvm_StorageJob properties

Msvm_StorageJob has 44 properties (6 Local, 38 Derived)

NameOriginCIMType
CancellableMsvm_StorageJob11 [boolean]
CaptionCIM_ManagedElement8 [string]
ChildMsvm_StorageJob8 [string]
CommunicationStatusCIM_ManagedSystemElement18 [uint16]
DeleteOnCompletionCIM_Job11 [boolean]
DescriptionCIM_ManagedElement8 [string]
DetailedStatusCIM_ManagedSystemElement18 [uint16]
ElapsedTimeCIM_Job101 [datetime]
ElementNameCIM_ManagedElement8 [string]
ErrorCodeCIM_Job18 [uint16]
ErrorDescriptionCIM_Job8 [string]
ErrorSummaryDescriptionMsvm_StorageJob8 [string]
HealthStateCIM_ManagedSystemElement18 [uint16]
InstallDateCIM_ManagedSystemElement101 [datetime]
key
InstanceID
CIM_ManagedElement8 [string]
JobCompletionStatusCodeMsvm_StorageJob19 [uint32]
JobRunTimesCIM_Job19 [uint32]
JobStateCIM_ConcreteJob18 [uint16]
JobStatusCIM_Job8 [string]
JobTypeMsvm_StorageJob18 [uint16]
LocalOrUtcTimeCIM_Job18 [uint16]
NameCIM_ManagedSystemElement8 [string]
NotifyCIM_Job8 [string]
OperatingStatusCIM_ManagedSystemElement18 [uint16]
OperationalStatusCIM_ManagedSystemElement18 [uint16]
OtherRecoveryActionCIM_Job8 [string]
OwnerCIM_Job8 [string]
ParentMsvm_StorageJob8 [string]
PercentCompleteCIM_Job18 [uint16]
PrimaryStatusCIM_ManagedSystemElement18 [uint16]
PriorityCIM_Job19 [uint32]
RecoveryActionCIM_Job18 [uint16]
RunDayCIM_Job16 [sint8]
RunDayOfWeekCIM_Job16 [sint8]
RunMonthCIM_Job17 [uint8]
RunStartIntervalCIM_Job101 [datetime]
ScheduledStartTimeCIM_Job101 [datetime]
StartTimeCIM_Job101 [datetime]
StatusCIM_ManagedSystemElement8 [string]
StatusDescriptionsCIM_ManagedSystemElement8 [string]
TimeBeforeRemovalCIM_ConcreteJob101 [datetime]
TimeOfLastStateChangeCIM_ConcreteJob101 [datetime]
TimeSubmittedCIM_Job101 [datetime]
UntilTimeCIM_Job101 [datetime]

Detailed description of Msvm_StorageJob methods

Local methods (1) of Msvm_StorageJob class

GetErrorEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Errorsstring0-{'ArrayType':'Indexed','Description':'If the operational status of the job is not "OK", this method returns an array of Msvm_Error instances. Otherwise, if the job is "OK", NULL is returned.','HyperVEmbeddedInstance':'Msvm_Error','Out':True}
Bypass_GetObjectTrue
Description'When the job is executing or has terminated without error, then this method returns no Msvm_Error instance. However, if the job has failed because of some internal problem or because the job has been terminated by a client, then one or more Msvm_Error instances are returned.'
ImplementedTrue
ValueMap['0', '32768', '32769', '32770', '32771', '32772', '32773', '32774', '32775', '32776', '32777', '32778']
Values['Completed with No Error', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
GetErrorEx method is in 4 classes of ROOT\virtualization\v2 and in 2 namespaces

Derived methods (3) of Msvm_StorageJob class

GetError method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Errorstring0-{'Description':'If the OperationalStatus on the Job is not "OK", then this method will return a CIM Error instance. Otherwise, when the Job is "OK", null is returned.','HyperVEmbeddedInstance':'CIM_Error'}
Bypass_GetObjectTrue
ImplementedTrue
Override'CIM_ConcreteJob.GetError'
ValueMap['0', '32768', '32769', '32770', '32771', '32772', '32773', '32774', '32775', '32776', '32777', '32778']
Values['Completed with No Error', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in used', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
GetError method is in 5 classes of ROOT\virtualization\v2 and in 8 namespaces
KillJob method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DeleteOnKillboolean0-{'Description':'Indicates whether or not the Job should be automatically deleted upon termination. This parameter takes precedence over the property, DeleteOnCompletion.'}
KillJob method is in 6 classes of ROOT\virtualization\v2 and in 8 namespaces
RequestStateChange method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
RequestedStateuint160-{'Description':'RequestStateChange changes the state of a job. The possible values are as follows: Start (2) changes the state to 'Running'. Suspend (3) stops the job temporarily. The intention is to subsequently restart the job with 'Start'. It might be possible to enter the 'Service' state while suspended. (This is job-specific.) Terminate (4) stops the job cleanly, saving data, preserving the state, and shutting down all underlying processes in an orderly manner. Kill (5) terminates the job immediately with no requirement to save data or preserve the state. Service (6) puts the job into a vendor-specific service state. It might be possible to restart the job.','ValueMap':['2', '3', '4', '5', '6', '7..32767', '32768..65535'],'Values':['Start', 'Suspend', 'Terminate', 'Kill', 'Service', 'DMTF Reserved', 'Vendor Reserved']}
TimeoutPerioddatetime1-{'Description':'A timeout period that specifies the maximum amount of time that the client expects the transition to the new state to take. The interval format must be used to specify the TimeoutPeriod. A value of 0 or a null parameter indicates that the client has no time requirements for the transition. If this property does not contain 0 or null and the implementation does not support this parameter, a return code of 'Use Of Timeout Parameter Not Supported' must be returned.'}
Bypass_GetObjectTrue
ImplementedTrue
Override'CIM_ConcreteJob.RequestStateChange'
ValueMap['0', '32768', '32769', '32770', '32771', '32772', '32773', '32774', '32775', '32776', '32777', '32778']
RequestStateChange method is in 111 classes of ROOT\virtualization\v2 and in 15 namespaces

Detailed description of Msvm_StorageJob properties

Local properties (6) of Msvm_StorageJob class

Cancellable property
CIMTYPE'boolean'
Description'Indicates whether the job can be cancelled. The value of this property does not guarantee that a request to cancel the job will succeed.'
readTrue
Cancellable property is in 4 classes of ROOT\virtualization\v2 and in 2 namespaces
Child property
CIMTYPE'string'
Description'On failure of the asynchronous operation, this property contains the file path to the child of the virtual hard drive being affected by this operation.'
readTrue
Child property is in 1 class (Msvm_StorageJob) of ROOT\virtualization\v2 and in 6 namespaces
ErrorSummaryDescription property
CIMTYPE'string'
ModelCorrespondence['CIM_Job.ErrorCode']
readTrue
ErrorSummaryDescription property is in 4 classes of ROOT\virtualization\v2 and in 1 namespace
JobCompletionStatusCode property
CIMTYPE'uint32'
Description'The HRESULT code that describes the completion status for the asynchronous operation.'
readTrue
JobCompletionStatusCode property is in 1 class (Msvm_StorageJob) of ROOT\virtualization\v2 and in 2 namespaces
JobType property
CIMTYPE'uint16'
Description'The type of asynchronous operation being tracked by this instance of Msvm_StorageJob.
Values are:
Unknown
VHD Creation: Creating a virtual hard disk image (VHD).
Floppy Creation: Creating a virtual floppy disk image (VFD).
Compaction: Compacting the size of a virtual hard disk image.
Expansion: Expanding the size of a virtual hard disk image.
Merging: Merging multiple virtual hard disk images into a single image.
Conversion: Converting the type of a virtual hard disk image.
Loopback Mount: Mounting the virtual hard disk on the parent partition.
Get VHD Info: Retrieving information about a virtual hard disk image (VHD).
Validate VHD Image: Validating a virtual hard disk image (VHD).'
readTrue
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Values['Unknown', 'VHD Creation', 'Floppy Creation', 'Compaction', 'Expansion', 'Merging', 'Conversion', 'Loopback Mount', 'Get VHD Info', 'Validate VHD Image']
JobType property is in 3 classes of ROOT\virtualization\v2 and in 2 namespaces
Parent property
CIMTYPE'string'
Description'On failure of the asynchronous operation, this property contains the file path to the parent of the virtual hard drive being affected by this operation.'
readTrue
Parent property is in 23 classes of ROOT\virtualization\v2 and in 8 namespaces

Derived properties (38) of Msvm_StorageJob class

Caption property
CIMTYPE'string'
Caption property is in 222 classes of ROOT\virtualization\v2 and in 37 namespaces
CommunicationStatus property
CIMTYPE'uint16'
CommunicationStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
DeleteOnCompletion property
CIMTYPE'boolean'
DeleteOnCompletion property is in 6 classes of ROOT\virtualization\v2 and in 11 namespaces
Description property
CIMTYPE'string'
Description property is in 225 classes of ROOT\virtualization\v2 and in 142 namespaces
DetailedStatus property
CIMTYPE'uint16'
DetailedStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
ElapsedTime property
CIMTYPE'datetime'
ElapsedTime property is in 6 classes of ROOT\virtualization\v2 and in 17 namespaces
ElementName property
CIMTYPE'string'
ElementName property is in 223 classes of ROOT\virtualization\v2 and in 21 namespaces
ErrorCode property
CIMTYPE'uint16'
ErrorCode property is in 8 classes of ROOT\virtualization\v2 and in 142 namespaces
ErrorDescription property
CIMTYPE'string'
ErrorDescription property is in 71 classes of ROOT\virtualization\v2 and in 142 namespaces
HealthState property
CIMTYPE'uint16'
HealthState property is in 128 classes of ROOT\virtualization\v2 and in 15 namespaces
InstallDate property
CIMTYPE'datetime'
InstallDate property is in 127 classes of ROOT\virtualization\v2 and in 23 namespaces
InstanceID property
CIMTYPE'string'
keyTrue
InstanceID property is in 223 classes of ROOT\virtualization\v2 and in 21 namespaces
JobRunTimes property
CIMTYPE'uint32'
JobRunTimes property is in 6 classes of ROOT\virtualization\v2 and in 8 namespaces
JobState property
CIMTYPE'uint16'
JobState property is in 5 classes of ROOT\virtualization\v2 and in 13 namespaces
JobStatus property
CIMTYPE'string'
JobStatus property is in 6 classes of ROOT\virtualization\v2 and in 15 namespaces
LocalOrUtcTime property
CIMTYPE'uint16'
LocalOrUtcTime property is in 6 classes of ROOT\virtualization\v2 and in 13 namespaces
Name property
CIMTYPE'string'
Name property is in 152 classes of ROOT\virtualization\v2 and in 142 namespaces
Notify property
CIMTYPE'string'
Notify property is in 6 classes of ROOT\virtualization\v2 and in 13 namespaces
OperatingStatus property
CIMTYPE'uint16'
OperatingStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
OperationalStatus property
CIMTYPE'uint16'
OperationalStatus property is in 128 classes of ROOT\virtualization\v2 and in 18 namespaces
OtherRecoveryAction property
CIMTYPE'string'
OtherRecoveryAction property is in 6 classes of ROOT\virtualization\v2 and in 11 namespaces
Owner property
CIMTYPE'string'
Owner property is in 7 classes of ROOT\virtualization\v2 and in 142 namespaces
PercentComplete property
CIMTYPE'uint16'
PercentComplete property is in 6 classes of ROOT\virtualization\v2 and in 15 namespaces
PrimaryStatus property
CIMTYPE'uint16'
PrimaryStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
Priority property
CIMTYPE'uint32'
Priority property is in 8 classes of ROOT\virtualization\v2 and in 31 namespaces
RecoveryAction property
CIMTYPE'uint16'
RecoveryAction property is in 6 classes of ROOT\virtualization\v2 and in 11 namespaces
RunDay property
CIMTYPE'sint8'
RunDay property is in 6 classes of ROOT\virtualization\v2 and in 8 namespaces
RunDayOfWeek property
CIMTYPE'sint8'
RunDayOfWeek property is in 6 classes of ROOT\virtualization\v2 and in 8 namespaces
RunMonth property
CIMTYPE'uint8'
RunMonth property is in 6 classes of ROOT\virtualization\v2 and in 8 namespaces
RunStartInterval property
CIMTYPE'datetime'
RunStartInterval property is in 6 classes of ROOT\virtualization\v2 and in 8 namespaces
ScheduledStartTime property
CIMTYPE'datetime'
ScheduledStartTime property is in 6 classes of ROOT\virtualization\v2 and in 8 namespaces
StartTime property
CIMTYPE'datetime'
StartTime property is in 6 classes of ROOT\virtualization\v2 and in 24 namespaces
Status property
CIMTYPE'string'
Status property is in 127 classes of ROOT\virtualization\v2 and in 42 namespaces
StatusDescriptions property
CIMTYPE'string'
StatusDescriptions property is in 128 classes of ROOT\virtualization\v2 and in 18 namespaces
TimeBeforeRemoval property
CIMTYPE'datetime'
TimeBeforeRemoval property is in 5 classes of ROOT\virtualization\v2 and in 13 namespaces
TimeOfLastStateChange property
CIMTYPE'datetime'
TimeOfLastStateChange property is in 111 classes of ROOT\virtualization\v2 and in 17 namespaces
TimeSubmitted property
CIMTYPE'datetime'
TimeSubmitted property is in 6 classes of ROOT\virtualization\v2 and in 15 namespaces
UntilTime property
CIMTYPE'datetime'
UntilTime property is in 6 classes of ROOT\virtualization\v2 and in 10 namespaces

Msvm_StorageJob Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'This class represents a image operation job created by the Microsoft Hyper-V Image Management Service.'
dynamicTrue
Locale1033
provider'VmmsWmiInstanceAndMethodProvider'

Msvm_StorageJob System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\virtualization\v2:Msvm_StorageJob'___SYSTEM8
__NAMESPACE'ROOT\virtualization\v2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_ConcreteJob', 'CIM_Job', 'CIM_LogicalElement', 'CIM_ManagedSystemElement', 'CIM_ManagedElement']___SYSTEM8
__PROPERTY_COUNT44___SYSTEM3
__RELPATH'Msvm_StorageJob'___SYSTEM8
__DYNASTY'CIM_ManagedElement'___SYSTEM8
__SUPERCLASS'CIM_ConcreteJob'___SYSTEM8
__CLASS'Msvm_StorageJob'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Msvm_StorageJob

Number of classes:1
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Msvm_AffectedStorageJobElement040----
comments powered by Disqus
WUtils.com