public interface ContainerImageRegistries extends com.vmware.vapi.bindings.Service, ContainerImageRegistriesTypes
ContainerImageRegistries
interface provides methods to manage
container image registries on a Supervisor. Supervisor service and PodVM
container images will be pulled from those defined container registries. This
interface was added in vSphere API 8.0.3.0.ContainerImageRegistriesTypes.CreateSpec, ContainerImageRegistriesTypes.Info, ContainerImageRegistriesTypes.UpdateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
ContainerImageRegistriesTypes.Info |
create(java.lang.String supervisor,
ContainerImageRegistriesTypes.CreateSpec spec)
Defines a new container image registry for the given Supervisor.
|
void |
create(java.lang.String supervisor,
ContainerImageRegistriesTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback)
Defines a new container image registry for the given Supervisor.
|
void |
create(java.lang.String supervisor,
ContainerImageRegistriesTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Defines a new container image registry for the given Supervisor.
|
ContainerImageRegistriesTypes.Info |
create(java.lang.String supervisor,
ContainerImageRegistriesTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Defines a new container image registry for the given Supervisor.
|
void |
delete(java.lang.String supervisor,
java.lang.String containerImageRegistry)
Delete the given container image registry from the given Supervisor.
|
void |
delete(java.lang.String supervisor,
java.lang.String containerImageRegistry,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete the given container image registry from the given Supervisor.
|
void |
delete(java.lang.String supervisor,
java.lang.String containerImageRegistry,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the given container image registry from the given Supervisor.
|
void |
delete(java.lang.String supervisor,
java.lang.String containerImageRegistry,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the given container image registry from the given Supervisor.
|
ContainerImageRegistriesTypes.Info |
get(java.lang.String supervisor,
java.lang.String containerImageRegistry)
Get information about the given container image registry for the given
Supervisor.
|
void |
get(java.lang.String supervisor,
java.lang.String containerImageRegistry,
com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback)
Get information about the given container image registry for the given
Supervisor.
|
void |
get(java.lang.String supervisor,
java.lang.String containerImageRegistry,
com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get information about the given container image registry for the given
Supervisor.
|
ContainerImageRegistriesTypes.Info |
get(java.lang.String supervisor,
java.lang.String containerImageRegistry,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get information about the given container image registry for the given
Supervisor.
|
java.util.List<ContainerImageRegistriesTypes.Info> |
list(java.lang.String supervisor)
Lists all container image registries on the given Supervisor.
|
void |
list(java.lang.String supervisor,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ContainerImageRegistriesTypes.Info>> asyncCallback)
Lists all container image registries on the given Supervisor.
|
void |
list(java.lang.String supervisor,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ContainerImageRegistriesTypes.Info>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Lists all container image registries on the given Supervisor.
|
java.util.List<ContainerImageRegistriesTypes.Info> |
list(java.lang.String supervisor,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Lists all container image registries on the given Supervisor.
|
void |
update(java.lang.String supervisor,
java.lang.String containerImageRegistry,
ContainerImageRegistriesTypes.UpdateSpec spec)
Update the given container image registry configuration for the given
Supervisor.
|
void |
update(java.lang.String supervisor,
java.lang.String containerImageRegistry,
ContainerImageRegistriesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Update the given container image registry configuration for the given
Supervisor.
|
void |
update(java.lang.String supervisor,
java.lang.String containerImageRegistry,
ContainerImageRegistriesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the given container image registry configuration for the given
Supervisor.
|
void |
update(java.lang.String supervisor,
java.lang.String containerImageRegistry,
ContainerImageRegistriesTypes.UpdateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the given container image registry configuration for the given
Supervisor.
|
ContainerImageRegistriesTypes.Info create(java.lang.String supervisor, ContainerImageRegistriesTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.spec
- Specification for setting up the container image registry.AlreadyExists
- if the name of the container image registry specified in spec
already
exists.Error
- for any other errors.InvalidArgument
- if spec
contains any errors.NotFound
- if supervisor
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the Namespaces.Manage privilege.Unsupported
- if this Supervisor cluster does not support configuring container image
registries.ContainerImageRegistriesTypes.Info create(java.lang.String supervisor, ContainerImageRegistriesTypes.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.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.spec
- Specification for setting up the container image registry.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if the name of the container image registry specified in spec
already
exists.Error
- for any other errors.InvalidArgument
- if spec
contains any errors.NotFound
- if supervisor
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the Namespaces.Manage privilege.Unsupported
- if this Supervisor cluster does not support configuring container image
registries.void create(java.lang.String supervisor, ContainerImageRegistriesTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the container image registry created on the Supervisor.
Operation Errors:
AlreadyExists
- if the name of the container image registry specified in spec
already
exists.
Error
- for any other errors.
InvalidArgument
- if spec
contains any errors.
NotFound
- if supervisor
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the Namespaces.Manage privilege.
Unsupported
- if this Supervisor cluster does not support configuring container image
registries.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.spec
- Specification for setting up the container image registry.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String supervisor, ContainerImageRegistriesTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Information about the container image registry created on the Supervisor.
Operation Errors:
AlreadyExists
- if the name of the container image registry specified in spec
already
exists.
Error
- for any other errors.
InvalidArgument
- if spec
contains any errors.
NotFound
- if supervisor
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the Namespaces.Manage privilege.
Unsupported
- if this Supervisor cluster does not support configuring container image
registries.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.spec
- Specification for setting up the container image registry.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String supervisor, java.lang.String containerImageRegistry, ContainerImageRegistriesTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.spec
- Specification for updating the container image registry configuration.AlreadyExists
- if the name of the container image registry specified in spec
already
exists.Error
- for any other errors.NotFound
- if supervisor
or containerImageRegistry
doesn't exist.InvalidArgument
- if spec
contains any errors.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the Namespaces.Manage privilege.Unsupported
- if this Supervisor cluster does not support configuring container image
registries.void update(java.lang.String supervisor, java.lang.String containerImageRegistry, ContainerImageRegistriesTypes.UpdateSpec 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.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.spec
- Specification for updating the container image registry configuration.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if the name of the container image registry specified in spec
already
exists.Error
- for any other errors.NotFound
- if supervisor
or containerImageRegistry
doesn't exist.InvalidArgument
- if spec
contains any errors.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the Namespaces.Manage privilege.Unsupported
- if this Supervisor cluster does not support configuring container image
registries.void update(java.lang.String supervisor, java.lang.String containerImageRegistry, ContainerImageRegistriesTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
AlreadyExists
- if the name of the container image registry specified in spec
already
exists.
Error
- for any other errors.
NotFound
- if supervisor
or containerImageRegistry
doesn't exist.
InvalidArgument
- if spec
contains any errors.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the Namespaces.Manage privilege.
Unsupported
- if this Supervisor cluster does not support configuring container image
registries.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.spec
- Specification for updating the container image registry configuration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String supervisor, java.lang.String containerImageRegistry, ContainerImageRegistriesTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
AlreadyExists
- if the name of the container image registry specified in spec
already
exists.
Error
- for any other errors.
NotFound
- if supervisor
or containerImageRegistry
doesn't exist.
InvalidArgument
- if spec
contains any errors.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the Namespaces.Manage privilege.
Unsupported
- if this Supervisor cluster does not support configuring container image
registries.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.spec
- Specification for updating the container image registry configuration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String supervisor, java.lang.String containerImageRegistry)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.Error
- for any other errors.NotFound
- if supervisor
or containerImageRegistry
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the Namespaces.Manage privilege.void delete(java.lang.String supervisor, java.lang.String containerImageRegistry, 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.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.invocationConfig
- Configuration for the method invocation.Error
- for any other errors.NotFound
- if supervisor
or containerImageRegistry
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the Namespaces.Manage privilege.void delete(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- for any other errors.
NotFound
- if supervisor
or containerImageRegistry
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the Namespaces.Manage privilege.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- for any other errors.
NotFound
- if supervisor
or containerImageRegistry
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the Namespaces.Manage privilege.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<ContainerImageRegistriesTypes.Info> list(java.lang.String supervisor)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.Error
- for any other errors.NotFound
- if supervisor
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the System.Read privilege.java.util.List<ContainerImageRegistriesTypes.Info> list(java.lang.String supervisor, 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.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.invocationConfig
- Configuration for the method invocation.Error
- for any other errors.NotFound
- if supervisor
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the System.Read privilege.void list(java.lang.String supervisor, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ContainerImageRegistriesTypes.Info>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of all configured container image registries for the given Supervisor.
Operation Errors:
Error
- for any other errors.
NotFound
- if supervisor
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the System.Read privilege.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String supervisor, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ContainerImageRegistriesTypes.Info>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
The list of all configured container image registries for the given Supervisor.
Operation Errors:
Error
- for any other errors.
NotFound
- if supervisor
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the System.Read privilege.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ContainerImageRegistriesTypes.Info get(java.lang.String supervisor, java.lang.String containerImageRegistry)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.Error
- for any other errors.NotFound
- if supervisor
or containerImageRegistry
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the System.Read privilege.ContainerImageRegistriesTypes.Info get(java.lang.String supervisor, java.lang.String containerImageRegistry, 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.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.invocationConfig
- Configuration for the method invocation.Error
- for any other errors.NotFound
- if supervisor
or containerImageRegistry
doesn't exist.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have the System.Read privilege.void get(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the given container image registry for the given Supervisor.
Operation Errors:
Error
- for any other errors.
NotFound
- if supervisor
or containerImageRegistry
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the System.Read privilege.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Information about the given container image registry for the given Supervisor.
Operation Errors:
Error
- for any other errors.
NotFound
- if supervisor
or containerImageRegistry
doesn't exist.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have the System.Read privilege.
supervisor
- Identifier for the Supervisor on which the container image registry is created.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.containerImageRegistry
- Identifier for the container image registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.ContainerImageRegistry
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.