Retrieves an instance of a class.

Accepts the following named arguments.

Argument

Description

class_name

The class whose instance you want to retrieve. This argument is passed as a string.

options

Passes keys for the particular instance on which you want to perform a Get operation. Passed as a reference to a hash containing the keys in name-value pairs.

namespace

Default CIM namespace. Default is root/cimv2.

If the namespace is not root/cimv2, you must pass in the namespace of the class in this argument.