REST API - start

vcenter hvc links sync providers: start

Initiates synchronization between the local and remote replicas for the sync provider. Usage beyond VMware Cloud on AWS is not supported. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Request:

HTTP request

POST https://{server}/rest/hvc/links/{link}/sync/providers/{provider}?action=start

Path Parameters

Name Type Description
Required
link string Unique identifier of the link.
provider string Unique identifier representing the sync provider.

Request Body Structure:

{
    "credentials"{
        "password""secret string",
        "user_name""string"
    }
}

Request Body Parameters:

Name Type Description
bold = required
credentials credentials Optional. Credentials to use for authentication to the remote system. Warning: This parameter is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
credentials.user_name string Name of the user to authenticate. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

credentials.password secret Password for the user. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
404 not_found if the link associated with link does not exist if the provider associated with provider is not registered for sync
403 unauthorized if the user is not authorized to perform this operation.
500 resource_busy if a sync is already running.