Changed1
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail

Validate Resource Certificates

Description

Validate resource certificates

Request

Request

URL

URL


put
https://sfo-vcf01.rainpole.io/v1/domains/{id}/resource-certificates/validations
Copy

Path Parameters

Path Parameters

string
id Required

Domain ID


Request Body

Request Body

array of ResourceCertificateSpec of type(s) application/json Required

resourceCertificateSpecs

{
    "caCertificate": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
    "certificateChain": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
    "resourceCertificate": "-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----",
    "resourceFqdn": "sfo-vc01.rainpole.io",
    "resourceId": "BE8A5E04-92A0-43F6-A166-AA041F4327CC"
}
string
caCertificate Optional

CA Certificate


string
certificateChain Optional

Certificate Chain


string
resourceCertificate Optional

Resource Certificate


string
resourceFqdn Optional

Resource FQDN


string
resourceId Optional

Resource ID

Response

Response

200 OK Response Body>

Response Body

200 OK

Returns CertificateValidationTask of type(s) application/json
{
    "completed": "One among: true, false",
    "endTimestamp": "2021-02-02T00:00:00.000Z",
    "startTimestamp": "2021-02-02T00:00:00.000Z",
    "validationId": "B1930850-7D1A-4BAA-89D7-52FD5DAD196A"
}
boolean
completed Required

Validation Task Completed


string
validationId Required

Validation ID


validations Required

Resource Certificate Validations


string
endTimestamp Optional

Validation Task End Time


string
startTimestamp Optional

Validation Task Start Time


201 Created Response Body>

Response Body

201 Created

Returns CertificateValidationTask of type(s) application/json
{
    "completed": "One among: true, false",
    "endTimestamp": "2021-02-02T00:00:00.000Z",
    "startTimestamp": "2021-02-02T00:00:00.000Z",
    "validationId": "B1930850-7D1A-4BAA-89D7-52FD5DAD196A"
}
boolean
completed Required

Validation Task Completed


string
validationId Required

Validation ID


validations Required

Resource Certificate Validations


string
endTimestamp Optional

Validation Task End Time


string
startTimestamp Optional

Validation Task Start Time

Errors

Errors

Error
404

Not Found


Error
500

Internal server error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '[{"caCertificate":"-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----","certificateChain":"-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----","resourceCertificate":"-----BEGIN CERTIFICATE-----\nMIIFq...\n-----END CERTIFICATE-----","resourceFqdn":"sfo-vc01.rainpole.io","resourceId":"BE8A5E04-92A0-43F6-A166-AA041F4327CC"}]' https://sfo-vcf01.rainpole.io/v1/domains/{id}/resource-certificates/validations


[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
What's changed in 4.5.1?
INTRODUCED
Feedback

Was this page helpful?