Sms Storage Manager Query Lun Associated With Port

Sms Storage Manager Query Lun Associated With Port

Get the StorageLun data objects that are associated with StoragePort.

Required privileges: StorageViews.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/sms/SmsStorageManager/{moId}/QueryLunAssociatedWithPort
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
QueryLunAssociatedWithPortRequestType of type(s) application/json
Required
{
    "portId": "string",
    "arrayId": "string"
}
string
portId
Required

StoragePort.uuid for the StoragePort object.

string
arrayId
Required

StorageArray.uuid for the StorageArray object.

Authentication
This operation uses the following authentication methods.
Responses
200

List of data objects containing information about StorageLun.

Returns Array of StorageLun of type(s) application/json
[
    {
        "_typeName": "string",
        "uuid": "string",
        "vSphereLunIdentifier": "string",
        "vendorDisplayName": "string",
        "capacityInMB": 0,
        "usedSpaceInMB": 0,
        "lunThinProvisioned": false,
        "alternateIdentifier": [
            "string"
        ],
        "drsManagementPermitted": false,
        "thinProvisioningStatus": "string",
        "backingConfig": {
            "_typeName": "string",
            "thinProvisionBackingIdentifier": "string",
            "deduplicationBackingIdentifier": "string",
            "autoTieringEnabled": false,
            "deduplicationEfficiency": 0,
            "performanceOptimizationInterval": 0
        }
    }
]

500

NotFound: if the specified entity does not exist.

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