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://{vcenter-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

Show optional properties

{
    "profileIds": [
        {
            "uniqueId": "string"
        }
    ]
}
{
    "profileIds": [
        {
            "_typeName": "string",
            "uniqueId": "string"
        }
    ]
}
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
[
    {
        "_typeName": "string",
        "profileId": {
            "_typeName": "string",
            "uniqueId": "string"
        },
        "name": "string",
        "description": "string",
        "creationTime": "string",
        "createdBy": "string",
        "lastUpdatedTime": "string",
        "lastUpdatedBy": "string"
    }
]

500

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

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

Optional name of the invalid property.