azure.containerregistry.aio package¶
-
class
azure.containerregistry.aio.
ContainerRegistryClient
(endpoint: str, credential: AsyncTokenCredential, **kwargs: Dict[str, Any])[source]¶ Create a ContainerRegistryClient from an endpoint and a credential
- Parameters
endpoint (str) – An ACR endpoint
credential (
AsyncTokenCredential
) – The credential with which to authenticate
- Returns
None
- Raises
None
-
async
close
() → None¶ Close sockets opened by the client. Calling this method is unnecessary when using the client as a context manager.
-
async
delete_repository
(repository: str, **kwargs: Dict[str, Any]) → azure.containerregistry._models.DeletedRepositoryResult[source]¶ Delete a repository
- Parameters
repository (str) – The repository to delete
- Returns
Object containing information about the deleted repository
- Return type
- Raises
-
get_repository_client
(repository: str, **kwargs: Dict[str, Any]) → azure.containerregistry.aio._async_container_repository_client.ContainerRepositoryClient[source]¶ Get a repository client
- Parameters
repository (str) – The repository to create a client for
- Returns
-
list_repositories
(**kwargs: Dict[str, Any]) → azure.core.async_paging.AsyncItemPaged[str][source]¶ List all repositories
- Keyword Arguments
- Returns
ItemPaged[str]
- Return type
- Raises
-
class
azure.containerregistry.aio.
ContainerRepositoryClient
(endpoint: str, repository: str, credential: AsyncTokenCredential, **kwargs: Dict[str, Any])[source]¶ Create a ContainerRepositoryClient from an endpoint, repository name, and credential
- Parameters
- Returns
None
- Raises
None
-
async
close
() → None¶ Close sockets opened by the client. Calling this method is unnecessary when using the client as a context manager.
-
async
delete
(**kwargs: Dict[str, Any]) → azure.containerregistry._models.DeletedRepositoryResult[source]¶ Delete a repository
- Returns
Object containing information about the deleted repository
- Return type
- Raises
-
async
delete_registry_artifact
(digest: str, **kwargs: Dict[str, Any]) → None[source]¶ Delete a registry artifact
- Parameters
digest (str) – The digest of the artifact to be deleted
- Returns
None
- Raises
-
async
delete_tag
(tag: str, **kwargs: Dict[str, Any]) → None[source]¶ Delete a tag from a repository
- Parameters
tag (str) – The tag to be deleted
- Returns
None
- Raises
-
async
get_properties
(**kwargs: Dict[str, Any]) → azure.containerregistry._models.RepositoryProperties[source]¶ Get the properties of a repository
- Returns
- Raises
-
async
get_registry_artifact_properties
(tag_or_digest: str, **kwargs: Dict[str, Any]) → azure.containerregistry._models.RegistryArtifactProperties[source]¶ Get the properties of a registry artifact
- Parameters
tag_or_digest (str) – The tag/digest of a registry artifact
- Returns
- Raises
-
async
get_tag_properties
(tag: str, **kwargs: Dict[str, Any]) → azure.containerregistry._models.TagProperties[source]¶ Get the properties for a tag
- Parameters
tag (str) – The tag to get properties for
- Returns
- Raises
-
list_registry_artifacts
(**kwargs: Dict[str, Any]) → azure.core.async_paging.AsyncItemPaged[azure.containerregistry._models.RegistryArtifactProperties][source]¶ List the artifacts for a repository
- Keyword Arguments
last (str) – Query parameter for the last item in the previous call. Ensuing call will return values after last lexically
order_by (
RegistryArtifactOrderBy
) – Query parameter for ordering by time ascending or descendingresults_per_page (int) – Number of repositories to return per page
- Returns
ItemPaged[
RegistryArtifactProperties
]- Return type
- Raises
List the tags for a repository
- Keyword Arguments
last (str) – Query parameter for the last item in the previous call. Ensuing call will return values after last lexically
order_by (
TagOrderBy
) – Query parameter for ordering by time ascending or descendingresults_per_page (int) – Number of repositories to return per page
- Returns
ItemPaged[
TagProperties
]- Return type
- Raises
-
async
set_manifest_properties
(digest: str, permissions: azure.containerregistry._models.ContentPermissions, **kwargs: Dict[str, Any]) → None[source]¶ Set the properties for a manifest
- Parameters
digest (str) – Digest of a manifest
permissions (ContentPermissions) – The property’s values to be set
- Returns
- Raises
-
async
set_tag_properties
(tag: str, permissions: azure.containerregistry._models.ContentPermissions, **kwargs: Dict[str, Any]) → azure.containerregistry._models.TagProperties[source]¶ Set the properties for a tag
- Parameters
tag (str) – Tag to set properties for
permissions (ContentPermissions) – The property’s values to be set
- Returns
- Raises