Interface SubClusters
-
- All Superinterfaces:
com.vmware.vapi.bindings.Service
,SubClustersTypes
- All Known Implementing Classes:
SubClustersStub
public interface SubClusters extends com.vmware.vapi.bindings.Service, SubClustersTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.sites.enforcement_points.SubClustersTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
delete
void delete(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId)
Delete a Sub-Cluster. Deletion will not be allowed if sub-cluster contains discovered nodes.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
delete
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. Deletion will not be allowed if sub-cluster contains discovered nodes.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
delete
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. Deletion will not be allowed if sub-cluster contains discovered nodes.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
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
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. Deletion will not be allowed if sub-cluster contains discovered nodes.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
SubCluster get(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId)
Read a Sub-cluster configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)- Returns:
- com.vmware.nsx_policy.model.SubCluster
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
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.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SubCluster
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.SubClusterOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.SubClusterOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
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.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
siteId
- (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)- Returns:
- com.vmware.nsx_policy.model.SubClusterListResult
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
list
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.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
siteId
- (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.- Returns:
- com.vmware.nsx_policy.model.SubClusterListResult
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
list
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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.SubClusterListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (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.
-
list
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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.SubClusterListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (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.
-
move
void move(java.lang.String siteId, java.lang.String enforcementpointId, HostMovementSpec hostMovementSpec)
Move host from one sub-cluster to another sub-cluster. When a node is moved from one sub-cluster to another sub-cluster, based on the TransportNodeCollection configuration appropriate sub-configuration will be applied to the node. If TransportNodeCollection does not have sub-configurations for the sub-cluster, then global configuration will be applied.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
siteId
- (required)enforcementpointId
- (required)hostMovementSpec
- (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
move
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. When a node is moved from one sub-cluster to another sub-cluster, based on the TransportNodeCollection configuration appropriate sub-configuration will be applied to the node. If TransportNodeCollection does not have sub-configurations for the sub-cluster, then global configuration will be applied.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
siteId
- (required)enforcementpointId
- (required)hostMovementSpec
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
move
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. When a node is moved from one sub-cluster to another sub-cluster, based on the TransportNodeCollection configuration appropriate sub-configuration will be applied to the node. If TransportNodeCollection does not have sub-configurations for the sub-cluster, then global configuration will be applied.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
- Parameters:
siteId
- (required)enforcementpointId
- (required)hostMovementSpec
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
move
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. When a node is moved from one sub-cluster to another sub-cluster, based on the TransportNodeCollection configuration appropriate sub-configuration will be applied to the node. If TransportNodeCollection does not have sub-configurations for the sub-cluster, then global configuration will be applied.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
siteId
- (required)enforcementpointId
- (required)hostMovementSpec
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
SubCluster patch(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster)
Patch a sub-cluster under compute collection.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)subCluster
- (required)- Returns:
- com.vmware.nsx_policy.model.SubCluster
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
patch
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.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)subCluster
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SubCluster
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
patch
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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.SubClusterOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)subCluster
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
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.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.SubClusterOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (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.
-
update
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. Maximum number of sub-clusters that can be created under a compute collection is 16.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)subCluster
- (required)- Returns:
- com.vmware.nsx_policy.model.SubCluster
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
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. Maximum number of sub-clusters that can be created under a compute collection is 16.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)subCluster
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SubCluster
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
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. Maximum number of sub-clusters that can be created under a compute collection is 16.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.SubClusterOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (required)enforcementpointId
- (required)subclusterId
- (required)subCluster
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
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. Maximum number of sub-clusters that can be created under a compute collection is 16.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.SubClusterOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
siteId
- (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.
-
-