After completing a pre-validation request, you retrieve the pre-validation report to check for errors.
A pre-validation report provides:
- Input data validation alerts such as missing input or incorrect input formats.
- Infrastructure validation alerts such as vCenter Server input checks, a reused VM name, already used IP addresses, and other checks related to the vCenter Server.
- Product validation alerts.
Prerequisites
Satisfy the following conditions before performing any tasks for this use case.
- Use POST /lcm/api/v1/login to log in to vRealize Suite Lifecycle Manager.
- Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.
- Verify that you have the Environment Pre-validate Request ID from Pre-validate Environment Request.
Procedure
What to do next
If the report indicates errors in the environment request, correct the JSON input spec with the correct parameter values and run the pre-validation request again. See Pre-validate Environment Request.
If there are no issues with the validation checks, you can proceed to create the environment when all statuses appear as "status": "PASSED". See Create an Environment.