SMS_ResourceMap
The SMS_ResourceMap WMI class maps a resource type to its resource class name and display name.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_ResourceMap : SMS_BaseClass
{
string DisplayName;
string ResourceClassName;
uint32 ResourceType;
};
Properties
DisplayName
Data type: string
Access type: Read-onlyName displayed in the console to represent the resource class name. For a list of the default resource display names, see the table under ResourceType.
ResourceClassName
Data type: string
Access type: Read-onlyClass name of the resource. For a list of the default resource class names, see the table under ResourceType.
ResourceType
Data type: uint32
Access type: Read-only
Qualifiers: KeyNumeric identifier that represents the different types of resources in your site. The following table lists the default resource types and their display name and class name.
Resource type Display name Class 3 User Group SMS_R_UserGroup 4 User SMS_R_User 5 System SMS_R_System See the following Note IP Network SMS_R_IPNetwork Note The IP Network resource type may not have a resource type value of 6. Its value depends on when Network Discovery was initiated relative to the Discovery Data Manager (DDM) discovering new architectures. If the DDM discovered a new architecture prior to Network Discovery being initiated, the new architecture would be assigned a resource type value of 6.
Methods
The following table lists the methods in SMS_ResourceMap.
Method | Description |
---|---|
Refresh | Class method that updates the resource and inventory class definitions. |
Remarks
The Discovery Data Manager generates new resource types when it discovers a new architecture. For more information on creating a new resource type, see Creating a New Resource Class.
See Also
Resource Management Classes, SMS_R_System, SMS_R_User, SMS_R_UserGroup