LMI wrapper class representing CIMInstance.
Parameters: |
|
---|
Returns a list of associated LMIInstanceName with this object.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty list. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | list of associated LMIInstanceName objects |
Raises : |
Usage: Associated Instance Names.
Returns a list of associated LMIInstance objects with this instance.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty list. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | list of associated LMIInstance objects |
Raises : |
Usage: Associated Instances.
Deletes this instance from the CIMOM.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | True, if the instance is deleted; False otherwise |
---|---|
Raises : | LMIDeletedObjectError |
Usage: Instance deletion.
Prints out pretty verbose message with documentation for the instance. If the LMIShell is run in a interactive mode, the output will be redirected to a pager set by environment variable PAGER. If there is not PAGER set, less or more will be used as a fall-back.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Raises : | LMIDeletedObjectError |
---|
Returns the first associated LMIInstance with this object.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | first associated LMIInstance |
Raises : |
Usage: Associated Instances.
Returns the first associated LMIInstanceName with this object.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | first associated LMIInstanceName object |
Raises : |
Usage: Associated Instance Names.
Returns the first association LMIInstance with this object.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | first association LMIInstance object |
Raises : |
Usage: Association Instances.
Returns the first association LMIInstanceName with this object.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | first association LMIInstanceName object |
Raises : |
Usage: Association Instance Names.
Returns a list of CIMInstance methods’ names.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty list. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | list of CIMInstance methods’ names |
---|---|
Raises : | LMIDeletedObjectError |
Usage: Instance Methods.
Prints out the list of CIMInstance methods’ names.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Raises : | LMIDeletedObjectError |
---|
Usage: Instance Methods.
Prints out the list of CIMInstance properties.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Raises : | LMIDeletedObjectError |
---|
Usage: Instance Properties.
Returns a list of CIMInstance properties.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty list. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | list of CIMInstance properties |
---|---|
Return type: | list |
Raises : | LMIDeletedObjectError |
Usage: Instance Properties.
Returns dictionary containing property name and value pairs. This method may consume significant memory amount when called.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty dictionary. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | dictionary of CIMInstance properties |
---|---|
Raises : | LMIDeletedObjectError |
Returns a CIMInstance property value.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: | prop_name (string) – CIMInstance property name |
---|---|
Raises : | LMIDeletedObjectError |
Pushes the modified object to the CIMOM.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return LMIReturnValue object containing False as a return value with proper error string set. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | LMIReturnValue object with rval set to 0, if modified; -1 otherwise |
---|---|
Raises : | LMIDeletedObjectError |
Usage: Instance Properties.
Returns a list of association LMIInstanceName objects with this object.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty list. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | list of association LMIInstanceName objects |
Raises : |
Usage: Association Instance Names.
Returns a list of association LMIInstance objects with this object.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty list. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Parameters: |
|
---|---|
Returns: | list of association LMIInstance objects |
Raises : |
Usage: Association Instances.
Retrieves a new CIMInstance object. Basically refreshes the object properties. Returns LMIReturnValue with rval set to True, if the wrapped CIMInstance object was refreshed; otherwise rval is set to False.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return LMIReturnValue object containing False as a return value with proper error string set. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | LMIReturnValue object with rval set to True, if refreshed; False otherwise |
---|---|
Raises : | LMIDeletedObjectError |
Usage: Instance refreshing.
Prints out a message with MOF representation of CIMMethod. If the LMIShell is run in a interactive mode, the output will be redirected to a pager set by environment variable PAGER. If there is not PAGER set, less or more will be used as a fall-back.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Raises : | LMIDeletedObjectError |
---|
Property returning a string of a class name.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty string. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | class name |
---|---|
Return type: | string |
Raises : | LMIDeletedObjectError |
Property retuning a string of a namespace name.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return an empty string. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | namespace name |
---|---|
Return type: | string |
Raises : | LMIDeletedObjectError |
Property returning a LMIInstanceName objec5.
NOTE: If the method LMIInstance.delete() was called, this method will not execute its code and will return None. If the shell uses exceptions, LMIDeletedObjectError will be raised.
Returns: | LMIInstanceName object |
---|---|
Raises : | LMIDeletedObjectError |