com.vmware.vcenter.content.registries.harbor
is deprecated.@Deprecated public interface Projects extends com.vmware.vapi.bindings.Service, ProjectsTypes
Projects
interface provides methods for managing the lifecycle of
Harbor project that stores and distributes container repositories and images.ProjectsTypes.ConfigStatus, ProjectsTypes.CreateSpec, ProjectsTypes.Info, ProjectsTypes.Scope, ProjectsTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(java.lang.String registry,
ProjectsTypes.CreateSpec spec)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
create(java.lang.String registry,
ProjectsTypes.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 registry,
ProjectsTypes.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 registry,
ProjectsTypes.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,
java.lang.String project)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
delete(java.lang.String registry,
java.lang.String project,
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,
java.lang.String project,
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,
java.lang.String project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
ProjectsTypes.Info |
get(java.lang.String registry,
java.lang.String project)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
get(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectsTypes.Info> asyncCallback)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
void |
get(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectsTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
ProjectsTypes.Info |
get(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
java.util.List<ProjectsTypes.Summary> |
list(java.lang.String registry)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
list(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ProjectsTypes.Summary>> asyncCallback)
Deprecated.
As of release vSphere API 8.0.1.00200.
Invocation Result: Operation Errors:
|
void |
list(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ProjectsTypes.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<ProjectsTypes.Summary> |
list(java.lang.String registry,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
purge(java.lang.String registry,
java.lang.String project)
Deprecated.
As of release vSphere API 8.0.1.00200.
|
void |
purge(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.
As of release vSphere API 8.0.1.00200.
Operation Errors:
|
void |
purge(java.lang.String registry,
java.lang.String project,
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 |
purge(java.lang.String registry,
java.lang.String project,
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 registry, ProjectsTypes.CreateSpec spec)
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
.spec
- Information used to create the Harbor project.com.vmware.vcenter.content.Registry.Harbor.Project
.InvalidArgument
- if spec
contains any error.NotAllowedInCurrentState
- if Harbor registry is being deleted.NotFound
- if a registry specified by registry
could not be found.AlreadyExists
- if a project with the same name already exists in the registry. In vSphere 7.0,
the existing project could have been created automatically when a namespace with
the same name is created.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.ManageRegistryProject 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 java.lang.String create(java.lang.String registry, ProjectsTypes.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.
registry
- Identifier of the Registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry
.spec
- Information used to create the Harbor project.invocationConfig
- Configuration for the method invocation.com.vmware.vcenter.content.Registry.Harbor.Project
.InvalidArgument
- if spec
contains any error.NotAllowedInCurrentState
- if Harbor registry is being deleted.NotFound
- if a registry specified by registry
could not be found.AlreadyExists
- if a project with the same name already exists in the registry. In vSphere 7.0,
the existing project could have been created automatically when a namespace with
the same name is created.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.ManageRegistryProject 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 create(java.lang.String registry, ProjectsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Invocation Result:
Identifier of the newly created Harbor project.
The return value will be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.
Operation Errors:
InvalidArgument
- if spec
contains any error.
NotAllowedInCurrentState
- if Harbor registry is being deleted.
NotFound
- if a registry specified by registry
could not be found.
AlreadyExists
- if a project with the same name already exists in the registry. In vSphere 7.0,
the existing project could have been created automatically when a namespace with
the same name is created.
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.ManageRegistryProject 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
.spec
- Information used to create the Harbor project.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void create(java.lang.String registry, ProjectsTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invocation Result:
Identifier of the newly created Harbor project.
The return value will be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.
Operation Errors:
InvalidArgument
- if spec
contains any error.
NotAllowedInCurrentState
- if Harbor registry is being deleted.
NotFound
- if a registry specified by registry
could not be found.
AlreadyExists
- if a project with the same name already exists in the registry. In vSphere 7.0,
the existing project could have been created automatically when a namespace with
the same name is created.
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.ManageRegistryProject 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
.spec
- Information used to create the Harbor project.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, java.lang.String project)
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.NotAllowedInCurrentState
- if Harbor registry is being deleted.NotFound
- if registry
or project
cannot be found. In vSphere 7.0, the
existing project could have been deleted automatically when a namespace with the
same name is deleted.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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
requires System.Read
. @Deprecated void delete(java.lang.String registry, java.lang.String project, 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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.invocationConfig
- Configuration for the method invocation.NotAllowedInCurrentState
- if Harbor registry is being deleted.NotFound
- if registry
or project
cannot be found. In vSphere 7.0, the
existing project could have been deleted automatically when a namespace with the
same name is deleted.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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
requires System.Read
. @Deprecated void delete(java.lang.String registry, java.lang.String project, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Operation Errors:
NotAllowedInCurrentState
- if Harbor registry is being deleted.
NotFound
- if registry
or project
cannot be found. In vSphere 7.0, the
existing project could have been deleted automatically when a namespace with the
same name is deleted.
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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void delete(java.lang.String registry, java.lang.String project, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Operation Errors:
NotAllowedInCurrentState
- if Harbor registry is being deleted.
NotFound
- if registry
or project
cannot be found. In vSphere 7.0, the
existing project could have been deleted automatically when a namespace with the
same name is deleted.
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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated ProjectsTypes.Info get(java.lang.String registry, java.lang.String project)
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.NotFound
- if registry
or project
cannot 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
requires System.Read
. @Deprecated ProjectsTypes.Info get(java.lang.String registry, java.lang.String project, 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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.invocationConfig
- Configuration for the method invocation.NotFound
- if registry
or project
cannot 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
requires System.Read
. @Deprecated void get(java.lang.String registry, java.lang.String project, com.vmware.vapi.bindings.client.AsyncCallback<ProjectsTypes.Info> asyncCallback)
Invocation Result:
Detailed information about the specified Harbor project.
Operation Errors:
NotFound
- if registry
or project
cannot 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void get(java.lang.String registry, java.lang.String project, com.vmware.vapi.bindings.client.AsyncCallback<ProjectsTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invocation Result:
Detailed information about the specified Harbor project.
Operation Errors:
NotFound
- if registry
or project
cannot 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated java.util.List<ProjectsTypes.Summary> list(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 registry
cannot 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 java.util.List<ProjectsTypes.Summary> list(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 registry
cannot 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 list(java.lang.String registry, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ProjectsTypes.Summary>> asyncCallback)
Invocation Result:
The list of summary information of all Harbor projects.
Operation Errors:
NotFound
- if registry
cannot 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 list(java.lang.String registry, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ProjectsTypes.Summary>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invocation Result:
The list of summary information of all Harbor projects.
Operation Errors:
NotFound
- if registry
cannot 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 void purge(java.lang.String registry, java.lang.String project)
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.NotFound
- if registry
or project
cannot be found.NotAllowedInCurrentState
- if Harbor registry is being deleted or the project is not in ProjectsTypes.ConfigStatus.READY
status.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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
requires System.Read
. @Deprecated void purge(java.lang.String registry, java.lang.String project, 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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.invocationConfig
- Configuration for the method invocation.NotFound
- if registry
or project
cannot be found.NotAllowedInCurrentState
- if Harbor registry is being deleted or the project is not in ProjectsTypes.ConfigStatus.READY
status.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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
requires System.Read
. @Deprecated void purge(java.lang.String registry, java.lang.String project, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Operation Errors:
NotFound
- if registry
or project
cannot be found.
NotAllowedInCurrentState
- if Harbor registry is being deleted or the project is not in ProjectsTypes.ConfigStatus.READY
status.
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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void purge(java.lang.String registry, java.lang.String project, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Operation Errors:
NotFound
- if registry
or project
cannot be found.
NotAllowedInCurrentState
- if Harbor registry is being deleted or the project is not in ProjectsTypes.ConfigStatus.READY
status.
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.ManageRegistryProject 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
. com.vmware.vcenter.content.Registry.Harbor.Project
referenced by the parameter
project
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
.project
- Identifier of the Harbor project.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.Harbor.Project
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.