Sms Storage Manager Query Storage Container
Query storage containers that are retrieved from VASA providers.
Stretched container with UNREPORTED sync status is not included in returned result.
Required privileges: StorageViews.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case SmsStorageManager/{moId}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
{
"containerSpec": {
"_typeName": "string",
"containerId": [
"string"
]
}
}
StorageContainerSpec
{
"_typeName": "string",
"storageContainer": [
{
"_typeName": "string",
"uuid": "string",
"name": "string",
"maxVvolSizeInMB": 0,
"providerId": [
"string"
],
"arrayId": [
"string"
],
"vvolContainerType": "string",
"stretched": false
}
],
"providerInfo": [
{
"_typeName": "string",
"uid": "string",
"name": "string",
"description": "string",
"version": "string"
}
]
}
NotFound: if the input provided as part of StorageContainerSpec is not found.
QueryExecutionFault: if an error is encountered while processing the query request.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/sdk/vim25/{release}/sms/SmsStorageManager/{moId}/QueryStorageContainer