public class ProvidersStub extends com.vmware.vapi.internal.bindings.Stub implements Providers
Providers
API service.
WARNING: Internal class, subject to change in future versions.
ProvidersTypes.Info, ProvidersTypes.SessionInfo, ProvidersTypes.Status, ProvidersTypes.Summary
apiProvider, converter, ifaceId, securityContext
RESOURCE_TYPE
Constructor and Description |
---|
ProvidersStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ProvidersStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public ProvidersStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ProvidersStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ProvidersTypes.Summary> list(java.lang.String link)
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<ProvidersTypes.Summary> list(java.lang.String link, InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(java.lang.String link, AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
Providers
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.
public void list(java.lang.String link, AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Providers
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.
list
in interface Providers
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.public ProvidersTypes.Info get(java.lang.String link, java.lang.String provider)
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Providers
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
.public ProvidersTypes.Info get(java.lang.String link, java.lang.String provider, InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Providers
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.public void get(java.lang.String link, java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback)
Providers
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.
get
in interface Providers
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.public void get(java.lang.String link, java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Providers
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.
get
in interface Providers
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.public void start(java.lang.String link, java.lang.String provider)
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
start
in interface Providers
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
.public void start(java.lang.String link, java.lang.String provider, InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
start
in interface Providers
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.public void start(java.lang.String link, java.lang.String provider, AsyncCallback<java.lang.Void> asyncCallback)
Providers
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.
start
in interface Providers
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.public void start(java.lang.String link, java.lang.String provider, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Providers
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.
start
in interface Providers
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.