Pbm Profile Profile Manager Pbm Retrieve Content

Pbm Profile Profile Manager Pbm Retrieve Content

Returns one or more storage profiles.

Required privileges: StorageProfile.View

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


Request Body
PbmRetrieveContentRequestType of type(s) application/json
Required
"PbmRetrieveContentRequestType Object"
array of object
profileIds
Required

Array of storage profile identifiers.

Authentication
This operation uses the following authentication methods.
Responses
200

Array of storage profiles.

Returns Array of PbmProfile of type(s) application/json
[
    "PbmProfile Object"
]

500

InvalidArgument: if the Server does not recognize any of the profileIds.

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}/PbmRetrieveContent