Host Profile Export Profile

Host Profile Export Profile

Export the profile in a serialized form.

To use the serialized string to create a profile, specify a ProfileSerializedCreateSpec when you call the HostProfileManager.CreateProfile method.

Required privileges: Profile.Export

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

string
release
Required

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


Authentication
This operation uses the following authentication methods.
Responses
200

Serialized form of the profile.

Returns string of type(s) application/json
Operation doesn't return any data structure