Class RegistryStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.sites.napp.deployment.RegistryStub
-
- All Implemented Interfaces:
Registry
,RegistryTypes
,com.vmware.vapi.bindings.Service
public class RegistryStub extends com.vmware.vapi.internal.bindings.Stub implements Registry
Remote stub implementation of theRegistry
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.RegistryTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description RegistryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
RegistryStub(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 DeploymentRegistry
get(java.lang.String siteId)
Get helm repo and docker registry url for chart deployment.void
get(java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback)
Get helm repo and docker registry url for chart deployment.void
get(java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get helm repo and docker registry url for chart deployment.DeploymentRegistry
get(java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get helm repo and docker registry url for chart deployment.DeploymentRegistry
update(java.lang.String siteId, DeploymentRegistry deploymentRegistry)
In case of helm chart present in private repository and containers are hosted in private hub.void
update(java.lang.String siteId, DeploymentRegistry deploymentRegistry, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback)
In case of helm chart present in private repository and containers are hosted in private hub.void
update(java.lang.String siteId, DeploymentRegistry deploymentRegistry, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
In case of helm chart present in private repository and containers are hosted in private hub.DeploymentRegistry
update(java.lang.String siteId, DeploymentRegistry deploymentRegistry, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
In case of helm chart present in private repository and containers are hosted in private hub.
-
-
-
Constructor Detail
-
RegistryStub
public RegistryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
RegistryStub
public RegistryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public DeploymentRegistry get(java.lang.String siteId)
Description copied from interface:Registry
Get helm repo and docker registry url for chart deployment.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public DeploymentRegistry get(java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Registry
Get helm repo and docker registry url for chart deployment.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
get
public void get(java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback)
Description copied from interface:Registry
Get helm repo and docker registry url for chart deployment.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.DeploymentRegistryOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public void get(java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Registry
Get helm repo and docker registry url for chart deployment.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.DeploymentRegistryOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
update
public DeploymentRegistry update(java.lang.String siteId, DeploymentRegistry deploymentRegistry)
Description copied from interface:Registry
In case of helm chart present in private repository and containers are hosted in private hub. You can change docker and helm url to use these private URL instead of default public one.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
update
public DeploymentRegistry update(java.lang.String siteId, DeploymentRegistry deploymentRegistry, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Registry
In case of helm chart present in private repository and containers are hosted in private hub. You can change docker and helm url to use these private URL instead of default public one.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
update
public void update(java.lang.String siteId, DeploymentRegistry deploymentRegistry, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback)
Description copied from interface:Registry
In case of helm chart present in private repository and containers are hosted in private hub. You can change docker and helm url to use these private URL instead of default public one.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.DeploymentRegistryOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
update
public void update(java.lang.String siteId, DeploymentRegistry deploymentRegistry, com.vmware.vapi.bindings.client.AsyncCallback<DeploymentRegistry> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Registry
In case of helm chart present in private repository and containers are hosted in private hub. You can change docker and helm url to use these private URL instead of default public one.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.DeploymentRegistryOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
-