A CIM instance, optionally including its instance path.
This object can be used like a dictionary to retrieve the property values.
|
|
None
|
update(D,
E,
**F)
Update D from E and F: for k in E: D[k] = E[k]
(if E has keys else: for (k, v) in E: D[k] = v)
then: for k in F: D[k] = F[k] |
source code
|
|
|
|
|
copy(self)
Return copy of the CIMInstance object |
source code
|
|
|
|
|
__contains__(self,
key)
Test if argument key is one of the properteis |
source code
|
|
|
__getitem__(self,
key)
Return the property with key |
source code
|
|
|
|
|
|
|
has_key(self,
key)
Return boolean True if there is a key property |
source code
|
|
|
keys(self)
return keys for properties in instance |
source code
|
|
|
|
|
items(self)
return key and value for property.items |
source code
|
|
|
|
|
itervalues(self)
Iterate through properties returning value |
source code
|
|
|
iteritems(self)
Iterate through properties returing key, value tuples |
source code
|
|
|
|
|
get(self,
key,
default=None)
Get the value of a specific property, or the specified default
value if a property with that name does not exist. |
source code
|
|
|
tocimxml(self)
Return string with CIM/XML representing this CIMInstance. |
source code
|
|
|
tomof(self,
indent=7)
Return string representing the MOF definition of this
CIMInstance. |
source code
|
|
Inherited from cim_types._CIMComparisonMixin :
__eq__ ,
__ge__ ,
__gt__ ,
__le__ ,
__lt__ ,
__ne__
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|