Storage Plugin
The Storage plugin type provides a web service that returns the list of
all generic resources configured in Moab Workload Manager.
Exposed Web Services
Storage Classes (Secured)
Resource URLs
| Resource |
|---|
| /rest/plugins/<pluginId>/services/storageClasses |
| /rest/plugins/<pluginId>/services/storage-classes |
URL Parameters
| Parameter | Name | Type | Description |
|---|
| No URL parameters required | | | |
Response Fields
| Field | Name | Type | Description |
|---|
| totalCount | Total Count | Number | The size of the results Array. |
| resultCount | Result Count | Number | The size of the results Array. |
| results | Results | Array of Objects | Each Object has an id field whose value is the name of a generic resource. |
Additional Information
Returns the list of all generic resources configured in Moab Workload Manager. This list can be overridden or modified using the parameters listed below.
Configuration Parameters
| Name | Key | Required | Type | Description |
|---|
| Ignore List | gres-ignore-names | No | String | A comma-separated list of generic resources not to return. |
| Override List | classes | No | String | A comma-separated list of generic resources to return instead of retrieving generic resources from Moab Workload Manger. |
Automatic Plugin Creation
If MWS is configured in the Moab Cloud Suite, a plugin called
mws-storage is created automatically when this plugin type is
loaded. This ensures that applications can access the
storage-classes
web service at a known URL.