Pbm Profile Profile Manager Pbm Query Profile

Pbm Profile Profile Manager Pbm Query Profile

Returns requirement profile ids or resource profile ids, or both.

Required privileges: StorageProfile.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/pbm/PbmProfileProfileManager/{moId}/PbmQueryProfile
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 PbmProfileProfileManager/{moId}.

string
release
Required

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


Request Body
PbmQueryProfileRequestType of type(s) application/json
Required
"PbmQueryProfileRequestType Object"
resourceType
Required

Type of resource. You can specify only STORAGE.

string
profileCategory
Optional

Profile category. The string value must correspond to one of the PbmProfileCategoryEnumEnum values. If you do not specify a profile category, the method returns profiles in all categories.

Authentication
This operation uses the following authentication methods.
Responses
200

Array of storage profile identifiers.

[
    "PbmProfileId Object"
]
Optional

500

InvalidArgument: if the Server does not recognize the specified resourceType or profileCategory.

Returns InvalidArgument of type(s) application/json
"InvalidArgument Object"
string
invalidProperty
Optional

Optional name of the invalid property.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/pbm/PbmProfileProfileManager/{moId}/PbmQueryProfile