pem.getResourceTypesByClass
This method is supported by Operations starting from version 5.2.1.
This method allows to get Resource Type name and ID by Resource Class name.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
string |
Name of the Resource Class to base new Resource Type |
|
string |
Friendly name of the Resource Class |
Both input parameters are optional, but at least one of them should be passed.
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
array |
List of structures |
|
int |
ID of the Resource Type |
|
string |
Name of the Resource Type |