Export Configs
Exports the desired profile specification.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
information to export the profile.
{
"description": "string",
"encryption_key": "string",
"profiles": [
"string"
]
}
Custom description provided by the user. If unset description will be empty.
Encryption Key to encrypt/decrypt profiles. If unset encryption will not be used for the profile.
Profiles to be exported/imported. If unset or empty, all profiles will be returned. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.infraprofile.profile. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.infraprofile.profile.
Authentication
Response
Response BodyResponse Body
Configuration specification JSON in string format.
Errors
com.vmware.vapi.std.errors.error : If there is unknown internal error. The accompanying error message will give more details about the failure.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: export