REST API - list

vcenter lcm discovery associated products: list

Retrieves a list of all associated VMware product deployments with vCenter Server in the environment. The list contains both product deployments discovered automatically and deployments registered manually through the API.

Request:

HTTP request

GET https://{server}/api/vcenter/lcm/discovery/associated-products

Response:

HTTP Status Code: 200

Response Body Structure:

[
    {
        "deployments"[
            "string",
            "string"
        ],
        "auto"true,
        "installed_product""obj-103",
        "name""string",
        "version""string",
        "target_version""string"
    },
    {
        "deployments"[
            "string",
            "string"
        ],
        "auto"true,
        "installed_product""obj-103",
        "name""string",
        "version""string",
        "target_version""string"
    }
]

Headers:

None

Type:

Name Type Description
bold = required
- product[] List of all the registered products with vCenter.
-[].installed_product string Identifies a product and a version uniquely.

The identifier consists of product internal name and version.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: PRODUCT. When operations return a value of this structure as a result, the field will be an identifier for the resource type: PRODUCT.

-[].name string A public official product name.

-[].version string Current product version.

-[].target_version string Future version of the product after upgrade.

Optional. target_version may not be applicable.

Errors:

HTTP Status Code Type Description
401 unauthenticated if the user can not be authenticated.
500 error If there is some unknown internal error. The accompanying error message will give more details about the failure.