Class ArtifactsClient
Service client instance for Artifacts.
Implements
Inherited Members
Namespace: Oci.ArtifactsService
Assembly: OCI.DotNetSDK.Artifacts.dll
Syntax
public class ArtifactsClient : RegionalClientBase, IDisposable
Constructors
ArtifactsClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public ArtifactsClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
| ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
| string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public ArtifactsPaginators Paginators { get; }
Property Value
| Type | Description |
|---|---|
| ArtifactsPaginators |
Waiters
Declaration
public ArtifactsWaiters Waiters { get; }
Property Value
| Type | Description |
|---|---|
| ArtifactsWaiters |
Methods
ChangeContainerRepositoryCompartment(ChangeContainerRepositoryCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ChangeContainerRepositoryCompartmentResponse> ChangeContainerRepositoryCompartment(ChangeContainerRepositoryCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeContainerRepositoryCompartmentRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ChangeContainerRepositoryCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeContainerRepositoryCompartment API.
ChangeRepositoryCompartment(ChangeRepositoryCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<ChangeRepositoryCompartmentResponse> ChangeRepositoryCompartment(ChangeRepositoryCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeRepositoryCompartmentRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ChangeRepositoryCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeRepositoryCompartment API.
CreateContainerImageSignature(CreateContainerImageSignatureRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Upload a signature to an image.
Declaration
public Task<CreateContainerImageSignatureResponse> CreateContainerImageSignature(CreateContainerImageSignatureRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateContainerImageSignatureRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<CreateContainerImageSignatureResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateContainerImageSignature API.
CreateContainerRepository(CreateContainerRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Create a new empty container repository. Avoid entering confidential information.
Declaration
public Task<CreateContainerRepositoryResponse> CreateContainerRepository(CreateContainerRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateContainerRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<CreateContainerRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateContainerRepository API.
CreateRepository(CreateRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new repository for storing artifacts.
Declaration
public Task<CreateRepositoryResponse> CreateRepository(CreateRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<CreateRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateRepository API.
DeleteContainerImage(DeleteContainerImageRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Delete a container image.
Declaration
public Task<DeleteContainerImageResponse> DeleteContainerImage(DeleteContainerImageRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteContainerImageRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteContainerImageResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteContainerImage API.
DeleteContainerImageSignature(DeleteContainerImageSignatureRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Delete a container image signature.
Declaration
public Task<DeleteContainerImageSignatureResponse> DeleteContainerImageSignature(DeleteContainerImageSignatureRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteContainerImageSignatureRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteContainerImageSignatureResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteContainerImageSignature API.
DeleteContainerRepository(DeleteContainerRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Delete container repository.
Declaration
public Task<DeleteContainerRepositoryResponse> DeleteContainerRepository(DeleteContainerRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteContainerRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteContainerRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteContainerRepository API.
DeleteGenericArtifact(DeleteGenericArtifactRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes an artifact with a specified OCID.
Declaration
public Task<DeleteGenericArtifactResponse> DeleteGenericArtifact(DeleteGenericArtifactRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteGenericArtifactRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteGenericArtifactResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteGenericArtifact API.
DeleteGenericArtifactByPath(DeleteGenericArtifactByPathRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes an artifact with a specified artifactPath and version.
Declaration
public Task<DeleteGenericArtifactByPathResponse> DeleteGenericArtifactByPath(DeleteGenericArtifactByPathRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteGenericArtifactByPathRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteGenericArtifactByPathResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteGenericArtifactByPath API.
DeleteRepository(DeleteRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
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.
Declaration
public Task<DeleteRepositoryResponse> DeleteRepository(DeleteRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteRepository API.
GetContainerConfiguration(GetContainerConfigurationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Get container configuration.
Declaration
public Task<GetContainerConfigurationResponse> GetContainerConfiguration(GetContainerConfigurationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContainerConfigurationRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetContainerConfigurationResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetContainerConfiguration API.
GetContainerImage(GetContainerImageRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Get container image metadata.
Declaration
public Task<GetContainerImageResponse> GetContainerImage(GetContainerImageRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContainerImageRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetContainerImageResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetContainerImage API.
GetContainerImageSignature(GetContainerImageSignatureRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Get container image signature metadata.
Declaration
public Task<GetContainerImageSignatureResponse> GetContainerImageSignature(GetContainerImageSignatureRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContainerImageSignatureRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetContainerImageSignatureResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetContainerImageSignature API.
GetContainerRepository(GetContainerRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Get container repository.
Declaration
public Task<GetContainerRepositoryResponse> GetContainerRepository(GetContainerRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContainerRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetContainerRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetContainerRepository API.
GetGenericArtifact(GetGenericArtifactRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets information about an artifact with a specified OCID.
Declaration
public Task<GetGenericArtifactResponse> GetGenericArtifact(GetGenericArtifactRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGenericArtifactRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetGenericArtifactResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetGenericArtifact API.
GetGenericArtifactByPath(GetGenericArtifactByPathRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets information about an artifact with a specified artifactPath and version.
Declaration
public Task<GetGenericArtifactByPathResponse> GetGenericArtifactByPath(GetGenericArtifactByPathRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGenericArtifactByPathRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetGenericArtifactByPathResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetGenericArtifactByPath API.
GetRepository(GetRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets the specified repository's information.
Declaration
public Task<GetRepositoryResponse> GetRepository(GetRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetRepository API.
ListContainerImageSignatures(ListContainerImageSignaturesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
List container image signatures in an image.
Declaration
public Task<ListContainerImageSignaturesResponse> ListContainerImageSignatures(ListContainerImageSignaturesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContainerImageSignaturesRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListContainerImageSignaturesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListContainerImageSignatures API.
ListContainerImages(ListContainerImagesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
List container images in a compartment.
Declaration
public Task<ListContainerImagesResponse> ListContainerImages(ListContainerImagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContainerImagesRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListContainerImagesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListContainerImages API.
ListContainerRepositories(ListContainerRepositoriesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
List container repositories in a compartment.
Declaration
public Task<ListContainerRepositoriesResponse> ListContainerRepositories(ListContainerRepositoriesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContainerRepositoriesRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListContainerRepositoriesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListContainerRepositories API.
ListGenericArtifacts(ListGenericArtifactsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists artifacts in the specified repository.
Declaration
public Task<ListGenericArtifactsResponse> ListGenericArtifacts(ListGenericArtifactsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGenericArtifactsRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListGenericArtifactsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListGenericArtifacts API.
ListRepositories(ListRepositoriesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists repositories in the specified compartment.
Declaration
public Task<ListRepositoriesResponse> ListRepositories(ListRepositoriesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListRepositoriesRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListRepositoriesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListRepositories API.
RemoveContainerVersion(RemoveContainerVersionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Remove version from container image.
Declaration
public Task<RemoveContainerVersionResponse> RemoveContainerVersion(RemoveContainerVersionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoveContainerVersionRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<RemoveContainerVersionResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RemoveContainerVersion API.
RestoreContainerImage(RestoreContainerImageRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Restore a container image.
Declaration
public Task<RestoreContainerImageResponse> RestoreContainerImage(RestoreContainerImageRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| RestoreContainerImageRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<RestoreContainerImageResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RestoreContainerImage API.
UpdateContainerConfiguration(UpdateContainerConfigurationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Update container configuration.
Declaration
public Task<UpdateContainerConfigurationResponse> UpdateContainerConfiguration(UpdateContainerConfigurationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateContainerConfigurationRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateContainerConfigurationResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateContainerConfiguration API.
UpdateContainerImage(UpdateContainerImageRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Modify the properties of a container image. Avoid entering confidential information.
Declaration
public Task<UpdateContainerImageResponse> UpdateContainerImage(UpdateContainerImageRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateContainerImageRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateContainerImageResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateContainerImage API.
UpdateContainerImageSignature(UpdateContainerImageSignatureRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Modify the properties of a container image signature. Avoid entering confidential information.
Declaration
public Task<UpdateContainerImageSignatureResponse> UpdateContainerImageSignature(UpdateContainerImageSignatureRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateContainerImageSignatureRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateContainerImageSignatureResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateContainerImageSignature API.
UpdateContainerRepository(UpdateContainerRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Modify the properties of a container repository. Avoid entering confidential information.
Declaration
public Task<UpdateContainerRepositoryResponse> UpdateContainerRepository(UpdateContainerRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateContainerRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateContainerRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateContainerRepository API.
UpdateGenericArtifact(UpdateGenericArtifactRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the artifact with the specified OCID. You can only update the tags of an artifact.
Declaration
public Task<UpdateGenericArtifactResponse> UpdateGenericArtifact(UpdateGenericArtifactRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateGenericArtifactRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateGenericArtifactResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateGenericArtifact API.
UpdateGenericArtifactByPath(UpdateGenericArtifactByPathRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates an artifact with a specified artifactPath and version. You can only update the tags of an artifact.
Declaration
public Task<UpdateGenericArtifactByPathResponse> UpdateGenericArtifactByPath(UpdateGenericArtifactByPathRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateGenericArtifactByPathRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateGenericArtifactByPathResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateGenericArtifactByPath API.
UpdateRepository(UpdateRepositoryRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the properties of a repository. You can update the displayName and description properties.
Declaration
public Task<UpdateRepositoryResponse> UpdateRepository(UpdateRepositoryRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateRepositoryRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateRepositoryResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateRepository API.