public interface Sync extends Service, SyncTypes
Sync
interface provides methods to create a sync session, get
information on Sync. Usage beyond VMware Cloud on AWS is not supported.
Warning: This interface 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.SyncTypes.Credentials
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
reset(java.lang.String link)
Resets the sync state between the linked domains by initiating a fresh sync for
all providers.
|
void |
reset(java.lang.String link,
AsyncCallback<java.lang.Void> asyncCallback)
Resets the sync state between the linked domains by initiating a fresh sync for
all providers.
|
void |
reset(java.lang.String link,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Resets the sync state between the linked domains by initiating a fresh sync for
all providers.
|
void |
reset(java.lang.String link,
InvocationConfig invocationConfig)
Resets the sync state between the linked domains by initiating a fresh sync for
all providers.
|
void reset(java.lang.String link)
Synchronous method overload. Result of the invocation will be reported as a method return value.
link
- Unique identifier of the link.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links
.Error
- if the system reports an error while responding to the request.NotFound
- if the link Identifier associated with link
does not exist.Unauthorized
- if the user is not authorized to perform this operation.void reset(java.lang.String link, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
link
- Unique identifier of the link.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the link Identifier associated with link
does not exist.Unauthorized
- if the user is not authorized to perform this operation.void reset(java.lang.String link, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the link Identifier associated with link
does not exist.
Unauthorized
- if the user is not authorized to perform this operation.
link
- Unique identifier of the link.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void reset(java.lang.String link, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the link Identifier associated with link
does not exist.
Unauthorized
- if the user is not authorized to perform this operation.
link
- Unique identifier of the link.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.