public class ProjectsStub extends com.vmware.vapi.internal.bindings.Stub implements Projects
Projects
API service.
WARNING: Internal class, subject to change in future versions.
ProjectsTypes.ConfigStatus, ProjectsTypes.CreateSpec, ProjectsTypes.Info, ProjectsTypes.Scope, ProjectsTypes.SummaryapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ProjectsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ProjectsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
create(java.lang.String registry,
ProjectsTypes.CreateSpec spec)
Creates a project in a Harbor registry using the supplied specification.
|
void |
create(java.lang.String registry,
ProjectsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Creates a project in a Harbor registry using the supplied specification.
|
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)
Creates a project in a Harbor registry using the supplied specification.
|
java.lang.String |
create(java.lang.String registry,
ProjectsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a project in a Harbor registry using the supplied specification.
|
void |
delete(java.lang.String registry,
java.lang.String project)
Deletes the specified project from Harbor registry.
|
void |
delete(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified project from Harbor registry.
|
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)
Deletes the specified project from Harbor registry.
|
void |
delete(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified project from Harbor registry.
|
ProjectsTypes.Info |
get(java.lang.String registry,
java.lang.String project)
Returns detailed information about the specified Harbor project.
|
void |
get(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectsTypes.Info> asyncCallback)
Returns detailed information about the specified Harbor project.
|
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)
Returns detailed information about the specified Harbor project.
|
ProjectsTypes.Info |
get(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed information about the specified Harbor project.
|
java.util.List<ProjectsTypes.Summary> |
list(java.lang.String registry)
Returns basic information of all projects in a Harbor registry.
|
void |
list(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ProjectsTypes.Summary>> asyncCallback)
Returns basic information of all projects in a Harbor registry.
|
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)
Returns basic information of all projects in a Harbor registry.
|
java.util.List<ProjectsTypes.Summary> |
list(java.lang.String registry,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns basic information of all projects in a Harbor registry.
|
void |
purge(java.lang.String registry,
java.lang.String project)
Remove all repositories, images and members in the project.
|
void |
purge(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Remove all repositories, images and members in the project.
|
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)
Remove all repositories, images and members in the project.
|
void |
purge(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove all repositories, images and members in the project.
|
public ProjectsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ProjectsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public java.lang.String create(java.lang.String registry,
ProjectsTypes.CreateSpec spec)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface Projectsregistry - 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.public java.lang.String create(java.lang.String registry,
ProjectsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface Projectsregistry - 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.public void create(java.lang.String registry,
ProjectsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
create in interface Projectsregistry - 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.public 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)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
create in interface Projectsregistry - 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.public void delete(java.lang.String registry,
java.lang.String project)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface Projectsregistry - 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.public void delete(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface Projectsregistry - 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.public void delete(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
delete in interface Projectsregistry - 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.public 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)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface Projectsregistry - 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.public ProjectsTypes.Info get(java.lang.String registry, java.lang.String project)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Projectsregistry - 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.public ProjectsTypes.Info get(java.lang.String registry, java.lang.String project, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface Projectsregistry - 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.public void get(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectsTypes.Info> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
get in interface Projectsregistry - 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.public 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)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
get in interface Projectsregistry - 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.public java.util.List<ProjectsTypes.Summary> list(java.lang.String registry)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<ProjectsTypes.Summary> list(java.lang.String registry, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface Projectsregistry - 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.public void list(java.lang.String registry,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ProjectsTypes.Summary>> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
public 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)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
list in interface Projectsregistry - 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.public void purge(java.lang.String registry,
java.lang.String project)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
purge in interface Projectsregistry - 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.public void purge(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
purge in interface Projectsregistry - 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.public void purge(java.lang.String registry,
java.lang.String project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
purge in interface Projectsregistry - 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.public 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)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
purge in interface Projectsregistry - 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.