C# Класс Amazon.ECR.AmazonECRClient

Implementation for accessing ECR Amazon EC2 Container Registry (Amazon ECR) is a managed AWS Docker registry service. Customers can use the familiar Docker CLI to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry. Amazon ECR supports private Docker repositories with resource-based permissions using AWS IAM so that specific users or Amazon EC2 instances can access repositories and images. Developers can use the Docker CLI to author and manage images.
Наследование: AmazonServiceClient, IAmazonECR
Показать файл Открыть проект

Открытые методы

Метод Описание
AmazonECRClient ( ) : System

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonECRClient ( AWSCredentials credentials ) : System

Constructs AmazonECRClient with AWS Credentials

AmazonECRClient ( AWSCredentials credentials, AmazonECRConfig clientConfig ) : System

Constructs AmazonECRClient with AWS Credentials and an AmazonECRClient Configuration object.

AmazonECRClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonECRClient with AWS Credentials

AmazonECRClient ( AmazonECRConfig config ) : System

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonECRClient ( RegionEndpoint region ) : System

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonECRConfig clientConfig ) : System

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonECRConfig clientConfig ) : System

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

BatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request ) : BatchCheckLayerAvailabilityResponse

Check the availability of multiple image layers in a specified registry and repository.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

BatchCheckLayerAvailabilityAsync ( BatchCheckLayerAvailabilityRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.

BatchDeleteImage ( BatchDeleteImageRequest request ) : BatchDeleteImageResponse

Deletes a list of specified images within a specified repository. Images are specified with either imageTag or imageDigest.

You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.

You can completely delete an image (and all of its tags) by specifying the image's digest in your request.

BatchDeleteImageAsync ( BatchDeleteImageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchDeleteImage operation.

BatchGetImage ( BatchGetImageRequest request ) : BatchGetImageResponse

Gets detailed information for specified images within a specified repository. Images are specified with either imageTag or imageDigest.

BatchGetImageAsync ( BatchGetImageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchGetImage operation.

BeginBatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.

BeginBatchDeleteImage ( BatchDeleteImageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchDeleteImage operation.

BeginBatchGetImage ( BatchGetImageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchGetImage operation.

BeginCompleteLayerUpload ( CompleteLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CompleteLayerUpload operation.

BeginCreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateRepository operation.

BeginDeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteRepository operation.

BeginDeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.

BeginDescribeImages ( DescribeImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeImages operation.

BeginDescribeRepositories ( DescribeRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeRepositories operation.

BeginGetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetAuthorizationToken operation.

BeginGetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.

BeginGetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetRepositoryPolicy operation.

BeginInitiateLayerUpload ( InitiateLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the InitiateLayerUpload operation.

BeginListImages ( ListImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ListImages operation.

BeginPutImage ( PutImageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutImage operation.

BeginSetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetRepositoryPolicy operation.

BeginUploadLayerPart ( UploadLayerPartRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UploadLayerPart operation.

CompleteLayerUpload ( CompleteLayerUploadRequest request ) : CompleteLayerUploadResponse

Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has completed. You can optionally provide a sha256 digest of the image layer for data validation purposes.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

CompleteLayerUploadAsync ( CompleteLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CompleteLayerUpload operation.

CreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request ) : CreateRepositoryResponse

Creates an image repository.

CreateRepositoryAsync ( Amazon.ECR.Model.CreateRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateRepository operation.

DeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request ) : DeleteRepositoryResponse

Deletes an existing image repository. If a repository contains images, you must use the force option to delete it.

DeleteRepositoryAsync ( Amazon.ECR.Model.DeleteRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteRepository operation.

DeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request ) : DeleteRepositoryPolicyResponse

Deletes the repository policy from a specified repository.

DeleteRepositoryPolicyAsync ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.

DescribeImages ( DescribeImagesRequest request ) : DescribeImagesResponse

Returns metadata about the images in a repository, including image size, image tags, and creation date.

Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages.

DescribeImagesAsync ( DescribeImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeImages operation.

DescribeRepositories ( DescribeRepositoriesRequest request ) : DescribeRepositoriesResponse

Describes image repositories in a registry.

DescribeRepositoriesAsync ( DescribeRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeRepositories operation.

EndBatchCheckLayerAvailability ( IAsyncResult asyncResult ) : BatchCheckLayerAvailabilityResponse

Finishes the asynchronous execution of the BatchCheckLayerAvailability operation.

EndBatchDeleteImage ( IAsyncResult asyncResult ) : BatchDeleteImageResponse

Finishes the asynchronous execution of the BatchDeleteImage operation.

EndBatchGetImage ( IAsyncResult asyncResult ) : BatchGetImageResponse

Finishes the asynchronous execution of the BatchGetImage operation.

EndCompleteLayerUpload ( IAsyncResult asyncResult ) : CompleteLayerUploadResponse

Finishes the asynchronous execution of the CompleteLayerUpload operation.

EndCreateRepository ( IAsyncResult asyncResult ) : CreateRepositoryResponse

Finishes the asynchronous execution of the CreateRepository operation.

EndDeleteRepository ( IAsyncResult asyncResult ) : DeleteRepositoryResponse

Finishes the asynchronous execution of the DeleteRepository operation.

EndDeleteRepositoryPolicy ( IAsyncResult asyncResult ) : DeleteRepositoryPolicyResponse

Finishes the asynchronous execution of the DeleteRepositoryPolicy operation.

EndDescribeImages ( IAsyncResult asyncResult ) : DescribeImagesResponse

Finishes the asynchronous execution of the DescribeImages operation.

EndDescribeRepositories ( IAsyncResult asyncResult ) : DescribeRepositoriesResponse

Finishes the asynchronous execution of the DescribeRepositories operation.

EndGetAuthorizationToken ( IAsyncResult asyncResult ) : GetAuthorizationTokenResponse

Finishes the asynchronous execution of the GetAuthorizationToken operation.

EndGetDownloadUrlForLayer ( IAsyncResult asyncResult ) : GetDownloadUrlForLayerResponse

Finishes the asynchronous execution of the GetDownloadUrlForLayer operation.

EndGetRepositoryPolicy ( IAsyncResult asyncResult ) : GetRepositoryPolicyResponse

Finishes the asynchronous execution of the GetRepositoryPolicy operation.

EndInitiateLayerUpload ( IAsyncResult asyncResult ) : InitiateLayerUploadResponse

Finishes the asynchronous execution of the InitiateLayerUpload operation.

EndListImages ( IAsyncResult asyncResult ) : ListImagesResponse

Finishes the asynchronous execution of the ListImages operation.

EndPutImage ( IAsyncResult asyncResult ) : PutImageResponse

Finishes the asynchronous execution of the PutImage operation.

EndSetRepositoryPolicy ( IAsyncResult asyncResult ) : SetRepositoryPolicyResponse

Finishes the asynchronous execution of the SetRepositoryPolicy operation.

EndUploadLayerPart ( IAsyncResult asyncResult ) : UploadLayerPartResponse

Finishes the asynchronous execution of the UploadLayerPart operation.

GetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request ) : GetAuthorizationTokenResponse

Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the docker CLI to push and pull images with Amazon ECR. If you do not specify a registry, the default registry is assumed.

The authorizationToken returned for each registry specified is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The AWS CLI offers an aws ecr get-login command that simplifies the login process.

GetAuthorizationTokenAsync ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetAuthorizationToken operation.

GetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request ) : GetDownloadUrlForLayerResponse

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

GetDownloadUrlForLayerAsync ( GetDownloadUrlForLayerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.

GetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request ) : GetRepositoryPolicyResponse

Retrieves the repository policy for a specified repository.

GetRepositoryPolicyAsync ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetRepositoryPolicy operation.

InitiateLayerUpload ( InitiateLayerUploadRequest request ) : InitiateLayerUploadResponse

Notify Amazon ECR that you intend to upload an image layer.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

InitiateLayerUploadAsync ( InitiateLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the InitiateLayerUpload operation.

ListImages ( ListImagesRequest request ) : ListImagesResponse

Lists all the image IDs for a given repository.

You can filter images based on whether or not they are tagged by setting the tagStatus parameter to TAGGED or UNTAGGED. For example, you can filter your results to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your results to return only TAGGED images to list all of the tags in your repository.

ListImagesAsync ( ListImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ListImages operation.

PutImage ( PutImageRequest request ) : PutImageResponse

Creates or updates the image manifest and tags associated with an image.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

PutImageAsync ( PutImageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutImage operation.

SetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request ) : SetRepositoryPolicyResponse

Applies a repository policy on a specified repository to control access permissions.

SetRepositoryPolicyAsync ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetRepositoryPolicy operation.

UploadLayerPart ( UploadLayerPartRequest request ) : UploadLayerPartResponse

Uploads an image layer part to Amazon ECR.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

UploadLayerPartAsync ( UploadLayerPartRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UploadLayerPart operation.

Защищенные методы

Метод Описание
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Описание методов

AmazonECRClient() публичный метод

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonECRClient ( ) : System
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Credentials
public AmazonECRClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Credentials and an AmazonECRClient Configuration object.
public AmazonECRClient ( AWSCredentials credentials, AmazonECRConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonECRConfig The AmazonECRClient Configuration Object
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Credentials
public AmazonECRClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonECRClient ( AmazonECRConfig config ) : System
config AmazonECRConfig The AmazonECRClient Configuration Object
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonECRClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonECRConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonECRConfig The AmazonECRClient Configuration Object
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonECRConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonECRConfig The AmazonECRClient Configuration Object
Результат System

AmazonECRClient() публичный метод

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
Результат System

BatchCheckLayerAvailability() публичный метод

Check the availability of multiple image layers in a specified registry and repository.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public BatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request ) : BatchCheckLayerAvailabilityResponse
request Amazon.ECR.Model.BatchCheckLayerAvailabilityRequest Container for the necessary parameters to execute the BatchCheckLayerAvailability service method.
Результат Amazon.ECR.Model.BatchCheckLayerAvailabilityResponse

BatchCheckLayerAvailabilityAsync() публичный метод

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.
public BatchCheckLayerAvailabilityAsync ( BatchCheckLayerAvailabilityRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.BatchCheckLayerAvailabilityRequest Container for the necessary parameters to execute the BatchCheckLayerAvailability operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

BatchDeleteImage() публичный метод

Deletes a list of specified images within a specified repository. Images are specified with either imageTag or imageDigest.

You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.

You can completely delete an image (and all of its tags) by specifying the image's digest in your request.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public BatchDeleteImage ( BatchDeleteImageRequest request ) : BatchDeleteImageResponse
request Amazon.ECR.Model.BatchDeleteImageRequest Container for the necessary parameters to execute the BatchDeleteImage service method.
Результат Amazon.ECR.Model.BatchDeleteImageResponse

BatchDeleteImageAsync() публичный метод

Initiates the asynchronous execution of the BatchDeleteImage operation.
public BatchDeleteImageAsync ( BatchDeleteImageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.BatchDeleteImageRequest Container for the necessary parameters to execute the BatchDeleteImage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

BatchGetImage() публичный метод

Gets detailed information for specified images within a specified repository. Images are specified with either imageTag or imageDigest.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public BatchGetImage ( BatchGetImageRequest request ) : BatchGetImageResponse
request Amazon.ECR.Model.BatchGetImageRequest Container for the necessary parameters to execute the BatchGetImage service method.
Результат Amazon.ECR.Model.BatchGetImageResponse

BatchGetImageAsync() публичный метод

Initiates the asynchronous execution of the BatchGetImage operation.
public BatchGetImageAsync ( BatchGetImageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.BatchGetImageRequest Container for the necessary parameters to execute the BatchGetImage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

BeginBatchCheckLayerAvailability() публичный метод

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.
public BeginBatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.BatchCheckLayerAvailabilityRequest Container for the necessary parameters to execute the BatchCheckLayerAvailability operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginBatchDeleteImage() публичный метод

Initiates the asynchronous execution of the BatchDeleteImage operation.
public BeginBatchDeleteImage ( BatchDeleteImageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.BatchDeleteImageRequest Container for the necessary parameters to execute the BatchDeleteImage operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginBatchGetImage() публичный метод

Initiates the asynchronous execution of the BatchGetImage operation.
public BeginBatchGetImage ( BatchGetImageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.BatchGetImageRequest Container for the necessary parameters to execute the BatchGetImage operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginCompleteLayerUpload() публичный метод

Initiates the asynchronous execution of the CompleteLayerUpload operation.
public BeginCompleteLayerUpload ( CompleteLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.CompleteLayerUploadRequest Container for the necessary parameters to execute the CompleteLayerUpload operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginCreateRepository() публичный метод

Initiates the asynchronous execution of the CreateRepository operation.
public BeginCreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDeleteRepository() публичный метод

Initiates the asynchronous execution of the DeleteRepository operation.
public BeginDeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDeleteRepositoryPolicy() публичный метод

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.
public BeginDeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DeleteRepositoryPolicyRequest Container for the necessary parameters to execute the DeleteRepositoryPolicy operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDescribeImages() публичный метод

Initiates the asynchronous execution of the DescribeImages operation.
public BeginDescribeImages ( DescribeImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DescribeImagesRequest Container for the necessary parameters to execute the DescribeImages operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDescribeRepositories() публичный метод

Initiates the asynchronous execution of the DescribeRepositories operation.
public BeginDescribeRepositories ( DescribeRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DescribeRepositoriesRequest Container for the necessary parameters to execute the DescribeRepositories operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginGetAuthorizationToken() публичный метод

Initiates the asynchronous execution of the GetAuthorizationToken operation.
public BeginGetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.GetAuthorizationTokenRequest Container for the necessary parameters to execute the GetAuthorizationToken operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginGetDownloadUrlForLayer() публичный метод

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.
public BeginGetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.GetDownloadUrlForLayerRequest Container for the necessary parameters to execute the GetDownloadUrlForLayer operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginGetRepositoryPolicy() публичный метод

Initiates the asynchronous execution of the GetRepositoryPolicy operation.
public BeginGetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.GetRepositoryPolicyRequest Container for the necessary parameters to execute the GetRepositoryPolicy operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginInitiateLayerUpload() публичный метод

Initiates the asynchronous execution of the InitiateLayerUpload operation.
public BeginInitiateLayerUpload ( InitiateLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.InitiateLayerUploadRequest Container for the necessary parameters to execute the InitiateLayerUpload operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginListImages() публичный метод

Initiates the asynchronous execution of the ListImages operation.
public BeginListImages ( ListImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.ListImagesRequest Container for the necessary parameters to execute the ListImages operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginPutImage() публичный метод

Initiates the asynchronous execution of the PutImage operation.
public BeginPutImage ( PutImageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.PutImageRequest Container for the necessary parameters to execute the PutImage operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginSetRepositoryPolicy() публичный метод

Initiates the asynchronous execution of the SetRepositoryPolicy operation.
public BeginSetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.SetRepositoryPolicyRequest Container for the necessary parameters to execute the SetRepositoryPolicy operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginUploadLayerPart() публичный метод

Initiates the asynchronous execution of the UploadLayerPart operation.
public BeginUploadLayerPart ( UploadLayerPartRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.UploadLayerPartRequest Container for the necessary parameters to execute the UploadLayerPart operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

CompleteLayerUpload() публичный метод

Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has completed. You can optionally provide a sha256 digest of the image layer for data validation purposes.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified layer upload does not contain any layer parts. /// /// The layer digest calculation performed by Amazon ECR upon receipt of the image layer /// does not match the digest specified. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// The image layer already exists in the associated repository. /// /// Layer parts must be at least 5 MiB in size. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. /// /// The upload could not be found, or the specified upload id is not valid for this repository. ///
public CompleteLayerUpload ( CompleteLayerUploadRequest request ) : CompleteLayerUploadResponse
request Amazon.ECR.Model.CompleteLayerUploadRequest Container for the necessary parameters to execute the CompleteLayerUpload service method.
Результат Amazon.ECR.Model.CompleteLayerUploadResponse

CompleteLayerUploadAsync() публичный метод

Initiates the asynchronous execution of the CompleteLayerUpload operation.
public CompleteLayerUploadAsync ( CompleteLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.CompleteLayerUploadRequest Container for the necessary parameters to execute the CompleteLayerUpload operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

CreateRepository() публичный метод

Creates an image repository.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The operation did not succeed because it would have exceeded a service limit for your /// account. For more information, see Amazon /// ECR Default Service Limits in the Amazon EC2 Container Registry User Guide. /// /// The specified repository already exists in the specified registry. /// /// These errors are usually caused by a server-side issue. ///
public CreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request ) : CreateRepositoryResponse
request Amazon.ECR.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository service method.
Результат Amazon.ECR.Model.CreateRepositoryResponse

CreateRepositoryAsync() публичный метод

Initiates the asynchronous execution of the CreateRepository operation.
public CreateRepositoryAsync ( Amazon.ECR.Model.CreateRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

CreateSigner() защищенный метод

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
Результат Amazon.Runtime.Internal.Auth.AbstractAWSSigner

DeleteRepository() публичный метод

Deletes an existing image repository. If a repository contains images, you must use the force option to delete it.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository contains images. To delete a repository that contains images, /// you must force the deletion with the force parameter. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public DeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request ) : DeleteRepositoryResponse
request Amazon.ECR.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository service method.
Результат Amazon.ECR.Model.DeleteRepositoryResponse

DeleteRepositoryAsync() публичный метод

Initiates the asynchronous execution of the DeleteRepository operation.
public DeleteRepositoryAsync ( Amazon.ECR.Model.DeleteRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DeleteRepositoryPolicy() публичный метод

Deletes the repository policy from a specified repository.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// The specified repository and registry combination does not have an associated repository /// policy. /// /// These errors are usually caused by a server-side issue. ///
public DeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request ) : DeleteRepositoryPolicyResponse
request Amazon.ECR.Model.DeleteRepositoryPolicyRequest Container for the necessary parameters to execute the DeleteRepositoryPolicy service method.
Результат Amazon.ECR.Model.DeleteRepositoryPolicyResponse

DeleteRepositoryPolicyAsync() публичный метод

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.
public DeleteRepositoryPolicyAsync ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DeleteRepositoryPolicyRequest Container for the necessary parameters to execute the DeleteRepositoryPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DescribeImages() публичный метод

Returns metadata about the images in a repository, including image size, image tags, and creation date.

Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages.

/// The image requested does not exist in the specified repository. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public DescribeImages ( DescribeImagesRequest request ) : DescribeImagesResponse
request Amazon.ECR.Model.DescribeImagesRequest Container for the necessary parameters to execute the DescribeImages service method.
Результат Amazon.ECR.Model.DescribeImagesResponse

DescribeImagesAsync() публичный метод

Initiates the asynchronous execution of the DescribeImages operation.
public DescribeImagesAsync ( DescribeImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DescribeImagesRequest Container for the necessary parameters to execute the DescribeImages operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DescribeRepositories() публичный метод

Describes image repositories in a registry.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public DescribeRepositories ( DescribeRepositoriesRequest request ) : DescribeRepositoriesResponse
request Amazon.ECR.Model.DescribeRepositoriesRequest Container for the necessary parameters to execute the DescribeRepositories service method.
Результат Amazon.ECR.Model.DescribeRepositoriesResponse

DescribeRepositoriesAsync() публичный метод

Initiates the asynchronous execution of the DescribeRepositories operation.
public DescribeRepositoriesAsync ( DescribeRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DescribeRepositoriesRequest Container for the necessary parameters to execute the DescribeRepositories operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

Dispose() защищенный метод

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EndBatchCheckLayerAvailability() публичный метод

Finishes the asynchronous execution of the BatchCheckLayerAvailability operation.
public EndBatchCheckLayerAvailability ( IAsyncResult asyncResult ) : BatchCheckLayerAvailabilityResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchCheckLayerAvailability.
Результат Amazon.ECR.Model.BatchCheckLayerAvailabilityResponse

EndBatchDeleteImage() публичный метод

Finishes the asynchronous execution of the BatchDeleteImage operation.
public EndBatchDeleteImage ( IAsyncResult asyncResult ) : BatchDeleteImageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchDeleteImage.
Результат Amazon.ECR.Model.BatchDeleteImageResponse

EndBatchGetImage() публичный метод

Finishes the asynchronous execution of the BatchGetImage operation.
public EndBatchGetImage ( IAsyncResult asyncResult ) : BatchGetImageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchGetImage.
Результат Amazon.ECR.Model.BatchGetImageResponse

EndCompleteLayerUpload() публичный метод

Finishes the asynchronous execution of the CompleteLayerUpload operation.
public EndCompleteLayerUpload ( IAsyncResult asyncResult ) : CompleteLayerUploadResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCompleteLayerUpload.
Результат Amazon.ECR.Model.CompleteLayerUploadResponse

EndCreateRepository() публичный метод

Finishes the asynchronous execution of the CreateRepository operation.
public EndCreateRepository ( IAsyncResult asyncResult ) : CreateRepositoryResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateRepository.
Результат Amazon.ECR.Model.CreateRepositoryResponse

EndDeleteRepository() публичный метод

Finishes the asynchronous execution of the DeleteRepository operation.
public EndDeleteRepository ( IAsyncResult asyncResult ) : DeleteRepositoryResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteRepository.
Результат Amazon.ECR.Model.DeleteRepositoryResponse

EndDeleteRepositoryPolicy() публичный метод

Finishes the asynchronous execution of the DeleteRepositoryPolicy operation.
public EndDeleteRepositoryPolicy ( IAsyncResult asyncResult ) : DeleteRepositoryPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteRepositoryPolicy.
Результат Amazon.ECR.Model.DeleteRepositoryPolicyResponse

EndDescribeImages() публичный метод

Finishes the asynchronous execution of the DescribeImages operation.
public EndDescribeImages ( IAsyncResult asyncResult ) : DescribeImagesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeImages.
Результат Amazon.ECR.Model.DescribeImagesResponse

EndDescribeRepositories() публичный метод

Finishes the asynchronous execution of the DescribeRepositories operation.
public EndDescribeRepositories ( IAsyncResult asyncResult ) : DescribeRepositoriesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeRepositories.
Результат Amazon.ECR.Model.DescribeRepositoriesResponse

EndGetAuthorizationToken() публичный метод

Finishes the asynchronous execution of the GetAuthorizationToken operation.
public EndGetAuthorizationToken ( IAsyncResult asyncResult ) : GetAuthorizationTokenResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetAuthorizationToken.
Результат Amazon.ECR.Model.GetAuthorizationTokenResponse

EndGetDownloadUrlForLayer() публичный метод

Finishes the asynchronous execution of the GetDownloadUrlForLayer operation.
public EndGetDownloadUrlForLayer ( IAsyncResult asyncResult ) : GetDownloadUrlForLayerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetDownloadUrlForLayer.
Результат Amazon.ECR.Model.GetDownloadUrlForLayerResponse

EndGetRepositoryPolicy() публичный метод

Finishes the asynchronous execution of the GetRepositoryPolicy operation.
public EndGetRepositoryPolicy ( IAsyncResult asyncResult ) : GetRepositoryPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetRepositoryPolicy.
Результат Amazon.ECR.Model.GetRepositoryPolicyResponse

EndInitiateLayerUpload() публичный метод

Finishes the asynchronous execution of the InitiateLayerUpload operation.
public EndInitiateLayerUpload ( IAsyncResult asyncResult ) : InitiateLayerUploadResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginInitiateLayerUpload.
Результат Amazon.ECR.Model.InitiateLayerUploadResponse

EndListImages() публичный метод

Finishes the asynchronous execution of the ListImages operation.
public EndListImages ( IAsyncResult asyncResult ) : ListImagesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginListImages.
Результат Amazon.ECR.Model.ListImagesResponse

EndPutImage() публичный метод

Finishes the asynchronous execution of the PutImage operation.
public EndPutImage ( IAsyncResult asyncResult ) : PutImageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutImage.
Результат Amazon.ECR.Model.PutImageResponse

EndSetRepositoryPolicy() публичный метод

Finishes the asynchronous execution of the SetRepositoryPolicy operation.
public EndSetRepositoryPolicy ( IAsyncResult asyncResult ) : SetRepositoryPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetRepositoryPolicy.
Результат Amazon.ECR.Model.SetRepositoryPolicyResponse

EndUploadLayerPart() публичный метод

Finishes the asynchronous execution of the UploadLayerPart operation.
public EndUploadLayerPart ( IAsyncResult asyncResult ) : UploadLayerPartResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUploadLayerPart.
Результат Amazon.ECR.Model.UploadLayerPartResponse

GetAuthorizationToken() публичный метод

Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the docker CLI to push and pull images with Amazon ECR. If you do not specify a registry, the default registry is assumed.

The authorizationToken returned for each registry specified is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The AWS CLI offers an aws ecr get-login command that simplifies the login process.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// These errors are usually caused by a server-side issue. ///
public GetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request ) : GetAuthorizationTokenResponse
request Amazon.ECR.Model.GetAuthorizationTokenRequest Container for the necessary parameters to execute the GetAuthorizationToken service method.
Результат Amazon.ECR.Model.GetAuthorizationTokenResponse

GetAuthorizationTokenAsync() публичный метод

Initiates the asynchronous execution of the GetAuthorizationToken operation.
public GetAuthorizationTokenAsync ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.GetAuthorizationTokenRequest Container for the necessary parameters to execute the GetAuthorizationToken operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

GetDownloadUrlForLayer() публичный метод

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified layer is not available because it is not associated with an image. Unassociated /// image layers may be cleaned up at any time. /// /// The specified layers could not be found, or the specified layer is not valid for this /// repository. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public GetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request ) : GetDownloadUrlForLayerResponse
request Amazon.ECR.Model.GetDownloadUrlForLayerRequest Container for the necessary parameters to execute the GetDownloadUrlForLayer service method.
Результат Amazon.ECR.Model.GetDownloadUrlForLayerResponse

GetDownloadUrlForLayerAsync() публичный метод

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.
public GetDownloadUrlForLayerAsync ( GetDownloadUrlForLayerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.GetDownloadUrlForLayerRequest Container for the necessary parameters to execute the GetDownloadUrlForLayer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

GetRepositoryPolicy() публичный метод

Retrieves the repository policy for a specified repository.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// The specified repository and registry combination does not have an associated repository /// policy. /// /// These errors are usually caused by a server-side issue. ///
public GetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request ) : GetRepositoryPolicyResponse
request Amazon.ECR.Model.GetRepositoryPolicyRequest Container for the necessary parameters to execute the GetRepositoryPolicy service method.
Результат Amazon.ECR.Model.GetRepositoryPolicyResponse

GetRepositoryPolicyAsync() публичный метод

Initiates the asynchronous execution of the GetRepositoryPolicy operation.
public GetRepositoryPolicyAsync ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.GetRepositoryPolicyRequest Container for the necessary parameters to execute the GetRepositoryPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

InitiateLayerUpload() публичный метод

Notify Amazon ECR that you intend to upload an image layer.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public InitiateLayerUpload ( InitiateLayerUploadRequest request ) : InitiateLayerUploadResponse
request Amazon.ECR.Model.InitiateLayerUploadRequest Container for the necessary parameters to execute the InitiateLayerUpload service method.
Результат Amazon.ECR.Model.InitiateLayerUploadResponse

InitiateLayerUploadAsync() публичный метод

Initiates the asynchronous execution of the InitiateLayerUpload operation.
public InitiateLayerUploadAsync ( InitiateLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.InitiateLayerUploadRequest Container for the necessary parameters to execute the InitiateLayerUpload operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

ListImages() публичный метод

Lists all the image IDs for a given repository.

You can filter images based on whether or not they are tagged by setting the tagStatus parameter to TAGGED or UNTAGGED. For example, you can filter your results to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your results to return only TAGGED images to list all of the tags in your repository.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public ListImages ( ListImagesRequest request ) : ListImagesResponse
request Amazon.ECR.Model.ListImagesRequest Container for the necessary parameters to execute the ListImages service method.
Результат Amazon.ECR.Model.ListImagesResponse

ListImagesAsync() публичный метод

Initiates the asynchronous execution of the ListImages operation.
public ListImagesAsync ( ListImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.ListImagesRequest Container for the necessary parameters to execute the ListImages operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

PutImage() публичный метод

Creates or updates the image manifest and tags associated with an image.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified image has already been pushed, and there are no changes to the manifest /// or image tag since the last push. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified layers could not be found, or the specified layer is not valid for this /// repository. /// /// The operation did not succeed because it would have exceeded a service limit for your /// account. For more information, see Amazon /// ECR Default Service Limits in the Amazon EC2 Container Registry User Guide. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public PutImage ( PutImageRequest request ) : PutImageResponse
request Amazon.ECR.Model.PutImageRequest Container for the necessary parameters to execute the PutImage service method.
Результат Amazon.ECR.Model.PutImageResponse

PutImageAsync() публичный метод

Initiates the asynchronous execution of the PutImage operation.
public PutImageAsync ( PutImageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.PutImageRequest Container for the necessary parameters to execute the PutImage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

SetRepositoryPolicy() публичный метод

Applies a repository policy on a specified repository to control access permissions.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public SetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request ) : SetRepositoryPolicyResponse
request Amazon.ECR.Model.SetRepositoryPolicyRequest Container for the necessary parameters to execute the SetRepositoryPolicy service method.
Результат Amazon.ECR.Model.SetRepositoryPolicyResponse

SetRepositoryPolicyAsync() публичный метод

Initiates the asynchronous execution of the SetRepositoryPolicy operation.
public SetRepositoryPolicyAsync ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.SetRepositoryPolicyRequest Container for the necessary parameters to execute the SetRepositoryPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

UploadLayerPart() публичный метод

Uploads an image layer part to Amazon ECR.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The layer part size is not valid, or the first byte specified is not consecutive to /// the last byte of a previous layer part upload. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// The operation did not succeed because it would have exceeded a service limit for your /// account. For more information, see Amazon /// ECR Default Service Limits in the Amazon EC2 Container Registry User Guide. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. /// /// The upload could not be found, or the specified upload id is not valid for this repository. ///
public UploadLayerPart ( UploadLayerPartRequest request ) : UploadLayerPartResponse
request Amazon.ECR.Model.UploadLayerPartRequest Container for the necessary parameters to execute the UploadLayerPart service method.
Результат Amazon.ECR.Model.UploadLayerPartResponse

UploadLayerPartAsync() публичный метод

Initiates the asynchronous execution of the UploadLayerPart operation.
public UploadLayerPartAsync ( UploadLayerPartRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.UploadLayerPartRequest Container for the necessary parameters to execute the UploadLayerPart operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task