REST API - create

vcenter lcm discovery associated products: create

Associates a VMware product with vCenter Server manually. The product must be taken from the product catalog API.

Request:

HTTP request

POST https://{server}/api/vcenter/lcm/discovery/associated-products
{
    "deployments"[
        "string",
        "string"
    ],
    "product_name""string",
    "version""string"
}

Body Parameters:

Name Type Description
bold = required
- create_spec Info creation specification.
-.product_name string The name of the product.

-.version string Current product version.

-.deployments string[] The list of hostname/IPs of the instances of the VMware products deployed in the environment.

Optional.

Response:

HTTP Status Code: 201

Response Body Structure:

"obj-103"

Headers:

None

Type:

Name Type Description
bold = required
- string Identifier of the newly-added product.

Errors:

HTTP Status Code Type Description
401 unauthenticated if the user can not be authenticated.
400 already_exists if this version is already added
400 invalid_argument if the spec argument is not allowed
500 error If there is some unknown internal error. The accompanying error message will give more details about the failure.