Display a set of LUNs given the options provided
GET /webmapi/luns
Reports successful result in ResponseContentType<ContainerType<LunInfoType>>
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_SHOW_LUN_NOT_FOUND | 27068 | LUN not found. |
application/json
1.0
Create a LUN
POST /webmapi/luns
Pass input arguments in LunCreateInputType
Reports successful result in ResponseContentType<UuidType>
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_CREATE_EXISTS_LUN | 27061 | Name specified for this LUN is already in use by an existing LUN. |
| LUN_CREATE_MAX_LUN_SIZE_EXCEEDED | 27064 | Size exceeds the maximum LUN size. |
| LUN_CREATE_MAX_LUN_COUNT_EXCEEDED | 27065 | Maximum LUN count has been exceeded. |
| LUN_CREATE_LUN_SIZE_TOO_SMALL | 27066 | Size is less than or equal to 0. |
| LUN_CREATE_DISCARDED | 27067 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_CREATE_TOTAL_PROVISIONED_SPACE_EXCEEDED | 27080 | Creating this LUN would exceed the limit on provisioned space. |
application/json
application/json
1.0
Modify a LUN's attribute
PUT /webmapi/luns
Pass input arguments in LunModifyInputType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_MODIFY_SERIAL_NUMBER_IN_USE | 27037 | New serial number is already in use. |
| LUN_MODIFY_LUN_NOT_FOUND | 27038 | LUN not found. |
| LUN_MODIFY_LUN_NOT_OFFLINE | 27039 | LUN must be offline for this operation. |
| LUN_MODIFY_LUN_NVFAILED | 27040 | LUN status is nvfail. Use lun modify command to clear nvfail status. |
| LUN_MODIFY_DISCARDED | 27042 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_MODIFY_TOO_MANY_MODIFICATIONS | 27043 | Too many changes requested. |
| LUN_MODIFY_COMMENT_TOO_LONG | 27044 | Comment is longer than 255 characters. |
| LUN_MODIFY_MUST_MODIFY_SOMETHING | 27045 | No change requested. |
| LUN_MODIFY_LUN_ALREADY_ONLINE | 27074 | LUN is already online. |
| LUN_MODIFY_LUN_ALREADY_OFFLINE | 27075 | LUN is already offline. |
| LUN_MODIFY_LUN_NOT_NVFAILED | 27076 | LUN does not have nvfail status. |
| LUN_MODIFY_VOLUME_NOT_FOUND | 27077 | Volume not found. |
| LUN_MODIFY_INCORRECT_MAX_EXTENT_SIZE | 27078 | Internal error saving the extent size. |
| LUN_MODIFY_NO_CHANGE | 27079 | No change requested. |
application/json
application/json
1.0
Map a LUN to an initiator group
PUT /webmapi/luns/action/map
Pass input arguments in LunMapInputType
Reports successful result in ResponseContentType<LunMapOutputType>
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_MAP_LUN_NOT_FOUND | 27004 | LUN not found. |
| LUN_MAP_IGROUP_NOT_FOUND | 27005 | Initiator group not found. |
| LUN_MAP_LUN_ID_OUT_OF_RANGE | 27006 | Specified LUN ID is out of range (0 - 4095). |
| LUN_MAP_LUN_ALREADY_MAPPED_TO_IGROUP | 27007 | LUN is already mapped to the initiator group. |
| LUN_MAP_LUN_ID_IN_USE | 27008 | LUN ID is already used by this initiator group. |
| LUN_MAP_LUN_ALREADY_MAPPED | 27009 | Specified LUN is already mapped to an initiator(s) in the initiator group via another initiator group. |
| LUN_MAP_LUN_ID_COULD_NOT_BE_SELECTED | 27010 | Could not find an available LUN ID from 0-4095 to use -- all have been taken by initiators in the initiator group. |
| LUN_MAP_LUN_MAP_LIMIT_EXCEEDED | 27011 | LUN already mapped to the maximum number of initiator groups. |
| LUN_MAP_DISCARDED | 27014 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_MAP_LUN_ID_IN_USE_VIA_OTHER_IGROUP | 27072 | Specified LUN ID is already used by an initiator(s) in the initiator group via another initiator group. |
application/json
application/json
1.0
Rename a LUN
PUT /webmapi/luns/action/rename
Pass input arguments in ResourceRenameInputType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_RENAME_LUN_NOT_FOUND | 27027 | LUN not found. |
| LUN_RENAME_EXISTS_LUN | 27028 | New name specified for this LUN is already in use by an existing LUN. |
| LUN_RENAME_DISCARDED | 27030 | Internal error occurred and the operation was discarded. This is usually a transient error. |
application/json
application/json
1.0
Resize a LUN
Only enlarging a LUN is allowed at this time.
PUT /webmapi/luns/action/resize
Pass input arguments in LunResizeInputType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_RESIZE_LUN_NOT_FOUND | 27015 | LUN not found. |
| LUN_RESIZE_DISCARDED | 27016 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_RESIZE_SHRINK_NOT_SUPPORTED | 27017 | Only growing the LUN is allowed at this time. |
| LUN_RESIZE_MAX_SIZE_EXCEEDED | 27018 | New size exceeds maximum LUN size. |
| LUN_RESIZE_NO_CHANGE | 27019 | New size is the same as old LUN size. |
| LUN_RESIZE_LUN_RESIZE_FAILED | 27020 | Internal error resizing LUN. |
| LUN_RESIZE_LUN_NVFAILED | 27021 | LUN status is nvfail. Use lun modify command to clear nvfail status. |
| LUN_RESIZE_TOTAL_PROVISIONED_SPACE_EXCEEDED | 27073 | Creating this LUN would exceed the limit on provisioned space. |
application/json
application/json
1.0
Un-map a LUN from an initiator group
PUT /webmapi/luns/action/unmap
Pass input arguments in LunUnmapInputType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_UNMAP_LUN_NOT_FOUND | 27054 | LUN not found. |
| LUN_UNMAP_IGROUP_NOT_FOUND | 27055 | Initiator group not found. |
| LUN_UNMAP_LUN_NOT_MAPPED_TO_IGROUP | 27056 | LUN is not mapped to the specified initiator group. |
| LUN_UNMAP_BAD_PARAMS | 27057 | Internal parameter translation failed. |
| LUN_UNMAP_DISCARDED | 27058 | Internal error occurred and the operation was discarded. This is usually a transient error. |
application/json
application/json
1.0
Create multiple LUN instances
POST /webmapi/luns/bulk
Pass input arguments in BulkType<LunCreateInputType>
Reports successful result in ResponseContentType<BulkResultType<UuidType>>
Reports bulk errors in ResponseContentType<BulkResultType<BulkItemErrorType>>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_CREATE_EXISTS_LUN | 27061 | Name specified for this LUN is already in use by an existing LUN. |
| LUN_CREATE_MAX_LUN_SIZE_EXCEEDED | 27064 | Size exceeds the maximum LUN size. |
| LUN_CREATE_MAX_LUN_COUNT_EXCEEDED | 27065 | Maximum LUN count has been exceeded. |
| LUN_CREATE_LUN_SIZE_TOO_SMALL | 27066 | Size is less than or equal to 0. |
| LUN_CREATE_DISCARDED | 27067 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_CREATE_TOTAL_PROVISIONED_SPACE_EXCEEDED | 27080 | Creating this LUN would exceed the limit on provisioned space. |
Additional errors specific to bulk requests include the following:
| Error Key | Error Description |
|---|---|
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK | Request has invalid bulk input. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_COUNT | Request has incorrect bulk item count {0}. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_OVERLIMIT | Request bulk input is over limit: count={0} and limit={1}. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_NONUNIQUE_OPERATION_ID | Bulk request contains non-unique operation identifier: {0}. |
| WEBUI_WEBAPI_ERROR_BULK_PARTIALFAILED | Some bulk operations are failed. |
| WEBUI_WEBAPI_ERROR_BULK_ALLFAILED | All bulk operations have failed. |
| WEBUI_WEBAPI_ERROR_BULK_MISMATCHCOUNT | Bulk result count does not match bulk item count. |
application/json
application/json
1.0
Map multiple LUN instances to initiator groups
PUT /webmapi/luns/bulk/action/map
Pass input arguments in BulkType<LunMapInputType>
Reports successful result in ResponseContentType<BulkResultType<LunMapOutputType>>
Reports bulk errors in ResponseContentType<BulkResultType<BulkItemErrorType>>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_MAP_LUN_NOT_FOUND | 27004 | LUN not found. |
| LUN_MAP_IGROUP_NOT_FOUND | 27005 | Initiator group not found. |
| LUN_MAP_LUN_ID_OUT_OF_RANGE | 27006 | Specified LUN ID is out of range (0 - 4095). |
| LUN_MAP_LUN_ALREADY_MAPPED_TO_IGROUP | 27007 | LUN is already mapped to the initiator group. |
| LUN_MAP_LUN_ID_IN_USE | 27008 | LUN ID is already used by this initiator group. |
| LUN_MAP_LUN_ALREADY_MAPPED | 27009 | Specified LUN is already mapped to an initiator(s) in the initiator group via another initiator group. |
| LUN_MAP_LUN_ID_COULD_NOT_BE_SELECTED | 27010 | Could not find an available LUN ID from 0-4095 to use -- all have been taken by initiators in the initiator group. |
| LUN_MAP_LUN_MAP_LIMIT_EXCEEDED | 27011 | LUN already mapped to the maximum number of initiator groups. |
| LUN_MAP_DISCARDED | 27014 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_MAP_LUN_ID_IN_USE_VIA_OTHER_IGROUP | 27072 | Specified LUN ID is already used by an initiator(s) in the initiator group via another initiator group. |
Additional errors specific to bulk requests include the following:
| Error Key | Error Description |
|---|---|
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK | Request has invalid bulk input. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_COUNT | Request has incorrect bulk item count {0}. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_OVERLIMIT | Request bulk input is over limit: count={0} and limit={1}. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_NONUNIQUE_OPERATION_ID | Bulk request contains non-unique operation identifier: {0}. |
| WEBUI_WEBAPI_ERROR_BULK_PARTIALFAILED | Some bulk operations are failed. |
| WEBUI_WEBAPI_ERROR_BULK_ALLFAILED | All bulk operations have failed. |
| WEBUI_WEBAPI_ERROR_BULK_MISMATCHCOUNT | Bulk result count does not match bulk item count. |
application/json
application/json
1.0
Un-map multiple LUN instances from initiator groups
PUT /webmapi/luns/bulk/action/unmap
Pass input arguments in BulkType<LunUnmapInputType>
Reports successful result in ResponseContentType<BulkResultBooleanType>
Reports bulk errors in ResponseContentType<BulkResultType<BulkItemErrorType>>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_UNMAP_LUN_NOT_FOUND | 27054 | LUN not found. |
| LUN_UNMAP_IGROUP_NOT_FOUND | 27055 | Initiator group not found. |
| LUN_UNMAP_LUN_NOT_MAPPED_TO_IGROUP | 27056 | LUN is not mapped to the specified initiator group. |
| LUN_UNMAP_BAD_PARAMS | 27057 | Internal parameter translation failed. |
| LUN_UNMAP_DISCARDED | 27058 | Internal error occurred and the operation was discarded. This is usually a transient error. |
Additional errors specific to bulk requests include the following:
| Error Key | Error Description |
|---|---|
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK | Request has invalid bulk input. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_COUNT | Request has incorrect bulk item count {0}. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_OVERLIMIT | Request bulk input is over limit: count={0} and limit={1}. |
| WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_NONUNIQUE_OPERATION_ID | Bulk request contains non-unique operation identifier: {0}. |
| WEBUI_WEBAPI_ERROR_BULK_PARTIALFAILED | Some bulk operations are failed. |
| WEBUI_WEBAPI_ERROR_BULK_ALLFAILED | All bulk operations have failed. |
| WEBUI_WEBAPI_ERROR_BULK_MISMATCHCOUNT | Bulk result count does not match bulk item count. |
application/json
application/json
1.0
Display a set of LUN maps given the options provided
Maps are the initiator groups to which the LUN is mapped.
GET /webmapi/luns/maps
Reports successful result in ResponseContentType<ContainerType<LunMapInfoType>>
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_MAP_SHOW_LUN_NOT_FOUND | 27069 | LUN not found. |
| LUN_MAP_SHOW_IGROUP_NOT_FOUND | 27070 | Initiator group not found. |
| LUN_MAP_SHOW_TOO_MANY_OPTIONS_SPECIFIED | 27071 | Too many options specified. |
application/json
1.0
Get a specific LUN instance
If the instance name is either . or .. , it may be specified in the URL in a pair of single quotes like '.' and '..' (in order to avoid it getting removed by browser or any such client application).
GET /webmapi/luns/{id}
Reports successful result in ResponseContentType<LunInfoType>
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_SHOW_LUN_NOT_FOUND | 27068 | LUN not found. |
application/json
1.0
Destroy a LUN
If the instance name is either . or .. , it may be specified in the URL in a pair of single quotes like '.' and '..' (in order to avoid it getting removed by browser or any such client application).
DELETE /webmapi/luns/{id}?force=param0
Format: ?force={true|false}
Example: ?force=true
True will forcefully perform the operation. Default is false.
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_DESTROY_LUN_NOT_FOUND | 27046 | LUN not found. |
| LUN_DESTROY_LUN_MAPPED_AND_ONLINE | 27048 | LUN is mapped and online. |
| LUN_DESTROY_INTERNAL_ERROR | 27049 | Internal error: unable to fetch LUN information. |
| LUN_DESTROY_SNAPS_EXIST | 27050 | LUN has snapshots. |
| LUN_DESTROY_LUN_ONLINE_FAILED | 27051 | Internal error bringing LUN online. |
| LUN_DESTROY_LUN_OFFLINE_FAILED | 27052 | Internal error taking LUN offline. |
| LUN_DESTROY_DISCARDED | 27053 | Internal error occurred and the operation was discarded. This is usually a transient error. |
application/json
application/json
1.0
Take a LUN offline
If the instance name is either . or .. , it may be specified in the URL in a pair of single quotes like '.' and '..' (in order to avoid it getting removed by browser or any such client application).
PUT /webmapi/luns/{id}/action/offline
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_OFFLINE_LUN_NOT_FOUND | 27000 | LUN not found. |
| LUN_OFFLINE_LUN_ALREADY_OFFLINE | 27001 | LUN is already offline. |
| LUN_OFFLINE_DISCARDED | 27003 | Internal error occurred and the operation was discarded. This is usually a transient error. |
application/json
application/json
1.0
Bring a LUN online
If the instance name is either . or .. , it may be specified in the URL in a pair of single quotes like '.' and '..' (in order to avoid it getting removed by browser or any such client application).
PUT /webmapi/luns/{id}/action/online
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_ONLINE_LUN_NOT_FOUND | 27023 | LUN not found. |
| LUN_ONLINE_LUN_ALREADY_ONLINE | 27024 | LUN is already online. |
| LUN_ONLINE_DISCARDED | 27026 | Internal error occurred and the operation was discarded. This is usually a transient error. |
application/json
application/json
1.0
Display a set of LUN maps given the options provided
Maps are the initiator groups to which the LUN is mapped. If the instance name is either . or .. , it may be specified in the URL in a pair of single quotes like '.' and '..' (in order to avoid it getting removed by browser or any such client application).
GET /webmapi/luns/{id}/maps
Reports successful result in ResponseContentType<LunMapInfoType>
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_MAP_SHOW_LUN_NOT_FOUND | 27069 | LUN not found. |
| LUN_MAP_SHOW_IGROUP_NOT_FOUND | 27070 | Initiator group not found. |
| LUN_MAP_SHOW_TOO_MANY_OPTIONS_SPECIFIED | 27071 | Too many options specified. |
application/json
1.0
APIs for logical storage volumes