Class SubClustersStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.sites.enforcement_points.SubClustersStub
-
- All Implemented Interfaces:
SubClusters,SubClustersTypes,com.vmware.vapi.bindings.Service
public class SubClustersStub extends com.vmware.vapi.internal.bindings.Stub implements SubClusters
Remote stub implementation of theSubClustersAPI service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.sites.enforcement_points.SubClustersTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId)Delete a Sub-Cluster.voiddelete(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.voiddelete(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.voiddelete(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete a Sub-Cluster.SubClusterget(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId)Read a Sub-cluster configuration.voidget(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.voidget(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.SubClusterget(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read a Sub-cluster configuration.SubClusterListResultlist(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.voidlist(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.voidlist(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.SubClusterListResultlist(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.voidmove(java.lang.String siteId, java.lang.String enforcementpointId, HostMovementSpec hostMovementSpec)Move host from one sub-cluster to another sub-cluster.voidmove(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.voidmove(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.voidmove(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.SubClusterpatch(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster)Patch a sub-cluster under compute collection.voidpatch(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.voidpatch(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.SubClusterpatch(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.SubClusterupdate(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster)Create or update a sub-cluster under a compute collection.voidupdate(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.voidupdate(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.SubClusterupdate(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.
-
-
-
Constructor Detail
-
SubClustersStub
public SubClustersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
SubClustersStub
public SubClustersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId)Description copied from interface:SubClustersDelete 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.
- Specified by:
deletein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)
-
delete
public void delete(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:SubClustersDelete 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
deletein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)invocationConfig- Configuration for the method invocation.
-
delete
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)Description copied from interface:SubClustersDelete 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
- Specified by:
deletein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
delete
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)Description copied from interface:SubClustersDelete 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. UseinvocationConfigto 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
- Specified by:
deletein interfaceSubClusters- 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
public SubCluster get(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId)
Description copied from interface:SubClustersRead a Sub-cluster configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)- Returns:
- com.vmware.nsx_policy.model.SubCluster
-
get
public SubCluster get(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:SubClustersRead a Sub-cluster configuration.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
getin interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SubCluster
-
get
public void get(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, com.vmware.vapi.bindings.client.AsyncCallback<SubCluster> asyncCallback)Description copied from interface:SubClustersRead 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
- Specified by:
getin interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
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)Description copied from interface:SubClustersRead a Sub-cluster configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
- Specified by:
getin interfaceSubClusters- 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
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)
Description copied from interface:SubClustersPaginated list of all sub-clusters.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfaceSubClusters- 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
-
list
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)
Description copied from interface:SubClustersPaginated list of all sub-clusters.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
listin interfaceSubClusters- 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
-
list
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)Description copied from interface:SubClustersPaginated 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
- Specified by:
listin interfaceSubClusters- 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
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)Description copied from interface:SubClustersPaginated list of all sub-clusters.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
- Specified by:
listin interfaceSubClusters- 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
public void move(java.lang.String siteId, java.lang.String enforcementpointId, HostMovementSpec hostMovementSpec)Description copied from interface:SubClustersMove 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.
- Specified by:
movein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)hostMovementSpec- (required)
-
move
public void move(java.lang.String siteId, java.lang.String enforcementpointId, HostMovementSpec hostMovementSpec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:SubClustersMove 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
movein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)hostMovementSpec- (required)invocationConfig- Configuration for the method invocation.
-
move
public void move(java.lang.String siteId, java.lang.String enforcementpointId, HostMovementSpec hostMovementSpec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:SubClustersMove 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
- Specified by:
movein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)hostMovementSpec- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
move
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)Description copied from interface:SubClustersMove 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. UseinvocationConfigto 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
- Specified by:
movein interfaceSubClusters- 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
public SubCluster patch(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster)
Description copied from interface:SubClustersPatch a sub-cluster under compute collection.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patchin interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)subCluster- (required)- Returns:
- com.vmware.nsx_policy.model.SubCluster
-
patch
public SubCluster patch(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:SubClustersPatch a sub-cluster under compute collection.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
patchin interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)subCluster- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SubCluster
-
patch
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)Description copied from interface:SubClustersPatch 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
- Specified by:
patchin interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)subCluster- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
patch
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)Description copied from interface:SubClustersPatch a sub-cluster under compute collection.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
- Specified by:
patchin interfaceSubClusters- 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
public SubCluster update(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster)
Description copied from interface:SubClustersCreate 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.
- Specified by:
updatein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)subCluster- (required)- Returns:
- com.vmware.nsx_policy.model.SubCluster
-
update
public SubCluster update(java.lang.String siteId, java.lang.String enforcementpointId, java.lang.String subclusterId, SubCluster subCluster, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:SubClustersCreate 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
updatein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)subCluster- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SubCluster
-
update
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)Description copied from interface:SubClustersCreate 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
- Specified by:
updatein interfaceSubClusters- Parameters:
siteId- (required)enforcementpointId- (required)subclusterId- (required)subCluster- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
update
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)Description copied from interface:SubClustersCreate 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. UseinvocationConfigto 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
- Specified by:
updatein interfaceSubClusters- 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.
-
-