Pbm Placement Solver Pbm Query Matching Hub

Pbm Placement Solver Pbm Query Matching Hub

Deprecated as of vSphere 2016, use PbmCheckRequirements instead in order to retrieve both compatible compute and storage location.

Finds matching placement hubs for the specified requirements profile.

This method returns only those hubs that match the profile. If this method is invoked for VVolDefaultProfile profile, then all the VVOL containers are returned as matching.

Required privileges: StorageProfile.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/pbm/PbmPlacementSolver/{moId}/PbmQueryMatchingHub
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 PbmPlacementSolver/{moId}.

string
release
Required

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


Request Body
PbmQueryMatchingHubRequestType of type(s) application/json
Required

Show optional properties

{
    "profile": {
        "uniqueId": "string"
    }
}
{
    "hubsToSearch": [
        {
            "_typeName": "string",
            "hubType": "string",
            "hubId": "string"
        }
    ],
    "profile": {
        "_typeName": "string",
        "uniqueId": "string"
    }
}
hubsToSearch
Optional

Candidate list of hubs, either datastores or storage pods or a mix. If this parameter is not specified, the Server uses all of the datastores and storage pods.

profile
Required

Profile unique identifier.

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

Authentication
This operation uses the following authentication methods.
Responses
200

Subset of the hubsToSearch list that satisfies the profile requirements. A storage pod is returned if and only if all its member datastores satisfy the profile requirements, whether the hubs list contains any of the member datastores or not. If a datastore and its storage pod are in the hubs list, and both satisfy the requirements, both are returned.

Returns Array of PbmPlacementHub of type(s) application/json
[
    {
        "_typeName": "string",
        "hubType": "string",
        "hubId": "string"
    }
]

500

PbmFault: If there is an internal server error.

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