Class PublishStub

  • All Implemented Interfaces:
    Service, Publish, PublishTypes

    public class PublishStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Publish
    Remote stub implementation of the Publish 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Task post​(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange)
      Sets the current Microsoft license status of the given SDDC's cluster.
      void post​(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange, AsyncCallback<Task> asyncCallback)
      Sets the current Microsoft license status of the given SDDC's cluster.
      void post​(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
      Sets the current Microsoft license status of the given SDDC's cluster.
      Task post​(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange, InvocationConfig invocationConfig)
      Sets the current Microsoft license status of the given SDDC's cluster.
      • 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
    • Method Detail

      • post

        public Task post​(java.lang.String org,
                         java.lang.String sddc,
                         java.lang.String cluster,
                         MsftLicensingConfig configChange)
        Description copied from interface: Publish
        Sets the current Microsoft license status of the given SDDC's cluster.

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

        Specified by:
        post in interface Publish
        Parameters:
        org - Organization identifier (required)
        sddc - Sddc identifier (required)
        cluster - cluster identifier (required)
        configChange - The license data to set for the clusters. (required)
        Returns:
        com.vmware.vmc.model.Task
      • post

        public Task post​(java.lang.String org,
                         java.lang.String sddc,
                         java.lang.String cluster,
                         MsftLicensingConfig configChange,
                         InvocationConfig invocationConfig)
        Description copied from interface: Publish
        Sets the current Microsoft license status of the given SDDC's cluster.

        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:
        post in interface Publish
        Parameters:
        org - Organization identifier (required)
        sddc - Sddc identifier (required)
        cluster - cluster identifier (required)
        configChange - The license data to set for the clusters. (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.vmc.model.Task
      • post

        public void post​(java.lang.String org,
                         java.lang.String sddc,
                         java.lang.String cluster,
                         MsftLicensingConfig configChange,
                         AsyncCallback<Task> asyncCallback)
        Description copied from interface: Publish
        Sets the current Microsoft license status of the given SDDC's cluster.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.vmc.model.Task

        Operation Errors:
        Unauthorized - Forbidden

        Specified by:
        post in interface Publish
        Parameters:
        org - Organization identifier (required)
        sddc - Sddc identifier (required)
        cluster - cluster identifier (required)
        configChange - The license data to set for the clusters. (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • post

        public void post​(java.lang.String org,
                         java.lang.String sddc,
                         java.lang.String cluster,
                         MsftLicensingConfig configChange,
                         AsyncCallback<Task> asyncCallback,
                         InvocationConfig invocationConfig)
        Description copied from interface: Publish
        Sets the current Microsoft license status of the given SDDC's cluster.

        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.vmc.model.Task

        Operation Errors:
        Unauthorized - Forbidden

        Specified by:
        post in interface Publish
        Parameters:
        org - Organization identifier (required)
        sddc - Sddc identifier (required)
        cluster - cluster identifier (required)
        configChange - The license data to set for the clusters. (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.