public interface Providers extends Service, ProvidersTypes
Providers
interface provides methods to create a sync session, get
information on Sync. Warning: This interface is available as technical
preview. It may be changed in a future release.ProvidersTypes.Info, ProvidersTypes.SessionInfo, ProvidersTypes.Status, ProvidersTypes.Summary
RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
ProvidersTypes.Info |
get(java.lang.String link,
java.lang.String provider)
Gets Sync information for a sync provider.
|
void |
get(java.lang.String link,
java.lang.String provider,
AsyncCallback<ProvidersTypes.Info> asyncCallback)
Gets Sync information for a sync provider.
|
void |
get(java.lang.String link,
java.lang.String provider,
AsyncCallback<ProvidersTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets Sync information for a sync provider.
|
ProvidersTypes.Info |
get(java.lang.String link,
java.lang.String provider,
InvocationConfig invocationConfig)
Gets Sync information for a sync provider.
|
java.util.List<ProvidersTypes.Summary> |
list(java.lang.String link)
Enumerates the sync providers.
|
void |
list(java.lang.String link,
AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
Enumerates the sync providers.
|
void |
list(java.lang.String link,
AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates the sync providers.
|
java.util.List<ProvidersTypes.Summary> |
list(java.lang.String link,
InvocationConfig invocationConfig)
Enumerates the sync providers.
|
void |
start(java.lang.String link,
java.lang.String provider)
Initiates synchronization between the local and remote replicas for the sync
provider.
|
void |
start(java.lang.String link,
java.lang.String provider,
AsyncCallback<java.lang.Void> asyncCallback)
Initiates synchronization between the local and remote replicas for the sync
provider.
|
void |
start(java.lang.String link,
java.lang.String provider,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Initiates synchronization between the local and remote replicas for the sync
provider.
|
void |
start(java.lang.String link,
java.lang.String provider,
InvocationConfig invocationConfig)
Initiates synchronization between the local and remote replicas for the sync
provider.
|
java.util.List<ProvidersTypes.Summary> list(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
.List
of sync provider information.Error
- If list fails.Unauthorized
- If the user is not authorized to perform this operation.java.util.List<ProvidersTypes.Summary> list(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.List
of sync provider information.Error
- If list fails.Unauthorized
- If the user is not authorized to perform this operation.void list(java.lang.String link, AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The List
of sync provider information.
Operation Errors:
Error
- If list fails.
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 list(java.lang.String link, AsyncCallback<java.util.List<ProvidersTypes.Summary>> 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 Result:
The List
of sync provider information.
Operation Errors:
Error
- If list fails.
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.ProvidersTypes.Info get(java.lang.String link, java.lang.String provider)
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
.provider
- Unique identifier of the sync provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.Error
- if the system reports an error while responding to the request.NotFound
- if the sync provider associated with provider
does not exist.Unauthorized
- if the user is not authorized to perform this operation.ProvidersTypes.Info get(java.lang.String link, java.lang.String provider, 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
.provider
- Unique identifier of the sync provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the sync provider associated with provider
does not exist.Unauthorized
- if the user is not authorized to perform this operation.void get(java.lang.String link, java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The Info of sync information for the provider.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the sync provider associated with provider
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
.provider
- Unique identifier of the sync provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String link, java.lang.String provider, AsyncCallback<ProvidersTypes.Info> 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 Result:
The Info of sync information for the provider.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the sync provider associated with provider
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
.provider
- Unique identifier of the sync provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void start(java.lang.String link, java.lang.String provider)
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
.provider
- Unique identifier representing the sync provider
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.Error
- if the system reports an error while responding to the request.NotFound
- if the link associated with link
does not exist if the provider
associated with provider
is not registered for syncUnauthorized
- if the user is not authorized to perform this operation.ResourceBusy
- if a sync is already running.void start(java.lang.String link, java.lang.String provider, 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
.provider
- Unique identifier representing the sync provider
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.NotFound
- if the link associated with link
does not exist if the provider
associated with provider
is not registered for syncUnauthorized
- if the user is not authorized to perform this operation.ResourceBusy
- if a sync is already running.void start(java.lang.String link, java.lang.String provider, 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 associated with link
does not exist if the provider
associated with provider
is not registered for sync
Unauthorized
- if the user is not authorized to perform this operation.
ResourceBusy
- if a sync is already running.
link
- Unique identifier of the link
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links
.provider
- Unique identifier representing the sync provider
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void start(java.lang.String link, java.lang.String provider, 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 associated with link
does not exist if the provider
associated with provider
is not registered for sync
Unauthorized
- if the user is not authorized to perform this operation.
ResourceBusy
- if a sync is already running.
link
- Unique identifier of the link
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links
.provider
- Unique identifier representing the sync provider
The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.sync.Providers
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.