Returns a list of associated CIMInstanceName objects with an input instance name.
Parameters: |
|
---|---|
Returns: | list of associated CIMInstanceName objects with an input instance |
Raises : |
Example: AssociatorNames
Returns a list of associated CIMInstance objects with an input instance name.
Parameters: |
|
---|---|
Returns: | list of associated CIMInstance objects with an input instance |
Raises : |
Example: Associators
Creates a new CIM instance and returns its instance name.
Parameters: | NewInstance (CIMInstance) – new local CIMInstance |
---|---|
Returns: | instance name of new CIM instance |
Return type: | CIMInstanceName |
Example: CreateInstance
Deletes a CIM instance identified by CIMInstanceName.
Parameters: | InstanceName (CIMInstanceName) – object path of CIM instance |
---|---|
Raises : | CIMError, ConnectionError |
Example: DeleteInstance
Enumerates class names managed by the CIMOM.
Parameters: |
|
---|---|
Returns: | list of strings of class names |
Raises : |
Example: EnumerateClassNames
Enumerates classes managed by the CIMOM.
Parameters: |
|
---|---|
Returns: | list of CIMClass objects |
Raises : |
Example: EnumerateClasses
Enumerates instance names of a given class name.
Parameters: |
|
---|---|
Returns: | List of CIMInstanceName objects |
Raises : |
Example: EnumerateInstanceNames
Enumerates instances of a given class name.
Parameters: |
|
---|---|
Returns: | List of CIMInstance objects |
Raises : |
Example: EnumerateInstances
Executes a query and returns a list of CIMInstance objects.
Parameters: |
|
---|---|
Returns: | list of CIMInstance objects |
Raises : |
Example: ExecQuery
Returns a CIMClass representing the named class.
Parameters: |
|
---|---|
Returns: | CIMClass object |
Raises : |
Example: GetClass
Fetches a CIMInstance from CIMOM identified by CIMInstanceName.
Parameters: |
|
---|---|
Returns: | CIMInstance object |
Raises : |
Example: GetInstance
Executes a method within a given instance.
Parameters: |
|
---|---|
Returns: | tuple containing method’s return value and output parameters |
Raises : |
Example: InvokeMethod
Modifies properties of a existing instance.
Parameters: |
|
---|---|
Raises : |
Example: ModifyInstance
Returns a list of association CIMInstanceName objects with an input instance.
Parameters: |
|
---|---|
Returns: | list of association CIMInstanceName objects with an input instance |
Raises : |
Example: ReferenceNames
Returns a list of association CIMInstance objects with an input instance name.
Parameters: |
|
---|---|
Returns: | list of association CIMInstance objects with an input instance |
Raises : |
Example: References
Connects to CIMOM.
Parameters: |
|
---|---|
Raises : |
Example: Connecting to CIMOM
Connect to CIMOM using local Unix socket.
Raises : | ConnectionError |
---|
Example: Connection using Unix Socket
Property storing flag means of connection. If set to True, local Unix socket will be used; HTTP(S) otherwise.
Return type: | bool |
---|
Property returning user credentials.
Return type: | tuple containing username and password |
---|
Property storing default CIM namespace used for CIM operations.
Return type: | str |
---|
Disconnects from CIMOM.
Property returning CIMOM hostname.
Return type: | str |
---|
Property, which return True, if the client is connected to certain CIMOM.
Return type: | bool |
---|
Property storing X509 certificate verification flag.
Return type: | bool |
---|
Property storing CIM operations timeout in milliseconds. Default value is 60000ms.
Return type: | int |
---|