SupervisorServices
and
ClusterSupervisorServices
instead to register and install a Harbor
service. See the Harbor
supervisor service document for more details.@Deprecated public interface Harbor extends com.vmware.vapi.bindings.Service, HarborTypes
Harbor
interface provides methods to manage the lifecycle of an
integrated Harbor container registry in vCenter.HarborTypes.CreateSpec, HarborTypes.GarbageCollection, HarborTypes.Info, HarborTypes.StorageInfo, HarborTypes.StorageSpec, HarborTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(java.lang.String clientToken,
HarborTypes.CreateSpec spec)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
create(java.lang.String clientToken,
HarborTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
void |
create(java.lang.String clientToken,
HarborTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
java.lang.String |
create(java.lang.String clientToken,
HarborTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
delete(java.lang.String registry)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
delete(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.
As of release vSphere API 8.0.1.00200.
Operation Errors:
|
void |
delete(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
Operation Errors:
|
void |
delete(java.lang.String registry,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
HarborTypes.Info |
get(java.lang.String registry)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
get(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<HarborTypes.Info> asyncCallback)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
void |
get(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<HarborTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
HarborTypes.Info |
get(java.lang.String registry,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
java.util.List<HarborTypes.Summary> |
list()
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<HarborTypes.Summary>> asyncCallback)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<HarborTypes.Summary>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
java.util.List<HarborTypes.Summary> |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
@Deprecated java.lang.String create(java.lang.String clientToken, HarborTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
clientToken
- A unique token generated on the client for each creation request. The token
should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751
. This token can be used to guarantee
idempotent creation.
If not specified, creation is not idempotent.spec
- Specification for creating the Harbor registry.com.vmware.vcenter.content.Registry
.AlreadyExists
- if a Harbor already exists in the associated cluster.NotFound
- if resources/objects could not be located.Unsupported
- if HarborTypes.CreateSpec.getCluster()
does
not have vSphere namespace enabled.InvalidArgument
- if spec
contains any errors.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have ContentLibrary.ManageRegistry and/or
CertificateAuthority.Manage privilege, or user does not have
ContentLibrary.ManageClusterRegistryResource privilege on HarborTypes.CreateSpec.getCluster()
.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. ClusterComputeResource
referenced by the property HarborTypes.CreateSpec.getCluster()
requires System.Read
. SpsStorageProfile
referenced by the property HarborTypes.StorageSpec.getPolicy()
requires System.Read
. @Deprecated java.lang.String create(java.lang.String clientToken, HarborTypes.CreateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
clientToken
- A unique token generated on the client for each creation request. The token
should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751
. This token can be used to guarantee
idempotent creation.
If not specified, creation is not idempotent.spec
- Specification for creating the Harbor registry.invocationConfig
- Configuration for the method invocation.com.vmware.vcenter.content.Registry
.AlreadyExists
- if a Harbor already exists in the associated cluster.NotFound
- if resources/objects could not be located.Unsupported
- if HarborTypes.CreateSpec.getCluster()
does
not have vSphere namespace enabled.InvalidArgument
- if spec
contains any errors.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have ContentLibrary.ManageRegistry and/or
CertificateAuthority.Manage privilege, or user does not have
ContentLibrary.ManageClusterRegistryResource privilege on HarborTypes.CreateSpec.getCluster()
.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. ClusterComputeResource
referenced by the property HarborTypes.CreateSpec.getCluster()
requires System.Read
. SpsStorageProfile
referenced by the property HarborTypes.StorageSpec.getPolicy()
requires System.Read
. @Deprecated void create(java.lang.String clientToken, HarborTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Invocation Result:
Identifier of the deployed registry.
The return value will be an identifier for the resource type: com.vmware.vcenter.content.Registry
.
Operation Errors:
AlreadyExists
- if a Harbor already exists in the associated cluster.
NotFound
- if resources/objects could not be located.
Unsupported
- if HarborTypes.CreateSpec.getCluster()
does
not have vSphere namespace enabled.
InvalidArgument
- if spec
contains any errors.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have ContentLibrary.ManageRegistry and/or
CertificateAuthority.Manage privilege, or user does not have
ContentLibrary.ManageClusterRegistryResource privilege on HarborTypes.CreateSpec.getCluster()
.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. ClusterComputeResource
referenced by the property HarborTypes.CreateSpec.getCluster()
requires System.Read
. SpsStorageProfile
referenced by the property HarborTypes.StorageSpec.getPolicy()
requires System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
clientToken
- A unique token generated on the client for each creation request. The token
should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751
. This token can be used to guarantee
idempotent creation.
If not specified, creation is not idempotent.spec
- Specification for creating the Harbor registry.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void create(java.lang.String clientToken, HarborTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invocation Result:
Identifier of the deployed registry.
The return value will be an identifier for the resource type: com.vmware.vcenter.content.Registry
.
Operation Errors:
AlreadyExists
- if a Harbor already exists in the associated cluster.
NotFound
- if resources/objects could not be located.
Unsupported
- if HarborTypes.CreateSpec.getCluster()
does
not have vSphere namespace enabled.
InvalidArgument
- if spec
contains any errors.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have ContentLibrary.ManageRegistry and/or
CertificateAuthority.Manage privilege, or user does not have
ContentLibrary.ManageClusterRegistryResource privilege on HarborTypes.CreateSpec.getCluster()
.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. ClusterComputeResource
referenced by the property HarborTypes.CreateSpec.getCluster()
requires System.Read
. SpsStorageProfile
referenced by the property HarborTypes.StorageSpec.getPolicy()
requires System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
clientToken
- A unique token generated on the client for each creation request. The token
should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751
. This token can be used to guarantee
idempotent creation.
If not specified, creation is not idempotent.spec
- Specification for creating the Harbor registry.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated void delete(java.lang.String registry)
Synchronous method overload. Result of the invocation will be reported as a method return value.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.NotFound
- if a registry specified by registry
could not be found.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have ContentLibrary.ManageRegistry privilege.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. @Deprecated void delete(java.lang.String registry, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.invocationConfig
- Configuration for the method invocation.NotFound
- if a registry specified by registry
could not be found.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have ContentLibrary.ManageRegistry privilege.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. @Deprecated void delete(java.lang.String registry, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Operation Errors:
NotFound
- if a registry specified by registry
could not be found.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have ContentLibrary.ManageRegistry privilege.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void delete(java.lang.String registry, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Operation Errors:
NotFound
- if a registry specified by registry
could not be found.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have ContentLibrary.ManageRegistry privilege.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated HarborTypes.Info get(java.lang.String registry)
Synchronous method overload. Result of the invocation will be reported as a method return value.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.NotFound
- if a Harbor registry specified by registry
could not be found.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. @Deprecated HarborTypes.Info get(java.lang.String registry, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.invocationConfig
- Configuration for the method invocation.NotFound
- if a Harbor registry specified by registry
could not be found.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. @Deprecated void get(java.lang.String registry, com.vmware.vapi.bindings.client.AsyncCallback<HarborTypes.Info> asyncCallback)
Invocation Result:
Information about the registry.
Operation Errors:
NotFound
- if a Harbor registry specified by registry
could not be found.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void get(java.lang.String registry, com.vmware.vapi.bindings.client.AsyncCallback<HarborTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invocation Result:
Information about the registry.
Operation Errors:
NotFound
- if a Harbor registry specified by registry
could not be found.
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. com.vmware.vcenter.content.Registry
referenced by the parameter registry
requires System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
registry
- Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated java.util.List<HarborTypes.Summary> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. @Deprecated java.util.List<HarborTypes.Summary> list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. @Deprecated void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<HarborTypes.Summary>> asyncCallback)
Invocation Result:
The list of basic information of all Harbor registries.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<HarborTypes.Summary>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invocation Result:
The list of basic information of all Harbor registries.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.