public class SubClustersStub extends com.vmware.vapi.internal.bindings.Stub implements SubClusters
SubClusters
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SubClustersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SubClustersStub(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 |
|---|---|
void |
delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId)
Delete a Sub-Cluster.
|
void |
delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a Sub-Cluster.
|
void |
delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a Sub-Cluster.
|
void |
delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a Sub-Cluster.
|
SubCluster |
get(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId)
Read a Sub-cluster configuration.
|
void |
get(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback)
Read a Sub-cluster configuration.
|
void |
get(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a Sub-cluster configuration.
|
SubCluster |
get(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a Sub-cluster configuration.
|
SubClusterListResult |
list(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Paginated list of all sub-clusters.
|
void |
list(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<SubClusterListResult> asyncCallback)
Paginated list of all sub-clusters.
|
void |
list(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<SubClusterListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of all sub-clusters.
|
SubClusterListResult |
list(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of all sub-clusters.
|
void |
move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec)
Move host from one sub-cluster to another sub-cluster.
|
void |
move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Move host from one sub-cluster to another sub-cluster.
|
void |
move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Move host from one sub-cluster to another sub-cluster.
|
void |
move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Move host from one sub-cluster to another sub-cluster.
|
SubCluster |
patch(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster)
Patch a sub-cluster under compute collection.
|
void |
patch(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback)
Patch a sub-cluster under compute collection.
|
void |
patch(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch a sub-cluster under compute collection.
|
SubCluster |
patch(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch a sub-cluster under compute collection.
|
SubCluster |
update(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster)
Create or update a sub-cluster under a compute collection.
|
void |
update(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback)
Create or update a sub-cluster under a compute collection.
|
void |
update(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update a sub-cluster under a compute collection.
|
SubCluster |
update(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update a sub-cluster under a compute collection.
|
public SubClustersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public SubClustersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId)
SubClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)public void delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersSynchronous 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 SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
SubClustersAsynchronous 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 SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersAsynchronous 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 SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SubCluster get(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId)
SubClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)public SubCluster get(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersSynchronous 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 SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback)
SubClustersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.SubCluster
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersAsynchronous 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_policy.model.SubCluster
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SubClusterListResult list(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
SubClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface SubClusterssiteId - (required)enforcementpointId - (required)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)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)public SubClusterListResult list(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersSynchronous 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 SubClusterssiteId - (required)enforcementpointId - (required)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)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<SubClusterListResult> asyncCallback)
SubClustersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.SubClusterListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface SubClusterssiteId - (required)enforcementpointId - (required)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)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)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 siteId,
java.lang.String enforcementpointId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<SubClusterListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersAsynchronous 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_policy.model.SubClusterListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface SubClusterssiteId - (required)enforcementpointId - (required)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)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)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 void move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec)
SubClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
move in interface SubClusterssiteId - (required)enforcementpointId - (required)hostMovementSpec - (required)public void move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
move in interface SubClusterssiteId - (required)enforcementpointId - (required)hostMovementSpec - (required)invocationConfig - Configuration for the method invocation.public void move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
SubClustersAsynchronous 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
move in interface SubClusterssiteId - (required)enforcementpointId - (required)hostMovementSpec - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void move(java.lang.String siteId,
java.lang.String enforcementpointId,
HostMovementSpec hostMovementSpec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersAsynchronous 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
move in interface SubClusterssiteId - (required)enforcementpointId - (required)hostMovementSpec - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SubCluster patch(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster)
SubClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
patch in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)public SubCluster patch(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
patch in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)invocationConfig - Configuration for the method invocation.public void patch(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback)
SubClustersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.SubCluster
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
patch in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void patch(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersAsynchronous 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_policy.model.SubCluster
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
patch in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SubCluster update(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster)
SubClustersSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)public SubCluster update(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersSynchronous 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 SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback)
SubClustersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.SubCluster
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String siteId,
java.lang.String enforcementpointId,
java.lang.String subclusterId,
SubCluster subCluster,
com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SubClustersAsynchronous 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_policy.model.SubCluster
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface SubClusterssiteId - (required)enforcementpointId - (required)subclusterId - (required)subCluster - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.