Create Discovery Associated Products
Associates a VMware product with vCenter Server manually. The product must be taken from the product catalog API.
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
Info creation specification.
{
"product_name": "string",
"version": "string"
}
The name of the product.
Current product version.
The list of hostname/IPs of the instances of the VMware products deployed in the environment.
Authentication
Response
Response BodyResponse Body
Identifier of the newly-added product. The result will be an identifier for the resource type: com.vmware.vcenter.lcm.product.
Errors
com.vmware.vapi.std.errors.already_exists : if this version is already added | com.vmware.vapi.std.errors.invalid_argument : if the spec argument is not allowed
com.vmware.vapi.std.errors.error : If there is some 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
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: create