public class ComputeManagersStub extends com.vmware.vapi.internal.bindings.Stub implements ComputeManagers
ComputeManagers
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ComputeManagersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ComputeManagersStub(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 |
---|---|
ComputeManager |
create(ComputeManager computeManager)
Registers compute manager with NSX.
|
void |
create(ComputeManager computeManager,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback)
Registers compute manager with NSX.
|
void |
create(ComputeManager computeManager,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Registers compute manager with NSX.
|
ComputeManager |
create(ComputeManager computeManager,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Registers compute manager with NSX.
|
void |
delete(java.lang.String computeManagerId)
Unregisters a specified compute manager
|
void |
delete(java.lang.String computeManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Unregisters a specified compute manager
|
void |
delete(java.lang.String computeManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Unregisters a specified compute manager
|
void |
delete(java.lang.String computeManagerId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Unregisters a specified compute manager
|
ComputeManager |
get(java.lang.String computeManagerId)
Returns information about a specific compute manager
|
void |
get(java.lang.String computeManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback)
Returns information about a specific compute manager
|
void |
get(java.lang.String computeManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specific compute manager
|
ComputeManager |
get(java.lang.String computeManagerId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specific compute manager
|
ComputeManagerListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String originType,
java.lang.Long pageSize,
java.lang.String server,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about all compute managers.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String originType,
java.lang.Long pageSize,
java.lang.String server,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManagerListResult> asyncCallback)
Returns information about all compute managers.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String originType,
java.lang.Long pageSize,
java.lang.String server,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManagerListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all compute managers.
|
ComputeManagerListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String originType,
java.lang.Long pageSize,
java.lang.String server,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all compute managers.
|
ComputeManager |
update(java.lang.String computeManagerId,
ComputeManager computeManager)
Updates a specified compute manager
|
void |
update(java.lang.String computeManagerId,
ComputeManager computeManager,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback)
Updates a specified compute manager
|
void |
update(java.lang.String computeManagerId,
ComputeManager computeManager,
com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates a specified compute manager
|
ComputeManager |
update(java.lang.String computeManagerId,
ComputeManager computeManager,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates a specified compute manager
|
public ComputeManagersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ComputeManagersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ComputeManager create(ComputeManager computeManager)
ComputeManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ComputeManagers
computeManager
- (required)public ComputeManager create(ComputeManager computeManager, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface ComputeManagers
computeManager
- (required)invocationConfig
- Configuration for the method invocation.public void create(ComputeManager computeManager, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback)
ComputeManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ComputeManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ComputeManagers
computeManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(ComputeManager computeManager, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
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.ComputeManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ComputeManagers
computeManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String computeManagerId)
ComputeManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ComputeManagers
computeManagerId
- (required)public void delete(java.lang.String computeManagerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ComputeManagers
computeManagerId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String computeManagerId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ComputeManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ComputeManagers
computeManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String computeManagerId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ComputeManagers
computeManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ComputeManager get(java.lang.String computeManagerId)
ComputeManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ComputeManagers
computeManagerId
- (required)public ComputeManager get(java.lang.String computeManagerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
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 ComputeManagers
computeManagerId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String computeManagerId, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback)
ComputeManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ComputeManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ComputeManagers
computeManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String computeManagerId, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
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.ComputeManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ComputeManagers
computeManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ComputeManagerListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String originType, java.lang.Long pageSize, java.lang.String server, java.lang.Boolean sortAscending, java.lang.String sortBy)
ComputeManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ComputeManagers
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)originType
- Compute manager type like vCenter (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)server
- IP address or hostname of compute manager (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)public ComputeManagerListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String originType, java.lang.Long pageSize, java.lang.String server, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface ComputeManagers
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)originType
- Compute manager type like vCenter (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)server
- IP address or hostname of compute manager (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.String originType, java.lang.Long pageSize, java.lang.String server, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManagerListResult> asyncCallback)
ComputeManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ComputeManagerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ComputeManagers
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)originType
- Compute manager type like vCenter (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)server
- IP address or hostname of compute manager (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.String originType, java.lang.Long pageSize, java.lang.String server, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManagerListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
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.ComputeManagerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ComputeManagers
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)originType
- Compute manager type like vCenter (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)server
- IP address or hostname of compute manager (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ComputeManager update(java.lang.String computeManagerId, ComputeManager computeManager)
ComputeManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ComputeManagers
computeManagerId
- (required)computeManager
- (required)public ComputeManager update(java.lang.String computeManagerId, ComputeManager computeManager, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface ComputeManagers
computeManagerId
- (required)computeManager
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String computeManagerId, ComputeManager computeManager, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback)
ComputeManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ComputeManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ComputeManagers
computeManagerId
- (required)computeManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String computeManagerId, ComputeManager computeManager, com.vmware.vapi.bindings.client.AsyncCallback<ComputeManager> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ComputeManagers
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.ComputeManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ComputeManagers
computeManagerId
- (required)computeManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.