public class PublishStub extends com.vmware.vapi.internal.bindings.Stub implements Publish
Publish
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
PublishStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PublishStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and 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.
|
public PublishStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PublishStub(ApiProvider apiProvider, StubConfigurationBase config)
public Task post(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange)
Publish
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Task post(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange, InvocationConfig invocationConfig)
Publish
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
post
in interface Publish
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.public void post(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange, AsyncCallback<Task> asyncCallback)
Publish
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
post
in interface Publish
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.public void post(java.lang.String org, java.lang.String sddc, java.lang.String cluster, MsftLicensingConfig configChange, AsyncCallback<Task> asyncCallback, InvocationConfig invocationConfig)
Publish
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
post
in interface Publish
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.