public class SwitchStub extends com.vmware.vapi.internal.bindings.Stub implements Switch
Switch
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SwitchStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SwitchStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
MigrationSwitchInfo |
get()
The user is returned the switch (DVS/VSS) set as current scope of migration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback)
The user is returned the switch (DVS/VSS) set as current scope of migration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The user is returned the switch (DVS/VSS) set as current scope of migration.
|
MigrationSwitchInfo |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The user is returned the switch (DVS/VSS) set as current scope of migration.
|
MigrationSwitchInfo |
update(MigrationSwitchInfo migrationSwitchInfo)
The user specifies a DVS / VSS as the current scope of migration.
|
void |
update(MigrationSwitchInfo migrationSwitchInfo,
com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback)
The user specifies a DVS / VSS as the current scope of migration.
|
void |
update(MigrationSwitchInfo migrationSwitchInfo,
com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The user specifies a DVS / VSS as the current scope of migration.
|
MigrationSwitchInfo |
update(MigrationSwitchInfo migrationSwitchInfo,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The user specifies a DVS / VSS as the current scope of migration.
|
public SwitchStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public SwitchStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public MigrationSwitchInfo get()
Switch
Synchronous method overload. Result of the invocation will be reported as a method return value.
public MigrationSwitchInfo get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Switch
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 get(com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback)
Switch
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.MigrationSwitchInfo
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Switch
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.MigrationSwitchInfo
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public MigrationSwitchInfo update(MigrationSwitchInfo migrationSwitchInfo)
Switch
Synchronous method overload. Result of the invocation will be reported as a method return value.
public MigrationSwitchInfo update(MigrationSwitchInfo migrationSwitchInfo, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Switch
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 update(MigrationSwitchInfo migrationSwitchInfo, com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback)
Switch
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.MigrationSwitchInfo
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(MigrationSwitchInfo migrationSwitchInfo, com.vmware.vapi.bindings.client.AsyncCallback<MigrationSwitchInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Switch
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.MigrationSwitchInfo
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found