Validate Vcenter

Validate Vcenter

This API is to be used for validating vCenter details.

Request
URI
POST
https://{api_host}/hybridity/api/ztp/v1/vcenter/validate
COPY
Request Body

The request payload for validating vCenter.

InlineZtpV1VcenterValidateRequestBody of type(s) application/json
Required
{
    "fqdn": "string",
    "username": "string",
    "password": "string",
    "thumbprintSha256": "06:69:51:27:c6:bc:32:3e:02:a4:e4:3c:2e:9e:75:78:9e:b7:d4:9c:11:51:72:cc:c4:45:13:22:a4:36:f3:e5"
}
string
fqdn
Required

FQDN of the vCenter to be used.

string
username
Required

Username to be used for vCenter login.

string
password
Required

Password to be used for vCenter login. This must be a base64 encoded value.

string
thumbprintSha256
Optional

The SHA-256 thumbprint of the certificate of the vCenter.

Authentication
This operation uses the following authentication methods.
Responses
200

The submitted vCenter has been validated successfully.

Returns InlineZtpV1VcenterValidate200Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


400

Response may include details of why the request is bad.

Returns InlineZtpV1VcenterValidate400Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


401

User is not authenticated to invoke this endpoint.

Operation doesn't return any data structure

403

User is not authorized to invoke this endpoint.

Operation doesn't return any data structure

422

The request payload couldn't be processed by the server.

Returns InlineZtpV1VcenterValidate422Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


500

An internal server error has occurred.

Returns InlineZtpV1VcenterValidate500Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.