Sms Storage Manager Query Storage Container

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

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/sms/SmsStorageManager/{moId}/QueryStorageContainer
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Request Body
QueryStorageContainerRequestType of type(s) application/json
Required
{
    "containerSpec": {
        "_typeName": "string",
        "containerId": [
            "string"
        ]
    }
}
containerSpec
Optional

This data object represents the specification to query storage containers retrieved from VASA providers.

This structure may be used only with operations rendered under /sms.

Authentication
This operation uses the following authentication methods.
Responses
200
Returns StorageContainerResult of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_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"
        }
    ]
}
storageContainer
Optional

StorageContainer objects

providerInfo
Optional

SmsProviderInfo corresponding to providers that report these storage containers


500

NotFound: if the input provided as part of StorageContainerSpec is not found.

QueryExecutionFault: if an error is encountered while processing the query request.

Returns MethodFault of type(s) application/json
This response body class contains all of the following: Any
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}
faultCause
Optional

The base data object type for all the object model faults that an application might handle.

faultMessage
Optional

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.


Storage Monitoring Service Operations
POST
Sms Storage Manager Query Array
POST
Sms Storage Manager Query Array Associated With Lun
POST
Sms Storage Manager Query Associated Backing Storage Pool
POST
Sms Storage Manager Query Datastore Backing Pool Mapping
POST
Sms Storage Manager Query Datastore Capability
POST
Sms Storage Manager Query Drs Migration Capability For Performance
POST
Sms Storage Manager Query Drs Migration Capability For Performance Ex
POST
Sms Storage Manager Query Fault Domain
POST
Sms Storage Manager Query File System Associated With Array
POST
Sms Storage Manager Query Host Associated With Lun
POST
Sms Storage Manager Query Lun Associated With Array
POST
Sms Storage Manager Query Lun Associated With Port
POST
Sms Storage Manager Query Nfs Datastore Associated With File System
POST
Sms Storage Manager Query Port Associated With Array
POST
Sms Storage Manager Query Port Associated With Lun
POST
Sms Storage Manager Query Port Associated With Processor
POST
Sms Storage Manager Query Processor Associated With Array
POST
Sms Storage Manager Query Provider
POST
Sms Storage Manager Query Replication Group Info
POST
Sms Storage Manager Query Storage Container
POST
Sms Storage Manager Query Vmfs Datastore Associated With Lun
POST
Sms Storage Manager Register Provider Task
POST
Sms Storage Manager Sms Refresh CA Certificates And CR Ls Task
POST
Sms Storage Manager Unregister Provider Task