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.
Responses
200
Serialized form of the profile.
Returns string of type(s) application/json
Operation doesn't return any data structure
Virtual Infrastructure Operations
POST
Host Profile Associate Profile
POST
Host Profile Check Profile Compliance Task
POST
Host Profile Destroy Profile
POST
Host Profile Dissociate Profile
POST
Host Profile Execute Host Profile
POST
Host Profile Export Profile
GET
Host Profile Get Compliance Check Time
GET
Host Profile Get Compliance Status
GET
Host Profile Get Config
GET
Host Profile Get Created Time
GET
Host Profile Get Description
GET
Host Profile Get Entity
GET
Host Profile Get Modified Time
GET
Host Profile Get Name
GET
Host Profile Get Reference Host
GET
Host Profile Get Validation Failure Info
GET
Host Profile Get Validation State
GET
Host Profile Get Validation State Update Time
POST
Host Profile Host Profile Reset Validation State
POST
Host Profile Retrieve Description
POST
Host Profile Update Host Profile
POST
Host Profile Update Reference Host