Düzenle

Aracılığıyla paylaş


CIM_Rack class

The CIM_Rack class represents a rack (a physical frame or enclosure) in which chassis are stored. Typically, a rack represents the enclosure; all functioning components are packaged in the chassis.

Important

The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Abstract, UUID("{FAF76B71-798C-11D2-AAD1-006008C78BC7}"), AMENDMENT]
class CIM_Rack : CIM_PhysicalFrame
{
  boolean  AudibleAlarm;
  string   BreachDescription;
  string   CableManagementStrategy;
  string   Caption;
  string   CountryDesignation;
  string   CreationClassName;
  real32   Depth;
  string   Description;
  real32   Height;
  boolean  HotSwappable;
  datetime InstallDate;
  boolean  LockPresent;
  string   Manufacturer;
  string   Model;
  string   Name;
  string   OtherIdentifyingInfo;
  string   PartNumber;
  boolean  PoweredOn;
  boolean  Removable;
  boolean  Replaceable;
  uint16   SecurityBreach;
  string   SerialNumber;
  string   ServiceDescriptions[];
  uint16   ServicePhilosophy[];
  string   SKU;
  string   Status;
  string   Tag;
  uint16   TypeOfRack;
  string   Version;
  boolean  VisibleAlarm;
  real32   Weight;
  real32   Width;
};

Members

The CIM_Rack class has these types of members:

Methods

The CIM_Rack class has these methods.

Method Description
IsCompatible Verifies whether the referenced physical element can be contained by, or inserted into, the physical package. Not implemented by WMI.

Properties

The CIM_Rack class has these properties.

AudibleAlarm

Data type: boolean

Access type: Read-only

If TRUE, the frame is equipped with an audible alarm.

This property is inherited from CIM_PhysicalFrame.

BreachDescription

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PhysicalFrame.SecurityBreach")

Free-form string that provides information if the SecurityBreach property indicates that a breach or some other security-related event occurred.

This property is inherited from CIM_PhysicalFrame.

CableManagementStrategy

Data type: string

Access type: Read-only

Free-form string that contains information on how the various cables are connected and bundled for the frame. With many networking, storage-related, and power cables, cable management can be a complex and challenging endeavor. This string property contains information to aid in assembly and service of the frame.

This property is inherited from CIM_PhysicalFrame.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

Short textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

CountryDesignation

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Rack.TypeOfRack")

Country or region for which the rack is designed. Country or region code strings are as defined by ISO/IEC 3166. The rack type is specified in the TypeOfRack property.

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: CIM_Key, MaxLen (256)

Name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified.

This property is inherited from CIM_PhysicalElement.

Depth

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Depth of the physical package, in inches.

This property is inherited from CIM_PhysicalPackage.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

Textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

Height

Data type: real32

Access type: Read-only

Qualifiers: Override ("Height"), Units ("Us")

Height of the physical package, using the "U" unit of measure. A "U" is a standard unit of measure for the height of a rack, or rack-mountable component, and is equal to 1.75 inches or 4.445 centimeters.

This property is inherited from CIM_PhysicalPackage.

HotSwappable

Data type: boolean

Access type: Read-only

If TRUE, the package can be hot-swapped. A physical package can be hot-swapped if the element can be replaced by a physically different (but equivalent) one while the containing package is turned on. For example, a fan component may be designed to be hot-swapped. All components that can be hot-swapped are inherently removable and replaceable.

This property is inherited from CIM_PhysicalPackage.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

Date and time the object was installed. This property does not need a value to indicate that the object is installed.

This property is inherited from CIM_ManagedSystemElement.

LockPresent

Data type: boolean

Access type: Read-only

If TRUE, the frame is protected with a lock.

This property is inherited from CIM_PhysicalFrame.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Name of the organization that produced the physical element. For more information, see the Vendor property of CIM_Product.

This property is inherited from CIM_PhysicalElement.

Model

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Name by which the physical element is generally known.

This property is inherited from CIM_PhysicalElement.

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

Label by which the object is known. When subclassed, this property can be overridden to be a key property.

This property is inherited from CIM_ManagedSystemElement.

OtherIdentifyingInfo

Data type: string

Access type: Read-only

Additional data, beyond asset tag information, that could be used to identify a physical element. One example is bar-code data associated with an element that also has an asset tag. This property is inherited from CIM_PhysicalElement.

Note

If only bar-code data is available, and is unique and able to be used as an element key, this property would be null and the bar-code data would be used as the class key in the Tag property.

PartNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Part number assigned by the organization that produced or manufactured the physical element.

This property is inherited from CIM_PhysicalElement.

PoweredOn

Data type: boolean

Access type: Read-only

If TRUE, the physical element is powered on.

This property is inherited from CIM_PhysicalElement.

Removable

Data type: boolean

Access type: Read-only

If TRUE, this element is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging. A package is considered removable even if the power must be "off" to perform the removal. If the power can be "on" and the package removed, then the element is removable and can be hot-swapped. For example, an extra battery in a laptop is removable, as is a disk-drive package inserted using SCA connectors; however, the latter can be hot-swapped. A laptop's display is not removable, nor is a non-redundant power supply. Removing these components impacts the function of the overall packaging or is impossible due to the tight integration of the package.

This property is inherited from CIM_PhysicalPackage.

Replaceable

Data type: boolean

Access type: Read-only

If TRUE, it is possible to replace the element with a physically different one. For example, some computer systems allow the main processor chip to be upgraded to one of a higher clock rating. In this case, the processor is said to be replaceable. All removable components are inherently replaceable.

This property is inherited from CIM_PhysicalPackage.

SecurityBreach

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Physical Container Global Table|002.12"), ModelCorrespondence ("CIM_PhysicalFrame.BreachDescription")

Indicates whether a physical breach of the frame was attempted but unsuccessful, or attempted and successful. This property is inherited from CIM_PhysicalFrame.

Other (1)

Unknown (2)

No Breach (3)

Breach Attempted (4)

Breach Successful (5)

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Manufacturer-allocated number used to identify the rack.

This property is inherited from CIM_PhysicalElement.

ServiceDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_PhysicalFrame.ServicePhilosophy")

Free-form strings that provide detailed explanations for entries in the ServicePhilosophy array. Note, each entry of the array is related to the entry in ServicePhilosophy that is located at the same index.

This property is inherited from CIM_PhysicalFrame.

ServicePhilosophy

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_PhysicalFrame.ServiceDescriptions")

Indicates whether the frame is serviced from the top, front, back, or side; and whether it has sliding trays or removable sides, and whether the frame is moveable (for example, having rollers).

This property is inherited from CIM_PhysicalFrame.

Unknown (0)

Other (1)

Service From Top (2)

Service From Front (3)

Service From Back (4)

Service From Side (5)

Sliding Trays (6)

Removable Sides (7)

Moveable (8)

SKU

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Stock-keeping unit number for the physical element.

This property is inherited from CIM_PhysicalElement.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

Current status of the object. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Tag

Data type: string

Access type: Read-only

Qualifiers: CIM_Key, MaxLen (256)

Arbitrary string that uniquely identifies the physical element and serves as the element's key. This property can contain information, such as asset tag or serial number data. The key for CIM_PhysicalElement is placed very high in the object hierarchy to independently identify the hardware or entity, regardless of physical placement in (or on) cabinets, adapters, and so on. For example, a removable component that can be hot-swapped can be taken from its containing (scoping) package and be temporarily unused. The object still continues to exist and can even be inserted into a different scoping container. The key for a physical element is an arbitrary string that is defined independently of placement or location-oriented hierarchy.

This property is inherited from CIM_PhysicalElement.

TypeOfRack

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Rack.CountryDesignation")

Type of rack.

Unknown (0)

Standard 19 Inch (1)

Standard 19-inch

Telco (2)

Equipment Shelf (3)

Non-Standard (4)

Version

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Version of the physical element.

This property is inherited from CIM_PhysicalElement.

VisibleAlarm

Data type: boolean

Access type: Read-only

If TRUE, the equipment includes a visible alarm.

This property is inherited from CIM_PhysicalFrame.

Weight

Data type: real32

Access type: Read-only

Qualifiers: Units ("pounds")

Weight of the physical package, in pounds.

This property is inherited from CIM_PhysicalPackage.

Width

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Width of the physical package, in inches.

This property is inherited from CIM_PhysicalPackage.

Remarks

The CIM_Rack class is derived from CIM_PhysicalFrame.

WMI does not implement this class.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_PhysicalFrame