Поделиться через


CIM_Capabilities class

An abstract class for subclasses that describes the abilities of an associated managed element, and the potential of the abilities. For example, a capability can describe the maximum number of VLANs that can be supported on a system using a subclass of CIM_Capabilities.

Capabilities are tied to the elements which they describe using a CIM_ElementCapabilities class association. A CIM_Capabilities object must be associated with a CIM_ManagedElement object, however, the CIM_Capabilities object cannot be associated with more than one manage element. This class does not indicate what is configured or operational. Instead, it indicates what can and cannot exist, be defined, or be used. It is possible to describe both supported and excluded abilities and functions (capabilities and limitations) using this class.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Abstract, Version("2.19.0"), UMLPackagePath("CIM::Core::Capabilities")]
class CIM_Capabilities : CIM_ManagedElement
{
  string Caption;
  string Description;
  string InstanceID;
  string ElementName;
};

Members

The CIM_Capabilities class has these types of members:

Properties

The CIM_Capabilities class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description of the object.

This property is inherited from CIM_ManagedElement.

Description

Data type: string

Access type: Read-only

A textual description of the object.

This property is inherited from CIM_ManagedElement.

ElementName

Data type: string

Access type: Read-only

Qualifiers: Required, Override ("ElementName")

The user friendly name for this class instance. In addition, the user friendly name can be used as a index property for a query. This value does not have to be unique within its namespace.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key, Override ("InstanceID")

Uniquely and opaquely identifies an instance of this class within the scope of the containing namespace.

[!Important]

In order to ensure uniqueness within the namespace, the value of the InstanceID property should be constructed in the following pattern: OrgID:LocalID

OrgID must include a copyrighted, trademarked or otherwise unique name that is owned by the business entity that defines the InstanceID, or be a registered ID that is assigned by a recognized global authority. This pattern is similar to the structure of schema class names. In addition, to ensure uniqueness, the first colon in InstanceID must be between the OrgID andLocalID. Therefore the OrgID must not contain a colon (':').

LocalID is chosen by the business entity and should not be re-used to identify different underlying real-world elements.

If the above pattern is not used, the defining entity must assure that the resultant InstanceID value is not re-used across any InstanceID properties that are produced by this provider or other providers for this namespace.

For Distributed Management Task Force (DMTF) defined instances, the pattern must be used with the OrgID set to CIM.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_ManagedElement

Failover Clustering Hyper-V WMI Provider