Interface Artifacts
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ArtifactsClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public interface Artifacts extends AutoCloseable
API covering the Artifacts and Registry services.Use this API to manage resources such as generic artifacts and container images.
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
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.- Parameters:
region
- The region of the service.
-
setRegion
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 callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
changeContainerRepositoryCompartment
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.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/ChangeContainerRepositoryCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeContainerRepositoryCompartment API.
-
changeRepositoryCompartment
ChangeRepositoryCompartmentResponse changeRepositoryCompartment(ChangeRepositoryCompartmentRequest request)
Moves a repository into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/ChangeRepositoryCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeRepositoryCompartment API.
-
createContainerImageSignature
CreateContainerImageSignatureResponse createContainerImageSignature(CreateContainerImageSignatureRequest request)
Upload a signature to an image.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/CreateContainerImageSignatureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateContainerImageSignature API.
-
createContainerRepository
CreateContainerRepositoryResponse createContainerRepository(CreateContainerRepositoryRequest request)
Create a new empty container repository.Avoid entering confidential information.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/CreateContainerRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateContainerRepository API.
-
createRepository
CreateRepositoryResponse createRepository(CreateRepositoryRequest request)
Creates a new repository for storing artifacts.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/CreateRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateRepository API.
-
deleteContainerImage
DeleteContainerImageResponse deleteContainerImage(DeleteContainerImageRequest request)
Delete a container image.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/DeleteContainerImageExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteContainerImage API.
-
deleteContainerImageSignature
DeleteContainerImageSignatureResponse deleteContainerImageSignature(DeleteContainerImageSignatureRequest request)
Delete a container image signature.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/DeleteContainerImageSignatureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteContainerImageSignature API.
-
deleteContainerRepository
DeleteContainerRepositoryResponse deleteContainerRepository(DeleteContainerRepositoryRequest request)
Delete container repository.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/DeleteContainerRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteContainerRepository API.
-
deleteGenericArtifact
DeleteGenericArtifactResponse deleteGenericArtifact(DeleteGenericArtifactRequest request)
Deletes an artifact with a specified OCID.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/DeleteGenericArtifactExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteGenericArtifact API.
-
deleteGenericArtifactByPath
DeleteGenericArtifactByPathResponse deleteGenericArtifactByPath(DeleteGenericArtifactByPathRequest request)
Deletes an artifact with a specifiedartifactPath
andversion
.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/DeleteGenericArtifactByPathExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteGenericArtifactByPath API.
-
deleteRepository
DeleteRepositoryResponse deleteRepository(DeleteRepositoryRequest request)
Deletes the specified repository.This operation fails unless all associated artifacts are in a DELETED state. You must delete all associated artifacts before deleting a repository.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/DeleteRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteRepository API.
-
getContainerConfiguration
GetContainerConfigurationResponse getContainerConfiguration(GetContainerConfigurationRequest request)
Get container configuration.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/GetContainerConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetContainerConfiguration API.
-
getContainerImage
GetContainerImageResponse getContainerImage(GetContainerImageRequest request)
Get container image metadata.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/GetContainerImageExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetContainerImage API.
-
getContainerImageSignature
GetContainerImageSignatureResponse getContainerImageSignature(GetContainerImageSignatureRequest request)
Get container image signature metadata.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/GetContainerImageSignatureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetContainerImageSignature API.
-
getContainerRepository
GetContainerRepositoryResponse getContainerRepository(GetContainerRepositoryRequest request)
Get container repository.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/GetContainerRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetContainerRepository API.
-
getGenericArtifact
GetGenericArtifactResponse getGenericArtifact(GetGenericArtifactRequest request)
Gets information about an artifact with a specified OCID.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/GetGenericArtifactExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetGenericArtifact API.
-
getGenericArtifactByPath
GetGenericArtifactByPathResponse getGenericArtifactByPath(GetGenericArtifactByPathRequest request)
Gets information about an artifact with a specifiedartifactPath
andversion
.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/GetGenericArtifactByPathExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetGenericArtifactByPath API.
-
getRepository
GetRepositoryResponse getRepository(GetRepositoryRequest request)
Gets the specified repository’s information.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/GetRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetRepository API.
-
listContainerImageSignatures
ListContainerImageSignaturesResponse listContainerImageSignatures(ListContainerImageSignaturesRequest request)
List container image signatures in an image.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/ListContainerImageSignaturesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListContainerImageSignatures API.
-
listContainerImages
ListContainerImagesResponse listContainerImages(ListContainerImagesRequest request)
List container images in a compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/ListContainerImagesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListContainerImages API.
-
listContainerRepositories
ListContainerRepositoriesResponse listContainerRepositories(ListContainerRepositoriesRequest request)
List container repositories in a compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/ListContainerRepositoriesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListContainerRepositories API.
-
listGenericArtifacts
ListGenericArtifactsResponse listGenericArtifacts(ListGenericArtifactsRequest request)
Lists artifacts in the specified repository.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/ListGenericArtifactsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListGenericArtifacts API.
-
listRepositories
ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)
Lists repositories in the specified compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/ListRepositoriesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRepositories API.
-
removeContainerVersion
RemoveContainerVersionResponse removeContainerVersion(RemoveContainerVersionRequest request)
Remove version from container image.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/RemoveContainerVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RemoveContainerVersion API.
-
restoreContainerImage
RestoreContainerImageResponse restoreContainerImage(RestoreContainerImageRequest request)
Restore a container image.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/RestoreContainerImageExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RestoreContainerImage API.
-
updateContainerConfiguration
UpdateContainerConfigurationResponse updateContainerConfiguration(UpdateContainerConfigurationRequest request)
Update container configuration.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/UpdateContainerConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateContainerConfiguration API.
-
updateContainerImage
UpdateContainerImageResponse updateContainerImage(UpdateContainerImageRequest request)
Modify the properties of a container image.Avoid entering confidential information.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/UpdateContainerImageExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateContainerImage API.
-
updateContainerImageSignature
UpdateContainerImageSignatureResponse updateContainerImageSignature(UpdateContainerImageSignatureRequest request)
Modify the properties of a container image signature.Avoid entering confidential information.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/UpdateContainerImageSignatureExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateContainerImageSignature API.
-
updateContainerRepository
UpdateContainerRepositoryResponse updateContainerRepository(UpdateContainerRepositoryRequest request)
Modify the properties of a container repository.Avoid entering confidential information.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/UpdateContainerRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateContainerRepository API.
-
updateGenericArtifact
UpdateGenericArtifactResponse updateGenericArtifact(UpdateGenericArtifactRequest request)
Updates the artifact with the specified OCID.You can only update the tags of an artifact.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/UpdateGenericArtifactExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateGenericArtifact API.
-
updateGenericArtifactByPath
UpdateGenericArtifactByPathResponse updateGenericArtifactByPath(UpdateGenericArtifactByPathRequest request)
Updates an artifact with a specifiedartifactPath
andversion
.You can only update the tags of an artifact.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/UpdateGenericArtifactByPathExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateGenericArtifactByPath API.
-
updateRepository
UpdateRepositoryResponse updateRepository(UpdateRepositoryRequest request)
Updates the properties of a repository.You can update the
displayName
anddescription
properties.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/artifacts/UpdateRepositoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateRepository API.
-
getWaiters
ArtifactsWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
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.- Returns:
- The service paginators.
-
-