Class 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 the SubClusters API 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
    • 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
      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.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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: SubClusters
        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.

        Specified by:
        delete in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        delete in interface SubClusters
        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: SubClusters
        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

        Specified by:
        delete in interface SubClusters
        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: SubClusters
        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. 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

        Specified by:
        delete in interface SubClusters
        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: SubClusters
        Read a Sub-cluster configuration.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        get in interface SubClusters
        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: SubClusters
        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.SubCluster

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface SubClusters
        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: SubClusters
        Read a Sub-cluster configuration.

        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_policy.model.SubCluster

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface SubClusters
        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: SubClusters
        Paginated list of all sub-clusters.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        list in interface SubClusters
        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: SubClusters
        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.SubClusterListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface SubClusters
        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: SubClusters
        Paginated list of all sub-clusters.

        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_policy.model.SubClusterListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        move in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        move in interface SubClusters
        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: SubClusters
        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

        Specified by:
        move in interface SubClusters
        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: SubClusters
        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. 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

        Specified by:
        move in interface SubClusters
        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: SubClusters
        Patch a sub-cluster under compute collection.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        patch in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        patch in interface SubClusters
        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: SubClusters
        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.SubCluster

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface SubClusters
        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: SubClusters
        Patch a sub-cluster under compute collection.

        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_policy.model.SubCluster

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        update in interface SubClusters
        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: SubClusters
        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.

        Specified by:
        update in interface SubClusters
        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: SubClusters
        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.SubCluster

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface SubClusters
        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: SubClusters
        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. 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

        Specified by:
        update in interface SubClusters
        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.