LMIInstanceName Package

class LMIInstanceName.LMIInstanceName(conn, cim_instance_name)[source]

LMI wrapper class representing CIMInstanceName.

Parameters:
  • conn (LMIConnection) – connection object
  • cim_instance_name (CIMInstanceName) – wrapped object
classname[source]
Returns:class name
Return type:string
copy()[source]
Returns:copy of itself
hostname[source]
Returns:host name
Return type:string
key_properties()[source]
Returns:list of strings of key properties

Usage: Key properties.

key_properties_dict()[source]
Returns:dictionary with key properties and corresponding values
key_property_value(prop_name)[source]
Parameters:prop_name (string) – key property name
Returns:key property value
namespace[source]
Returns:namespace name
Return type:string
print_key_properties()[source]

Prints out the list of key properties.

Usage: Key properties.

to_instance()[source]

Creates a new LMIInstance object from LMIInstanceName.

Returns:LMIInstance object if the object was retrieved successfully; None otherwise.

Usage: Conversion to a LMIInstance.

wrapped_object[source]
Returns:wrapped CIMInstanceName object

This Page