This replaces the AcrClient class with use of the clients available from the Azure.Containers.ContainerRegistry package. The AcrClient class was used by CleanAcrImagesCommand. So these changes update CleanAcrImagesCommand to make use of IContainerRegistryClientFactory acrClientFactory and IContainerRegistryContentClientFactory instead of IAcrClientFactory. Two client types are needed for the implementation because Azure.Containers.ContainerRegistry splits the API that way. ContainerRegistryClient provides the access to repositories and ContainerRegistryContentClient provides the access to manifests.
These changes include the deletion of all the AcrClient implementation, including all of the related model classes.
This replaces the
AcrClient
class with use of the clients available from theAzure.Containers.ContainerRegistry
package. TheAcrClient
class was used byCleanAcrImagesCommand
. So these changes updateCleanAcrImagesCommand
to make use ofIContainerRegistryClientFactory acrClientFactory
andIContainerRegistryContentClientFactory
instead ofIAcrClientFactory
. Two client types are needed for the implementation becauseAzure.Containers.ContainerRegistry
splits the API that way.ContainerRegistryClient
provides the access to repositories andContainerRegistryContentClient
provides the access to manifests.These changes include the deletion of all the
AcrClient
implementation, including all of the related model classes.