You can import the vCenter Server license by running a workflow from the Configuration plug-in or by using the REST API.

Procedure

  1. Make a GET request at the URL of the Workflow service of the Use vCenter Server license workflow.
    GET https://{vcoHost}:{port}/vco/api/workflows?conditions=name=Use vCenter server license
  2. Retrieve the definition of the Use vCenter Server license workflow by making a GET request at the URL of the definition.
    GET https://{vcoHost}:{port}/vco/api/workflows/5f4a37f4-6f8f-4d20-9468-e7018c206952
  3. Make a POST request at the URL that holds the execution objects of the Use vCenter Server license workflow.
    POST https://{vcoHost}:{port}/vco/api/workflows/5f4a37f4-6f8f-4d20-9468-e7018c206952/executions/
  4. Provide values for the input parameters of the Use vCenter Server license workflow in an execution-context element in the request body.

    Option

    Description

    host

    The IP address or DNS name of the vCenter Server host.

    port

    The port number of the vCenter Server host.

    user name

    The user name that Orchestrator must use to establish connection to vCenter Server. The user must have administrative privileges on your vCenter Server instance.

    password

    The password for authenticating on the vCenter Server instance.