public class ContainerImageRegistriesStub extends com.vmware.vapi.internal.bindings.Stub implements ContainerImageRegistries
ContainerImageRegistries
API service.
WARNING: Internal class, subject to change in future versions.
ContainerImageRegistriesTypes.CreateSpec, ContainerImageRegistriesTypes.Info, ContainerImageRegistriesTypes.UpdateSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ContainerImageRegistriesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ContainerImageRegistriesStub(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 |
---|---|
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.
|
public ContainerImageRegistriesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ContainerImageRegistriesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ContainerImageRegistriesTypes.Info create(java.lang.String supervisor, ContainerImageRegistriesTypes.CreateSpec spec)
ContainerImageRegistries
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ContainerImageRegistries
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.public ContainerImageRegistriesTypes.Info create(java.lang.String supervisor, ContainerImageRegistriesTypes.CreateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ContainerImageRegistries
Synchronous 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 ContainerImageRegistries
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.public void create(java.lang.String supervisor, ContainerImageRegistriesTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback)
ContainerImageRegistries
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.
create
in interface ContainerImageRegistries
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.public 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)
ContainerImageRegistries
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.
create
in interface ContainerImageRegistries
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.public void update(java.lang.String supervisor, java.lang.String containerImageRegistry, ContainerImageRegistriesTypes.UpdateSpec spec)
ContainerImageRegistries
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ContainerImageRegistries
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.public void update(java.lang.String supervisor, java.lang.String containerImageRegistry, ContainerImageRegistriesTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ContainerImageRegistries
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface ContainerImageRegistries
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.public void update(java.lang.String supervisor, java.lang.String containerImageRegistry, ContainerImageRegistriesTypes.UpdateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ContainerImageRegistries
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.
update
in interface ContainerImageRegistries
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.public 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)
ContainerImageRegistries
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.
update
in interface ContainerImageRegistries
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.public void delete(java.lang.String supervisor, java.lang.String containerImageRegistry)
ContainerImageRegistries
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ContainerImageRegistries
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
.public void delete(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ContainerImageRegistries
Synchronous 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 ContainerImageRegistries
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.public void delete(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ContainerImageRegistries
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.
delete
in interface ContainerImageRegistries
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.public 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)
ContainerImageRegistries
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.
delete
in interface ContainerImageRegistries
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.public java.util.List<ContainerImageRegistriesTypes.Info> list(java.lang.String supervisor)
ContainerImageRegistries
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ContainerImageRegistries
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
.public java.util.List<ContainerImageRegistriesTypes.Info> list(java.lang.String supervisor, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ContainerImageRegistries
Synchronous 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 ContainerImageRegistries
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.public void list(java.lang.String supervisor, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ContainerImageRegistriesTypes.Info>> asyncCallback)
ContainerImageRegistries
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.
list
in interface ContainerImageRegistries
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.public 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)
ContainerImageRegistries
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.
list
in interface ContainerImageRegistries
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.public ContainerImageRegistriesTypes.Info get(java.lang.String supervisor, java.lang.String containerImageRegistry)
ContainerImageRegistries
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ContainerImageRegistries
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
.public ContainerImageRegistriesTypes.Info get(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ContainerImageRegistries
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface ContainerImageRegistries
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.public void get(java.lang.String supervisor, java.lang.String containerImageRegistry, com.vmware.vapi.bindings.client.AsyncCallback<ContainerImageRegistriesTypes.Info> asyncCallback)
ContainerImageRegistries
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.
get
in interface ContainerImageRegistries
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.public 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)
ContainerImageRegistries
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.
get
in interface ContainerImageRegistries
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.