@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public interface Artifacts extends AutoCloseable
API covering the Registry services. Use this API to manage resources such as container images and repositories.
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion
.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.ChangeContainerRepositoryCompartmentResponse changeContainerRepositoryCompartment(ChangeContainerRepositoryCompartmentRequest request)
Moves a container repository into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use ChangeContainerRepositoryCompartment API.
CreateContainerRepositoryResponse createContainerRepository(CreateContainerRepositoryRequest request)
Create a new empty container repository. Avoid entering confidential information.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use CreateContainerRepository API.
DeleteContainerImageResponse deleteContainerImage(DeleteContainerImageRequest request)
Delete a container image.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use DeleteContainerImage API.
DeleteContainerRepositoryResponse deleteContainerRepository(DeleteContainerRepositoryRequest request)
Delete container repository.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use DeleteContainerRepository API.
GetContainerConfigurationResponse getContainerConfiguration(GetContainerConfigurationRequest request)
Get container configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use GetContainerConfiguration API.
GetContainerImageResponse getContainerImage(GetContainerImageRequest request)
Get container image metadata.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use GetContainerImage API.
GetContainerRepositoryResponse getContainerRepository(GetContainerRepositoryRequest request)
Get container repository.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use GetContainerRepository API.
ListContainerImagesResponse listContainerImages(ListContainerImagesRequest request)
List container images in a compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use ListContainerImages API.
ListContainerRepositoriesResponse listContainerRepositories(ListContainerRepositoriesRequest request)
List container repositories in a compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use ListContainerRepositories API.
RemoveContainerVersionResponse removeContainerVersion(RemoveContainerVersionRequest request)
Remove version from container image.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use RemoveContainerVersion API.
RestoreContainerImageResponse restoreContainerImage(RestoreContainerImageRequest request)
Restore a container image.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use RestoreContainerImage API.
UpdateContainerConfigurationResponse updateContainerConfiguration(UpdateContainerConfigurationRequest request)
Update container configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use UpdateContainerConfiguration API.
UpdateContainerRepositoryResponse updateContainerRepository(UpdateContainerRepositoryRequest request)
Modify the properties of a container repository. Avoid entering confidential information.
request
- The request object containing the details to sendBmcException
- when an error occurs.
Example: Click here to see how to use UpdateContainerRepository API.
ArtifactsWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
ArtifactsPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data. These paginators provide an Iterable
interface so that service responses, or
resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2021. All rights reserved.