Update VCF Integration

Update VCF Integration

Update existing VCF integration with provided parameters

Request
URI
PUT
https://{api_host}/suite-api/api/integrations/vcf
COPY
Query Parameters
boolean
force
Optional
Constraints: default: false

Update VCF even if connection test fails


Request Body

The VCF integration update request

VCFIntegration of type(s) application/json
Required
This request body class requires all of the following: InlineVCFIntegration0 , InlineVCFIntegration1
"{\n  \"id\" : \"3dd7b0f6-d910-4e19-b9e0-67cba36c84df\",\n  \"name\" : \"TestVCFIntegration\",\n  \"description\" : \"VCF adapter for test purposes\",\n  \"collectorGroupId\" : \"ed75e35e-0639-4f2d-8e87-08105e1d7e34\",\n  \"resourceIdentifiers\" : [ {\n    \"name\" : \"SDDCManager_Hostname\",\n    \"value\" : \"SDDC_manager_hostname\"\n  }, {\n    \"name\" : \"vcf_config_limits_file_name\",\n    \"value\" : \"file_name\"\n  }, {\n    \"name\" : \"DomainMonitoringOnCreation\",\n    \"value\" : \"false\"\n  } ],\n  \"certificates\" : [ ],\n  \"credentialInstanceId\" : \"e558bc5d-0830-45a8-9ee3-b2275a0f667e\",\n  \"serviceCredentialsUsed\" : false\n}"
Authentication
This operation uses the following authentication methods.
Responses
200

The model of the updated VCF integration.

Returns VCFIntegration of type(s) application/json
This response body class contains all of the following: InlineVCFIntegration0 , InlineVCFIntegration1
"{\n  \"id\" : \"0fb275a1-430d-4402-8222-8df42df6a788\",\n  \"name\" : \"TestVCFIntegration\",\n  \"description\" : \"VCF adapter for test purposes\",\n  \"collectorGroupId\" : \"b6dfd12f-e254-44a3-b3e4-985d283e2fa6\",\n  \"resourceIdentifiers\" : [ {\n    \"name\" : \"SDDCManager_Hostname\",\n    \"value\" : \"SDDC_manager_hostname\"\n  }, {\n    \"name\" : \"vcf_config_limits_file_name\",\n    \"value\" : \"file_name\"\n  }, {\n    \"name\" : \"DomainMonitoringOnCreation\",\n    \"value\" : \"false\"\n  } ],\n  \"certificates\" : [ ],\n  \"credentialInstanceId\" : \"8dfcff4a-5b12-4c8d-bd79-75908d01982b\",\n  \"serviceCredentialsUsed\" : false\n}"

400

If update 'VCF integration' failed. Typically the service will return extra information as to why the update failed. In case if connection testing failed due to certificates, untrusted certificates will be returned for acceptance.

Returns OneOfErrorMessage of type(s) application/json
"{\n  \"type\" : \"CertificatesError\",\n  \"certificates\" : [ {\n    \"integrationType\" : \"VCENTER\",\n    \"certificates\" : [ {\n      \"thumbprint\" : \"certificate_thumbprint\",\n      \"certificateDetails\" : \"certificate_details\",\n      \"issuedTo\" : \"issuedTo\",\n      \"issuedBy\" : \"issuedBy\",\n      \"expires\" : \"expirationDate\"\n    } ]\n  } ],\n  \"httpStatusCode\" : 400,\n  \"apiErrorCode\" : 400,\n  \"message\" : \"No valid certificates were found, while testing connection. Returning provided untrusted certificates for acceptance.\"\n}"

422

If update 'VCF integration' failed. Typically the service will return extra information as to why the update failed.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '}' https://{api_host}/suite-api/api/integrations/vcf