Get V Center Certificate

Get V Center Certificate

This API is to be used for getting the certificate details for the specified vCenter.

Request
URI
GET
https://{api_host}/hybridity/api/ztp/v1/vcenter/certificate
COPY
Query Parameters
string
address
Required

The address of the vCenter for which to fetch the certificate details.

address example
vc-cdc1.telco.example.com

Authentication
This operation uses the following authentication methods.
Responses
200

Response includes the certificate details of the vCenter.

Returns InlineZtpV1VcenterCertificate200Response of type(s) application/json
{
    "address": "string",
    "certificatePem": "string",
    "thumbprintSha256": "string",
    "thumbprintSha1": "string",
    "issuerName": "string",
    "validFrom": "string",
    "validTo": "string"
}
string
address
Optional

The address of the vCenter.

string
certificatePem
Optional

The certificate of the vCenter in PEM format.

string
thumbprintSha256
Optional

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

string
thumbprintSha1
Optional

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

string
issuerName
Optional

The name of the issuer of this certificate.

string
validFrom
Optional

The UTC datetime indicating from when this certificate is valid.

string
validTo
Optional

The UTC datetime indicating upto when this certificate is valid.


301

API endpoint has permanently moved.

Returns InlineZtpV1VcenterCertificate301Response of type(s) application/json
{
    "redirectURL": "string"
}
string
redirectURL
Optional

redirectURL

Response Headers

string
Location

URI where the client will find the new endpoint.


400

Response may include details of why the request is bad.

Returns InlineZtpV1VcenterCertificate400Response 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 parameters couldn't be processed by the server.

Returns InlineZtpV1VcenterCertificate422Response 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 InlineZtpV1VcenterCertificate500Response 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.