diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs index e13a4d9772ff..2ec407f7ed33 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs @@ -2,6 +2,7 @@ // Licensed under the MIT License. using System.Collections.Generic; +using System.Runtime.InteropServices; using Azure.Core.TestFramework; using NUnit.Framework; using Task = System.Threading.Tasks.Task; @@ -98,53 +99,40 @@ public async Task CanStartPagingMidCollection(bool anonymous) } [RecordedTest, NonParallelizable] - public async Task CanDeleteRepostitory() + public async Task CanDeleteRepository() { // Arrange string registry = TestEnvironment.Registry; - string repository = $"library/hello-world"; + string sourceRepository = $"library/hello-world"; + string targetRepository = $"hello-world-1{GetPlatformSuffix()}"; List tags = new List() { - "latest", - "v1", - "v2", - "v3", - "v4", + "test-delete-repo" }; + var client = CreateClient(); - try + if (Mode != RecordedTestMode.Playback) { - if (Mode != RecordedTestMode.Playback) - { - await ImportImageAsync(registry, repository, tags); - } - - // Act - await client.DeleteRepositoryAsync(repository); + await ImportImageAsync(registry, sourceRepository, tags, targetRepository); + } - var repositories = client.GetRepositoryNamesAsync(); + // Act + await client.DeleteRepositoryAsync(targetRepository); - await foreach (var item in repositories) - { - if (item.Contains(repository)) - { - Assert.Fail($"Repository {repository} was not deleted."); - } - } - } - finally + // Assert + var repositories = client.GetRepositoryNamesAsync(); + await foreach (var item in repositories) { - // Clean up - put the repository with tags back. - if (Mode != RecordedTestMode.Playback) + if (item.Contains(targetRepository)) { - await ImportImageAsync(registry, repository, tags); + Assert.Fail($"Repository {targetRepository} was not deleted."); } } } [RecordedTest, NonParallelizable] - public void CanDeleteRepostitory_Anonymous() + public void CanDeleteRepository_Anonymous() { // Arrange string repository = $"library/hello-world"; diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs index 9e16eb269899..a4bb210c9218 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs @@ -11,6 +11,7 @@ using NUnit.Framework; using System.Linq; using Task = System.Threading.Tasks.Task; +using System.Runtime.InteropServices; namespace Azure.Containers.ContainerRegistry.Tests { @@ -42,12 +43,36 @@ public ContainerRegistryClient CreateClient(bool anonymousAccess = false, string )); } - public async Task ImportImageAsync(string registry, string repository, string tag) + protected string GetPlatformSuffix() { - await ImportImageAsync(registry, repository, new List() { tag }); + var os = FormatIdentifier(RuntimeInformation.OSDescription); + var dotnetVersion = FormatIdentifier(RuntimeInformation.FrameworkDescription); + return $"-{os}-{dotnetVersion}"; } - public async Task ImportImageAsync(string registry, string repository, List tags) + private string FormatIdentifier(string value) + { + List invalidCharacters = new List { " ", ".", "#", "~", ":", ";", "/", "\\" }; + foreach (var invalid in invalidCharacters) + { + value = value.Replace(invalid, string.Empty); + } + + int maxLength = 25; + if (value.Length > maxLength) + { + value = value.Substring(0, maxLength); + } + + return value.ToLower(); + } + + public async Task ImportImageAsync(string registry, string repository, string tag, string targetRepository = default) + { + await ImportImageAsync(registry, repository, new List() { tag }, targetRepository); + } + + public async Task ImportImageAsync(string registry, string repository, List tags, string targetRepository = default) { var credential = new AzureCredentials( new ServicePrincipalLoginInformation @@ -67,7 +92,8 @@ public async Task ImportImageAsync(string registry, string repository, List $"{repository}:{tag}"); + var target = targetRepository ?? repository; + var targetTags = tags.Select(tag => $"{target}:{tag}"); await managementClient.Registries.ImportImageAsync( resourceGroupName: TestEnvironment.ResourceGroup, @@ -80,5 +106,40 @@ await managementClient.Registries.ImportImageAsync( TargetTags = targetTags.ToList() }); } + + public async Task ImportImageByDigestAsync(string registry, string repository, string digest, string targetRepository, string targetTag) + { + var credential = new AzureCredentials( + new ServicePrincipalLoginInformation + { + ClientId = TestEnvironment.ClientId, + ClientSecret = TestEnvironment.ClientSecret, + }, + TestEnvironment.TenantId, + AzureEnvironment.AzureGlobalCloud); + + var managementClient = new ContainerRegistryManagementClient(credential.WithDefaultSubscription(TestEnvironment.SubscriptionId)); + managementClient.SubscriptionId = TestEnvironment.SubscriptionId; + + var importSource = new ImportSource + { + SourceImage = $"{repository}@{digest}", + RegistryUri = "registry.hub.docker.com" + }; + + var targetImage = $"{targetRepository}:{targetTag}"; + + await managementClient.Registries.ImportImageAsync( + resourceGroupName: TestEnvironment.ResourceGroup, + registryName: registry, + parameters: + new ImportImageParameters + { + Mode = ImportMode.Force, + Source = importSource, + TargetTags = new List() { targetImage } + }); + ; + } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs index 6af89e26a96c..e878e6637235 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs @@ -36,37 +36,61 @@ public async Task CanGetRepositoryProperties() public async Task CanSetRepositoryProperties() { // Arrange - var client = CreateClient(); - var repository = client.GetRepository(_repositoryName); + string registry = TestEnvironment.Registry; + string sourceRepository = $"library/hello-world"; + string targetRepository = $"hello-world-3{GetPlatformSuffix()}"; + List tags = new List() + { + "test-set-repo-properties" + }; - ContainerRepositoryProperties repositoryProperties = await repository.GetPropertiesAsync(); - ContainerRepositoryProperties originalProperties = repositoryProperties; + var client = CreateClient(); + var repository = client.GetRepository(targetRepository); - // Act - ContainerRepositoryProperties properties = await repository.UpdatePropertiesAsync( - new ContainerRepositoryProperties() + try + { + if (Mode != RecordedTestMode.Playback) { - CanList = false, - CanRead = false, - CanWrite = false, - CanDelete = false, - }); + await ImportImageAsync(registry, sourceRepository, tags, targetRepository); + } - // Assert - Assert.IsFalse(properties.CanList); - Assert.IsFalse(properties.CanRead); - Assert.IsFalse(properties.CanWrite); - Assert.IsFalse(properties.CanDelete); + // Act + ContainerRepositoryProperties properties = await repository.UpdatePropertiesAsync( + new ContainerRepositoryProperties() + { + CanList = false, + CanRead = false, + CanWrite = false, + CanDelete = false, + }); + + // Assert + Assert.IsFalse(properties.CanList); + Assert.IsFalse(properties.CanRead); + Assert.IsFalse(properties.CanWrite); + Assert.IsFalse(properties.CanDelete); - ContainerRepositoryProperties updatedProperties = await repository.GetPropertiesAsync(); + ContainerRepositoryProperties updatedProperties = await repository.GetPropertiesAsync(); - Assert.IsFalse(updatedProperties.CanList); - Assert.IsFalse(updatedProperties.CanRead); - Assert.IsFalse(updatedProperties.CanWrite); - Assert.IsFalse(updatedProperties.CanDelete); + Assert.IsFalse(updatedProperties.CanList); + Assert.IsFalse(updatedProperties.CanRead); + Assert.IsFalse(updatedProperties.CanWrite); + Assert.IsFalse(updatedProperties.CanDelete); + } + finally + { + // Clean up + ContainerRepositoryProperties properties = await repository.UpdatePropertiesAsync( + new ContainerRepositoryProperties() + { + CanList = true, + CanRead = true, + CanWrite = true, + CanDelete = true, + }); - // Cleanup - await repository.UpdatePropertiesAsync(originalProperties); + await repository.DeleteAsync(); + } } [RecordedTest, NonParallelizable] @@ -92,39 +116,27 @@ public void CanSetRepositoryProperties_Anonymous() public async Task CanDeleteRepository() { // Arrange + string registry = TestEnvironment.Registry; + string sourceRepository = $"library/hello-world"; + string targetRepository = $"hello-world-2{GetPlatformSuffix()}"; List tags = new List() { - "latest", - "v1", - "v2", - "v3", - "v4", + "test-delete-repo" }; var client = CreateClient(); - var repository = client.GetRepository(_repositoryName); + var repository = client.GetRepository(targetRepository); - try + if (Mode != RecordedTestMode.Playback) { - if (Mode != RecordedTestMode.Playback) - { - await ImportImageAsync(TestEnvironment.Registry, _repositoryName, tags); - } + await ImportImageAsync(registry, sourceRepository, tags, targetRepository); + } - // Act - await repository.DeleteAsync(); + // Act + await repository.DeleteAsync(); - // Assert - Assert.ThrowsAsync(async () => { await repository.GetPropertiesAsync(); }); - } - finally - { - // Clean up - put the repository with tags back. - if (Mode != RecordedTestMode.Playback) - { - await ImportImageAsync(TestEnvironment.Registry, _repositoryName, tags); - } - } + // Assert + Assert.ThrowsAsync(async () => { await repository.GetPropertiesAsync(); }); } [RecordedTest] @@ -232,40 +244,43 @@ public async Task CanGetArtifactsStartingMidCollection(bool anonymous) public async Task CanGetManifestsOrdered() { // Arrange - string repositoryName = $"library/node"; - string tag = "newest"; + string registry = TestEnvironment.Registry; + string sourceRepository = $"library/node"; + string targetRepository = $"node-1{GetPlatformSuffix()}"; + var client = CreateClient(); - var repository = client.GetRepository(repositoryName); - var artifact = client.GetArtifact(repositoryName, tag); + var repository = client.GetRepository(targetRepository); + + string oldDigest = "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2"; + string newDigest = "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb"; try { if (Mode != RecordedTestMode.Playback) { - await ImportImageAsync(TestEnvironment.Registry, repositoryName, tag); + await ImportImageByDigestAsync(registry, sourceRepository, oldDigest, targetRepository, "oldest"); + + await Task.Delay(1000); + + await ImportImageByDigestAsync(registry, sourceRepository, newDigest, targetRepository, "newest"); } // Act AsyncPageable manifests = repository.GetManifestPropertiesCollectionAsync(ArtifactManifestOrderBy.LastUpdatedOnDescending); // Assert - string digest = null; await foreach (ArtifactManifestProperties manifest in manifests) { - // Make sure we're looking at a manifest list, which has the tag - if (manifest.RelatedArtifacts != null && manifest.RelatedArtifacts.Count > 0) - { - digest = manifest.Digest; - Assert.That(manifest.RepositoryName.Contains(repositoryName)); - Assert.That(manifest.Tags.Contains(tag)); - break; - } + // The newer manifest should appear first given the sort order we specified + Assert.AreEqual(targetRepository, manifest.RepositoryName); + Assert.AreEqual(newDigest, manifest.Digest); + break; } } finally { // Clean up - await artifact.DeleteAsync(); + await repository.DeleteAsync(); } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs index 287c9638a52c..e3c77bf93c76 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System.Collections.Generic; using System.Linq; using Azure.Core.TestFramework; using NUnit.Framework; @@ -73,38 +74,59 @@ public async Task CanGetManifestProperties() public async Task CanSetManifestProperties() { // Arrange - var client = CreateClient(); - string tag = "latest"; - var artifact = client.GetArtifact(_repositoryName, tag); + string registry = TestEnvironment.Registry; + string sourceRepository = $"library/hello-world"; + string targetRepository = $"hello-world-4{GetPlatformSuffix()}"; + string tag = "test-set-manifest-properties"; - ArtifactManifestProperties artifactProperties = await artifact.GetManifestPropertiesAsync(); - ArtifactManifestProperties originalProperties = artifactProperties; + var client = CreateClient(); + var artifact = client.GetArtifact(targetRepository, tag); - // Act - ArtifactManifestProperties properties = await artifact.UpdateManifestPropertiesAsync( - new ArtifactManifestProperties() + try + { + if (Mode != RecordedTestMode.Playback) { - CanList = false, - CanRead = false, - CanWrite = false, - CanDelete = false - }); - - // Assert - Assert.IsFalse(properties.CanList); - Assert.IsFalse(properties.CanRead); - Assert.IsFalse(properties.CanWrite); - Assert.IsFalse(properties.CanDelete); - - ArtifactManifestProperties updatedProperties = await artifact.GetManifestPropertiesAsync(); - - Assert.IsFalse(updatedProperties.CanList); - Assert.IsFalse(updatedProperties.CanRead); - Assert.IsFalse(updatedProperties.CanWrite); - Assert.IsFalse(updatedProperties.CanDelete); + await ImportImageAsync(registry, sourceRepository, tag, targetRepository); + } - // Cleanup - await artifact.UpdateManifestPropertiesAsync(originalProperties); + // Act + ArtifactManifestProperties properties = await artifact.UpdateManifestPropertiesAsync( + new ArtifactManifestProperties() + { + CanList = false, + CanRead = false, + CanWrite = false, + CanDelete = false + }); + + // Assert + Assert.IsFalse(properties.CanList); + Assert.IsFalse(properties.CanRead); + Assert.IsFalse(properties.CanWrite); + Assert.IsFalse(properties.CanDelete); + + ArtifactManifestProperties updatedProperties = await artifact.GetManifestPropertiesAsync(); + + Assert.IsFalse(updatedProperties.CanList); + Assert.IsFalse(updatedProperties.CanRead); + Assert.IsFalse(updatedProperties.CanWrite); + Assert.IsFalse(updatedProperties.CanDelete); + } + finally + { + // Clean up + await artifact.UpdateManifestPropertiesAsync( + new ArtifactManifestProperties() + { + CanList = true, + CanRead = true, + CanWrite = true, + CanDelete = true + }); + + var repository = client.GetRepository(targetRepository); + await repository.DeleteAsync(); + } } [RecordedTest, NonParallelizable] @@ -131,20 +153,30 @@ public async Task CanDeleteRegistryArtifact() { // Arrange string repository = $"library/node"; + string targetRepository = $"node-2{GetPlatformSuffix()}"; string tag = "test-delete-image"; var client = CreateClient(); - var artifact = client.GetArtifact(repository, tag); + var artifact = client.GetArtifact(targetRepository, tag); - if (Mode != RecordedTestMode.Playback) + try { - await ImportImageAsync(TestEnvironment.Registry, repository, tag); - } + if (Mode != RecordedTestMode.Playback) + { + await ImportImageAsync(TestEnvironment.Registry, repository, tag, targetRepository); + } - // Act - await artifact.DeleteAsync(); + // Act + await artifact.DeleteAsync(); - // Assert - Assert.ThrowsAsync(async () => { await artifact.GetManifestPropertiesAsync(); }); + // Assert + Assert.ThrowsAsync(async () => { await artifact.GetManifestPropertiesAsync(); }); + } + finally + { + // Clean up + var repositoryClient = client.GetRepository(targetRepository); + await repositoryClient.DeleteAsync(); + } } #endregion @@ -255,29 +287,42 @@ public async Task CanGetTagProperties() } [RecordedTest] - [TestCase(true)] - [TestCase(false)] - public async Task CanGetTagsOrdered(bool anonymous) + public async Task CanGetTagsOrdered() { // Arrange - var client = CreateClient(anonymous); - string registry = anonymous ? TestEnvironment.AnonymousAccessRegistry : TestEnvironment.Registry; - string tagName = "latest"; - var artifact = client.GetArtifact(_repositoryName, tagName); + string registry = TestEnvironment.Registry; + string sourceRepository = $"library/node"; + string targetRepository = $"node-3{GetPlatformSuffix()}"; + + var client = CreateClient(); + var artifact = client.GetArtifact(targetRepository, "oldest"); - if (Mode != RecordedTestMode.Playback) + try { - await ImportImageAsync(registry, _repositoryName, "newest"); - } + if (Mode != RecordedTestMode.Playback) + { + await ImportImageAsync(registry, sourceRepository, "oldest", targetRepository); + await Task.Delay(1000); + await ImportImageAsync(registry, sourceRepository, "newest", targetRepository); + } - // Act - AsyncPageable tags = artifact.GetTagPropertiesCollectionAsync(ArtifactTagOrderBy.LastUpdatedOnDescending); + // Act + AsyncPageable tags = artifact.GetTagPropertiesCollectionAsync(ArtifactTagOrderBy.LastUpdatedOnDescending); - // Assert - await foreach (ArtifactTagProperties tag in tags) + // Assert + await foreach (ArtifactTagProperties tag in tags) + { + // The newer tag should appear first given the sort order we specified + Assert.AreEqual(targetRepository, tag.RepositoryName); + Assert.AreEqual("newest", tag.Name); + break; + } + } + finally { - Assert.That(tag.Name.Contains("newest")); - break; + // Clean up + var repository = client.GetRepository(targetRepository); + await repository.DeleteAsync(); } } @@ -285,39 +330,61 @@ public async Task CanGetTagsOrdered(bool anonymous) public async Task CanSetTagProperties() { // Arrange - var client = CreateClient(); - string tag = "latest"; - var artifact = client.GetArtifact(_repositoryName, tag); + string registry = TestEnvironment.Registry; + string sourceRepository = $"library/hello-world"; + string targetRepository = $"hello-world-5{GetPlatformSuffix()}"; + string tag = "test-set-tag-properties"; - ArtifactTagProperties tagProperties = await artifact.GetTagPropertiesAsync(tag); - ArtifactTagProperties originalWriteableProperties = tagProperties; + var client = CreateClient(); + var artifact = client.GetArtifact(targetRepository, tag); - // Act - ArtifactTagProperties properties = await artifact.UpdateTagPropertiesAsync( - tag, - new ArtifactTagProperties() + try + { + if (Mode != RecordedTestMode.Playback) { - CanList = false, - CanRead = false, - CanWrite = false, - CanDelete = false - }); - - // Assert - Assert.IsFalse(properties.CanList); - Assert.IsFalse(properties.CanRead); - Assert.IsFalse(properties.CanWrite); - Assert.IsFalse(properties.CanDelete); - - ArtifactTagProperties updatedProperties = await artifact.GetTagPropertiesAsync(tag); - - Assert.IsFalse(updatedProperties.CanList); - Assert.IsFalse(updatedProperties.CanRead); - Assert.IsFalse(updatedProperties.CanWrite); - Assert.IsFalse(updatedProperties.CanDelete); + await ImportImageAsync(registry, sourceRepository, tag, targetRepository); + } - // Cleanup - await artifact.UpdateTagPropertiesAsync(tag, originalWriteableProperties); + // Act + ArtifactTagProperties properties = await artifact.UpdateTagPropertiesAsync( + tag, + new ArtifactTagProperties() + { + CanList = false, + CanRead = false, + CanWrite = false, + CanDelete = false + }); + + // Assert + Assert.IsFalse(properties.CanList); + Assert.IsFalse(properties.CanRead); + Assert.IsFalse(properties.CanWrite); + Assert.IsFalse(properties.CanDelete); + + ArtifactTagProperties updatedProperties = await artifact.GetTagPropertiesAsync(tag); + + Assert.IsFalse(updatedProperties.CanList); + Assert.IsFalse(updatedProperties.CanRead); + Assert.IsFalse(updatedProperties.CanWrite); + Assert.IsFalse(updatedProperties.CanDelete); + } + finally + { + // Clean up + await artifact.UpdateTagPropertiesAsync( + tag, + new ArtifactTagProperties() + { + CanList = true, + CanRead = true, + CanWrite = true, + CanDelete = true, + }); + + var repository = client.GetRepository(targetRepository); + await repository.DeleteAsync(); + } } [RecordedTest, NonParallelizable] @@ -344,20 +411,33 @@ public void CanSetTagProperties_Anonymous() public async Task CanDeleteTag() { // Arrange - var client = CreateClient(); + string registry = TestEnvironment.Registry; + string sourceRepository = $"library/hello-world"; + string targetRepository = $"hello-world-6{GetPlatformSuffix()}"; string tag = "test-delete-tag"; - var artifact = client.GetArtifact(_repositoryName, tag); - if (Mode != RecordedTestMode.Playback) + var client = CreateClient(); + var artifact = client.GetArtifact(targetRepository, tag); + + try { - await ImportImageAsync(TestEnvironment.Registry, _repositoryName, tag); - } + if (Mode != RecordedTestMode.Playback) + { + await ImportImageAsync(registry, sourceRepository, tag, targetRepository); + } - // Act - await artifact.DeleteTagAsync(tag); + // Act + await artifact.DeleteTagAsync(tag); - // Assert - Assert.ThrowsAsync(async () => { await artifact.GetTagPropertiesAsync(tag); }); + // Assert + Assert.ThrowsAsync(async () => { await artifact.GetTagPropertiesAsync(tag); }); + } + finally + { + // Clean up + var repositoryClient = client.GetRepository(targetRepository); + await repositoryClient.DeleteAsync(); + } } #endregion } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepository.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepository.json new file mode 100644 index 000000000000..42ca3613dc4e --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepository.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-2e3dcfe188ceef42847d5df225d83f02-dff87a159b88724e-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "ff6feea8a940057738cd81ae17ad2723", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:16:26 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-1-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9d65cd22-9dde-4c14-9052-c7198a6f38e7" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "hello-world-1-microsoftwindows10019042-net508", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "89", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-2e3dcfe188ceef42847d5df225d83f02-fce1086b9a1cf042-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "508cd146ca187c746d04d902037372e9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:16:27 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "74fbce64-b395-4032-8850-6c1f2dadc445", + "x-ms-ratelimit-remaining-calls-per-second": "165.466667" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY1NzN9.Sanitized" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "165", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-2e3dcfe188ceef42847d5df225d83f02-8890ddcc9397924b-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "d425b54cd9840dfd395b330addbc4fd9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-1-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:16:27 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "af99a6d7-ff54-4f72-a8ca-be1b0ff66f17", + "x-ms-ratelimit-remaining-calls-per-second": "165.45" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiIwMGJjYTA2Mi0wZDQ1LTRmNTMtOGJkNS1mZWFiMjBlMzNjOTUiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU2ODcsImV4cCI6MTYyNjU2MDE4NywiaWF0IjoxNjI2NTU1Njg3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0xLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.R6mrZJw7rkMC5DFcJ0n1jrsYWswkixIEbV3V9O-YGy6PW0W25qmQh16WR6wMIRIyyWF2ex7cPvmsRP8AK5b5aHro04ZhHAL3_CiqHMnRCovlmNxCQjhWd508DW33ziFIvp0l3CVznAzJ2M-c9DSkwssGzJgYa2d1dzBXGAlSZcwMInGFaI6S9MhiPb5p0RDUH9spg0Vns7R9zKCMPvPWkLCe1WCzM1bGlhufmstNV9xV5EXZnfq74pw6FxE_Jm4b4sa5noIFlNYmWB1c_KraFDFA-vQEq5boHznUpECyp-gMruL6ggk5-4Ljuav4b03QXYCKIb8mpW8ZYpKdghpyGQ" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2e3dcfe188ceef42847d5df225d83f02-dff87a159b88724e-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "ff6feea8a940057738cd81ae17ad2723", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "871", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:16:28 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "ff6feea8a940057738cd81ae17ad2723", + "X-Ms-Correlation-Request-Id": "e7d34894-a0c8-4edc-b13d-e896806c5237", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "558113e0-7059-427b-896d-131686afafe5" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-delete-repo" + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-00b27f756d8bf9459aca2eb975449a80-fef7e74049f47846-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "96561ca3a432dd6379f3923cd07401c5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "195", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:16:28 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4ab6f9c0-5c66-40aa-9170-90a2bcb5f3b8" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "120", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-00b27f756d8bf9459aca2eb975449a80-80c379c3cd641549-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "6162975b52886d9ed37e16bd966a9fb1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:16:28 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "4cc64217-d23b-4740-b475-cd5d12689b2d", + "x-ms-ratelimit-remaining-calls-per-second": "165.433333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiJiNWY2M2MwNC02MTg4LTQ3ODQtODIzZC1iMDlmN2NlN2Y3ZjUiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU2ODgsImV4cCI6MTYyNjU2MDE4OCwiaWF0IjoxNjI2NTU1Njg4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.VWLtCX2QnLX6MO337bGH3CAk_9wWxOduLyE6D6tWhG2v7YY__lmUtZ5mTM9n1F6sCRPaHd-TzbnKTdfwBxELmFUljvk1-g4_tvQsYticy0Y5Aeybt5AeRrgiQ7JkbVYFkMLxgYHg0mXC3i1t1DVD25vgrm0qIwFKn7Fl9EOE8HsYaPy-7rHP1P6ybM7M2CDG0b6wkD2p8XVL621PS9K9SccL3iU2b6wODqvQB961ZTVjprqz22UtN5bPzvU4r7GgcuTTpMCht_BLQWwJcvSH3dhpqElNIBgo_zfEtnMiK4_zF2ls0aIT4cYugosIwXIAGJABHfSLdUP0C0254hgc-Q" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-00b27f756d8bf9459aca2eb975449a80-fef7e74049f47846-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "96561ca3a432dd6379f3923cd07401c5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:16:28 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cb1def16-b7bf-4efc-9200-63f6fdf691c0" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox", + "library/hello-world" + ] + } + } + ], + "Variables": { + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "1251145055", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepositoryAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepositoryAsync.json new file mode 100644 index 000000000000..08699ede866f --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepositoryAsync.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-62ad901c41e6874f9ce233879f3525de-fc70dcc543c68041-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "c3a75f44c09b07138372b1e5e8d88835", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:12:32 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-1-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "03f78df5-8c14-40a7-b725-9a59c8637461" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "hello-world-1-microsoftwindows10019042-net508", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "89", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-62ad901c41e6874f9ce233879f3525de-b3da9ff6aa07334d-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "17aea70b7c65b86ef44e12ff30f20d81", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:12:33 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "88c044d7-c6e9-43f4-b06d-056bbe4d3625", + "x-ms-ratelimit-remaining-calls-per-second": "165.833333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzYzNDB9.Sanitized" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "165", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-62ad901c41e6874f9ce233879f3525de-939da06e7cc3b640-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "33b2fb6507e8a863e9c3178a59fc2cd5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-1-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:12:33 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "cd2fcdc4-f49f-4803-af4f-f034c741bb0a", + "x-ms-ratelimit-remaining-calls-per-second": "165.816667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiJkZGFhNTE3NC05MmQ4LTQ0OGUtYjYwMy02MWU2YjY4OTVhMDEiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU0NTMsImV4cCI6MTYyNjU1OTk1MywiaWF0IjoxNjI2NTU1NDUzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0xLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.uMzeQ6J4wP7LxTnZ5BXEWv7Yhb0LL1YPCxRTEtsaSyuO_rH7JabdKPa9_tkK_RTIUmoTQziFFB-8IGHZkYvwyXCYIebeXlB45gr52xMJWpPdD5082N3W1DIpEyPc1RhitfdJhKZ97TWeMC2UTypS79FCfWgzJTKmxW1NiryM9FQxo8GX2_56EVA-rAa-nPK5m_ulCsKzOajzC464xk8savkCzUjMdcgijudtE72HI2G06XjXh3NrdB2FL4VeJCxRLDAF9FK85tMSeLNtEAU6yoRLHphochvbt65cBhz-GQys9TMYs29Y2hlitMEEHQj_EgRD2jAtk7YPzmU_GHZATA" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-62ad901c41e6874f9ce233879f3525de-fc70dcc543c68041-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "c3a75f44c09b07138372b1e5e8d88835", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "871", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:12:34 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "c3a75f44c09b07138372b1e5e8d88835", + "X-Ms-Correlation-Request-Id": "a0ed393d-0058-4c86-9025-5e757e7a1a47", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "9338f71b-cbcf-4dd9-81c7-2a52fc64b335" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-delete-repo" + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-2a3284d8a7d66c43b936ba89a7cef99a-6c848fda1a3ec84e-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "a790f6686f43c7b7f1efcf4cad13d791", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "195", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:12:34 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c91d2dc4-62c7-4878-ad71-c739aa754a3c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "120", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-2a3284d8a7d66c43b936ba89a7cef99a-a2be0e6fd12d7a47-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "ec7f2f645526034c44062da265e35ff7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:12:35 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "f3b81afd-e55d-40b4-ae96-cab968125332", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiI2MTY0MTU4ZC1mY2MzLTRiMDEtYjA4Zi04NzZkOWE3YzA1NGQiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU0NTUsImV4cCI6MTYyNjU1OTk1NSwiaWF0IjoxNjI2NTU1NDU1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.n1-m9cAOoztg0Il2naGfaYbDd4dqg4dEci_W8YmHlxzS3ccfO00cVst_b9OmjcAFlau0mJdL3AXSF2g2jzoqOEKoKug6JID0uLS5pyJAJA7zkbVHT2yFPW2P9q2hV5ABsWBajWjpUaXpfdASxSt0HwT5Z9LJJ18_SYuuU-KjM4iznOZB80Th8NcSTwXBOttygRfa5QmHgO74UqRtaEd7y-SJPeToz2KjzCCM7k0QPuSuaR8w-mhBdbjoY77AVeqoeAF0FgzsHHq5qnA1TRYhfCT62e-SO0ruoAzialqR2DlKjGLNHlasKahNl_q0t0N51IuF25TvpiE-_dePokwYrw" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2a3284d8a7d66c43b936ba89a7cef99a-6c848fda1a3ec84e-00", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "a790f6686f43c7b7f1efcf4cad13d791", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:12:35 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "92bf6236-c4ea-4e63-8866-0960e5ffad26" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox", + "library/hello-world" + ] + } + } + ], + "Variables": { + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "991129196", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json index 6d39ba39d8ac..3187b0ff6b84 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "1fe73572d5943534949819f54f93226b", "x-ms-return-client-request-id": "true" @@ -22,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:29 GMT", + "Date": "Sat, 17 Jul 2021 19:08:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-2-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e63f3cc3-d00d-4cea-bd0f-eea3f9adaba0" + "X-Ms-Correlation-Request-Id": "03e0c98d-2800-486b-a0bd-ffe305fbdbc5" }, "ResponseBody": { "errors": [ @@ -43,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-2-microsoftwindows10019042-net508", "Action": "delete" } ] @@ -52,74 +52,74 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "96e04a25cb8802b9de8562d06b9f11c7", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:29 GMT", + "Date": "Sat, 17 Jul 2021 19:08:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ade7cd1c-dc0d-4ac1-b1d6-12879131a708", - "x-ms-ratelimit-remaining-calls-per-second": "166.083333" + "X-Ms-Correlation-Request-Id": "64c48f63-8a26-494f-9187-14cd6c61d241", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjcwOTcwOTV9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2Mjg5MDV9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "9ac319cb4fb12334692d806ada4d93c1", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-2-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:30 GMT", + "Date": "Sat, 17 Jul 2021 19:08:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "73983a9b-1b2e-4a75-9542-54446349723f", - "x-ms-ratelimit-remaining-calls-per-second": "166.316667" + "X-Ms-Correlation-Request-Id": "f81b1ff9-2157-437c-9b24-78a514bd7250", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmZDg3ZDhkOC1mMzA3LTQyYmEtYjkyNC1iMDg5YWY4YTQ2MWMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYyNTAsImV4cCI6MTYyMTAyMDc1MCwiaWF0IjoxNjIxMDE2MjUwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6ImJiYjI3YjA2LTdjNjctNDAyYy05YTY5LWYwNGFkNWE1YjI3OCJ9.RtEIgk7ETFc-QIozhw01WZJ440AcFeT0V6_UOH9GsJQyskk7Zijl6Twp82tEN6JbcJgyEMcC4corCd_SJG2vCFSTT7U4sz93MlbA2rqjEkcbkcHHurtCi2aUrQ6uuxs_cIP0SNUt_-EOE28uc3dwbEh6eV7sr2ZMR_sA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EcObCAvrHzcH0tcnQR8ZtTT5sKBJgyFlyXoP8_y98xiJecod228-TAkAhxU--BQqCZpFXq4zHBQ47e0jBOKIk-l7oz6J8eEzi-e9eO9SHPI6ObI6SyT4_2jmtrbIs9n-QM55UA3eSrMzu9BHoGk9FlVLlgdD2wbCZdbFMXDWnw5HlW-PNByNTWDXZ5Y6POi1pEnc7JDrDiOJHkuW-l-5WwqtMjiA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "1fe73572d5943534949819f54f93226b", "x-ms-return-client-request-id": "true" @@ -134,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "807", + "Content-Length": "871", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:34 GMT", + "Date": "Sat, 17 Jul 2021 19:08:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -145,40 +145,37 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "1fe73572d5943534949819f54f93226b", - "X-Ms-Correlation-Request-Id": "b804b11f-9ea4-4916-94b1-03066213dac7", + "X-Ms-Correlation-Request-Id": "3a28bf3e-04a0-4288-9b2a-aed49bba217a", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "a2960d17-cfcd-4791-ad3a-d908281b70dd" + "X-Ms-Request-Id": "e19491e5-1b50-4265-acee-672455176a78" }, "ResponseBody": { "manifestsDeleted": [ "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c", - "sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9" + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" ], "tagsDeleted": [ - "latest", - "v1", - "v2", - "v3", - "v4" + "test-delete-repo" ] } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "c41841eb2ceba7d67be5400f7264c9f4", "x-ms-return-client-request-id": "true" @@ -193,18 +190,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:39 GMT", + "Date": "Sat, 17 Jul 2021 19:08:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-2-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9051496d-5789-49a5-98c3-e9a2518dddaf" + "X-Ms-Correlation-Request-Id": "d74aa404-d20f-4c15-9768-2632a386c7ad" }, "ResponseBody": { "errors": [ @@ -214,7 +211,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-2-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -223,44 +220,44 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "3629518687cfd6ba15bd2c5a4b4f2891", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-2-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:39 GMT", + "Date": "Sat, 17 Jul 2021 19:08:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f99db98e-3fb5-46c2-8d47-31e9c49ee9c3", - "x-ms-ratelimit-remaining-calls-per-second": "166.283333" + "X-Ms-Correlation-Request-Id": "2b26bef4-bacb-41b5-a3d5-c7fc1bf48112", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmMjkyY2EzOS1iYTdmLTQzNDQtOGExOC1iYWNlOGI4YjNlNTYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhM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ZC1hNDc0MjM1NjUyMjEiLCJuYmYiOjE2MjY1NDgwMjAsImV4cCI6MTYyNjU1MjUyMCwiaWF0IjoxNjI2NTQ4MDIwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImUyZDRmYTE5YTdlZTRiYzM5MjczOTQwNGFjNTI3MzMwIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0yLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6Ijg4Nzg1NGVmLTFiMjQtNGJmNi04ZDQ2LWVhMjc4ZmQ2ZTFjZCJ9.Va9vM4587eTrhwFS-N1VII_rJifizkWETSeyX4l7uYAn4y2ugZJSLh-VPEvw5NqKdg2SEPouyHOc4f6EY02EwA0B1IWME9ye_5FmTjjRHQMcYHq529H3FuMvPkJYRGE5CvcXoZSVzXduOdUMK3oSvtOlmWO4aGpjArz7DAOvuy3Mh0j7HmHXDQ-rAV4afDeQN1I0jU0BBVTgieMPWIfn7TwksqNH6CHj_-ja6qkpm1plKBdVbKqMyLrOkZ0AWBsQV9QXdX8MRIulrgJ0WLqm8BbLAvjLIg5K1fC2BjoPfbPDhi_4IOmtvmrCpq7TFsX7f4yRTgMBEan_GLvE3IOs2w" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "c41841eb2ceba7d67be5400f7264c9f4", "x-ms-return-client-request-id": "true" @@ -275,9 +272,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "96", + "Content-Length": "122", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:39 GMT", + "Date": "Sat, 17 Jul 2021 19:08:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -285,24 +282,24 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e39748f7-bbe2-4494-962a-25ded204f053" + "X-Ms-Correlation-Request-Id": "d210b111-ff6e-49b2-9ff2-e0cdb8f9a18e" }, "ResponseBody": { "errors": [ { "code": "NAME_UNKNOWN", - "message": "repository \u0022library/hello-world\u0022 is not found" + "message": "repository \u0022hello-world-2-microsoftwindows10019042-net508\u0022 is not found" } ] } } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "887854ef-1b24-4bf6-8d46-ea278fd6e1cd", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "802153899", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json index ac10786064a6..b1617b72f973 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "268ed710fa91770ec0bc81839c329ccd", "x-ms-return-client-request-id": "true" @@ -22,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:22 GMT", + "Date": "Sat, 17 Jul 2021 21:15:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-2-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "15b97188-b2a1-4a61-96a1-a510a8d2760e" + "X-Ms-Correlation-Request-Id": "7109f3fd-320d-4991-bf80-b1608a2381b7" }, "ResponseBody": { "errors": [ @@ -43,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-2-microsoftwindows10019042-net508", "Action": "delete" } ] @@ -52,74 +52,74 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "313a4cdfeda3b3924d276ba55cca9e8d", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:22 GMT", + "Date": "Sat, 17 Jul 2021 21:15:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d1cf1e1b-95fb-4b30-98c3-10d62a461552", - "x-ms-ratelimit-remaining-calls-per-second": "166.2" + "X-Ms-Correlation-Request-Id": "ff3e8bb9-cb5c-4b7f-b747-171958e52d1b", + "x-ms-ratelimit-remaining-calls-per-second": "166.316667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjcwOTcxNzF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY1MDB9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "c5c9eadff1f788bda920362465b2b25d", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-2-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:22 GMT", + "Date": "Sat, 17 Jul 2021 21:15:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5b56c13d-e506-45a0-99c5-bfeddcdec845", - "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + "X-Ms-Correlation-Request-Id": "66cab688-37fe-43c6-b11e-dd5356da8710", + "x-ms-ratelimit-remaining-calls-per-second": "166.3" }, "ResponseBody": { - "access_token": "eyJhb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RGnq6AjqyIMMIBo-WecreMfhWQ4k0w" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "268ed710fa91770ec0bc81839c329ccd", "x-ms-return-client-request-id": "true" @@ -134,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "807", + "Content-Length": "871", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:24 GMT", + "Date": "Sat, 17 Jul 2021 21:15:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -145,40 +145,37 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "268ed710fa91770ec0bc81839c329ccd", - "X-Ms-Correlation-Request-Id": "29973e7d-2bcd-40c4-a867-6bc90a0b3dae", + "X-Ms-Correlation-Request-Id": "35fe0994-671a-4c84-ab46-acb82f3f8140", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "9171c721-a891-4d28-ae15-28011f0e85e1" + "X-Ms-Request-Id": "9098ad7a-40c7-4103-9685-7de46e24243d" }, "ResponseBody": { "manifestsDeleted": [ "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c", - "sha256:7fed95756fe4ebeb6eb1d82c2176e0800a02807cc66fe48beb179e57c54ddcf1", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9" + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" ], "tagsDeleted": [ - "latest", - "v1", - "v2", - "v3", - "v4" + "test-delete-repo" ] } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "5d616e64cecb22ce44dad8698e681af5", "x-ms-return-client-request-id": "true" @@ -193,18 +190,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:29 GMT", + "Date": "Sat, 17 Jul 2021 21:15:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-2-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "64f9334b-0b6f-4c62-b68e-d3790e1ca3f2" + "X-Ms-Correlation-Request-Id": "075ebc73-c2d5-427a-8911-3ec7bfba91cd" }, "ResponseBody": { "errors": [ @@ -214,7 +211,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-2-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -223,44 +220,44 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "b2a3f41dd769eed68fb28782b76e4e9b", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-2-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:29 GMT", + "Date": "Sat, 17 Jul 2021 21:15:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7961ce8b-75d1-45d8-885a-23c0d3599d28", - "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + "X-Ms-Correlation-Request-Id": "8d8ac75f-4213-4f15-922b-491cc1643ced", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3MGNhNzY4Zi0zMWIzLTQ0YjYtODg4OC1lODk2NTA0MDgxZGEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYzMDksImV4cCI6MTYyMTAyMDgwOSwiaWF0IjoxNjIxMDE2MzA5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjI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2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0yLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6IjAxOGFiZThjLTY2ODYtNDBkOC04ZmUwLTZlZmM2NDA4ZDNjOCJ9.PGJwECB0vRTYwl-TQRW6R5ZI25jW2RSDzk_LNP67y0A722vt0ZCawSouiX7A8U3lNUAa8KEfmSOHyxqEeMvtMYc4ZEeFgoUr1yaGMe3uDyRLPfXIlamwYfvOUifY-b82x5VOoWCGs7ob00Ejw8MFaqn3unokH4LSGJEt9rekzk4rE3Nm4tPwdjTX4UQVbEryRAW32uqdPPA0hhhV_PThNJb5fC-UGIeLyI0SjrW5tKlshW_rOPa2IPggiMmxXR5ylfex2NxcHED1JuXzzxQa0ANiE5w2hiM89LNF37QcsK1H__nluTm3ik56qgHiyVKjFYZ5bLh17Yim971bM85OvA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-2-microsoftwindows10019042-net508", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "5d616e64cecb22ce44dad8698e681af5", "x-ms-return-client-request-id": "true" @@ -275,9 +272,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "96", + "Content-Length": "122", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:29 GMT", + "Date": "Sat, 17 Jul 2021 21:15:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -285,24 +282,24 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d9c91adc-16e7-40e4-9548-5cb948eb4180" + "X-Ms-Correlation-Request-Id": "4354eb93-e925-4626-a03a-8b876b660a37" }, "ResponseBody": { "errors": [ { "code": "NAME_UNKNOWN", - "message": "repository \u0022library/hello-world\u0022 is not found" + "message": "repository \u0022hello-world-2-microsoftwindows10019042-net508\u0022 is not found" } ] } } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "534280425", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json index 4e36915f0b8b..69581803c978 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508/_manifests?orderby=timedesc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "8dfb416f5580c25587549fac82a4e907", "x-ms-return-client-request-id": "true" @@ -22,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:17 GMT", + "Date": "Sat, 17 Jul 2021 21:14:59 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-1-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8516afac-5143-4b5e-aaa0-ace6f76acd2b" + "X-Ms-Correlation-Request-Id": "dd944d53-43b9-43d7-beef-aa0e84fd0f33" }, "ResponseBody": { "errors": [ @@ -43,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-1-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -52,74 +52,74 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "dca4add40de0b7fd06ec55f4403c7d8f", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:17 GMT", + "Date": "Sat, 17 Jul 2021 21:14:59 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ea70058b-1691-4e97-a420-14c00a74c496", - "x-ms-ratelimit-remaining-calls-per-second": "166.3" + "X-Ms-Correlation-Request-Id": "a146ec78-28e5-4796-8023-20689904f8b9", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjcwOTcwOTV9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY0NTR9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "6676309f85a501d7d4c88e3a7e306262", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-1-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:17 GMT", + "Date": "Sat, 17 Jul 2021 21:14:59 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0301825b-3f5c-4031-986f-4f2f426c69ad", - "x-ms-ratelimit-remaining-calls-per-second": "166.283333" + "X-Ms-Correlation-Request-Id": "f9bf5941-89d9-4b3b-b402-73a6bf227ead", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjY2M1M2Q0Zi05MmNiLTQxZjMtODgyNC0zYjU0ZTc0Y2M5OTgiLCJzdWIiOiI2NmZjYT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jExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU1OTksImV4cCI6MTYyNjU2MDA5OSwiaWF0IjoxNjI2NTU1NTk5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTEtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsibWV0YWRhdGFfcmVhZCJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.gE4SPdAIVQnVulA1fjao-V_G1QwIqchqS6JFHc2OY5_gdksznpWU61ljiNHiqpb63aBiuFctCeKkYmObmKfc4DrIcZgRZY2B31pdsEQZCxpcmBw0wJQEUKn1g1vfeoQ_Xxtoeh1lixPfkbz84CiM7GTi86dtNdYahqfHhEhxEov6Xmct0o04TuaGWBJOhx2ZMW2GB-svogn5ZSld3RWsNYxadBiE-DK6IbrMI8qp5oIfOv0Av--scMoaoAcA02_gSFtWanB4qsXX4JwwdLDHVcDhRsTeMfH-FZTtEflCKCsofivtRopfiYK7NYY4abpDmH2MHWNjnkIe7zTMnySByw" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508/_manifests?orderby=timedesc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "8dfb416f5580c25587549fac82a4e907", "x-ms-return-client-request-id": "true" @@ -134,126 +134,33 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", + "Content-Length": "1020", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:18 GMT", + "Date": "Sat, 17 Jul 2021 21:15:00 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "37dfc3c4-9813-4419-8773-4856b48f7b9e" + "X-Ms-Correlation-Request-Id": "38312ed7-b8cd-4a87-a9f7-3c1d0e570202" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/node", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-1-microsoftwindows10019042-net508", "manifests": [ { - "digest": "sha256:f9174c3d4fc825fbaad6a4f3944ce3a8f1531ecebb65b6793ba4e43f1ed390de", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:09.0704682Z", - "lastUpdateTime": "2021-05-14T18:32:09.0704682Z", + "digest": "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "imageSize": 339619705, + "createdTime": "2021-07-17T21:14:53.3471863Z", + "lastUpdateTime": "2021-07-17T21:14:53.3471863Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:8a8efc0f5b4badf8672b85608563b79cd0943fa46776dfec11d5c60d14389dba", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:08.3265494Z", - "lastUpdateTime": "2021-05-14T18:32:08.3265494Z", - "architecture": "arm", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:5478c2b58457ff0b83877f891f774ce08669160d8186a5256b2f47e123b5261f", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:05.3187407Z", - "lastUpdateTime": "2021-05-14T18:32:05.3187407Z", - "architecture": "amd64", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:8f25d2ec17b7b4857f2675a374ba689a6a6acedc5df5de98a3e8897cacd9e03b", - "imageSize": 2215, - "createdTime": "2021-05-14T18:32:05.0176025Z", - "lastUpdateTime": "2021-05-14T18:32:05.0176025Z", - "architecture": "ppc64le", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:53a6288a4b8fea4d6ee835c633abbe1c4c32774f1b88ebadc222b1b2e65a0aee", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:04.0716496Z", - "lastUpdateTime": "2021-05-14T18:32:04.0716496Z", - "architecture": "s390x", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:fc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "imageSize": 11071, - "createdTime": "2021-05-14T18:31:50.1566323Z", - "lastUpdateTime": "2021-05-14T18:31:50.1566323Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "newest" ], - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "digest": "sha256:ea11e1551b8eacab097e49899464c91f43b8ae3f968ad6380dc853298eda5f81", - "imageSize": 2215, - "createdTime": "2021-05-08T00:09:19.424797Z", - "lastUpdateTime": "2021-05-08T00:09:19.424797Z", - "architecture": "ppc64le", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", "changeableAttributes": { "deleteEnabled": true, "writeEnabled": true, @@ -263,29 +170,16 @@ } }, { - "digest": "sha256:c63ed28e1eacdabbb45faf2f6d510568269016a8733b6b90d494d2df5c4e2bac", - "imageSize": 2214, - "createdTime": "2021-05-08T00:09:18.3296044Z", - "lastUpdateTime": "2021-05-08T00:09:18.3296044Z", + "digest": "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2", + "imageSize": 330834087, + "createdTime": "2021-07-17T21:14:32.2503227Z", + "lastUpdateTime": "2021-07-17T21:14:32.2503227Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:51801256471176616eaac513da71c093f93f008cff96d2f3755679d72006431d", - "imageSize": 2214, - "createdTime": "2021-05-08T00:09:17.8316002Z", - "lastUpdateTime": "2021-05-08T00:09:17.8316002Z", - "architecture": "arm", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "tags": [ + "oldest" + ], "changeableAttributes": { "deleteEnabled": true, "writeEnabled": true, @@ -298,13 +192,13 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "49c5318d9fd761b1434386930060814a", "x-ms-return-client-request-id": "true" @@ -319,18 +213,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "233", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:18 GMT", + "Date": "Sat, 17 Jul 2021 21:15:00 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-1-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6ae4aa31-0005-45c3-a2a4-bfd299989125" + "X-Ms-Correlation-Request-Id": "504a2dfd-9d6e-4dd4-a1fd-ad847ea4ec2f" }, "ResponseBody": { "errors": [ @@ -340,8 +234,8 @@ "detail": [ { "Type": "repository", - "Name": "library/node", - "Action": "metadata_read" + "Name": "node-1-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -349,50 +243,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "510d10d7832d4e61d5a308187fc239d6", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-1-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:18 GMT", + "Date": "Sat, 17 Jul 2021 21:15:00 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "dec94cf9-290e-45fe-bfe9-a584d8efe2b3", - "x-ms-ratelimit-remaining-calls-per-second": "166.266667" + "X-Ms-Correlation-Request-Id": "0b68f281-86ff-4829-baf4-47c0fe594b13", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlNzAyOGZkOS0zNTQ0LTQ0YjctODZ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MtYTBjMi01N2Q2MWUxMWY0N2QiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU2MDAsImV4cCI6MTYyNjU2MDEwMCwiaWF0IjoxNjI2NTU1NjAwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTEtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsiZGVsZXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.rMYklODUg0-tQ_MTCw_Ulao3zhdEf5_n6DO1zT9ScXEz4Erndmg6N19ETci0Xt7TkdFyqk7Tj9eQhlswnF2cIBSWQDOvXNS3pp4oqxzB4dr49RM3WLLYM8wVp7xDTe3dLujMF-L09UOgAq6Y55eDLUIV4JcjzrvHKCBsUqtt3xq7dAcytKmDzVM9LgeA0C3MA6oThNZyLQjyhfT_KdnSrHxdRXxcnq8hiCRdTvkcmDm7ntADfgPU2D83rbBkNrtzWvmc5y-hEXm5YULaQnKxCcXopXK30OiSHjMGUkzK9WgcFolB38HnGYys2yVoNgcUJ27NqWWKCrOSSs96BtvmHw" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "49c5318d9fd761b1434386930060814a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -401,9 +295,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "386", + "Content-Length": "204", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:18 GMT", + "Date": "Sat, 17 Jul 2021 21:15:00 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -411,153 +305,29 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3c6ba9be-bc71-4bc2-ab7c-1a946bfac9e5" + "X-Ms-Client-Request-Id": "49c5318d9fd761b1434386930060814a", + "X-Ms-Correlation-Request-Id": "c0f96584-2f39-4da5-951d-d3845aa01e64", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "f9b5fd5b-20a5-450e-8377-23e5d19d3d1d" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/node", - "tag": { - "name": "newest", - "digest": "sha256:fc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "createdTime": "2021-05-14T18:31:50.2790686Z", - "lastUpdateTime": "2021-05-14T18:31:50.2790686Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - } - } - }, - { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3Afc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" - ], - "x-ms-client-request-id": "0f66f28a3377ffb77f142261ff430173", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "207", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:18 GMT", - "Docker-Distribution-Api-Version": "registry/2.0", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" + "manifestsDeleted": [ + "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fe0fbd09-b071-44e4-bc6f-f153d8a45511" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "library/node", - "Action": "delete" - } - ] - } + "tagsDeleted": [ + "newest", + "oldest" ] } - }, - { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "125", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" - ], - "x-ms-client-request-id": "6d63434710220a34d07673349798e281", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:18 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6cb211ae-ec45-46b1-8653-96a9f5bd85ba", - "x-ms-ratelimit-remaining-calls-per-second": "166.25" - }, - "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyMThmYzY2My1hYzY0LTQ2MTgtOTE2Zi01YWZhNjA0YTI2ZjciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYyMzgsImV4cCI6MTYyMTAyMDczOCwiaWF0IjoxNjIxMDE2MjM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiYmJiMjdiMDYtN2M2Ny00MDJjLTlhNjktZjA0YWQ1YTViMjc4In0.AtN97iqQqSQ4ZyVB1Vr9ACLXdx7pKSMYt6EOEmImdOXZXr6sC9QDgCC8lwvj14fwsRCi5TkjX7xQM_PH1yAJGfBxuQowJXKYJJLcj53oQaGfzctr2FUr3AcCNadrsrGi_jLtypro4nif5_EItN_hlGJ2Z3o9RHHD0stTwkd3brwTlBkfFysKXqlk2SAkvrltlx3NijheUjlN4OkWWCL4sYKuZXUY1e2YjTJ0DnLnRgoLnp9HyoUACvhUMR8ac2Z4ie3B_boMyBVQCkB5T-b7yKmhoUxeUaFdOSKxT3XklgMzUhWL878L_tw9g6TRowJB0AybUUnEcOBeXS3HdT3mKA" - } - }, - { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3Afc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" - ], - "x-ms-client-request-id": "0f66f28a3377ffb77f142261ff430173", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "0", - "Date": "Fri, 14 May 2021 18:32:18 GMT", - "Docker-Distribution-Api-Version": "registry/2.0", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "0f66f28a3377ffb77f142261ff430173", - "X-Ms-Correlation-Request-Id": "b04bf531-869b-4359-9e3f-d531b009ac63", - "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "2e6eb3e2-7a77-4a72-abfc-ab5a46dd42c4" - }, - "ResponseBody": [] } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "5773839", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json index 779e3e045e5c..b441238c4de0 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508/_manifests?orderby=timedesc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "e855b776e7cc065cacda8538d19fce89", "x-ms-return-client-request-id": "true" @@ -22,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:10 GMT", + "Date": "Sat, 17 Jul 2021 21:15:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-1-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7544c2d9-bf09-4429-9ac2-aa0833d4132f" + "X-Ms-Correlation-Request-Id": "c656ce86-ac55-4a7d-a2c0-31aa04e648d9" }, "ResponseBody": { "errors": [ @@ -43,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-1-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -52,74 +52,74 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "0c11450d1e461c994724c0af80ef1a65", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:10 GMT", + "Date": "Sat, 17 Jul 2021 21:15:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d696a912-599b-40d0-bbc3-2f750f4fc397", - "x-ms-ratelimit-remaining-calls-per-second": "165.516667" + "X-Ms-Correlation-Request-Id": "41ee168e-1269-4725-8524-c82ed2c35779", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjcwOTcxNzF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY1MDB9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "8ed53d8bbbb5245a0baee3620a38f301", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-1-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:10 GMT", + "Date": "Sat, 17 Jul 2021 21:15:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d9406112-8069-461b-a5d3-566c1abaeff1", - "x-ms-ratelimit-remaining-calls-per-second": "165.5" + "X-Ms-Correlation-Request-Id": "cffd8e93-ece4-4001-b5a3-8debb8f23dec", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyZjk1M2QzMi1lMGU4LTQyZWYtYmFlZi1hNDY0ZmQ0ZjFlNWMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYyOTAsImV4cCI6MTYyMTAyMDc5MCwiaWF0IjoxNjIxMDE2MjkwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ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eyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTEtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsibWV0YWRhdGFfcmVhZCJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.vXSdoQvzArm_PaP_-GM8uqvR-vUxoHgDYfE1wTkOZEvherS1v8tYMmcogAZCgHjJhNaw21j8mZ38UGsfWN3c5W5tjBje2e2F7B8tQbuRPRWgsqeMoye1REwQaHvfv8tLKziuCoMIgcNo3i5vJrKAPxJbvYWmTnQ38N46kbNue7ZcEyfdBLSyxk7Rc0UOUcVMZts-jWFbKeLknxg0iZVCzhp7tP-7-W1z1NDzoRogYNXZHGUMZGTEKc0roLJAcpOdMs1g9RaCbsCWhNg01LRe8ibRXduymBZAuHFie21ede0qY4ztSGZHxE_B2fO5_iErtwTFx4rjYaJ78iNup7XL-Q" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508/_manifests?orderby=timedesc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "e855b776e7cc065cacda8538d19fce89", "x-ms-return-client-request-id": "true" @@ -134,46 +134,33 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", + "Content-Length": "1018", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:10 GMT", + "Date": "Sat, 17 Jul 2021 21:15:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f62cf69f-09d9-4c86-80d8-1a0d52c73970" + "X-Ms-Correlation-Request-Id": "0b47ec20-8835-4e5b-9a75-a22ac813fa22" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/node", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-1-microsoftwindows10019042-net508", "manifests": [ { - "digest": "sha256:fc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "imageSize": 11071, - "createdTime": "2021-05-14T18:33:02.9124852Z", - "lastUpdateTime": "2021-05-14T18:33:02.9124852Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", - "tags": [ - "newest" - ], - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "digest": "sha256:f9174c3d4fc825fbaad6a4f3944ce3a8f1531ecebb65b6793ba4e43f1ed390de", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:09.0704682Z", - "lastUpdateTime": "2021-05-14T18:32:09.0704682Z", + "digest": "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "imageSize": 339619705, + "createdTime": "2021-07-17T21:15:16.3830243Z", + "lastUpdateTime": "2021-07-17T21:15:16.3830243Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "tags": [ + "newest" + ], "changeableAttributes": { "deleteEnabled": true, "writeEnabled": true, @@ -183,109 +170,16 @@ } }, { - "digest": "sha256:8a8efc0f5b4badf8672b85608563b79cd0943fa46776dfec11d5c60d14389dba", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:08.3265494Z", - "lastUpdateTime": "2021-05-14T18:32:08.3265494Z", - "architecture": "arm", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:5478c2b58457ff0b83877f891f774ce08669160d8186a5256b2f47e123b5261f", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:05.3187407Z", - "lastUpdateTime": "2021-05-14T18:32:05.3187407Z", - "architecture": "amd64", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:8f25d2ec17b7b4857f2675a374ba689a6a6acedc5df5de98a3e8897cacd9e03b", - "imageSize": 2215, - "createdTime": "2021-05-14T18:32:05.0176025Z", - "lastUpdateTime": "2021-05-14T18:32:05.0176025Z", - "architecture": "ppc64le", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:53a6288a4b8fea4d6ee835c633abbe1c4c32774f1b88ebadc222b1b2e65a0aee", - "imageSize": 2214, - "createdTime": "2021-05-14T18:32:04.0716496Z", - "lastUpdateTime": "2021-05-14T18:32:04.0716496Z", - "architecture": "s390x", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:ea11e1551b8eacab097e49899464c91f43b8ae3f968ad6380dc853298eda5f81", - "imageSize": 2215, - "createdTime": "2021-05-08T00:09:19.424797Z", - "lastUpdateTime": "2021-05-08T00:09:19.424797Z", - "architecture": "ppc64le", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:c63ed28e1eacdabbb45faf2f6d510568269016a8733b6b90d494d2df5c4e2bac", - "imageSize": 2214, - "createdTime": "2021-05-08T00:09:18.3296044Z", - "lastUpdateTime": "2021-05-08T00:09:18.3296044Z", + "digest": "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2", + "imageSize": 330834087, + "createdTime": "2021-07-17T21:15:04.813385Z", + "lastUpdateTime": "2021-07-17T21:15:04.813385Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } - }, - { - "digest": "sha256:51801256471176616eaac513da71c093f93f008cff96d2f3755679d72006431d", - "imageSize": 2214, - "createdTime": "2021-05-08T00:09:17.8316002Z", - "lastUpdateTime": "2021-05-08T00:09:17.8316002Z", - "architecture": "arm", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "tags": [ + "oldest" + ], "changeableAttributes": { "deleteEnabled": true, "writeEnabled": true, @@ -298,13 +192,13 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "f00d3e40b52858ba1d38a1a827ad86bc", "x-ms-return-client-request-id": "true" @@ -319,18 +213,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "233", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:11 GMT", + "Date": "Sat, 17 Jul 2021 21:15:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-1-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5404fc1e-05c4-415a-98d7-499cea5f466a" + "X-Ms-Correlation-Request-Id": "f5f61b44-d55d-4231-89ed-369e511ee8f3" }, "ResponseBody": { "errors": [ @@ -340,8 +234,8 @@ "detail": [ { "Type": "repository", - "Name": "library/node", - "Action": "metadata_read" + "Name": "node-1-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -349,50 +243,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "94ac1fbf3fca51d3eaec00983b37120e", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-1-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:11 GMT", + "Date": "Sat, 17 Jul 2021 21:15:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7e1b3bfc-c7f3-4fc0-b5f4-640f53ff81f1", - "x-ms-ratelimit-remaining-calls-per-second": "165.483333" + "X-Ms-Correlation-Request-Id": "d39914c6-d1dd-4db8-92ea-d45f00c3773e", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3ZjAxYzcwNy1jMzE3LTQxOTUtYjg4NS02ODgwNjAwYWExY2YiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYyOTEsImV4cCI6MTYyMTAyMDc5MSwiaWF0IjoxNjIxMDE2MjkxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6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ZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTEtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsiZGVsZXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.cQiUiHSWiCLYnzSQJwWyEjFtzFiI28WkjTG6N5OgvaKvCKoaHvkrOk3CH0LxtAA0XnhAhJEOSN2jnJeyPO-n4USD_0ZSZEyzVnw8XDXdLVfPrILt3M6AN6teRcG1b3l9BHhcDjSEdwwjaD9Hf49G09T8EO1zO3uyYP8k1nG8qD9qjX0_G11AirnOyYQ22VYWvkgqYlyH0iV9qPAfsafU9kotJzXy6mibIWSQ1mHKMvjNoDUQfXlBiH0IDFEP1NFflp_R0FU2gaaViKwwyDi6zClzWbcawYVLNxomoEam7h3lXzRWLVEOen4smHMistuwaoEqXiMBa7W25GVJkDO94Q" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-1-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "f00d3e40b52858ba1d38a1a827ad86bc", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -401,9 +295,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "386", + "Content-Length": "204", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:11 GMT", + "Date": "Sat, 17 Jul 2021 21:15:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -411,153 +305,29 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cee8ad13-9043-4bea-a43f-52068e9b38de" + "X-Ms-Client-Request-Id": "f00d3e40b52858ba1d38a1a827ad86bc", + "X-Ms-Correlation-Request-Id": "cbe76bab-0bb2-4e10-b792-c21e79994feb", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "c3893c36-eea5-4bd6-a8b5-442dab823747" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/node", - "tag": { - "name": "newest", - "digest": "sha256:fc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "createdTime": "2021-05-14T18:33:03.0043952Z", - "lastUpdateTime": "2021-05-14T18:33:03.0043952Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - } - } - }, - { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3Afc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" - ], - "x-ms-client-request-id": "416ebf312ae2d53c837d717c1ab2fd5e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 401, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "207", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:11 GMT", - "Docker-Distribution-Api-Version": "registry/2.0", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" + "manifestsDeleted": [ + "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", - "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "45c67877-3d54-40cd-aa3d-6c4b5b555062" - }, - "ResponseBody": { - "errors": [ - { - "code": "UNAUTHORIZED", - "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", - "detail": [ - { - "Type": "repository", - "Name": "library/node", - "Action": "delete" - } - ] - } + "tagsDeleted": [ + "newest", + "oldest" ] } - }, - { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Content-Length": "125", - "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" - ], - "x-ms-client-request-id": "eba226285f8b01376abb053bb4211ce6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", - "StatusCode": 200, - "ResponseHeaders": { - "Connection": "keep-alive", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:11 GMT", - "Server": "openresty", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0f605094-7bc3-40c2-a398-79dc9f96cf97", - "x-ms-ratelimit-remaining-calls-per-second": "165.466667" - }, - "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0Y2M2ZWI2NC0xYjRhLTQwYWQtODU5Yi1mMjdjODRhN2ZkMTQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYyOTEsImV4cCI6MTYyMTAyMDc5MSwiaWF0IjoxNjIxMDE2MjkxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiYmJiMjdiMDYtN2M2Ny00MDJjLTlhNjktZjA0YWQ1YTViMjc4In0.Wgf5TgUmeDwPotA-SvrcExmJiDGesrvvBx5JgGp17_nrIGsnvAo1rdk7AWRc0U9hZFVsmrwgIVottLzdp8qrPBQjDuYQlZXVIoviuy97MY9U2TzLIoz5m1rBObnRjeZhjU6ve5V3PcJZMnVTfXWPDlR-GsVa_NlBCEzzwNRYs5lJLMPvwGmwXL8g58286WCkvBK5k8_zyQjZL-tJa3ppL1IRia3dQpOFMygt-StvCSHYDZVC44gsJBtbiRvtuyU0L8MBTZ_56fwypbrPqbz6cg_nbT1ZLl05fIiFNKQAWIn0v72fHA0JS3JyyyuQ4qhyf-ls9j-HyE9ui6D0E_5sog" - } - }, - { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3Afc7a47442a743e34050576adea835cd0fec7f3f75039c9393010b1735d42cef9", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" - ], - "x-ms-client-request-id": "416ebf312ae2d53c837d717c1ab2fd5e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Access-Control-Expose-Headers": [ - "Docker-Content-Digest", - "WWW-Authenticate", - "Link", - "X-Ms-Correlation-Request-Id" - ], - "Connection": "keep-alive", - "Content-Length": "0", - "Date": "Fri, 14 May 2021 18:33:11 GMT", - "Docker-Distribution-Api-Version": "registry/2.0", - "Server": "openresty", - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains", - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": "nosniff", - "X-Ms-Client-Request-Id": "416ebf312ae2d53c837d717c1ab2fd5e", - "X-Ms-Correlation-Request-Id": "f7517105-8c93-4561-8cc6-6e24e8c89830", - "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "76781574-aa6e-4538-b3f9-7ff7afdeab25" - }, - "ResponseBody": [] } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "152250088", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json index cef0afbb7d01..17d02d60e452 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json @@ -1,18 +1,25 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", + "Content-Length": "84", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "5010e5c3a81a414fcce238a206c8841d", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -22,18 +29,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:50 GMT", + "Date": "Sat, 17 Jul 2021 21:13:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f27bb596-116b-4426-831d-63fe647be862" + "X-Ms-Correlation-Request-Id": "fbe8d558-6c13-4cee-b2b7-e074f1af1249" }, "ResponseBody": { "errors": [ @@ -43,8 +50,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -52,79 +59,86 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "e52a90f92f59bcd183f821fcf08aba50", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:50 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d5e1cf0c-c67b-4663-92ff-1e52c59944a3", - "x-ms-ratelimit-remaining-calls-per-second": "166.216667" + "X-Ms-Correlation-Request-Id": "9d2baff1-7e95-4ff0-bcde-4ae0cfba5e1b", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjcwOTcwOTV9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY0MDF9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "94dfa8441163445da09b40968a4ddd57", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:50 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "8bc40e4d-e2b6-4b80-8dd7-8f965ae12c9a", - "x-ms-ratelimit-remaining-calls-per-second": "166.2" + "X-Ms-Correlation-Request-Id": "94b5d6cc-5eca-4f03-aa70-ca1bb7223eb4", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4NGQ4NzJlMS0xNjljLTQ5YjEtOTE1Yi05ZGQ5NzhjMTI3N2UiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYyNzAsImV4cCI6MTYyMTAyMDc3MCwiaWF0IjoxNjIxMDE2MjcwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFk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DAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.Panrq9RgPGcw5fpB4kpQWbTBCUisldtZeFQ4htLNaJXoGphOu7dIVis_l_e5AvGt8g819edYL4Eou2_QJIYmXKOthLirnA5EXSNlMRB4XoZgziSC1ZThBfcio7VQ5rt8x45SBVU_mpV_2ffWAwk_Bpp1LaHMmmXTLZPnwLDj2hJgm-tkCfDfRWJithm5TGoK-djRfmpdHvVHl48zlUmg3U8DeijQmPXidrszKFRi8idaaT537sRFBfOOiJ2p0aEP88d44cI0jzc-qCNn51-YFSOSMxxhYYXpupdSbFEEOmuKLcW8T8druEcPPOh1gT3QXdINLXzU9FW5LoJs3LHAIQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "5010e5c3a81a414fcce238a206c8841d", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -134,9 +148,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "327", + "Content-Length": "366", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:50 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -144,44 +158,37 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "af5fb0d9-960f-4fbc-8af6-9cb23985d9a5" + "X-Ms-Correlation-Request-Id": "c40f2e61-d517-43b3-ad9c-a146b4dcec80" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:32:43.4551359Z", - "lastUpdateTime": "2021-05-14T18:32:41.6370357Z", - "manifestCount": 10, - "tagCount": 5, + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-3-microsoftwindows10019042-net508", + "createdTime": "2021-07-17T21:13:26.7184879Z", + "lastUpdateTime": "2021-07-17T21:13:24.9321714Z", + "manifestCount": 11, + "tagCount": 1, "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, + "deleteEnabled": false, + "writeEnabled": false, + "readEnabled": false, + "listEnabled": false, "teleportEnabled": false } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "84", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "876ebaef5b0293011354cd2187535141", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -191,18 +198,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:50 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8c491980-3d1e-4de5-993d-067e13ad783e" + "X-Ms-Correlation-Request-Id": "4973686f-d7d0-4763-aae3-80a1700bfe99" }, "ResponseBody": { "errors": [ @@ -212,8 +219,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "metadata_read" } ] } @@ -221,56 +228,49 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "5d5de828f0e9e8b932e645beef3b3235", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:50 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ec79a20f-269a-4bbf-a51a-743e2165cfe3", - "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + "X-Ms-Correlation-Request-Id": "93c26dd6-0cbe-4bd6-b778-b4b4d47a33d8", + "x-ms-ratelimit-remaining-calls-per-second": "166.25" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwOWZiMjc3Yi00OTAyLTRkMmYtOGQyYi01MTE4ZDE3NmY4ZmIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYyNzAsImV4cCI6MTYyMTAyMDc3MCwiaWF0IjoxNjIxMDE2MjcwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc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bm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0zLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6IjAxOGFiZThjLTY2ODYtNDBkOC04ZmUwLTZlZmM2NDA4ZDNjOCJ9.QGIwJ9M7BPFeId-mkED78baHU9iFdGQWl0i47TPq4KG8C6er4f-yhoxMZkDyhpY0F-afS8xhjgQDDaen9Yg7diKS_Ub-_n7m2sMrnv4DqfP2X2QPKxnPZOM5B516rgzFy8FqTxjw6CiCKD6hHjIDXm3vJf3rt1ON9oAcJ5esgCpTq1A_Bqaf-KWpbOU59PrRyM9jrJZq7wg4aNpCEEdAeKi-PxnkeuO0GCmZiY3UctPJsr528fWTVP6W5bMjwdxue3kcmBcjFOFbrIT-1sQbS-Edjx2ago4cDu241Oh8_jFliE4R3VIkDP43TWnf46Vn0qqpmnARum6pNjbeTNgrrA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "84", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "876ebaef5b0293011354cd2187535141", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -280,9 +280,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "331", + "Content-Length": "366", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:51 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -290,15 +290,15 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7db79f50-9930-4759-880b-4424d1554349" + "X-Ms-Correlation-Request-Id": "5be26d02-adc6-46e2-9862-d42d0c7072ca" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:32:43.4551359Z", - "lastUpdateTime": "2021-05-14T18:32:41.6370357Z", - "manifestCount": 10, - "tagCount": 5, + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-3-microsoftwindows10019042-net508", + "createdTime": "2021-07-17T21:13:26.7184879Z", + "lastUpdateTime": "2021-07-17T21:13:24.9321714Z", + "manifestCount": 11, + "tagCount": 1, "changeableAttributes": { "deleteEnabled": false, "writeEnabled": false, @@ -309,18 +309,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "350cc91b321be94ea74b800f433bbd4c", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -330,18 +337,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:51 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "031bbe1b-0bab-4e0d-9d16-467d8f924a72" + "X-Ms-Correlation-Request-Id": "04d478f4-fc60-4c14-af7d-6a79369cf2ff" }, "ResponseBody": { "errors": [ @@ -351,8 +358,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -360,49 +367,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "a26efe4a7ff0ff6e0186541c1643a4d8", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:51 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b3a55a59-9b63-41f1-8bf6-fc7ef5e5aa1b", - "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + "X-Ms-Correlation-Request-Id": "f4fbf4bb-7134-4506-9744-92d88a206a4b", + "x-ms-ratelimit-remaining-calls-per-second": "166.233333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0YTdiN2RjZS01ZTUzLTRkY2QtOWRiYi1lMmQ4M2JkODI0NjUiLCJzdWIiOiI2NmZjYTY2Yy1iO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ViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU1MTUsImV4cCI6MTYyNjU2MDAxNSwiaWF0IjoxNjI2NTU1NTE1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0zLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.LcjLL7Uncpuyf0JO0vt1vz_6boMkwOrhZ9tcS_jLI3SqrU_YgiUkOb3piF9HdSzbuo7tjCl-vhRv5XR6ZpxDqE9DoZF2WqMSu9az_QQfg9Qux3R5D75-ySwreJiRuSbVjBPlT1hJGxGklYoSFyfozITTLkjR2085kqjdOJCaDNWbcinIgNOZy34m5f3wIpcfoKqxHfEsjF51tumIOFhLDL29wvM8YmkZQz-aIHDjOS8j62irpUvdBaWhV51C8_2_SVrtZCTJFzG5LlgKwr3x7rekIYU9mfTiKSbzcs328zVfgQfIhyI4e-JUIpQvkXzhSa2m5O_xjPXaT0d0HICPWA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", + "Content-Length": "80", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "350cc91b321be94ea74b800f433bbd4c", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -412,9 +426,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "331", + "Content-Length": "362", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:51 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -422,45 +436,37 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "72315159-0deb-49d9-9c51-d1324c6ea081" + "X-Ms-Correlation-Request-Id": "f458f84f-2897-4530-861f-ae23c0cb5599" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:32:43.4551359Z", - "lastUpdateTime": "2021-05-14T18:32:41.6370357Z", - "manifestCount": 10, - "tagCount": 5, + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-3-microsoftwindows10019042-net508", + "createdTime": "2021-07-17T21:13:26.7184879Z", + "lastUpdateTime": "2021-07-17T21:13:24.9321714Z", + "manifestCount": 11, + "tagCount": 1, "changeableAttributes": { - "deleteEnabled": false, - "writeEnabled": false, - "readEnabled": false, - "listEnabled": false, + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, "teleportEnabled": false } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "104", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "bd0698221b47f5259974b69d70aaa4f7", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true, - "teleportEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -470,18 +476,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:51 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6a7110ab-65c1-4cb0-99a3-40d711402ad4" + "X-Ms-Correlation-Request-Id": "34109a0b-b344-414e-bba3-07f2096bc983" }, "ResponseBody": { "errors": [ @@ -491,8 +497,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -500,58 +506,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "f073f8288fcc9b455b0d3395dd32d264", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:51 GMT", + "Date": "Sat, 17 Jul 2021 21:13:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d54d21c3-caab-4a2c-98fa-9042cd67a6c7", - "x-ms-ratelimit-remaining-calls-per-second": "166.15" + "X-Ms-Correlation-Request-Id": "de4c49c2-6fc4-4c10-af2a-5f88fdcced8d", + "x-ms-ratelimit-remaining-calls-per-second": "166.216667" }, "ResponseBody": { - "access_token": "eyJhbG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Ufm-kSYD8uAXiPDBhmj5vU6ms_7aI44Cmt5LNPrg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "104", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "bd0698221b47f5259974b69d70aaa4f7", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true, - "teleportEnabled": false - }, - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -560,9 +558,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "327", + "Content-Length": "879", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:32:51 GMT", + "Date": "Sat, 17 Jul 2021 21:13:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -570,27 +568,38 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "986ef796-b1c4-4e66-b214-6a8e2f70a00d" + "X-Ms-Client-Request-Id": "bd0698221b47f5259974b69d70aaa4f7", + "X-Ms-Correlation-Request-Id": "06fd431a-02e6-4a3e-a7db-de9d8bd2eb81", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "67681a62-591a-4908-8a2e-130be863bc52" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:32:43.4551359Z", - "lastUpdateTime": "2021-05-14T18:32:41.6370357Z", - "manifestCount": 10, - "tagCount": 5, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "teleportEnabled": false - } + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-set-repo-properties" + ] } } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "RandomSeed": "1041870530" + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "1041870530", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json index 1f0f5348d23c..3c8708e2e1fa 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json @@ -1,18 +1,25 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", + "Content-Length": "84", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "f959e875a8dabeba67d058ba51a93d35", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -22,18 +29,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:40 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c177c135-8123-4727-aa52-586c6ebd464b" + "X-Ms-Correlation-Request-Id": "b15e849c-5a05-4554-b6bc-d281227a8993" }, "ResponseBody": { "errors": [ @@ -43,8 +50,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -52,79 +59,86 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "5c8f81327e894d0d3738a1c590821969", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:40 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "674b5cf2-d517-47db-a530-30c4ce6259aa", - "x-ms-ratelimit-remaining-calls-per-second": "166.016667" + "X-Ms-Correlation-Request-Id": "10e86493-043f-489b-94c5-8f7349b0efb6", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjcwOTcxNzF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY1MDB9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "1185a4c12e68687671c1748c8a6aece1", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:40 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f57d0f7b-1ad3-40f2-a309-f9d7dcb7159e", - "x-ms-ratelimit-remaining-calls-per-second": "166" + "X-Ms-Correlation-Request-Id": "f1f877fc-bca8-4e34-9314-7fd17996ce69", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0YzJhYWU3My02NGUwLTRmNWQtOGY4ZC01Nzk2ZDY0OGQyMzEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYzMjAsImV4cCI6MTYyMTAyMDgyMCwiaWF0IjoxNjIxMDE2MzIwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiJiYmIyN2IwNi03YzY3LTQwMmMtOWE2OS1mMDRhZDVhNWIyNzgifQ.X0oIXXOesNiHR2qd9RrgW0AMdqn9VYhOiHedLcZRo53NyTXxO8IIpoB0-DL2J0NooMMmUfQA8NbtTrJT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JIzq2B3xsY2QZtakI0qfA5Uabq2lwyjhhxXC-mrX6QmVNMxkdAR7a7lmAf7Hr50zTZ5haZF6JhjZ3yssXMByYkKDXsWVlnAoDenxANnOhceTmdlL1VhaFFBIWKL0J7Nc5yKxD03XVDSK-n6LmKIrFks2skJkce7QNQ_TleEvl_eLW53b2ee3IDfgO2YzqHCBVfPfkmjawnmEENp_80cbL6btd_9VS70onJ3G_LxB5hCI8hcjyKWbKzoo_PB2XeNlZKFHdcsdz5v6Oh-6RB7ra3LadLkT88-6_v-xQgWDVPlgDF0QWvdRQwkyfLmH9g" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "f959e875a8dabeba67d058ba51a93d35", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -134,9 +148,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "327", + "Content-Length": "366", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:40 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -144,44 +158,37 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "468f6b69-a590-4f9f-8340-d9172a25091e" + "X-Ms-Correlation-Request-Id": "f5acaa10-6131-456c-9ea3-5e19578bd9f4" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:33:33.4209185Z", - "lastUpdateTime": "2021-05-14T18:33:34.0909814Z", - "manifestCount": 10, - "tagCount": 5, + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-3-microsoftwindows10019042-net508", + "createdTime": "2021-07-17T21:15:40.7591547Z", + "lastUpdateTime": "2021-07-17T21:15:39.0763571Z", + "manifestCount": 11, + "tagCount": 1, "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, + "deleteEnabled": false, + "writeEnabled": false, + "readEnabled": false, + "listEnabled": false, "teleportEnabled": false } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "84", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "1beac7e18158f7f2db0cc1a106f42de5", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -191,18 +198,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:40 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5af2481a-a78f-4ca7-8998-a9a23e8251e3" + "X-Ms-Correlation-Request-Id": "188f83b6-906f-4b94-94b2-2db8450812f9" }, "ResponseBody": { "errors": [ @@ -212,8 +219,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "metadata_read" } ] } @@ -221,56 +228,49 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "adf8eeb62c2303cd0b26ebc70a81c2cd", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:40 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "09e67ac8-f6e5-488e-b217-16e4d9adbe3e", - "x-ms-ratelimit-remaining-calls-per-second": "165.983333" + "X-Ms-Correlation-Request-Id": "9724c405-4cec-45bd-9111-0b0ad86fd0b5", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyY2QwZDMyZi04NjMyLTQ5NzktYjc4Yi0zZTJlYzdlNmRlNzgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYzMjAsImV4cCI6MTYyMTAyMDgyMCwiaWF0IjoxNjIxMDE2MzIwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwi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sZC0zLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6IjAxOGFiZThjLTY2ODYtNDBkOC04ZmUwLTZlZmM2NDA4ZDNjOCJ9.s9FgtzDOFGQWR0MRJ-r7-cPIX6hNZzTLyJOjMpu_lOJVFG3o_HKyvapIrU7flagGkXrLXbCv-GqRs4Db7jdgo0y03xGZbvccL3QKn6de-0Y11xp_VIwHe4LiYvCaQg_6L6TEaaA70r8o2aKQiphuUN5IY11R59qRQS52jCyf3UFuFoWuzpeD2yUGjFgwDQe1eCVRkfSzxmE4l7r6_21QLYnbTr9P7cFHEHK7qC_ZJiyYT1IBeoJ-Z395tcu19czRG51jT_YVi1xOORS8DKb1MfGPfx6pNa7cMaBuTQHuZZUcGtbx-d-kfOM5HbuOgKW74HIjroGdq4PrdyLxeLz39g" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "84", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "1beac7e18158f7f2db0cc1a106f42de5", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -280,9 +280,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "331", + "Content-Length": "366", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:41 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -290,15 +290,15 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6afb8db0-5372-43b3-9384-b1e969d19ee9" + "X-Ms-Correlation-Request-Id": "14002d82-3ac2-4ea4-b95c-3ff1b8bdd800" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:33:33.4209185Z", - "lastUpdateTime": "2021-05-14T18:33:34.0909814Z", - "manifestCount": 10, - "tagCount": 5, + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-3-microsoftwindows10019042-net508", + "createdTime": "2021-07-17T21:15:40.7591547Z", + "lastUpdateTime": "2021-07-17T21:15:39.0763571Z", + "manifestCount": 11, + "tagCount": 1, "changeableAttributes": { "deleteEnabled": false, "writeEnabled": false, @@ -309,18 +309,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "c9e4bf4cfe974011b18e365b6dd5617c", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -330,18 +337,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:41 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fe96fdb1-2aaa-4bcb-9c1e-7ff794049987" + "X-Ms-Correlation-Request-Id": "6fa98254-29ec-46b9-a918-fb25aa24954a" }, "ResponseBody": { "errors": [ @@ -351,8 +358,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -360,49 +367,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "9cd58e943e71b5befae61031952bec59", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:41 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "293a171f-66fb-4f3f-a6af-911c7d75684d", - "x-ms-ratelimit-remaining-calls-per-second": "165.966667" + "X-Ms-Correlation-Request-Id": "84066e20-64ac-4c54-b0df-084d146501a0", + "x-ms-ratelimit-remaining-calls-per-second": "166.15" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmNGJmZDNiMS01YjM0LTQxODUtYTVhYy05MjJmMzQ4OWZkMmUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjEwMTYzMjEsImV4cCI6MTYyMTAyMDgyMSwiaWF0IjoxNjIxMDE2MzIxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLml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yZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0zLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.FGW2aC_yvh9h4znYz0CZuYfKjryIApxX7lhmahkI2KIlENfOI2DMDMP-MLyXzllrf2n00ixgB5IGqjSQ9gt5PGsRhFduILPH9CzfwfaJL9GelT_ZyNEDzAl6Uqkn5BEnSm1M0g7wK1Iqrbu4dSZ1r6ul57RhmBrGdWINhBo_Xp3Nl2MJ4MXOKtjDLooDi0Wo7gITfK9QeSej_LfUXF2NZtqkNp1PTGrWjSUX-1s0N2zIUmsZidXsqqA7EHA92Kwtfgga_IlCKZ3Ucb6gs-zzC4HygpNBE1a5ogXyzhilfxRFpNfiXNiXQvnjqRU_4MGLqo5NG8Fy5l6OM4qwaCvnCA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", + "Content-Length": "80", + "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "c9e4bf4cfe974011b18e365b6dd5617c", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -412,9 +426,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "331", + "Content-Length": "362", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:41 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -422,45 +436,37 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ef2809a4-f553-48b3-916b-6cc3e3150d7e" + "X-Ms-Correlation-Request-Id": "d542c0e7-d7c7-4be1-a6e4-697da60ef89a" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:33:33.4209185Z", - "lastUpdateTime": "2021-05-14T18:33:34.0909814Z", - "manifestCount": 10, - "tagCount": 5, + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-3-microsoftwindows10019042-net508", + "createdTime": "2021-07-17T21:15:40.7591547Z", + "lastUpdateTime": "2021-07-17T21:15:39.0763571Z", + "manifestCount": 11, + "tagCount": 1, "changeableAttributes": { - "deleteEnabled": false, - "writeEnabled": false, - "readEnabled": false, - "listEnabled": false, + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, "teleportEnabled": false } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "104", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "4655f34a6310b84dddb8fb94f5719636", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true, - "teleportEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -470,18 +476,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:41 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-3-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4264f788-c7f5-442a-9b40-8b7d37468f9a" + "X-Ms-Correlation-Request-Id": "bbbf4d28-e536-4a6e-980e-b5bb41695c96" }, "ResponseBody": { "errors": [ @@ -491,8 +497,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-3-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -500,58 +506,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "7b336ec426ac0d5c012ecfb1eedfaa86", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-3-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:41 GMT", + "Date": "Sat, 17 Jul 2021 21:15:48 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fdadf148-f360-4cfc-8a28-b1f87f05521c", - "x-ms-ratelimit-remaining-calls-per-second": "165.95" + "X-Ms-Correlation-Request-Id": "58665c96-8841-4d14-ac45-a39210e206de", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4ODlmYWRmMS0wOGEzLTQ0ZGQtOWU1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DQ1YS05YmUyLTRjOTgtYjUzMi01NzQ3MDNmOGViYWUiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU2NDgsImV4cCI6MTYyNjU2MDE0OCwiaWF0IjoxNjI2NTU1NjQ4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC0zLW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.Z4cnbf79iLJ2cgzYL1yk6TvQlAq4wPPPKUB4IKjqFXX12Cfw6edP1qJnLhdsS71AqbLB6hLFaVsYl0O43Zr7aEIR-KMq3rzown4YAw8hrNJw9bnYNtENEVxQA97WetFknCnf8FluB5GKgWlYcvMTC9pm0c3NfJWr3AFPPqSvYbd9Cd81bNIAXakTWNHPXcWiixy7BpW6GT4qsLjKnDSMxiwBBA4wL6jrd-F4l-48fedVYQr8xak4EoNYBlVvUKoqgsrmF9arcFXr1soPJbi-wnYJckGvzUKyCTJ_g8f7nPCpXx7o5TunrTigvYDxOPrlmN9Tw7TWxd0sqNHx_TwqPA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "104", - "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210514.1", - "(.NET 5.0.6; Microsoft Windows 10.0.19042)" + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" ], "x-ms-client-request-id": "4655f34a6310b84dddb8fb94f5719636", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true, - "teleportEnabled": false - }, - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -560,9 +558,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "327", + "Content-Length": "879", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 14 May 2021 18:33:41 GMT", + "Date": "Sat, 17 Jul 2021 21:15:50 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -570,27 +568,38 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "67647f59-38ec-47f3-bf47-5ef616b5d693" + "X-Ms-Client-Request-Id": "4655f34a6310b84dddb8fb94f5719636", + "X-Ms-Correlation-Request-Id": "de2f4dd1-b540-4689-9b46-fb0a7dac160a", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "145368ef-4a7b-4494-bc0e-ebf13f3b005b" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "createdTime": "2021-05-14T18:33:33.4209185Z", - "lastUpdateTime": "2021-05-14T18:33:34.0909814Z", - "manifestCount": 10, - "tagCount": 5, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "teleportEnabled": false - } + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-set-repo-properties" + ] } } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "RandomSeed": "181583018" + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "181583018", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json index a51e0beb9e23..c1ac32f01fe7 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifact.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_tags/test-delete-image", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "e537c108b0acb5d57b1757f3cfe9da6a", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:12 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cea1465c-ec97-48c3-9754-5252c6b02b56" + "X-Ms-Correlation-Request-Id": "889f0de1-bad8-44f4-b89b-419e2b535d54" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-2-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "0ef9c40e0708919412fe0aa520d3d3f4", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:12 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e8dfdf29-3f41-4e37-8f43-7bbd951ae13d", - "x-ms-ratelimit-remaining-calls-per-second": "165.483333" + "X-Ms-Correlation-Request-Id": "d73772b7-0869-4558-81a4-8ebefe825978", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY5OTd9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "6eb4ec98abda71ff12a74ef3bc4b15c5", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:12 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "33247abf-c073-484d-a39c-13bf24403767", - "x-ms-ratelimit-remaining-calls-per-second": "165.466667" + "X-Ms-Correlation-Request-Id": "a40b51c3-3f1b-46bb-9eea-a3b8f683854e", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiI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+ "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_tags/test-delete-image", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "e537c108b0acb5d57b1757f3cfe9da6a", "x-ms-return-client-request-id": "true" }, @@ -122,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "395", + "Content-Length": "432", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:12 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +144,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a1cb59cf-171d-45e5-80c4-0a6af8f9e356" + "X-Ms-Correlation-Request-Id": "94647c75-7d66-46ca-b1ed-bc77018aa74f" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/node", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-2-microsoftwindows10019042-net508", "tag": { "name": "test-delete-image", - "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", - "createdTime": "2021-05-10T15:40:05.010916Z", - "lastUpdateTime": "2021-05-10T15:40:05.010916Z", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:23:47.6189886Z", + "lastUpdateTime": "2021-07-17T21:23:47.6189886Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +165,14 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/v2/node-2-microsoftwindows10019042-net508/manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "617b5f8d6ce000312ca5d3aea53095a8", "x-ms-return-client-request-id": "true" }, @@ -171,18 +186,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "207", + "Content-Length": "233", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:12 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ebd65b0e-70d6-49b9-82c1-b12950d84a00" + "X-Ms-Correlation-Request-Id": "ce869eb0-2f0b-47cc-bb6c-67c43c697e66" }, "ResponseBody": { "errors": [ @@ -192,7 +207,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-2-microsoftwindows10019042-net508", "Action": "delete" } ] @@ -201,39 +216,45 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "125", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "e25a63446c346390c588fc60b9a1d4c7", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:12 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "07397c36-2445-43b3-9e87-efcf16e3e70a", - "x-ms-ratelimit-remaining-calls-per-second": "165.45" + "X-Ms-Correlation-Request-Id": "a235efdd-77e8-40a6-a87c-88e67f090653", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNC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OTDI1In0.eyJqdGkiOiIxNjE1OGZjOC01MDhjLTQxNmYtOTE5NC01MTg0MjY4ODI5MjQiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxMzUsImV4cCI6MTYyNjU2MDYzNSwiaWF0IjoxNjI2NTU2MTM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTItbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsiZGVsZXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.qDgViZxcrmj5DbYaQo1QWAcHTkKtkQM1yQhqqfRuit9tVMwOnPIowYKUD1QUEt09bo2PDS1usMJxXxX6Wu1Nn7EkNZ9EVE4-UKKuAFpBNhnVamccwACByQl6HYP4NRAC92NIAXbGsZPJ6_S8HGIp46_INAfoymCrYPAhMnkdyf0Nzx0AasZy0EL14SDceke25sP7rotFmd8cerNVLgVwFSIsJYvM4MqC2vumgihse3Vllapc-3aleSsNBq_VF0pgYztj9O67--rLZbtq2f5vHcHZPQ_B1Ehq7A8RASX6XFu1_MjMmM2RSM-ACLNHgWCT8RU7IVWlVZR-On8LLZtujA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/v2/node-2-microsoftwindows10019042-net508/manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "617b5f8d6ce000312ca5d3aea53095a8", "x-ms-return-client-request-id": "true" }, @@ -248,7 +269,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Mon, 10 May 2021 15:40:12 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,18 +278,21 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "617b5f8d6ce000312ca5d3aea53095a8", - "X-Ms-Correlation-Request-Id": "93ca3f32-126c-4109-86fd-c1da472bd070", + "X-Ms-Correlation-Request-Id": "04a3e21f-20ca-4d67-b7c6-cf61253a3a5b", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "17e95e33-14ec-4152-b4e1-a67a7ecef369" + "X-Ms-Request-Id": "90af9bb0-ad80-4d01-be29-d5c54996c02a" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "c01745e872572c13bbb44235d750cce1", "x-ms-return-client-request-id": "true" }, @@ -282,18 +306,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:17 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5eaba9cb-d15e-495c-8cff-acdd9d37d1f9" + "X-Ms-Correlation-Request-Id": "1493e2b7-0de1-44c4-b16a-1d5299c3e911" }, "ResponseBody": { "errors": [ @@ -303,7 +327,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-2-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -312,39 +336,45 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "59afa51133f02190cf189b5870d0478b", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:17 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "17aea438-6cea-427c-aa0b-29cfb03956df", - "x-ms-ratelimit-remaining-calls-per-second": "165.933333" + "X-Ms-Correlation-Request-Id": "933736b9-cc85-4fc9-86a2-ff3935a6b57d", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI5NDZiNzYyZi04MDJhLTRmN2EtOTgwMS1kZDIyZmQ5MzI0ZTMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMTcsImV4c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ZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTItbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsibWV0YWRhdGFfcmVhZCJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.k6GuopDgLI2GZ69EJUTWtCMsMa1UEvRIuI3hO6i-TlAlnwdlP-tVD73isOpOIwYmHN1T47evHM0n9Me8WlmX5goblhJWp0q297CnEts1YD9xAa57t1Ov5BUZC8YboJLTTTr4-aNh2oAfcN9nrQMcanNJLSHHwXaZtWaaXnFNMnI58mF8kKMxoWFmIaHzVUWGze-e8phmshosiEJNzrjj_8WP_wBoJmuwRj3Wdf2cl-ACkM5oYtwpiallNa1nBXJGgpBlakAQZmyacoMFb1B44_ADVkAdqmSrZdMNBv7CKkdiIAVO0AYuuw-gDMUK3PFyR_EoRNaUHjaXB4qM0ZtJ6Q" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "c01745e872572c13bbb44235d750cce1", "x-ms-return-client-request-id": "true" }, @@ -360,7 +390,7 @@ "Connection": "keep-alive", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:18 GMT", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -368,7 +398,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1376c143-a75b-455a-acf1-501dbaf47751" + "X-Ms-Correlation-Request-Id": "8e8f8739-240e-47a5-9632-3dc318ba8fde" }, "ResponseBody": { "errors": [ @@ -378,14 +408,144 @@ } ] } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "5fc50cd0d418d2514f2e2780295b8b74", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "233", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5736058b-1815-4d75-9908-d87039e4bb2f" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "node-2-microsoftwindows10019042-net508", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "158", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "134e1abc7af2b5d6b5f6f13fd6bbbcea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:23:55 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "360a8d21-bc86-4ee1-bd08-0396dd627e98", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiJkZjc4ZTBkYS0xZTU4LTRlM2ItODdiZi0yZGFkNTE0ZTUyNDAiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxMzUsImV4cCI6MTYyNjU2MDYzNSwiaWF0IjoxNjI2NTU2MTM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTItbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsiZGVsZXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.OBNex8z_BB096WdvaCDenwgB9cyWekJLDFS_eC0EWidbhh1zqZiqintLeh9isOgZlK8ONEEF1nZTywwifnduNxVEsQmkx_WJskoRI-cYikjK1SjyyT3rIKE8luzOzxJe8NfNsS1qE27t4R9K5QkgEq_3eQyy2Wm92MhEJKruUm0CmJf5nzbOGAyhMj28hlJ77NjKlMY5yP1NX_BkSa38DP1ITMgFgJj_O2m8siN09aeUb8hVs_R-lkE8IYVeKwdGTinOOGiVEDHLK3qS4Lozc6GtacHZcTo6u36D1V7f3Lv1z00b5lq_qhDGivMXqHosUB5fuwSXiJ5PTIvEJsfUgQ" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "5fc50cd0d418d2514f2e2780295b8b74", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:23:56 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "5fc50cd0d418d2514f2e2780295b8b74", + "X-Ms-Correlation-Request-Id": "7bbc58a6-fa96-495e-bf31-96c44ada3e09", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "7.000000", + "X-Ms-Request-Id": "0a5252ae-f025-457b-ac5b-fc94ac8a1185" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "sha256:782f1f3f50e4dd930e43f0f7238902c7a04fecbda9c2d539a5643317ddd9ede4", + "sha256:8ae9d9a95e56e50cbdb536b58876976fb83f0efb8aafdc64832635fac3b7e50f", + "sha256:a7e1efe98a308e646d256b7e51ac2bfbb8f961e6c85a351777984da3b8c1daee", + "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2" + ], + "tagsDeleted": null + } } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "2102937882", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json index b2790fdb89de..c07772853f92 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteRegistryArtifactAsync.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_tags/test-delete-image", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "817b7ad148acb0a3cb308ed2244d0ef2", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:17 GMT", + "Date": "Sat, 17 Jul 2021 21:19:56 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4668d7d0-0dc5-407e-947f-e28656b9ce61" + "X-Ms-Correlation-Request-Id": "b4a2b2e7-22f2-470c-b52f-1d9bdd2be747" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-2-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "653ab27a9dc4ed45c760f61105e26ce9", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:18 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "cd9f9605-2e43-496a-932d-18fa3d5b7e98", - "x-ms-ratelimit-remaining-calls-per-second": "165.683333" + "X-Ms-Correlation-Request-Id": "8a652674-ee47-4333-b99f-27796fd08bfd", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY3MDV9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "974df359cd63681264cb3418ecc4cb1a", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:18 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ef782843-6e17-40b7-852e-9ef0ceffd67a", - "x-ms-ratelimit-remaining-calls-per-second": "165.566667" + "X-Ms-Correlation-Request-Id": "ab47fa0e-3986-4b3c-8636-c2e469e51e66", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwNDBkZWY2Mi04YTMyLTQ5OTAtYTkxNC00Y2VmNGQ5NDQ1NTgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNzgsImV4cCI6MTYyMDY2NDg3OCwiaWF0IjoxNjIwNjYwMzc4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.f2-2iGFirc7CkUgACT6sBiH1csIoHfXKbjlkxVHeCSp_D9za6ynrs5udzycfDovJLeDbbrFRhkWCtjpj5Et5_YbRQ_T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tyT5r8pXULnoKU-p7qMgw0tsjeZq25tt6oTH8_X1Zwns_ron5LNM7UD62k7AuiYDqoH77XL9vVu6VzVmcepR4LUWhqe7hGggikj8WvncgSQsCTdp4VMbU3uBY2zM-3_uekXE6V6Ma9wJdacoAuF6jns82CDxGpHz_et8rCEZ4Nxka0DKH0Gv3X651jvfR43d_o9EeiH_aVYMQ34CyxK6ihQGjLPDxz_CzeuufYlFup3L5WwVasek1jP5QdXxf8U2VE9dljjOEvUZyebNxt_foF4t91n7Im9xzvKg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_tags/test-delete-image", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "817b7ad148acb0a3cb308ed2244d0ef2", "x-ms-return-client-request-id": "true" }, @@ -122,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "397", + "Content-Length": "432", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:18 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +144,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "acb373e5-3397-479b-b094-c007c9d7dddc" + "X-Ms-Correlation-Request-Id": "244044e8-a43c-439b-aa7a-86124bed8e20" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/node", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-2-microsoftwindows10019042-net508", "tag": { "name": "test-delete-image", - "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", - "createdTime": "2021-05-10T15:41:10.3704668Z", - "lastUpdateTime": "2021-05-10T15:41:10.3704668Z", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:19:49.7661185Z", + "lastUpdateTime": "2021-07-17T21:19:49.7661185Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +165,14 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/v2/node-2-microsoftwindows10019042-net508/manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "a370bf43862d33bd348eba4c5291abe8", "x-ms-return-client-request-id": "true" }, @@ -171,18 +186,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "207", + "Content-Length": "233", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:18 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "89e71f8f-c36e-433d-862f-ece01acf6027" + "X-Ms-Correlation-Request-Id": "b1541f45-2acc-4600-95c6-742411a5b494" }, "ResponseBody": { "errors": [ @@ -192,7 +207,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-2-microsoftwindows10019042-net508", "Action": "delete" } ] @@ -201,39 +216,45 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "125", + "Content-Length": "158", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "3079a5c47700ad8f9fd100f9692d0003", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:18 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "eb7dedfc-42aa-4f34-bd21-e1b4878fa86b", - "x-ms-ratelimit-remaining-calls-per-second": "165.55" + "X-Ms-Correlation-Request-Id": "c54ae752-2f43-4298-b892-d9a6d27b7da7", + "x-ms-ratelimit-remaining-calls-per-second": "166.25" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiNDRiMWJlOS1jNzZhLTQzMTItYmJmMy1iY2NlMGZkY2RjMGEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNzgsImV4cCI6MTYyMDY2NDg3OCwiaWF0IjoxNjIwNjYwMzc4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.Ibg9LEqIg98PI4Hjks4boHR3VfV3P3XjzLXIfQJMJhbWDeAF6vj03GW6cPWTcV34ruv5NNupM1Di3eCOtxn4aWbpUErCJaI2AnfbktffE5oGhm-5-ucVflR9DhU75qkHEJi9tKcf0OH9ygn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Aobt0X0KOYZyoyTfKW1nSSRLTdMPzNcUSrwLQJ2xIpoSFjTe4ykWcUwg3r81JVYZkNem8hqoxZBlLdt9nz-X4KVgAHq8OZJ_bCKJANlmBlvwuhSX67wdRm0U1pPBfdWVVP46i4I9DYk3xauOEO5Fzr_qRh-yCgcnlT512RDTN9t6cd2en7LEGyTetqEaE4JHqfLAqf2bGE1Y_pdANRJhnHVXcyyqCHuNw" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/v2/node-2-microsoftwindows10019042-net508/manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "a370bf43862d33bd348eba4c5291abe8", "x-ms-return-client-request-id": "true" }, @@ -248,7 +269,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Mon, 10 May 2021 15:41:18 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,18 +278,21 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "a370bf43862d33bd348eba4c5291abe8", - "X-Ms-Correlation-Request-Id": "f6308ddc-1341-4736-adcf-9d3e1dfd6500", + "X-Ms-Correlation-Request-Id": "a02ab01e-5e01-48e7-a689-3e0a58a3822a", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "0ac22b70-857c-434c-873c-bdf1c2ee7439" + "X-Ms-Request-Id": "f02abbad-15bb-4ad3-bd10-47655640386a" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "46cddb94c871d2bb351962d513c616d2", "x-ms-return-client-request-id": "true" }, @@ -282,18 +306,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:23 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "59a7adcb-5c70-41f2-a5eb-abdf3fc6327c" + "X-Ms-Correlation-Request-Id": "3875c60e-81c9-430a-b702-2af9e5e17413" }, "ResponseBody": { "errors": [ @@ -303,7 +327,7 @@ "detail": [ { "Type": "repository", - "Name": "library/node", + "Name": "node-2-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -312,39 +336,45 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "46534b209a4bcc1a30c3035c85c4c907", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:23 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1de8cbd1-111e-4feb-825c-b909fd857b3c", - "x-ms-ratelimit-remaining-calls-per-second": "165.533333" + "X-Ms-Correlation-Request-Id": "011f7448-49b3-4d8b-9ba2-11ebb0b25c89",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MsFQuRFB9Vpfn9mHh5iwaLzWqVIEQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508/_manifests/sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "46cddb94c871d2bb351962d513c616d2", "x-ms-return-client-request-id": "true" }, @@ -360,7 +390,7 @@ "Connection": "keep-alive", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:24 GMT", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -368,7 +398,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c65ba065-8cf6-4e2f-af32-d9c1ee12cad8" + "X-Ms-Correlation-Request-Id": "4c5b7586-2c85-49cf-b90d-1c62a3660019" }, "ResponseBody": { "errors": [ @@ -378,14 +408,144 @@ } ] } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "76b7b78d64c4fb77eaa6fae614b99ad9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "233", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-2-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9bdaf4d6-0956-4cfc-a2c6-0f02b010f2db" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "node-2-microsoftwindows10019042-net508", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "158", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "1dd82ebbbad9fab7c10016adc45e4c71", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-2-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:19:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "55a57352-112c-4b1f-a8d3-c70aa7bffd2b", + "x-ms-ratelimit-remaining-calls-per-second": "166.216667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiIzZTY5MjczZC1kZTA3LTQyYmUtODY2Ny02OWNhODFmZGQxODQiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU4OTcsImV4cCI6MTYyNjU2MDM5NywiaWF0IjoxNjI2NTU1ODk3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTItbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsiZGVsZXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.D2qmYK7oms8k-d1Fes9oVR8mceS_3hXULn3Pptw7St6a4oJRWLIXctAzf3wOieG6puzDuajKs8Hz2FHieqt84MdSImcBn0ltnonDegwfXsuw2a6voDI_jf5nsTBEYVQ9IpQY98aRH3O28cfkYNVlPir1mCo0fzZ1qqC751vIlco_R2RE2A4cHmX-q7uqBxSm-FE5hJ78NXkcs-6tWu-ZfDR5-nnYp3wLe6TN69E4Z__Y1URp17Xd-gXxC7QneKDJr-maDw0cLH8UIhXkdv0MqQPaQLGT5p4scFs5uwLjGRtmlAEhLpfZQ1MGO4RQajRzXMoCYS9FYnQ0oE13xNELAw" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-2-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "76b7b78d64c4fb77eaa6fae614b99ad9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:19:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "76b7b78d64c4fb77eaa6fae614b99ad9", + "X-Ms-Correlation-Request-Id": "25c72a2e-5325-48d5-9d9f-d272cfcb4a92", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "7.000000", + "X-Ms-Request-Id": "f7eaa862-7566-4a4b-b95a-cbb1ba426fb9" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "sha256:782f1f3f50e4dd930e43f0f7238902c7a04fecbda9c2d539a5643317ddd9ede4", + "sha256:8ae9d9a95e56e50cbdb536b58876976fb83f0efb8aafdc64832635fac3b7e50f", + "sha256:a7e1efe98a308e646d256b7e51ac2bfbb8f961e6c85a351777984da3b8c1daee", + "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2" + ], + "tagsDeleted": null + } } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "877719490", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json index e2723297fcc6..d6669666764d 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTag.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "1d9fa790f95f011b0fcfe69c784c6916", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:28 GMT", + "Date": "Sat, 17 Jul 2021 21:24:07 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-6-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f89943f3-3d59-450b-9fc0-abcd3bef896f" + "X-Ms-Correlation-Request-Id": "5f680569-6a4d-4bab-8ec3-2afe7998776a" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-6-microsoftwindows10019042-net508", "Action": "delete" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "a57042dc50ad4b370e80bfe128ea1b17", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:29 GMT", + "Date": "Sat, 17 Jul 2021 21:24:07 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "61d771e6-9a0a-4310-acee-b5c744b0d859", - "x-ms-ratelimit-remaining-calls-per-second": "165.85" + "X-Ms-Correlation-Request-Id": "156d7f21-db6b-44b7-990c-3bb49efae185", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY5OTd9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "df663b0fd5827062abf90f5ffa52c73d", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-6-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:29 GMT", + "Date": "Sat, 17 Jul 2021 21:24:07 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "44190c12-081f-43b0-825e-5f89f0c83b48", - "x-ms-ratelimit-remaining-calls-per-second": "165.833333" + "X-Ms-Correlation-Request-Id": "2c3a55d9-ec30-4046-9443-3973a886213c", + "x-ms-ratelimit-remaining-calls-per-second": "166.15" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkZTk2NGNjOC1kYzI3LTRlMDUtOGJkOS0zZmY5M2U2YjA5NDQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMjksImV4cCI6MTYyMDY2NDgyOSwiaWF0IjoxNjIwNjYwMzI5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjE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2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC02LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.IGi_rkUAyzF5eGcP5dF8cW28cpTW9uhAtkIwMY7PqYSY63Z9VJodqTG3RDFW3zGmParKUDaOc1pAmKitmlos7jjh1033MYX9O0LrmsPQvZltzCFblfVSMepDbAzNh3CGOWylnPzljoTQIDG-_iyAvjh4w3Ir5aZaqfwpWpXkPJoRuf2Sw_85m39673VLpzIxlObu3m7zg_OVja4fwXY3_rIOswqRnf60jNs0AF4MAKPZC7fdleQpWU5YSuGGV941ZvfIdfvyGVtM4yZnwYNIkK8BpeCwquLpoqOHFyIBDRtRScTRXCMYUZE1r-p6axyPHy3AyYHyYpzy8e5SsMyWSw" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "1d9fa790f95f011b0fcfe69c784c6916", "x-ms-return-client-request-id": "true" }, @@ -123,7 +135,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Mon, 10 May 2021 15:40:29 GMT", + "Date": "Sat, 17 Jul 2021 21:24:07 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,19 +144,22 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "1d9fa790f95f011b0fcfe69c784c6916", - "X-Ms-Correlation-Request-Id": "1f21aecd-a984-415c-9e0e-ebd9cddb8e64", - "X-Ms-Int-Docker-Content-Digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "X-Ms-Correlation-Request-Id": "9af1d0c5-0a8f-493c-9331-3d39a58f3d1e", + "X-Ms-Int-Docker-Content-Digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "d60467a6-d178-4b52-9e7f-5edee12794bd" + "X-Ms-Request-Id": "2ca90427-9579-4c80-ad78-6227d8594183" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "40ac30a870e3400a6f530fde393ad924", "x-ms-return-client-request-id": "true" }, @@ -158,18 +173,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:34 GMT", + "Date": "Sat, 17 Jul 2021 21:24:07 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-6-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1b0640ed-b09e-4498-a95f-23e584e3490d" + "X-Ms-Correlation-Request-Id": "57799635-24ea-4173-aecf-56bc5056fdff" }, "ResponseBody": { "errors": [ @@ -179,7 +194,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-6-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -188,39 +203,45 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "3c8dceb48ae60693e0fffab440d851bc", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-6-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:34 GMT", + "Date": "Sat, 17 Jul 2021 21:24:08 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a006bd6c-79ac-4d0e-ab74-13027a05109e", - "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + "X-Ms-Correlation-Request-Id": "0b7c252a-f333-447c-a07e-1cafa358a040", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxNzQzZDRmOC04ZGEzLTRlN2ItYTc0YS1lZGJiMjM4MzVhMTEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzQsImV4cCI6MTYyMDY2NDgzNCwiaWF0IjoxNjIwNjYwMzM0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90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OiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6IjAxOGFiZThjLTY2ODYtNDBkOC04ZmUwLTZlZmM2NDA4ZDNjOCJ9.BiXhkP3jlTsz2Nyzc8X8Z4p7lzjK95eocABFF2OV0wgo10yNNC-dYmc4KI-FhXzCRgbhe_9w2JDuXgbJkkkKmjbCi0n32TSs6iRdE7YojchYmTM388uYmlr6GWvTrOzNbqJRGQ43L__r5Hb93WRkqyuXVIR_C8MyNoEjYrIEFPDASoZV14vxAWSYxfn7vVGI5NfGo2gAZqM2fnpAlxEjVzo8-puPeYOo6FsWiCu3LJtiLARs1EAAPl00CPuXec4NgZIHrdMfw2OTdPXz5UNwsC0GNAWEl-7zvKAF3r4e8R8C43BIqXktC_0IqT85aAVpH8ch0SMgHrGNMKq7mbflQg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "40ac30a870e3400a6f530fde393ad924", "x-ms-return-client-request-id": "true" }, @@ -236,7 +257,7 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:34 GMT", + "Date": "Sat, 17 Jul 2021 21:24:08 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -244,7 +265,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e4965877-2635-46ec-8a19-e395e31cf397" + "X-Ms-Correlation-Request-Id": "4f84e69c-789e-4c43-b0c4-7641e6d45cbf" }, "ResponseBody": { "errors": [ @@ -254,14 +275,150 @@ } ] } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "f83981b8da3d9e3431266f2fc6843671", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:24:08 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-6-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ca865ee8-bba9-4eff-8552-6fbed5fa7c75" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "hello-world-6-microsoftwindows10019042-net508", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "165", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "2baaea208bc51e579ca660e37655ff97", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-6-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:24:08 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "e1e81ad0-8b58-43d9-98db-9e6125f0ab67", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiJlOWMyZjM3Ny1lNmNiLTQxMDEtOTg4ZC04N2UyNzBmNjkxNzIiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxNDgsImV4cCI6MTYyNjU2MDY0OCwiaWF0IjoxNjI2NTU2MTQ4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC02LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.epjp9f0P_Vjdc2C8CIphJyHYOB2sSEcsWR7ue1BtYLDTC-yHvJAwBrg8ZsbTvwySvlgqKLSihUC5_DPw-AlkBdh2yOqzXHoF7UQWWf0ARpPk1vyx9TTPUgoKvd_RJlmfAXF0Ye8Iyd6mcu-N64AImId52UhEgk6PbiQdQAtwMYrgjmOHoPcpTxsmB1laTh_1kjYlnC_4hnOK7O8ZJOHFN30TKhS1DPIiilpIafyN-nOciL7fnz1KDTdFwJA3_3Xxu1kEEAyX6yGMoVWjdECG2dRwKfg3CCSoFNDNcbPi3BHWnryiOU4IqKheLy5BRw_PDGGk1uK8drrCB2oMSEm4KA" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "f83981b8da3d9e3431266f2fc6843671", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "855", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:24:09 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "f83981b8da3d9e3431266f2fc6843671", + "X-Ms-Correlation-Request-Id": "a8789aa0-a700-4928-bba8-cd0b05a3afaf", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "7.000000", + "X-Ms-Request-Id": "61dd6471-8e09-4226-a79d-899b1cf6daae" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": null + } } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "677472848", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json index 5e6ae61cee13..96d8b76ef6ed 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanDeleteTagAsync.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "faa288ebbfcff4846a39d81f6e7264e9", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "214", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:34 GMT", + "Date": "Sat, 17 Jul 2021 21:20:09 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-6-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "306b3e87-29d7-4605-9ae7-34a29e13157c" + "X-Ms-Correlation-Request-Id": "68b59448-98ec-4820-a126-41a73e6097bd" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-6-microsoftwindows10019042-net508", "Action": "delete" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "cb0158b0380fdce888a14c61d6a4cb38", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:35 GMT", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6a469986-3b86-4cd6-b1ad-97c497b0f14d", - "x-ms-ratelimit-remaining-calls-per-second": "166.033333" + "X-Ms-Correlation-Request-Id": "bbb83c6b-58f1-4081-90dc-92bb4bcee165", + "x-ms-ratelimit-remaining-calls-per-second": "165.966667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY3MDV9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "132", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "144d755c53fcb8ad329e647cf1078185", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-6-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:35 GMT", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c41a9673-979b-4599-bafe-b6951f6eb188", - "x-ms-ratelimit-remaining-calls-per-second": "165.75" + "X-Ms-Correlation-Request-Id": "9dc5419f-9525-40e5-bfad-e9ebdbd564e3", + "x-ms-ratelimit-remaining-calls-per-second": "165.95" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1YjYxNTRiOC1kNTgxLTRjMGEtYTcxZi0wYjU0ZDI4YWU5ZTAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzOTUsImV4cCI6MTYyMDY2NDg5NSwiaWF0IjoxNjIwNjYwMzk1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.htfbm99DYd4rB1il5N125lL3I6kiPvwULM0JjACZjTf0_EGkqNazcl86MMZbviYEcwSoSnTJ0VJ3Gs3dv-gKWG20bJHdowOweIYcG9U1H5BuegYqnKH2gc4JRQcXu1nNW2UriFNFgVCj6ljXrH6uKSWqEuMKgapsbOxgJUM5JEZVRhRwQzkM5i_OA87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MTyYSLNA-y51RmRNqTain9wFcTE8Gnwu9vohh6Od8ITsKy6fLxilRaWIxOCDzUedEoP4h4ufRPVAZL1IAXwgN0-P6MxkBIYfPfeMHYtJFkSxjQgEmgENxDCpRr2GVXYD3R7PMLQc39SSsoFVbgu3OC42Bqt20l8lOnJBxXoPja-yVHTMep1ZXrAexWIvWP0I0HnuBmJFBg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "faa288ebbfcff4846a39d81f6e7264e9", "x-ms-return-client-request-id": "true" }, @@ -123,7 +135,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Mon, 10 May 2021 15:41:35 GMT", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,19 +144,22 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "faa288ebbfcff4846a39d81f6e7264e9", - "X-Ms-Correlation-Request-Id": "af73b98b-24e8-43d9-aa4a-354762017597", - "X-Ms-Int-Docker-Content-Digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "X-Ms-Correlation-Request-Id": "0b3f9023-015b-48cb-97ce-a89190e611e4", + "X-Ms-Int-Docker-Content-Digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "8cc8ac05-d965-44c8-80db-8fb865a1aa05" + "X-Ms-Request-Id": "705dea69-a130-4567-aa65-760292c8f8f2" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "d5e0bd9ea95bb22f9fc6722d72231dc5", "x-ms-return-client-request-id": "true" }, @@ -158,18 +173,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:40 GMT", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-6-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "375e9ed4-1f37-4552-9c0e-14e6b2f0c037" + "X-Ms-Correlation-Request-Id": "6063c767-3928-4aa1-86f8-ed7e8773e6db" }, "ResponseBody": { "errors": [ @@ -179,7 +194,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-6-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -188,39 +203,45 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "f8c3a06e4f245cedab489970d46cea80", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-6-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:40 GMT", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "15f8ca04-0fc0-4a24-9996-7dc30d50294c", - "x-ms-ratelimit-remaining-calls-per-second": "165.733333" + "X-Ms-Correlation-Request-Id": "abd2bb7e-95ed-49bd-8310-1389354fef5a", + "x-ms-ratelimit-remaining-calls-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OgptS703Pt56kt_AKEPseAn9uq9v87JwB9PLQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508/_tags/test-delete-tag", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "d5e0bd9ea95bb22f9fc6722d72231dc5", "x-ms-return-client-request-id": "true" }, @@ -236,7 +257,7 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:40 GMT", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -244,7 +265,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "10f42ddd-31d9-4880-93fe-97c26550004e" + "X-Ms-Correlation-Request-Id": "75fc22ee-322d-4b11-ba92-a53abbe8f3bd" }, "ResponseBody": { "errors": [ @@ -254,14 +275,150 @@ } ] } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "19c3c720f5c4b3dc469a7535e17f460f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-6-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "1e22e43c-82c1-46c3-9346-19b24ab60e3c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "hello-world-6-microsoftwindows10019042-net508", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "165", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "510d9f8088444e60d084291210bede32", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-6-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:20:10 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "95df25a5-7ab7-4e3e-acb3-124496a495ea", + "x-ms-ratelimit-remaining-calls-per-second": "165.916667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiIwYWY0MjMwMi02M2Q2LTQ0OGMtYTU1YS1jY2Q2Y2NhZjQ3ZDgiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU5MTAsImV4cCI6MTYyNjU2MDQxMCwiaWF0IjoxNjI2NTU1OTEwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC02LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.GKnRdJAgJOldT7aN1Q3cl7mWDv_c-X8CCROGa_j9FFrvUidnkk_CP9UFNvsVr9Xt3QY0f7slg7hqcygrH6JOMkUwVDsLQ_NQ3vcoB7WlhTlVfl3GUCW2ibIBgdb2xvhqAT1iIFQ64zDFagDnrQVSH0CCsG91m_EMaPxqAkW2UMv5E2WKTgaSNACsfvlenDzr6BZ8OO1TQBQ4jYW_sfDke15T2w8W5nZIBaqT9LzfpOLSoqW5ppyrRKkD7zM9ANrF41_rL_hjfVdBvgEWLHB418PiS7HsFUS46OqoL04V_iGJ9n4dLzeDbUVXq-CJR272X-bMxcJXua92448kglscew" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-6-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "19c3c720f5c4b3dc469a7535e17f460f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "855", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:20:11 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "19c3c720f5c4b3dc469a7535e17f460f", + "X-Ms-Correlation-Request-Id": "f6a38973-3cdd-47b4-a94c-777ff80c6ea4", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "7.000000", + "X-Ms-Request-Id": "0fee9b76-541d-4630-92e1-cbbe1cc766b6" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": null + } } ], "Variables": { - "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "1372373483", - "RESOURCE_GROUP": "rg-localtestacr04", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json index 23b405a77894..cf573a0a3804 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags/oldest", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "07927d5f5d387f6e72baeed4e326c49b", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:23 GMT", + "Date": "Sat, 17 Jul 2021 21:23:41 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-3-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "432b1253-7416-463d-84fc-097531692386" + "X-Ms-Correlation-Request-Id": "43ba5e25-f233-46d5-a152-f0c68be2c018" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "node-3-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "0aa114d26c796cbd543a303848fca261", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:24 GMT", + "Date": "Sat, 17 Jul 2021 21:23:42 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "dd658f83-1f3b-430d-b9d3-d00d839b7bac", - "x-ms-ratelimit-remaining-calls-per-second": "164.966667" + "X-Ms-Correlation-Request-Id": "fd4157cb-ddce-44cc-b7fc-122b8fd2ce11", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0MDN9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY5OTd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "8a25766ca8e4a91174ffff30c5ecf726", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-3-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:24 GMT", + "Date": "Sat, 17 Jul 2021 21:23:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b933114f-7086-4bf6-9b77-b8199abad277", - "x-ms-ratelimit-remaining-calls-per-second": "164.95" + "X-Ms-Correlation-Request-Id": "168010c7-c95f-47e8-848a-19b87cea7136", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiI3NzM4N2RhMy1hZDQ1LTQ5ZGEtYjQ5Mi0zMmYwZDhlZWUyNzAiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxMjMsImV4cCI6MTYyNjU2MDYyMywiaWF0IjoxNjI2NTU2MTIzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTMtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsibWV0YWRhdGFfcmVhZCJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.C74EAT5isWtAQb_7KhdYuyKhBj9Zyi-SipBj1vna78g-0M_f0fVE3b7-OmOyX96QyQHHAY5UNw7DIlaXi-lApsYOEIn1vU5_Bxj-768ng7xwirtY7j3bEX2kAYwdNs619Q-Sw-pEF8RyECShOgBt-qs8lX-5KLVB6aZBGiF0aZ5pJnt3DTIsDySYXii0B5uN0_5aoEX-Y49T1tra7zA2sPcKviBz7QkOsvbiunvaEM6-1MPSOEHh5ytoPeDeSOAl81_9rE9hSLyQXTkaV9yLa24g8a8W6dvbS36lPrLbYFxLhIWk6R41UukJX-Bucik0YRb49msweYKa0lLxWfbErA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags/oldest", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "07927d5f5d387f6e72baeed4e326c49b", "x-ms-return-client-request-id": "true" }, @@ -122,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "421", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:24 GMT", + "Date": "Sat, 17 Jul 2021 21:23:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +144,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "43e679b6-f011-4870-aa34-4aaae81c0563" + "X-Ms-Correlation-Request-Id": "be4df4ed-2d95-4458-b3cb-5516e07addc0" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-3-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "name": "oldest", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:23:22.6992429Z", + "lastUpdateTime": "2021-07-17T21:23:22.6992429Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +165,14 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags?orderby=timedesc\u0026digest=sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "04eac27c4b1cf22dbf25b2fe2c353675", "x-ms-return-client-request-id": "true" }, @@ -171,18 +186,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:24 GMT", + "Date": "Sat, 17 Jul 2021 21:23:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-3-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "99f220ad-c93b-4675-aa8e-9b0cb8f3aa32" + "X-Ms-Correlation-Request-Id": "441987c6-28af-4316-932e-9c1ee434bc79" }, "ResponseBody": { "errors": [ @@ -192,7 +207,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "node-3-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -201,39 +216,45 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "6d688d183a0129b603f896796d8da768", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-3-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:24 GMT", + "Date": "Sat, 17 Jul 2021 21:23:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b1197598-cc95-44ca-9775-fd4d9d466e72", - "x-ms-ratelimit-remaining-calls-per-second": "164.933333" + "X-Ms-Correlation-Request-Id": "1e477eaa-fe9e-409e-b01a-386ad4666960", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko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ags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags?orderby=timedesc\u0026digest=sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "04eac27c4b1cf22dbf25b2fe2c353675", "x-ms-return-client-request-id": "true" }, @@ -247,9 +268,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1943", + "Content-Length": "737", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:24 GMT", + "Date": "Sat, 17 Jul 2021 21:23:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,17 +278,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a4d65ac4-3d06-45ca-ad66-d2dfdfc7945e" + "X-Ms-Correlation-Request-Id": "8a2686ff-04a2-4527-b33a-118a61eeebda" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-3-microsoftwindows10019042-net508", "tags": [ { "name": "newest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:18.1963616Z", - "lastUpdateTime": "2021-05-06T00:53:18.1963616Z", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:23:34.9034238Z", + "lastUpdateTime": "2021-07-17T21:23:34.9034238Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -277,10 +298,10 @@ } }, { - "name": "v2", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.722304Z", - "lastUpdateTime": "2021-05-06T00:53:02.722304Z", + "name": "oldest", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:23:22.6992429Z", + "lastUpdateTime": "2021-07-17T21:23:22.6992429Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -288,69 +309,151 @@ "readEnabled": true, "listEnabled": true } - }, - { - "name": "v1", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5770036Z", - "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v4", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5327704Z", - "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v3", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.4515253Z", - "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "86bc0a429d1120444832cbbff5137d3e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "233", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:23:43 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-3-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "19e630f0-321c-4452-b26f-c3bca456a7a8" + }, + "ResponseBody": { + "errors": [ { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "node-3-microsoftwindows10019042-net508", + "Action": "delete" + } + ] } ] } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "158", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "381789c98a8342240bc10124b4b48531", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-3-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:23:43 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "6042dcd5-3b10-4fde-beb3-6fc36104c81e", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiIxODFjZDMzMy03N2E5LTRmMmUtYWJhMC0wMDllZjIzNTMwNTciLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxMjMsImV4cCI6MTYyNjU2MDYyMywiaWF0IjoxNjI2NTU2MTIzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTMtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsiZGVsZXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.KWGdBT9q3I5w2yBm_r0sJVnhDQ7Jm0gpvamwSU6-Hy2luRFx8I5IBtLTe71gT0NEpIu8eTl3SaOLwdLv4KOJDEYjHqrbLvNO_c5cH08tZ4m7REnV8xA4TxmsCCjAtuvCo9352sSOiQ_ot4HeV8eN9t-2eETpojcFT5FKBuaGUC8mrtRW6KUSCxVccVZXvkfd9oqQh1oyuRVMfzNZIh1DKjna_1FkoIBPVTCJ-W1LVTTFFrOTOgtb6Ox8snQKdFfiLGb_--8smGze_7Cum7L-hl-bRtI8piKOAx1BkkMP51d_n_qrKvZAIsOxAIAX7OUFJI9BVHKqi4sH3YoSeqAsnQ" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "86bc0a429d1120444832cbbff5137d3e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "500", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:23:44 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "86bc0a429d1120444832cbbff5137d3e", + "X-Ms-Correlation-Request-Id": "3f72b5e9-d653-4f66-a85b-b32841e3218e", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "56c5c17f-d742-44ba-a8aa-2d063022be2b" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "sha256:782f1f3f50e4dd930e43f0f7238902c7a04fecbda9c2d539a5643317ddd9ede4", + "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "sha256:8ae9d9a95e56e50cbdb536b58876976fb83f0efb8aafdc64832635fac3b7e50f", + "sha256:a7e1efe98a308e646d256b7e51ac2bfbb8f961e6c85a351777984da3b8c1daee", + "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2" + ], + "tagsDeleted": [ + "newest", + "oldest" + ] + } } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "1549825720", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json index 1e069a751e1b..6049e83e2835 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrderedAsync.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags/oldest", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "0879515187d6784a8323cda298328d2f", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:16 GMT", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-3-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "abf2d7f5-9b93-4a9b-8210-b7c74caf3a4b" + "X-Ms-Correlation-Request-Id": "ead344c5-b214-494d-9b3d-4549d17ce4be" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "node-3-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "db702485d5615bae7c8def499860f6c0", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr01.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:17 GMT", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "448992cb-b382-414c-bdc2-f060b0efa5ff", - "x-ms-ratelimit-remaining-calls-per-second": "165.6" + "X-Ms-Correlation-Request-Id": "5dbe0c1e-ea08-4203-9658-0e845ded7718", + "x-ms-ratelimit-remaining-calls-per-second": "165.833333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NTZ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzcwNzV9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "0cee923f6375efaff360ce189d8985fa", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-3-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:17 GMT", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0d02a463-2099-43eb-9738-648283056dbe", - "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + "X-Ms-Correlation-Request-Id": "43d82ea1-8423-407b-a5fc-f857541f459f", + "x-ms-ratelimit-remaining-calls-per-second": "165.816667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI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g" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags/oldest", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "0879515187d6784a8323cda298328d2f", "x-ms-return-client-request-id": "true" }, @@ -122,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "421", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:17 GMT", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +144,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e74c945c-926e-4d8a-8a6c-2667877d507b" + "X-Ms-Correlation-Request-Id": "9ec525c8-4225-42d5-9c3d-9a79fde4493d" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-3-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "name": "oldest", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:24:38.9509032Z", + "lastUpdateTime": "2021-07-17T21:24:38.9509032Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +165,14 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags?orderby=timedesc\u0026digest=sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "37589fb9c9817b5fa31e8b499800e023", "x-ms-return-client-request-id": "true" }, @@ -171,18 +186,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:17 GMT", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-3-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b95c47a9-ac1c-44c6-bd32-952499697890" + "X-Ms-Correlation-Request-Id": "b76560e9-033b-47b2-a2c8-533f738b048d" }, "ResponseBody": { "errors": [ @@ -192,7 +207,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "node-3-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -201,39 +216,45 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "05630d2d814321b97481e7000796bdf2", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-3-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:17 GMT", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e084eade-9df3-4191-96e4-a9eea33cfdb6", - "x-ms-ratelimit-remaining-calls-per-second": "165.566667" + "X-Ms-Correlation-Request-Id": "59109a6b-41b8-4659-b109-fb37442c7886", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiIwNmEwMjQ2OS00NjI4LTRlZTctOTY4YS1hYTVlYjIwNGZhNjAiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxOTgsImV4cCI6MTYyNjU2MDY5OCwiaWF0IjoxNjI2NTU2MTk4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTMtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsibWV0YWRhdGFfcmVhZCJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.ezbKcAok-Wki1u185DdcvxfFQURDdK4OI7PjKTVRZ6q1UM5OmaklrgLmsQe0nqmPR2f7Kf3ZI1c92So4f8hF0lBf4e6HqwWC478XNWeY_NvDGemlpaDXOvSAeo5vQMXP_QVjSjkVU_wECLWQrxELB1A1ATivRC1XmMZtdAMaz3A6fIlJJ8NEoH5eNJYDPHPO8qq2mZ2zlttVStdDG2yWWP_eHmCJERjIYy3syyBGLJnoQvn6atcx_EF05eigbIX6ENlkW2ohhcIRnLhtfBIOP0Tcmf8YiO-Rcrtn4PYsVwkuzoKOW4tk3lulMHjrH3LDYo750mWHSJfwSPBI4m5eMQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508/_tags?orderby=timedesc\u0026digest=sha256%3A89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "37589fb9c9817b5fa31e8b499800e023", "x-ms-return-client-request-id": "true" }, @@ -247,9 +268,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1943", + "Content-Length": "737", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:17 GMT", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,17 +278,17 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f748dfff-54ff-4edb-90ed-b13796b94ef6" + "X-Ms-Correlation-Request-Id": "1219c304-7605-4b81-94b3-3502220bdf6e" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "node-3-microsoftwindows10019042-net508", "tags": [ { "name": "newest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:18.1963616Z", - "lastUpdateTime": "2021-05-06T00:53:18.1963616Z", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:24:50.4638228Z", + "lastUpdateTime": "2021-07-17T21:24:50.4638228Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -277,10 +298,10 @@ } }, { - "name": "v2", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.722304Z", - "lastUpdateTime": "2021-05-06T00:53:02.722304Z", + "name": "oldest", + "digest": "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "createdTime": "2021-07-17T21:24:38.9509032Z", + "lastUpdateTime": "2021-07-17T21:24:38.9509032Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -288,69 +309,151 @@ "readEnabled": true, "listEnabled": true } - }, - { - "name": "v1", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5770036Z", - "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v4", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5327704Z", - "lastUpdateTime": "2021-05-06T00:53:02.5327704Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "name": "v3", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.4515253Z", - "lastUpdateTime": "2021-05-06T00:53:02.4515253Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, + } + ] + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "f890f407be07763e32736957d76656f2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "233", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:node-3-microsoftwindows10019042-net508:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9adc1a24-4955-46e5-9ac8-589342da0054" + }, + "ResponseBody": { + "errors": [ { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "node-3-microsoftwindows10019042-net508", + "Action": "delete" + } + ] } ] } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "158", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "90eaab7f7f2638b6e537c300e15e730d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3anode-3-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:24:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "69ee8257-5278-48ec-8ad0-fd56a916ac0a", + "x-ms-ratelimit-remaining-calls-per-second": "165.783333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkVERFE6SFVYWDpMQzQ3OlpCUk06T0k0WTpPUjY2OkFVWko6Qlk3RTo3N0pWOjU0UlI6UU1BSzpOTDI1In0.eyJqdGkiOiIyYWI0OGI1Zi1mOThmLTRiNDQtOThmZi02MzI1ZDc2NTBkNDUiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxOTgsImV4cCI6MTYyNjU2MDY5OCwiaWF0IjoxNjI2NTU2MTk4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJub2RlLTMtbWljcm9zb2Z0d2luZG93czEwMDE5MDQyLW5ldDUwOCIsImFjdGlvbnMiOlsiZGVsZXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.CZ7UuHLZGgnxRkMszLFkMXqRU6d74kOEzf7LkAkQIeqlwZW1jX-INAQT5VaW13_FcrETB7NrV5Mw1Yf59fLMGmDK1VaPOxNkGv9xAjoiQu97uKTO8lQyLftv2rq8Kd5B-C1k_omkLBHsohrhursoe6a27nqRS-30z-3Zl16qXRABJvTvF3A1w-Ic1CIIuHE6Iof2yZkUZxiPw9Wru_AbVeWgZMog65nB2E8a9JRIEXf_RzYp3UF0IEmGWHgGCZEaBrAoByik-xFSgC8-HcOzsiTP2NMPObKZ384JoTfVMRB51rpUPmg1ERjZ9iQIEdPTMfRstR0kZgG2NrQ3jHUmIQ" + } + }, + { + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/node-3-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "f890f407be07763e32736957d76656f2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "500", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 17 Jul 2021 21:24:59 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Client-Request-Id": "f890f407be07763e32736957d76656f2", + "X-Ms-Correlation-Request-Id": "02ce5ac4-6f02-4747-96e7-d4534e8a55f2", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "dde825c8-f0ef-4bc4-90c7-15fd93f6bf3c" + }, + "ResponseBody": { + "manifestsDeleted": [ + "sha256:5e5d07de2101ee559c51656ddfe9f78b8ee5f02932979a6b60343dc1e3abeebb", + "sha256:782f1f3f50e4dd930e43f0f7238902c7a04fecbda9c2d539a5643317ddd9ede4", + "sha256:89acb508f15b80b63bbb1f287feebe955c94b6ebb85c89e4167e35258af596f0", + "sha256:8ae9d9a95e56e50cbdb536b58876976fb83f0efb8aafdc64832635fac3b7e50f", + "sha256:a7e1efe98a308e646d256b7e51ac2bfbb8f961e6c85a351777984da3b8c1daee", + "sha256:b2e85fe0e037a625d601a81ce962d196bec948cab3d68278ab4a5dd177da59e2" + ], + "tagsDeleted": [ + "newest", + "oldest" + ] + } } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", "RandomSeed": "451185869", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-annelocontainerregistry", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json index 56daef644963..e05a359a3faf 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_tags/test-set-manifest-properties", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "61c7efbc1adaa4aef1e2a257f38603c8", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:34 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0d2a4948-31c7-4f5c-ada1-83353eeae35f" + "X-Ms-Correlation-Request-Id": "04f29605-5e89-4cab-b7c8-1050b2a5ff44" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-4-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "b3358c5e0f9d4b1e14085ce0514ef6a8", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:34 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "909e923b-7de4-441a-9110-48459b0e56d5", - "x-ms-ratelimit-remaining-calls-per-second": "166.45" + "X-Ms-Correlation-Request-Id": "4163c23b-dcdd-4bb2-8c8f-a2f98565fbdd", + "x-ms-ratelimit-remaining-calls-per-second": "165.766667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY5OTd9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "5fea9bdc3b7d4509f6e10b7e9ada5861", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c07af60b-d32f-4d64-a6ff-3bf23f4c297e", - "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + "X-Ms-Correlation-Request-Id": "0f7c1848-788b-4fd2-808e-3fb3dcc5b8e9", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0ZGEzNzU5My01OTMwLTRlMzUtYmQ2YS1iMzQ5OGViMmY1MzIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.IJmL9h2I6gcy-hAaV3fG0EHnyhJR87D25csHr-qm8Jqe7pd2ITTbxG9i_LkMFSAJitiOuhTd-s-m1cnzLwYLxUKo6mrkqRwrhavQfiYxVMBoMHcUVyXetvbQnXpepOTvn60pyfovpk0UqsxUNUySLzHh_fQd-Q-sHGy365uxRyYAAYmoJqQCy5C-jjEYUIQ76bvZX6D_qEReMeZvBm2uA5y7D16xQJrWRqr4k-cMKqkCx6d9wtu4eMy0zsKG49QPFFRtCOC78Emurh-c5LqKr33Qr0x32KjdMUiS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c34EHocjPtvURorsbJMecmzDkrm9OIaI7AIMoRH6lvUHGjHFMRUMU0kzWhiq4Z-weQ121utxII92knhUWf295KT8QWfF5zlMGO8HrW-Wbg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_tags/test-set-manifest-properties", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "61c7efbc1adaa4aef1e2a257f38603c8", "x-ms-return-client-request-id": "true" }, @@ -122,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "450", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +144,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9ef48f02-6a81-4430-b7f4-e235ba3af525" + "X-Ms-Correlation-Request-Id": "7aa4d7e2-caf3-4586-9465-168c1d74696d" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-manifest-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:24:12.6859528Z", + "lastUpdateTime": "2021-07-17T21:24:12.6859528Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,15 +165,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "dc51e1977feeac32d07c4dd1bdce52a2", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -171,18 +193,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7190190b-5b68-4c63-9596-c8670d4e9f3f" + "X-Ms-Correlation-Request-Id": "9888ebbf-c10d-418c-8603-c667505c9868" }, "ResponseBody": { "errors": [ @@ -192,8 +214,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -201,43 +223,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "577bfaeba49b234b83f0bcbc049fb03a", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "38f0864c-adb0-44e9-aacf-9183b449bbd2", - "x-ms-ratelimit-remaining-calls-per-second": "166.416667" + "X-Ms-Correlation-Request-Id": "a7ef547b-cc94-47e7-af0f-bb14fb66cea6", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhNTEyZGQ5Zi02YzU0LTQ2ZGQtODg3NC00OTc4NjkwY2RlNzYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.mM-_ZZf46wqbjC36B_9wtUHaZZbxr35eDaWmmZl41DXiutivzxVb0QafxRoA8UetyX0QNSn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V77jQsfVvRkz31TNTKSEOOjUlQW7qadM6ILS6QextBDZginYuVSaRpxLnlc9Wvi80Ns-95zL5hSc33Qb4MzWUVGc0WG4VqvXLTTMw614VJd0SfXWiMeZJ0V0Gf0PAQeAzZ2F4CI8DyS4_eHTR70I5Wp0CPmM6JQx1l1_ykLlpdIKLfEU0Jxjb-ezf1Qu__i1cy8mDlBbtvLrgJe5a-YAfcAH2YbxLSGCXfY6xiZx3ZMJTwFaLEgomMNIubr3ml_6uc9BaMSFI75r0gleWwqsObU_goD_PkmeHAu_caVLH7FlvipjjmLu0p2VBMg_dUPg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "dc51e1977feeac32d07c4dd1bdce52a2", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -247,9 +282,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1608", + "Content-Length": "1763", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,30 +292,25 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3b06f35a-8f67-47af-82b4-a51100b2110d" + "X-Ms-Correlation-Request-Id": "abaf7330-341c-41be-8403-6f9aa39794d7" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "imageSize": 5850, + "createdTime": "2021-07-17T21:24:12.5704061Z", + "lastUpdateTime": "2021-07-17T21:24:12.5704061Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" + "test-set-manifest-properties" ], "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true + "deleteEnabled": false, + "writeEnabled": false, + "readEnabled": false, + "listEnabled": false }, "references": [ { @@ -289,17 +319,17 @@ "os": "linux" }, { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "digest": "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "digest": "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "digest": "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", "architecture": "arm64", "os": "linux" }, @@ -314,17 +344,22 @@ "os": "linux" }, { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "digest": "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", "architecture": "ppc64le", "os": "linux" }, { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "digest": "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "architecture": "riscv64", + "os": "linux" + }, + { + "digest": "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "architecture": "s390x", "os": "linux" }, { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "digest": "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", "architecture": "amd64", "os": "windows" } @@ -333,22 +368,18 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "6f48fbaf1afc5cb9693e8f01ee378728", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -358,18 +389,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cb4a680c-4b71-4fcb-b695-56a7ba9a70ee" + "X-Ms-Correlation-Request-Id": "5e09e862-0b61-4741-b792-d5262ee46846" }, "ResponseBody": { "errors": [ @@ -379,8 +410,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "metadata_read" } ] } @@ -388,50 +419,49 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "a092698e015ef3c5952e59fdc276a830", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "248d7669-e472-435d-9981-2094c870c00d", - "x-ms-ratelimit-remaining-calls-per-second": "166.4" + "X-Ms-Correlation-Request-Id": "f104ddd5-8bd0-4517-945f-70372fe50665", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMzk1OGVkZi1jNjdkLTQ1ZDEtYWRiNi04MmUzZWRkMjIxYzkiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiO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WF0IjoxNjI2NTU2MTYwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC00LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6IjAxOGFiZThjLTY2ODYtNDBkOC04ZmUwLTZlZmM2NDA4ZDNjOCJ9.UXfcYnwya9KU4PCUHpRW1r3QK2KsxE6ipFTRi5uN0NQoyd1b_WmBsaihoSdFkWRheZgOeIc3GF2cTtdPa2xn57Gzg55LOFaGaAzkUUgabRGZW2geXJacLue19pJnyCRfLy_mVdvngPtLAnqlFm6zMUjawZZj7Z6dB7XirZwa9pP57rL7gywhau3ge_IiIVKzcLL-DhXHrA1sdZQxoq2bQ9PEeynzzevQ0bjHbu-DY3bIpZam3fGcq111PZHxurJwxb6UVDo942uTJlsXyYlgRdOWE6M6frrnI7yq_b1L3NinG0eBwOCBIOuX0NP58U-G56MUXOaMTzRE0bHb7gAPjQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "6f48fbaf1afc5cb9693e8f01ee378728", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -441,9 +471,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1612", + "Content-Length": "1763", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -451,24 +481,19 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6790b99a-7a01-4925-8a54-234b4f0488a4" + "X-Ms-Correlation-Request-Id": "ef7cf506-0ad0-4ca1-a5b5-dc018d687497" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "imageSize": 5850, + "createdTime": "2021-07-17T21:24:12.5704061Z", + "lastUpdateTime": "2021-07-17T21:24:12.5704061Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" + "test-set-manifest-properties" ], "changeableAttributes": { "deleteEnabled": false, @@ -483,17 +508,17 @@ "os": "linux" }, { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "digest": "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "digest": "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "digest": "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", "architecture": "arm64", "os": "linux" }, @@ -508,17 +533,22 @@ "os": "linux" }, { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "digest": "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", "architecture": "ppc64le", "os": "linux" }, { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "digest": "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "architecture": "riscv64", + "os": "linux" + }, + { + "digest": "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "architecture": "s390x", "os": "linux" }, { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "digest": "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", "architecture": "amd64", "os": "windows" } @@ -527,15 +557,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "c22212cce385d1a5401fee5d144a354b", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -545,18 +585,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ffb261e7-7142-4f6f-a04c-b89d81472fa5" + "X-Ms-Correlation-Request-Id": "a858a999-4708-4914-80ad-52100aeb579d" }, "ResponseBody": { "errors": [ @@ -566,8 +606,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -575,43 +615,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "9b2d9468100caedc3554d9cec1bc99f2", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:20 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9cb6a5da-5273-4a14-889a-96008f393a06", - "x-ms-ratelimit-remaining-calls-per-second": "166.383333" + "X-Ms-Correlation-Request-Id": "2a7e384c-8766-4063-9df0-4b7ef102f250", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxMzc1YTRlYy1iMzlkLTQyMjItOGQ0ZS01ODNhZmI3NzM0NzAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.MH3vZqMdpDaibb5MPTbc-j0KLTSBQAsHmeTj6elmHso9nGQIyQKMXSJfZqOKadjqCYjfn2cZgLTl-e35B2GeEfO07Lef2TMflz-B-0GA4mwMYJl9Y4pwOPM97iA0qlaw46k6Y697uwRT5Mqq6GH9-fLnALKhRK5P0QfhGtwnDN8E1j5n8f9V2-Mq-g1oB8IojYOlQ3hN2imp3E9q8SCInwG2VBrsj0qUByLeNdWO8LOx3qzapMJTEsXc9K2ox-FOFww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8j7tl1U58GZuyh60W9CD8nC_dhc0Ior6hLQtJgt-bb-GU-zryFNwP_KLBRTxj4aCbB_Z9lSIduulFshpdly82uXWzyuINSrMMBc8MetT2dGZHYF8pKvZye8taA8jWlwtAwnwZw" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "c22212cce385d1a5401fee5d144a354b", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -621,9 +674,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1612", + "Content-Length": "1759", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:21 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -631,30 +684,25 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "73fd99b8-d482-429a-951a-dedf44d0c208" + "X-Ms-Correlation-Request-Id": "a192be39-6447-4891-aeca-da423f63077c" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "imageSize": 5850, + "createdTime": "2021-07-17T21:24:12.5704061Z", + "lastUpdateTime": "2021-07-17T21:24:12.5704061Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" + "test-set-manifest-properties" ], "changeableAttributes": { - "deleteEnabled": false, - "writeEnabled": false, - "readEnabled": false, - "listEnabled": false + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true }, "references": [ { @@ -663,17 +711,17 @@ "os": "linux" }, { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "digest": "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "digest": "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "digest": "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", "architecture": "arm64", "os": "linux" }, @@ -688,17 +736,22 @@ "os": "linux" }, { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "digest": "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", "architecture": "ppc64le", "os": "linux" }, { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "digest": "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "architecture": "riscv64", + "os": "linux" + }, + { + "digest": "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "architecture": "s390x", "os": "linux" }, { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "digest": "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", "architecture": "amd64", "os": "windows" } @@ -707,22 +760,18 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -732,18 +781,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:21 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "36fc6e80-32de-4db5-8764-92cb8dc7b3c3" + "X-Ms-Correlation-Request-Id": "4394d502-8d1f-4782-aa49-9683119568bc" }, "ResponseBody": { "errors": [ @@ -753,8 +802,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -762,51 +811,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "2e950df80d49bb2436738d3109d60f84", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:35 GMT", + "Date": "Sat, 17 Jul 2021 21:24:21 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b412996d-0695-4d74-9118-2a36253059d1", - "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + "X-Ms-Correlation-Request-Id": "60bf4605-df61-4dd7-8d5d-bf50040ed074", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxZTg1N2E4NC00OWI2LTRlY2YtYmM2ZS1mMmEwZTcyNGE1ZDEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9y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mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.MvuzWJJU6zdYetlJOYOysFFafxX9rmeBFOU5RqtJ6yivy9js-hPngOA8dRwFuG2yZ3Ovskc7B0cXwx6XLPe0sPQ41zHRYULppWTmuDENLXvatlnmkyw2QYYAfNCQ9Gp3Kd8luf98jCfGJiQfkSNWlt04kK3XDOMMLqRTfdZ87HshQpeA_0kVTDOTSwc2bNQ6BokNquh_xI3Smr7JYPGQktVfq9Yb3R18xDSkkuf_-LAO_BwwK-ss03y3zDRVFMyGYgsn4KxZdqWXTJpADghAGvS13Yg2xyubH5pkqvC8j8QprlqHXtBAAi5pSP64ZApG_tu3w8yHZkrr4fn1jUxxvQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -815,9 +863,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1608", + "Content-Length": "883", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:36 GMT", + "Date": "Sat, 17 Jul 2021 21:24:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -825,84 +873,38 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3154c66e-34d6-407c-b097-eb7f9a7e0b9b" + "X-Ms-Client-Request-Id": "db345e95c515aba2c3c15f3f1268df4b", + "X-Ms-Correlation-Request-Id": "d4bdd56a-2847-4a62-b19a-bfd93c82418c", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "cfa6c9a3-4738-49c5-9929-c22c5589b980" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", - "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" - ], - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - }, - "references": [ - { - "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "architecture": "amd64", - "os": "linux" - }, - { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "architecture": "arm", - "os": "linux" - }, - { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "architecture": "arm", - "os": "linux" - }, - { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "architecture": "arm64", - "os": "linux" - }, - { - "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "architecture": "386", - "os": "linux" - }, - { - "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "architecture": "mips64le", - "os": "linux" - }, - { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "architecture": "ppc64le", - "os": "linux" - }, - { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "architecture": "s390x", - "os": "linux" - }, - { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "architecture": "amd64", - "os": "windows" - } - ] - } + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-set-manifest-properties" + ] } } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "RandomSeed": "1898042240" + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "1898042240", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json index 4ea022c0bd3b..89479c964d06 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestPropertiesAsync.json @@ -1,11 +1,14 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_tags/test-set-manifest-properties", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "4f86aa8e0dab3b35144fb700b39a93b8", "x-ms-return-client-request-id": "true" }, @@ -19,18 +22,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:40 GMT", + "Date": "Sat, 17 Jul 2021 21:20:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1922c7a5-aea4-403c-9df0-f818c1fb6d60" + "X-Ms-Correlation-Request-Id": "7205164b-a75f-4b2b-8697-1094011198e3" }, "ResponseBody": { "errors": [ @@ -40,7 +43,7 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", + "Name": "hello-world-4-microsoftwindows10019042-net508", "Action": "metadata_read" } ] @@ -49,66 +52,75 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "e7bc8b7a34ef97e4bf5f1e6db66de681", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c3ddfb66-ea2c-4b4e-82af-86b00ad7bf84", - "x-ms-ratelimit-remaining-calls-per-second": "165.716667" + "X-Ms-Correlation-Request-Id": "d570bb1d-f65f-4388-a7c3-ea79b8a15c97", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY3MDV9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "d02bb403909a6e9b96e2971d16d43c34", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "05b7610e-1429-453e-9b86-b05f470bf435", - "x-ms-ratelimit-remaining-calls-per-second": "165.7" + "X-Ms-Correlation-Request-Id": "54c1a57f-4d0e-40ef-8d24-72340af90c63", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3NDg4ODlhZi03ZjljLTRjNTUtODliYS0zOWI4NzQ3MmZiNWIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN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kYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4iLCJhcHBpZCI6IjAxOGFiZThjLTY2ODYtNDBkOC04ZmUwLTZlZmM2NDA4ZDNjOCJ9.Uqh8GO5q8NjE9r0VpPorjDkL9uTD9M6pRXdFuCtOiP6dlv_LI578OwC0AYoCztySMp7PSXn779G4piUeU6KFoNrm8Ga13eXsXbf8yupAWViJ3f2a41satUhDP9rmL_NpqvbgcaTy5903jSYIX-N9ysOEF9Q3P5st8zzTdQzUCfqe_UQK7tEGQqKdot_4cuRB9cjvWpaOBc0VU1CmL7Pow0r4FFlF5RoKja27svV79dph-_vmXkozyFAF1pJ2CaBLCo2Nelnx1ISeENz9ZDxJjTIlhRjAUnY2of2fqvMP7HO_sLHAkfcaF4OUDjX9PYC8DINdPoJQMgs5Mh5C60dqkQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_tags/test-set-manifest-properties", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "4f86aa8e0dab3b35144fb700b39a93b8", "x-ms-return-client-request-id": "true" }, @@ -122,9 +134,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "450", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +144,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6ffd7637-142b-4a31-ba4f-3ffc7f16bdaf" + "X-Ms-Correlation-Request-Id": "48c2071e-758c-46fb-a29d-e64df9921836" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-manifest-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:20:15.1881985Z", + "lastUpdateTime": "2021-07-17T21:20:15.1881985Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,15 +165,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "17924c7477ed599cc6ee8f4ceec885a7", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -171,18 +193,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:22 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1a8f5273-7286-436e-a967-069b587026d4" + "X-Ms-Correlation-Request-Id": "e46a2d32-e419-4a7c-bd13-f34915c692ca" }, "ResponseBody": { "errors": [ @@ -192,8 +214,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -201,43 +223,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "fffc3668c26eea1def4e510c9dc681eb", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "90d505ed-17ee-4166-a3b8-88dcea33360b", - "x-ms-ratelimit-remaining-calls-per-second": "165.683333" + "X-Ms-Correlation-Request-Id": "85276618-c5d1-4ff4-8bea-5c8107c543c6", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3OTJkODgxOS1lMzIxLTQyNjQtYTE2Yi01NGEwYWIwYmQxZjgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiL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yc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC00LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.EsOca-KurptSOrGyvm07tvGRV8y2EVazUxsRyrejAMUEZgyqgeyk5D5IdMovy24w_UJnuJXVmxcP5nzhxRhEVMynKuqUgrz3fMKJz6Sywoquuw2i438FaGqfW25F_vFIqr-XtqG1zOTQ1VZecUgoKEBjdcz_6vzglkq56ZHLrsU5odbzqLCe5hjl9D7p11t2U_Q2ujI0Wfi0W8rfzZVRYP5q-5P32jK1GDjIi9fc_T3FPfitXG3KpENIfizgYM9AXNw3WnSnMUYRS5z0Z_eUwhIRyo3feiKfeRmBabEvaT2myA_t-3DPy68NKPFMZNKFfyrqI1XEy70ooUo5cIycag" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "17924c7477ed599cc6ee8f4ceec885a7", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -247,9 +282,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1608", + "Content-Length": "1763", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,30 +292,25 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "beff1083-3229-41b0-ac2e-64a868f9ba74" + "X-Ms-Correlation-Request-Id": "5876727e-12f8-4498-b344-2c046e52dedc" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "imageSize": 5850, + "createdTime": "2021-07-17T21:20:15.0962043Z", + "lastUpdateTime": "2021-07-17T21:20:15.0962043Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" + "test-set-manifest-properties" ], "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true + "deleteEnabled": false, + "writeEnabled": false, + "readEnabled": false, + "listEnabled": false }, "references": [ { @@ -289,17 +319,17 @@ "os": "linux" }, { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "digest": "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "digest": "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "digest": "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", "architecture": "arm64", "os": "linux" }, @@ -314,17 +344,22 @@ "os": "linux" }, { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "digest": "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", "architecture": "ppc64le", "os": "linux" }, { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "digest": "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "architecture": "riscv64", + "os": "linux" + }, + { + "digest": "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "architecture": "s390x", "os": "linux" }, { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "digest": "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", "architecture": "amd64", "os": "windows" } @@ -333,22 +368,18 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "69f8ea22ceda8c9318d20aab004f7fce", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -358,18 +389,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "925edc62-7d48-4018-afdf-7e3ed6a5a025" + "X-Ms-Correlation-Request-Id": "da7fbc65-5af2-479c-be2b-a9bc6fd08d89" }, "ResponseBody": { "errors": [ @@ -379,8 +410,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "metadata_read" } ] } @@ -388,50 +419,49 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "e0b5f05d3dd7b2c52ea8279f268fbcff", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "194144c3-0e04-4381-ac83-4fc2564a48ee", - "x-ms-ratelimit-remaining-calls-per-second": "165.666667" + "X-Ms-Correlation-Request-Id": "a57f5b9b-a951-4939-945c-8c9a56c1dcca", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1ZDE0ZGY3OC1hNDUwLTQwM2QtOTQyYS0wNjA1ZDA1YjUzMDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.UTgx5KU20Ugq1dyEGmRSYqprFRwlQIPhV-seETXysGBKEN2TVauXMmTIzgfia2LszSAt8zqA52T5iTcKYm-wGYxtNqdJwTR7a7a3j86agISMmbmSPgOcfMr5ORFaSxt8H-lgQhk8n2VoavgW6U4f1s3-iSSy7YzRdQrkKHX5ZdWOobgpcTBqcPx0y3sncnOMpSxvsI9R8aOJ5sP0hi99SbA77pSQ9B9xGarwrzXa-6ZKSlW7DfSqJ41KIpw8Ioc8CPDAYAVFECWAAc0HHrvI7GEozSw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OwDF3cpFenUrSrXK4YLWJjbrcHPtlAHLLdR4xotE4Z-30A6TUpY_q-tk68zFmsu-_pIX6YFlpz7ahTYwR4iwJ457W1T95ExMof39oqHw" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "69f8ea22ceda8c9318d20aab004f7fce", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -441,9 +471,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1612", + "Content-Length": "1763", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -451,24 +481,19 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f2169a76-36ea-41ae-8073-8216d89288dd" + "X-Ms-Correlation-Request-Id": "02339ac1-a8ae-4223-ad29-1fcc4ecdc737" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "imageSize": 5850, + "createdTime": "2021-07-17T21:20:15.0962043Z", + "lastUpdateTime": "2021-07-17T21:20:15.0962043Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" + "test-set-manifest-properties" ], "changeableAttributes": { "deleteEnabled": false, @@ -483,17 +508,17 @@ "os": "linux" }, { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "digest": "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "digest": "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "digest": "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", "architecture": "arm64", "os": "linux" }, @@ -508,17 +533,22 @@ "os": "linux" }, { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "digest": "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", "architecture": "ppc64le", "os": "linux" }, { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "digest": "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "architecture": "riscv64", + "os": "linux" + }, + { + "digest": "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "architecture": "s390x", "os": "linux" }, { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "digest": "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", "architecture": "amd64", "os": "windows" } @@ -527,15 +557,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "0429a36d1bcf99cda26fe69cb772e9a0", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -545,18 +585,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9a31071d-2fa7-4356-a08e-d35e81c903c9" + "X-Ms-Correlation-Request-Id": "492db9f5-058e-4c5c-9ef8-ed788152ee74" }, "ResponseBody": { "errors": [ @@ -566,8 +606,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -575,43 +615,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "acaf83cea011e51424463b32a6f46688", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d42c0a94-a265-499a-883f-e9a5df2186bd", - "x-ms-ratelimit-remaining-calls-per-second": "165.65" + "X-Ms-Correlation-Request-Id": "c26598db-b233-4c93-9f22-ac20789d8fb3", + "x-ms-ratelimit-remaining-calls-per-second": "165.666667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzMWJmZjkzZi1hZGJmLTQwN2QtOWNkOS05NzAzMDM4OWZkZTAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGx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rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.UaCMGzvwPY94duBtJOXFt2j3BdeghCWx8Na2gEZAZKndcOpEbwJVeFqcrlfTO9hu3NpOiVSzPQADKcBIgiAlT3HhpMdjicVoq3Ftm2sthGZ4r4H5xnk14Hf4dbga5htzi2d1FuzXDM_60N1zdKfLBcGqcmT0Jll3vLN3iP9MGvZK9NW9gWFF_TDDEeqavCh3FmFwNJknsN4ccWJIAKHhJZQ4fZPL3DQ8Fn_78qHx8P_tmGNCYcmLXPC65-o89TqNEgNwLSJ92RwGkkArpFQyuhPMypAVacShtjjyZBqTOY7Sz4pwV8AdRM59mRGqNOiXAEW3x2GvNHcZ0QfYp2nlAQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508/_manifests/sha256%3Adf5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "0429a36d1bcf99cda26fe69cb772e9a0", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -621,9 +674,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1612", + "Content-Length": "1759", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -631,30 +684,25 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8f1a2970-a11f-4c84-b0a2-253fb77b1475" + "X-Ms-Correlation-Request-Id": "937a63f5-5b69-45d2-aba6-bdfcfeb7adbe" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-4-microsoftwindows10019042-net508", "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "imageSize": 5850, + "createdTime": "2021-07-17T21:20:15.0962043Z", + "lastUpdateTime": "2021-07-17T21:20:15.0962043Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" + "test-set-manifest-properties" ], "changeableAttributes": { - "deleteEnabled": false, - "writeEnabled": false, - "readEnabled": false, - "listEnabled": false + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true }, "references": [ { @@ -663,17 +711,17 @@ "os": "linux" }, { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "digest": "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "digest": "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", "architecture": "arm", "os": "linux" }, { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "digest": "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", "architecture": "arm64", "os": "linux" }, @@ -688,17 +736,22 @@ "os": "linux" }, { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "digest": "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", "architecture": "ppc64le", "os": "linux" }, { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "digest": "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "architecture": "riscv64", + "os": "linux" + }, + { + "digest": "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", "architecture": "s390x", "os": "linux" }, { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "digest": "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", "architecture": "amd64", "os": "windows" } @@ -707,22 +760,18 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -732,18 +781,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-4-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7d0697f7-3233-4b5f-8483-20ae90c6da97" + "X-Ms-Correlation-Request-Id": "f81db08d-6454-4050-8958-91ad1b2f1cde" }, "ResponseBody": { "errors": [ @@ -753,8 +802,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-4-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -762,51 +811,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "a3d187be0fe0ccee8f44df89df9af2ae", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-4-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4f932c95-ab8c-433b-8531-b78478083e01", - "x-ms-ratelimit-remaining-calls-per-second": "165.633333" + "X-Ms-Correlation-Request-Id": "bdca6fed-9b37-40ba-a0a6-2f96d859019c", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlOG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JzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTU5MjMsImV4cCI6MTYyNjU2MDQyMywiaWF0IjoxNjI2NTU1OTIzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC00LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.tQeC_4P9H6b6FWGryM6vdz9JOLxhX7n807EB1_iB6UyZQUoa1NIBWZztRsfWF-XcrtsWgjevuB6vlAuEXR3PnY4gx8hr-tzuSMlKnYzrIK1N4BPb2q3QpRTy58tIa6a178re4A_4HjeS_0IeZG6e3IDHt_huND95E2-zFb914RVkw8lyklk-0XQNR-j0qaQXZ2rm7zcXMtDF2ld2Z-pQKabc_BMk4ypHO-dEf1GjjLp6Z__ly6W0yHxD0TDHKDtprtZrY7j3ylBL0ZOrC9VKvfcRg_RQQib7jMQ99JxE47z5qS3UWelPjll48DeXHbHxEDUUJBRj0TPyfnUmxIuwnw" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-4-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -815,9 +863,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "1608", + "Content-Length": "883", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:41 GMT", + "Date": "Sat, 17 Jul 2021 21:20:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -825,84 +873,38 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2fecabbb-e31c-436c-9b6c-f8bc986cfb34" + "X-Ms-Client-Request-Id": "5c3e0a157b2642fe231b3d675629fabc", + "X-Ms-Correlation-Request-Id": "28423fae-6de3-4283-b640-67aad49084d9", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "086e9537-945e-4b40-802b-e1d1cd95a935" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "manifest": { - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "imageSize": 5325, - "createdTime": "2021-05-10T15:39:23.7834081Z", - "lastUpdateTime": "2021-05-10T15:39:23.7834081Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", - "tags": [ - "latest", - "newest", - "v1", - "v2", - "v3", - "v4" - ], - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - }, - "references": [ - { - "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", - "architecture": "amd64", - "os": "linux" - }, - { - "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", - "architecture": "arm", - "os": "linux" - }, - { - "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", - "architecture": "arm", - "os": "linux" - }, - { - "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", - "architecture": "arm64", - "os": "linux" - }, - { - "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", - "architecture": "386", - "os": "linux" - }, - { - "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", - "architecture": "mips64le", - "os": "linux" - }, - { - "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", - "architecture": "ppc64le", - "os": "linux" - }, - { - "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", - "architecture": "s390x", - "os": "linux" - }, - { - "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", - "architecture": "amd64", - "os": "windows" - } - ] - } + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-set-manifest-properties" + ] } } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "RandomSeed": "33394124" + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "33394124", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json index 4f1d8824abb9..3bbf89571160 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json @@ -1,15 +1,25 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "5e34df74440e4d0ab80895827407f5e0", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -19,18 +29,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:36 GMT", + "Date": "Sat, 17 Jul 2021 21:24:33 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3867a58a-8279-4ceb-850e-03356d92eb56" + "X-Ms-Correlation-Request-Id": "056b0508-68f1-4966-bbca-f67bc9d790d7" }, "ResponseBody": { "errors": [ @@ -40,8 +50,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -49,70 +59,86 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "ea2fb4f775982df0fe96f8e09b98af91", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:36 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "611f2c3b-659c-49df-a64d-0f0446cb7102", - "x-ms-ratelimit-remaining-calls-per-second": "166.35" + "X-Ms-Correlation-Request-Id": "1389d18a-437f-453b-ad00-9f4c1bca790a", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY5OTd9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "02bdbf162186f454e26d29025454c45b", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:36 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2f65d655-70bc-4865-b7c5-43d250ec1744", - "x-ms-ratelimit-remaining-calls-per-second": "166.333333" + "X-Ms-Correlation-Request-Id": "c2400bc2-3a72-435d-b212-029b8530c800", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46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Zi03MjBhLTQwNTAtOGQ2YS1lNGU4NTc0YjBhMjYiLCJzdWIiOiI3YTc4NjExNS0wNjViLTRiMWItYmEyMi1lOWY3NmU2MGE2NjkiLCJuYmYiOjE2MjY1NTYxNzQsImV4cCI6MTYyNjU2MDY3NCwiaWF0IjoxNjI2NTU2MTc0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC01LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.NVnAGu5rMWJT880u3Bv6w1a1g4--Yem_-UF-Pwf3NL00ChGxH908AIibylfSFeJzMqqUU-KeN6La-PjsrnmXbqR2ttqKnq0K6VuQucIQDg0przSlmEwcHHIuq9A1xwr79B8UtMBXUH7aAWsY5CIyxaNf5Ln-MISmrZxrdZqXXf-3Dm1a-oo5EzwYDNfIpdJDj6PK5pGxyMNI84DiBRyuYs1a_p_L-eYWxYT5dQ4TpWFTfsWPOrNTJwiMtiiwZpy2I-InT5lAFqhCZGDBoeYDcBRhStA2rq5xOYuUIkCAWVomUNsb03V8f3-wxWQZ9EwL0ofMd8yUFR7LS370CCew7A" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "5e34df74440e4d0ab80895827407f5e0", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -122,9 +148,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "449", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:36 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,43 +158,39 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3459ea48-bcb8-4b3b-b799-7a19d3d0d11f" + "X-Ms-Correlation-Request-Id": "fcbed306-c2b0-4c44-a79a-d7ecbfeafcfe" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-5-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-tag-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:24:27.1622481Z", + "lastUpdateTime": "2021-07-17T21:24:27.1622481Z", "signed": false, "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true + "deleteEnabled": false, + "writeEnabled": false, + "readEnabled": false, + "listEnabled": false } } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "a783e95f2ce0fe1bef0760774c29b11f", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -178,18 +200,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ff50c8ac-4c7c-4fec-a848-ab64a866ed57" + "X-Ms-Correlation-Request-Id": "0bc5b75c-5716-414d-8536-4ae691fe9c8d" }, "ResponseBody": { "errors": [ @@ -199,8 +221,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "metadata_read" } ] } @@ -208,50 +230,49 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "b56c0459f34ad559603a072b4beed9a9", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "022ef321-0ffc-49ce-ad6d-5958e54b6720", - "x-ms-ratelimit-remaining-calls-per-second": "166.316667" + "X-Ms-Correlation-Request-Id": "84919c1f-de7b-410c-8674-2e82425b3ffb", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjNDI1ODEwZi0xZjYxLTQ5M2ItYTgzNy0zNzI2NWQzMzA0ZmQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzcsImV4cCI6MTYyMDY2NDgzNywiaWF0IjoxNjIwNjYwMzM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.m4X-S4GKnmR5nZOfvA4QgxM-ppae4w8oyDzf9oxS7_t3UiOCchL6_9ajksge9iIPwAH6ZahijDkFg1ed6bqEuclDbMJJtA1R2dGOEh_-WU8k6kW_rit7cV9DOSc0bvf64D0N2qcYrcSF9148Wjf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b-Ytx04CTWz_y3Jz-iEUsmCM8siKa4DtEPSpzXVhOxW-9BU9uyUE0oBVdC2QEHsPwoJF8cS8PMq4sko8v2O8iCxcHAvxLkbfeh6_lIAIrrvW-8hyUgas5mkTq-I3tSW1SvxUTq7YFoU3dj_m_cuikV8EZ1WgAZwWIpiF-Qd1avTgq00sc6cmIfRQUSI445yUXz4HscXChpwrDP7gMMMru0t5gW67Of6kRw5ygNLEndI0RcAMrPAcQd_sNouxnPexwAg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "a783e95f2ce0fe1bef0760774c29b11f", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -261,9 +282,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "397", + "Content-Length": "449", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -271,16 +292,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "70d00e1e-ced1-4aaf-b5e5-3504304e063b" + "X-Ms-Correlation-Request-Id": "2e668f40-7d0d-4597-8190-92af1fdd6cfc" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-5-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-tag-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:24:27.1622481Z", + "lastUpdateTime": "2021-07-17T21:24:27.1622481Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -292,15 +313,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "b1819cd20815e9b0a4be137fc1dda8b9", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -310,18 +341,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5143812c-21f1-4437-8c37-687552b531bf" + "X-Ms-Correlation-Request-Id": "8f4a2a54-3a93-4cbf-adde-4f295b189c1b" }, "ResponseBody": { "errors": [ @@ -331,8 +362,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -340,43 +371,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "4fa80abb0fe86c1190ad47a525f0b200", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3adfbf29-062d-4a26-8a4c-183b23d5e14a", - "x-ms-ratelimit-remaining-calls-per-second": "166.3" + "X-Ms-Correlation-Request-Id": "b2ccd341-b089-4108-98b8-cf16de05da51", + "x-ms-ratelimit-remaining-calls-per-second": "165.55" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmMWY2ZjVkYy1mZWQ0LTQxYTItODkxNC1jZmJkZWI0ZWE0Y2IiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzcsImV4cCI6MTYyMDY2NDgzNywiaWF0IjoxNjIwNjYwMzM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb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bmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.dgQ0fPPRjRbEnMwl-4uawmhtWLtbQvaMPADOZkH9KaLzsRC3DlcuTc-yRSnjmLQ-EGmKtEbqOyy4ZQYQ7SY3S5_-gh3nZivKSuKZuZEInJOc9P_d7GOvTgl2kOqLfTQMi7mQrd87nPwl0KX6a34bpohFGaF-EAKWbveq_q53n67vZjfgMdIvgD0-nG701mFcx95itTwydSH591CF341IhMgid8CMOm6-ZLWC77ke1PJQLnQ-fTZzDt_U9hZdC36WwGpA90-UUfs7-vc56GE9tvO4oPb1H03BKOnoop4l3foVz0rSE1oltwGzWbBzJZSB8uZWh4eNVoKYqEpx1s6pPA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "b1819cd20815e9b0a4be137fc1dda8b9", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -386,9 +430,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "397", + "Content-Length": "445", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -396,43 +440,39 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ab774f75-4efc-46e0-b737-343e45f5d602" + "X-Ms-Correlation-Request-Id": "2eddc29e-501d-48d3-a89b-44cc3518b0a9" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-5-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-tag-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:24:27.1622481Z", + "lastUpdateTime": "2021-07-17T21:24:27.1622481Z", "signed": false, "changeableAttributes": { - "deleteEnabled": false, - "writeEnabled": false, - "readEnabled": false, - "listEnabled": false + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true } } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "afa5b62effa8500a5382108bdfda1483", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -442,18 +482,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d97a05f5-9589-4aa2-a95b-1da4f5e66042" + "X-Ms-Correlation-Request-Id": "a18c647b-1813-4400-9ef9-8f9047f3aac3" }, "ResponseBody": { "errors": [ @@ -463,8 +503,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -472,51 +512,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "416f4d928945c3c18b142167c10bc4b4", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a9c55922-4de0-414c-9798-343c7ca25edb", - "x-ms-ratelimit-remaining-calls-per-second": "166.283333" + "X-Ms-Correlation-Request-Id": "d0c4f2a8-a31c-4100-88cd-812bb699d251", + "x-ms-ratelimit-remaining-calls-per-second": "165.533333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyYTFjNzFlZi1kMDk0LTRhOGEtOWY5ZS0zNDFjOWUzZTQzODgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwL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cCI6MTYyNjU2MDY3NCwiaWF0IjoxNjI2NTU2MTc0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhbm5lbG9jb250YWluZXJyZWdpc3RyeS5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC01LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiIsImFwcGlkIjoiMDE4YWJlOGMtNjY4Ni00MGQ4LThmZTAtNmVmYzY0MDhkM2M4In0.lRNt4sGifXasPeF9OOwBqFkQDpGD6OV1jk51WqgDGnDX7UjX6WaVr2tWqrj4yPWmBIoZ7hOzchLg1nyAe97OLdv4QquOwqYWNJU3lv-w3YfodrMHLaiXSbtiPyaijZwC8P7GlxtMuSu6bKEFlrG64epllCNqn3d3_GWKlICqHpwqZGwPbzTXI6gdpDsHd63dnlElAQeVuw6p_jJhBvAsygRzBX140gI0Ptu3r0NJl7dtfS8N1kubB3Nb4Re2qqB07xV-M76r5R5wBDTZKaK_u5fpHu52hqaccnqU8Pv9BCQbFjpT3-Ltr-r3RtFxXQTuLv-lgplKcWM79Drfby6QMQ" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "afa5b62effa8500a5382108bdfda1483", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -525,9 +564,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "878", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Date": "Sat, 17 Jul 2021 21:24:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -535,29 +574,38 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e32dc3fd-91ed-4dae-b6ef-60d3862e43e4" + "X-Ms-Client-Request-Id": "afa5b62effa8500a5382108bdfda1483", + "X-Ms-Correlation-Request-Id": "d4bcbb1c-de4e-47b9-b65c-fe95d6ab0eac", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "bd27a8e7-8055-47bf-afc8-d9b468ff6f38" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - } + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-set-tag-properties" + ] } } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "RandomSeed": "312710081" + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "312710081", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json index 9d4132b3b122..14f7aae808a7 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json @@ -1,15 +1,25 @@ { "Entries": [ { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "7df72e6935223381f58f33299dab5ec7", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -19,18 +29,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:42 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5af8dfa8-7b97-4d45-b040-783edfda141f" + "X-Ms-Correlation-Request-Id": "65dba513-fb99-42af-aa80-f63c08533a6b" }, "ResponseBody": { "errors": [ @@ -40,8 +50,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -49,70 +59,86 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", + "Content-Length": "89", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "337ccc2bcd0970b99cf69afca9ec6400", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "RequestBody": "grant_type=access_token\u0026service=annelocontainerregistry.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:42 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "18bca6d3-4dfe-4052-aaad-e45d18ae9cef", - "x-ms-ratelimit-remaining-calls-per-second": "165.6" + "X-Ms-Correlation-Request-Id": "c1be7338-7b64-4664-9f86-706f43574ba1", + "x-ms-ratelimit-remaining-calls-per-second": "165.433333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NzI2MzY3MDV9.Sanitized" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "782f896fa8c7b7b6b51e54b5a519bafb", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:42 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5c29b244-d056-47ac-ab70-0f52893ba73b", - "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + "X-Ms-Correlation-Request-Id": "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3nkKzxhGOAUUGxPzl2aN7J-JDipJqHJPu8ADILpcPr0aPUSaer_N9rPxlNk11sgmM4A" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "7df72e6935223381f58f33299dab5ec7", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -122,9 +148,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "449", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:42 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,43 +158,39 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "20b4b3d3-bd40-41f9-8158-d79a013b4645" + "X-Ms-Correlation-Request-Id": "061dd2f8-ccf0-4e49-b255-11d080d38639" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-5-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-tag-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:20:27.9661723Z", + "lastUpdateTime": "2021-07-17T21:20:27.9661723Z", "signed": false, "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true + "deleteEnabled": false, + "writeEnabled": false, + "readEnabled": false, + "listEnabled": false } } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "5d9fa87c4e249bc87587e02c9b848908", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -178,18 +200,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "247", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "634e64c9-ef90-478c-aa1a-39f6ded58784" + "X-Ms-Correlation-Request-Id": "12feaee9-e7bb-45a1-b7bd-b37a5562089f" }, "ResponseBody": { "errors": [ @@ -199,8 +221,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "metadata_read" } ] } @@ -208,50 +230,49 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "172", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "14ba322ae67c82ff16c47deb7803ca82", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0a92300b-5946-42da-be64-e7914417bc63", - "x-ms-ratelimit-remaining-calls-per-second": "165.566667" + "X-Ms-Correlation-Request-Id": "e833313f-2676-4d3a-838f-b47dbe19a5b7", + "x-ms-ratelimit-remaining-calls-per-second": "165.4" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0ZTEyNWEyMi04Yzg1LTQwOGYtYmI5MC1kN2ExMDg0MTEyNjQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDMsImV4cCI6MTYyMDY2NDkwMywiaWF0IjoxNjIwNjYwNDAzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b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dG9rZW4iLCJhcHBpZCI6IjAxOGFiZThjLTY2ODYtNDBkOC04ZmUwLTZlZmM2NDA4ZDNjOCJ9.TNmG0rVzwhxGh5pHmbjsn-k6pOswu4W6o5kQEt9smG4q4I5ByOIyFlz3qLb3I5YxPoCE1ow1hExfSHO2jURd1ij9eVYXAFbyYIdjyvWVtKl0pK9I1CG_1TY_a4_RBtEMLbgUCxznYGUcLIAFNO0BjiAu-M9rYnemh0V3b-xZAC60yrVaw4orLAybi10pJHLgkVWxIZTeA2xL2E1JORH2PmGM6aPfRObp9tRawJQgUtzVtCOojlObmmN3wE-ieaFE8T7VjbYbWjWth0u2ZpoTxLthIMBWOmYjqhxkZECKS9gkA6RX5UiUM9SWzjWt30RMZWtS9DmSlDY2MHqLpB-xaA" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "84", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "5d9fa87c4e249bc87587e02c9b848908", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": false, - "writeEnabled": false, - "listEnabled": false, - "readEnabled": false - }, + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -261,9 +282,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "397", + "Content-Length": "449", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -271,16 +292,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ea6e26ae-d592-4aee-b0a8-e388aab637b1" + "X-Ms-Correlation-Request-Id": "9fa9edc2-1fa1-4e80-abf7-695bc22c6e7f" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-5-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-tag-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:20:27.9661723Z", + "lastUpdateTime": "2021-07-17T21:20:27.9661723Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -292,15 +313,25 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "00809e3b074c20dcc1930240c7891c30", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -310,18 +341,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "221", + "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9e3d1384-98c2-49e0-a0af-afd2de3d1034" + "X-Ms-Correlation-Request-Id": "271b893d-41fa-45ad-a41a-3237b3f05af5" }, "ResponseBody": { "errors": [ @@ -331,8 +362,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_read" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "metadata_write" } ] } @@ -340,43 +371,56 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "139", + "Content-Length": "173", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "738a4c94a65f967fa91c475fd0dd2371", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "61aefb0e-3b92-4cb5-9be6-c74d74d56167", - "x-ms-ratelimit-remaining-calls-per-second": "165.55" + "X-Ms-Correlation-Request-Id": "5098c7a9-422e-4ded-b6c7-27e7f9b90b95", + "x-ms-ratelimit-remaining-calls-per-second": "165.383333" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4YjJhNmNhMC1kMmQ1LTRkMDAtOGI5Zi1iMjNlNWFmOWVjYWIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDMsImV4cCI6MTYyMDY2NDkwMywiaWF0IjoxNjIwNjYwNDAzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0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iwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImM0ZjljYjU3N2Q2NzRkM2ZhZTk0MTI3MjI2NzY3N2E5IiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJoZWxsby13b3JsZC01LW1pY3Jvc29mdHdpbmRvd3MxMDAxOTA0Mi1uZXQ1MDgiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3dyaXRlIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIiwiYXBwaWQiOiIwMThhYmU4Yy02Njg2LTQwZDgtOGZlMC02ZWZjNjQwOGQzYzgifQ.IQqqlYjm-R1U0y12PWc8XbKKCTABaER2Ty19ypVVQ96MnYtgLuOqcWXiiPyNYNvjWRA8Z987yYE_glkwLOHv04BLeOnqmAulXOz3aqISzRLTJv7oDU7qprIdxL0asjeaujv02ZDT4BvYvpRjEVrXKFi3BiUbwIsFGJy1rNWFIvuzqHqbaW9IEVMOTg_xARHFU58bq34Nnf0ySuz_jaL5_ZSC72AwpNnKLMqq1MR0UsUkLLIxXVi3Ff-ciEj6dxyrSb55Jp7Fbpv8JUGZFdKTDr4Dx4VfRd1P0v_UiLsbNBfMOhKtkVVQEErr_bAUoUDExAx_cWn7WSpSgAIE6pzzpg" } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "GET", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508/_tags/test-set-tag-properties", + "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "00809e3b074c20dcc1930240c7891c30", "x-ms-return-client-request-id": "true" }, - "RequestBody": null, + "RequestBody": { + "deleteEnabled": true, + "writeEnabled": true, + "listEnabled": true, + "readEnabled": true + }, "StatusCode": 200, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -386,9 +430,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "397", + "Content-Length": "445", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -396,43 +440,39 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d5f681b7-0a9c-46bc-a91a-11328a40e138" + "X-Ms-Correlation-Request-Id": "e2d70bfd-9253-4ed1-8408-57703ea1130f" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", + "registry": "annelocontainerregistry.azurecr.io", + "imageName": "hello-world-5-microsoftwindows10019042-net508", "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", + "name": "test-set-tag-properties", + "digest": "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e", + "createdTime": "2021-07-17T21:20:27.9661723Z", + "lastUpdateTime": "2021-07-17T21:20:27.9661723Z", "signed": false, "changeableAttributes": { - "deleteEnabled": false, - "writeEnabled": false, - "readEnabled": false, - "listEnabled": false + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true } } } }, { - "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", - "RequestMethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "fcf15dbc880423bb559953e8e3bfbb8c", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, + "RequestBody": null, "StatusCode": 401, "ResponseHeaders": { "Access-Control-Expose-Headers": [ @@ -442,18 +482,18 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "222", + "Content-Length": "240", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains", "max-age=31536000; includeSubDomains" ], - "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://annelocontainerregistry.azurecr.io/oauth2/token\u0022,service=\u0022annelocontainerregistry.azurecr.io\u0022,scope=\u0022repository:hello-world-5-microsoftwindows10019042-net508:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "419e5ce7-6a4d-4511-9059-82894076f2a2" + "X-Ms-Correlation-Request-Id": "f6e2ec27-119d-4849-86b2-06e8819d8e40" }, "ResponseBody": { "errors": [ @@ -463,8 +503,8 @@ "detail": [ { "Type": "repository", - "Name": "library/hello-world", - "Action": "metadata_write" + "Name": "hello-world-5-microsoftwindows10019042-net508", + "Action": "delete" } ] } @@ -472,51 +512,50 @@ } }, { - "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestUri": "https://annelocontainerregistry.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "140", + "Content-Length": "165", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "2c564da7577894231eea572fc07c50e4", "x-ms-return-client-request-id": "true" }, - "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", + "RequestBody": "service=annelocontainerregistry.azurecr.io\u0026scope=repository%3ahello-world-5-microsoftwindows10019042-net508%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "5b06201c-c3d1-48ad-ba63-90da2a7048db", - "x-ms-ratelimit-remaining-calls-per-second": "165.533333" + "X-Ms-Correlation-Request-Id": "bee7f3e6-c1ab-4899-988d-d2bbd034e16f", + "x-ms-ratelimit-remaining-calls-per-second": "165.366667" }, "ResponseBody": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ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ethod": "PATCH", + "RequestUri": "https://annelocontainerregistry.azurecr.io/acr/v1/hello-world-5-microsoftwindows10019042-net508", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "80", - "Content-Type": "application/json", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": [ + "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210717.1", + "(.NET 5.0.8; Microsoft Windows 10.0.19042)" + ], "x-ms-client-request-id": "fcf15dbc880423bb559953e8e3bfbb8c", "x-ms-return-client-request-id": "true" }, - "RequestBody": { - "deleteEnabled": true, - "writeEnabled": true, - "listEnabled": true, - "readEnabled": true - }, - "StatusCode": 200, + "RequestBody": null, + "StatusCode": 202, "ResponseHeaders": { "Access-Control-Expose-Headers": [ "Docker-Content-Digest", @@ -525,9 +564,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "393", + "Content-Length": "878", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Date": "Sat, 17 Jul 2021 21:20:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -535,29 +574,38 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5567eac3-6fc0-48a3-a0a5-362864fb9939" + "X-Ms-Client-Request-Id": "fcf15dbc880423bb559953e8e3bfbb8c", + "X-Ms-Correlation-Request-Id": "351ef6dd-00fa-42a9-ab9c-09ba9f06369d", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "8cb6af88-073e-4731-8fb1-8617838a15ac" }, "ResponseBody": { - "registry": "localtestacr04.azurecr.io", - "imageName": "library/hello-world", - "tag": { - "name": "latest", - "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-10T15:39:23.7063677Z", - "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", - "signed": false, - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - } + "manifestsDeleted": [ + "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "sha256:3e7d74d1c66c8f7dd5384f49bf0f8ab3e18e81e8d2a79218ed777c534b446552", + "sha256:58d91e6625a0ea837222f24da4ca00be9da3db45cee5b172135eaf271610f9eb", + "sha256:6d9fcdca25452c9a255f02c7d67eb28e8afbba2671f1e8f60b3b3585b7bdf172", + "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "sha256:90e120baffe5afa60dd5a24abcd051db49bd6aee391174da5e825ee6ee5a12a0", + "sha256:94b700b6ae5759e539e06fa6d483f5f0174067945f180cc1362cfda71c5fd722", + "sha256:a10c347f4cc2924af832d319635d6d027ca8820ff683b6bcc728d825a37a7f69", + "sha256:b89e28f1d57f44064e96c4525e514f6f0498a433b83413538f79f82566d72114", + "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "sha256:df5f5184104426b65967e016ff2ac0bfcd44ad7899ca3bbcf8e44e4461491a9e" + ], + "tagsDeleted": [ + "test-set-tag-properties" + ] } } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", - "RandomSeed": "1979592264" + "CLIENT_ID": "018abe8c-6686-40d8-8fe0-6efc6408d3c8", + "CONTAINERREGISTRY_ENDPOINT": "https://annelocontainerregistry.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "annelocontainerregistry", + "RandomSeed": "1979592264", + "RESOURCE_GROUP": "rg-annelocontainerregistry", + "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", + "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } } \ No newline at end of file