Create Supervisor Services Versions
Create a Supervisor Service version based on the provided service definition information for the version.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the Supervisor Service. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.SupervisorService.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Specification for the Supervisor Service version to be created.
{
"carvel_spec": {
"content": "string"
},
"custom_spec": {
"content": "string",
"description": "string",
"display_name": "string",
"trusted_provider": false,
"version": "string"
},
"vsphere_spec": {
"accept_EULA": false,
"content": "string",
"trusted_provider": false
}
}
The specification required to create a Supervisor Service version from inline content that is based on the Carvel application package format.
If set, the service version will be created from inline content based on the Carvel application package format (Package and PackageMetadata resources should be declared).
The specification required to create a Supervisor Service version from inline content that is based on a plain Kubernetes YAML format.
If set, the service version will be created from inline content based on a plain Kubernetes YAML format.
The specification required to create a Supervisor Service version from inline content that is based on the vSphere application service format.
If set, the service version will be created from inline content based on the vSphere application service format.
Authentication
Errors
Errors
com.vmware.vapi.std.errors.already_exists : if a Supervisor Service version with the same identifier already exists. | com.vmware.vapi.std.errors.invalid_argument : if an invalid field in spec is specified or if it contains any errors. For example, when the field trusted is set to be true, but no signature is provided or it is invalid or when a EULA is specified but not accepted. | com.vmware.vapi.std.errors.not_allowed_in_current_state : if the Supervisor Service version cannot be created in the current state, for example, the Supervisor Service is in DEACTIVATED state.
com.vmware.vapi.std.errors.unauthorized : if the user doesn’t have the SupervisorServices.Manage privilege.
com.vmware.vapi.std.errors.not_found : if Supervisor Service with the ID supervisorService could not be located.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘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: create