CIMInstance¶
- class lmiwbem.lmiwbem_core.CIMInstance¶
Constructs a CIMInstance.
Parameters: - classname (str) – String containing a class name
- properties (NocaseDict) – Dictionary containing CIMProperty
- qualifiers (NocaseDict) – Dictionary containing CIMQualifier
- path (CIMInstanceName) – Object path
- property_list (list) – List containing strings of properties
- classname¶
Property storing class name
Return type: str
- copy()¶
Returns: copy of the object itself Return type: CIMInstance
- has_key(key)¶
Parameters: key (str) – key to check for presence in object’s properties Returns: True, if the key is present in object’s properties; False otherwise Return type: bool
- items()¶
Returns: list of tuples with property name and value Return type: list
- iteritems()¶
Returns: iterator for property name and value iteration Return type: iterator
- iterkeys()¶
Returns: iterator for property names iteration Return type: iterator
- itervalues()¶
Returns: iterator for property values iteration Return type: iterator
- keys()¶
Returns: list of strings of property names Return type: list
- path¶
Property storing object path
Return type: CIMInstanceName
- properties¶
Property storing instance properties
Return type: NocaseDict
- property_list¶
Property storing instance properties
Return type: list of strings of instance properties
- qualifiers¶
Property storing instance qualifiers
Return type: NocaseDict
- tomof()¶
Returns: MOF representation of the object itself Return type: str
- values()¶
Returns: list of property values Return type: list