Class UploadFromRemoteServerStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.sites.napp.deployment.tools.UploadFromRemoteServerStub
-
- All Implemented Interfaces:
UploadFromRemoteServer
,UploadFromRemoteServerTypes
,com.vmware.vapi.bindings.Service
public class UploadFromRemoteServerStub extends com.vmware.vapi.internal.bindings.Stub implements UploadFromRemoteServer
Remote stub implementation of theUploadFromRemoteServer
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
-
Fields inherited from interface com.vmware.nsx_policy.infra.sites.napp.deployment.tools.UploadFromRemoteServerTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description UploadFromRemoteServerStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
UploadFromRemoteServerStub(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 UploadBundleId
create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer)
Upload the Kubernetes tools on NSX Manager via remote url.void
create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer, com.vmware.vapi.bindings.client.AsyncCallback<UploadBundleId> asyncCallback)
Upload the Kubernetes tools on NSX Manager via remote url.void
create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer, com.vmware.vapi.bindings.client.AsyncCallback<UploadBundleId> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Upload the Kubernetes tools on NSX Manager via remote url.UploadBundleId
create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Upload the Kubernetes tools on NSX Manager via remote url.
-
-
-
Constructor Detail
-
UploadFromRemoteServerStub
public UploadFromRemoteServerStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
UploadFromRemoteServerStub
public UploadFromRemoteServerStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public UploadBundleId create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer)
Description copied from interface:UploadFromRemoteServer
Upload the Kubernetes tools on NSX Manager via remote url. You need to get this file from VMware website. File contains kubectl binary, helm binary and signature to verify them.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
create
in interfaceUploadFromRemoteServer
- Parameters:
siteId
- (required)uploadBundleRemoteServer
- (required)- Returns:
- com.vmware.nsx_policy.model.UploadBundleId
-
create
public UploadBundleId create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UploadFromRemoteServer
Upload the Kubernetes tools on NSX Manager via remote url. You need to get this file from VMware website. File contains kubectl binary, helm binary and signature to verify them.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:
create
in interfaceUploadFromRemoteServer
- Parameters:
siteId
- (required)uploadBundleRemoteServer
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.UploadBundleId
-
create
public void create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer, com.vmware.vapi.bindings.client.AsyncCallback<UploadBundleId> asyncCallback)
Description copied from interface:UploadFromRemoteServer
Upload the Kubernetes tools on NSX Manager via remote url. You need to get this file from VMware website. File contains kubectl binary, helm binary and signature to verify them.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.UploadBundleIdOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceUploadFromRemoteServer
- Parameters:
siteId
- (required)uploadBundleRemoteServer
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
public void create(java.lang.String siteId, UploadBundleRemoteServer uploadBundleRemoteServer, com.vmware.vapi.bindings.client.AsyncCallback<UploadBundleId> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UploadFromRemoteServer
Upload the Kubernetes tools on NSX Manager via remote url. You need to get this file from VMware website. File contains kubectl binary, helm binary and signature to verify them.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.UploadBundleIdOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceUploadFromRemoteServer
- Parameters:
siteId
- (required)uploadBundleRemoteServer
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-