diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 25d8d7f448b2..c239ab0c45e8 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -25,9 +25,13 @@ ], // cspell is not case sensitive // Sort words alphabetically to make this list easier to use - "words": [], + "words": ["azsdk", "pwsh"], "overrides": [ - { "filename": "**/sdk/formrecognizer/**/*.cs", "words": ["ZhHant"] } + { "filename": "**/sdk/formrecognizer/**/*.cs", "words": ["ZhHant"] }, + { + "filename": "**/eng/pipelines/templates/jobs/ci.yml", + "words": ["warnaserror"] + } ], "allowCompoundWords": true } diff --git a/eng/CHECKENFORCER b/eng/CHECKENFORCER index 1d39370c9da5..3e69ffa41ce5 100644 --- a/eng/CHECKENFORCER +++ b/eng/CHECKENFORCER @@ -1,6 +1,6 @@ format: v0.1-alpha minimumCheckRuns: 1 -timeout: 5 +timeout: 10 message: > This pull request is protected by [Check Enforcer](https://aka.ms/azsdk/check-enforcer). @@ -62,4 +62,4 @@ message: > ## For track 1 management-plane SDKs Please open a separate PR and to your service SDK path in [this file](https://github.com/Azure/azure-sdk-for-net/blob/master/eng/pipelines/mgmt.yml). Once that PR has been merged, you can re-run the pipeline to trigger the verification. - \ No newline at end of file + diff --git a/eng/Directory.Build.Common.props b/eng/Directory.Build.Common.props index 7344dbe5196e..12c92c277122 100644 --- a/eng/Directory.Build.Common.props +++ b/eng/Directory.Build.Common.props @@ -118,7 +118,10 @@ net461;netcoreapp2.1;netcoreapp3.1;net5.0 - + + + + $(RequiredTargetFrameworks) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 35f0e50ff16d..62193bfe8590 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -74,9 +74,10 @@ - + + - + @@ -89,8 +90,8 @@ - - + + diff --git a/eng/common/scripts/Prepare-Release.ps1 b/eng/common/scripts/Prepare-Release.ps1 index b3b62e9f96e9..2c7b61522048 100644 --- a/eng/common/scripts/Prepare-Release.ps1 +++ b/eng/common/scripts/Prepare-Release.ps1 @@ -136,6 +136,11 @@ if ($null -eq $newVersionParsed) -packageType $packageProperties.SDKType ` -packageNewLibrary $packageProperties.IsNewSDK +if ($LASTEXITCODE -ne 0) { + Write-Error "Updating of the Devops Release WorkItem failed." + exit 1 +} + if ($releaseTrackingOnly) { Write-Host diff --git a/eng/common/scripts/Update-DevOps-Release-WorkItem.ps1 b/eng/common/scripts/Update-DevOps-Release-WorkItem.ps1 index 92f9a41106ad..b1a45abffa2e 100644 --- a/eng/common/scripts/Update-DevOps-Release-WorkItem.ps1 +++ b/eng/common/scripts/Update-DevOps-Release-WorkItem.ps1 @@ -19,11 +19,17 @@ param( Set-StrictMode -Version 3 if (!(Get-Command az -ErrorAction SilentlyContinue)) { - Write-Host 'You must have the Azure CLI installed: https://aka.ms/azure-cli' + Write-Error 'You must have the Azure CLI installed: https://aka.ms/azure-cli' exit 1 } -az extension show -n azure-devops > $null +az account show *> $null +if (!$?) { + Write-Host 'Running az login...' + az login *> $null +} + +az extension show -n azure-devops *> $null if (!$?){ Write-Host 'Installing azure-devops extension' az extension add --name azure-devops diff --git a/eng/mgmt/mgmtmetadata/resources_resource-manager.txt b/eng/mgmt/mgmtmetadata/resources_resource-manager.txt index a33f8ebe5507..8768bb497f4f 100644 --- a/eng/mgmt/mgmtmetadata/resources_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/resources_resource-manager.txt @@ -3,13 +3,13 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/resources/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-templatespecs-2021-03-preview --csharp.output-folder=C:\repos\azure-sdk-for-net\sdk\resources\Microsoft.Azure.Management.Resource\src\Generated\TemplateSpecs +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/resources/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-templatespecs-2021-05 --csharp.output-folder=C:\repos\azure-sdk-for-net\sdk\resources\Microsoft.Azure.Management.Resource\src\Generated\TemplateSpecs Autorest CSharp Version: 2.3.82 -2021-04-20 23:49:12 UTC +2021-05-04 21:49:01 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 5047dfdf585969892ac035ffdfbc57623f0bf1c5 +Commit: a7292a40170e8ebb10ad12332022798c2fe72f8a AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index 51ca2b65d983..cf92d54bd4cc 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -103,6 +103,7 @@ jobs: name: azsdk-pool-mms-ubuntu-1804-general vmImage: MMSUbuntu18.04 steps: + - template: /eng/common/pipelines/templates/steps/check-spelling.yml - task: UsePythonVersion@0 displayName: "Use Python 3.6" inputs: diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Azure.AI.AnomalyDetector.csproj b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Azure.AI.AnomalyDetector.csproj index 0b755a956b7c..77ff39f5bc39 100644 --- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Azure.AI.AnomalyDetector.csproj +++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Azure.AI.AnomalyDetector.csproj @@ -10,6 +10,7 @@ + @@ -28,6 +29,4 @@ - - diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/tests/Infrastructure/AnomalyDetectorRecordedTestSanitizer.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/tests/Infrastructure/AnomalyDetectorRecordedTestSanitizer.cs index 3a6c0fc6e88b..57ddf1e3f3d0 100644 --- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/tests/Infrastructure/AnomalyDetectorRecordedTestSanitizer.cs +++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/tests/Infrastructure/AnomalyDetectorRecordedTestSanitizer.cs @@ -11,8 +11,8 @@ public class AnomalyDetectorRecordedTestSanitizer : RecordedTestSanitizer public AnomalyDetectorRecordedTestSanitizer() : base() { - JsonPathSanitizers.Add("$..accessToken"); - JsonPathSanitizers.Add("$..source"); + AddJsonPathSanitizer("$..accessToken"); + AddJsonPathSanitizer("$..source"); // TODO: Remove when re-recording LegacyConvertJsonDateTokens = true; } diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/CHANGELOG.md b/sdk/appconfiguration/Azure.Data.AppConfiguration/CHANGELOG.md index c4edbbd58721..ba7666109667 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/CHANGELOG.md +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/CHANGELOG.md @@ -1,7 +1,10 @@ # Release History -## 1.1.0-beta.3 (Unreleased) +## 1.1.0-beta.3 (2021-05-11) +### Key Bug Fixes + +- `FeatureFlagFilter` now allows parameter modification. ## 1.1.0-beta.2 (2021-04-06) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs index da6cb538fa3b..8b96a4e5530f 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs @@ -88,9 +88,9 @@ public partial class FeatureFlagConfigurationSetting : Azure.Data.AppConfigurati public partial class FeatureFlagFilter { public FeatureFlagFilter(string name) { } - public FeatureFlagFilter(string name, System.Collections.Generic.IReadOnlyDictionary parameters) { } + public FeatureFlagFilter(string name, System.Collections.Generic.IDictionary parameters) { } public string Name { get { throw null; } } - public System.Collections.Generic.IReadOnlyDictionary Parameters { get { throw null; } } + public System.Collections.Generic.IDictionary Parameters { get { throw null; } } } public partial class SecretReferenceConfigurationSetting : Azure.Data.AppConfiguration.ConfigurationSetting { diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Azure.Data.AppConfiguration.csproj b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Azure.Data.AppConfiguration.csproj index cd8a56440a16..46eb2699aece 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Azure.Data.AppConfiguration.csproj +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Azure.Data.AppConfiguration.csproj @@ -11,13 +11,11 @@ + - - - diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagConfigurationSetting.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagConfigurationSetting.cs index 063b5c1d07fb..7dd72ceae032 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagConfigurationSetting.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagConfigurationSetting.cs @@ -44,11 +44,11 @@ public class FeatureFlagConfigurationSetting : ConfigurationSetting private string _description; private string _displayName; private bool _isEnabled; - private ObservableCollection _clientFilters; + private IList _clientFilters; internal FeatureFlagConfigurationSetting() { - SetClientFilters(); + _clientFilters = new List(); } /// @@ -58,7 +58,7 @@ internal FeatureFlagConfigurationSetting() /// The identified of the feature flag. /// The value indicating whether the feature flag is enabled. /// A label used to group this configuration setting with others. - public FeatureFlagConfigurationSetting(string featureId, bool isEnabled, string label = null) + public FeatureFlagConfigurationSetting(string featureId, bool isEnabled, string label = null): this() { _isValidValue = true; Key = KeyPrefix + featureId; @@ -66,7 +66,6 @@ public FeatureFlagConfigurationSetting(string featureId, bool isEnabled, string IsEnabled = isEnabled; ContentType = FeatureFlagContentType; FeatureId = featureId; - SetClientFilters(); } /// @@ -159,7 +158,7 @@ internal override void SetValue(string value) internal override string GetValue() { - return _originalValue ??= FormatValue(); + return _isValidValue ? FormatValue() : _originalValue; } private string FormatValue() @@ -256,7 +255,7 @@ private bool TryParseValue() } } - SetClientFilters(newFilters); + _clientFilters = newFilters; } catch (Exception) { @@ -302,7 +301,7 @@ private static object ReadParameterValue(in JsonElement element) { list.Add(ReadParameterValue(item)); } - return list.ToArray(); + return list; default: throw new NotSupportedException("Not supported value kind " + element.ValueKind); } @@ -370,17 +369,6 @@ private void CheckValid() } } - private void SetClientFilters(ObservableCollection newCollection = null) - { - if (_clientFilters != null) - { - _clientFilters.CollectionChanged -= OnFiltersCollectionChange; - } - - _clientFilters = newCollection ?? new ObservableCollection(); - _clientFilters.CollectionChanged += OnFiltersCollectionChange; - } - private void OnFiltersCollectionChange(object sender, NotifyCollectionChangedEventArgs e) { CheckValidWrite(); diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagFilter.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagFilter.cs index 3dd5425c277b..53c7d7123f28 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagFilter.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/FeatureFlagFilter.cs @@ -23,7 +23,7 @@ public class FeatureFlagFilter /// /// The name of the feature filter. For example: PercentageFilter, TimeWindowFilter, TargetingFilter. /// Parameters of the feature filter. - public FeatureFlagFilter(string name, IReadOnlyDictionary parameters) + public FeatureFlagFilter(string name, IDictionary parameters) { Name = name; Parameters = parameters; @@ -37,6 +37,6 @@ public FeatureFlagFilter(string name, IReadOnlyDictionary parame /// /// Gets the parameters of the feature filter. /// - public IReadOnlyDictionary Parameters { get; } + public IDictionary Parameters { get; } } } \ No newline at end of file diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs index 65169af4ecbd..386d417d34b0 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs @@ -2,6 +2,7 @@ // Licensed under the MIT License. using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; @@ -1484,6 +1485,58 @@ public async Task CanAddAndGetMultipleSecretReferences() } } + [RecordedTest] + public async Task CanModifyTheFilterParameterValues() + { + ConfigurationClient service = GetClient(); + + var testSetting1 = new FeatureFlagConfigurationSetting(GenerateKeyId(), true) + { + FeatureId = "my_feature", + ClientFilters = + { + new FeatureFlagFilter("Microsoft.Targeting", new Dictionary() + { + {"Audience", new Dictionary() + { + { + "Groups", new List() + { + new Dictionary() + { + {"Name", "Group1"}, + {"RolloutPercentage", 100}, + } + } + } + }} + }) + } + }; + + try + { + await service.AddConfigurationSettingAsync(testSetting1); + + var selectedSetting = (FeatureFlagConfigurationSetting)await service.GetConfigurationSettingAsync(testSetting1.Key); + var audience = (IDictionary) selectedSetting.ClientFilters[0].Parameters["Audience"]; + var groups = (IList) audience["Groups"]; + + groups.Add(new Dictionary() + { + {"Name", "Group2"}, + {"RolloutPercentage", 50}, + }); + + var resultingSetting = await service.SetConfigurationSettingAsync(selectedSetting); + Assert.AreEqual("{\"id\":\"my_feature\",\"enabled\":true,\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"Group1\",\"RolloutPercentage\":100},{\"Name\":\"Group2\",\"RolloutPercentage\":50}]}}}]}}", resultingSetting.Value.Value); + } + finally + { + AssertStatus200(await service.DeleteConfigurationSettingAsync(testSetting1)); + } + } + private static void AssertStatus200(Response response) => Assert.AreEqual(200, response.Status); } } diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/FeatureFlagConfigurationSettingTests.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/FeatureFlagConfigurationSettingTests.cs index b00f5fe3f782..a5e49b6e2a61 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/FeatureFlagConfigurationSettingTests.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/FeatureFlagConfigurationSettingTests.cs @@ -55,7 +55,6 @@ public void CreatingSetsContentTypeAndPrefix() [TestCase("INVALID")] [TestCase(MinimalFeatureValue)] - [TestCase(MinimalFeatureValueWithFormatting)] [TestCase("")] public void CanRountripValue(string value) { @@ -138,20 +137,6 @@ public void FeatureValueIsParsedOnAssignment() }}}, feature.ClientFilters[1].Parameters); } - [Test] - public void ReadingPropertiedDoesNotChangeValue() - { - var feature = new FeatureFlagConfigurationSetting(); - feature.Value = MinimalFeatureValueWithFormatting; - _ = feature.Description; - _ = feature.ClientFilters; - _ = feature.DisplayName; - _ = feature.FeatureId; - _ = feature.IsEnabled; - - Assert.AreEqual(MinimalFeatureValueWithFormatting, feature.Value); - } - [Test] public void SettingDescriptionChangesValue() { @@ -204,5 +189,22 @@ public void AddingConditionChangesValue() Assert.AreEqual("{\"id\":\"my feature\",\"enabled\":false,\"conditions\":{\"client_filters\":[{\"name\":\"file\",\"parameters\":{\"p1\":1}}]}}", feature.Value); } + + [Test] + public void ChangingParametersUpdatesValue() + { + var feature = new FeatureFlagConfigurationSetting(); + feature.Value = MinimalFeatureValueWithFormatting; + feature.ClientFilters.Add(new FeatureFlagFilter("file", new Dictionary() + { + {"p1", 1} + })); + + Assert.AreEqual("{\"id\":\"my feature\",\"enabled\":false,\"conditions\":{\"client_filters\":[{\"name\":\"file\",\"parameters\":{\"p1\":1}}]}}", feature.Value); + + feature.ClientFilters[0].Parameters["p1"] = 2; + + Assert.AreEqual("{\"id\":\"my feature\",\"enabled\":false,\"conditions\":{\"client_filters\":[{\"name\":\"file\",\"parameters\":{\"p1\":2}}]}}", feature.Value); + } } } \ No newline at end of file diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SessionRecords/ConfigurationLiveTests/CanModifyTheFilterParameterValues.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SessionRecords/ConfigurationLiveTests/CanModifyTheFilterParameterValues.json new file mode 100644 index 000000000000..adc109206e7e --- /dev/null +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SessionRecords/ConfigurationLiveTests/CanModifyTheFilterParameterValues.json @@ -0,0 +1,209 @@ +{ + "Entries": [ + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F610619687?api-version=1.0", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/vnd.microsoft.appconfig.kv\u002Bjson", + "Authorization": "Sanitized", + "Content-Length": "412", + "Content-Type": "application/json", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "If-None-Match": "*", + "traceparent": "00-576e4fb95fd5154eb40859bc0ca1e398-f0fc1438d2ffc047-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "15f0afd0f424c8c9977319cde314094f", + "x-ms-content-sha256": "G4KLU4DNyYqWofUkvfck6o6RustuvDOKRpWFCUt5w14=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100}]}}}]}}", + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u0022LTNEf78oNTiIJy54MTUbLGBE8eP\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:10 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODYy;sn=8456862", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "15f0afd0f424c8c9977319cde314094f", + "x-ms-correlation-request-id": "ac3fd03e-3caf-4822-bdd4-7b64425a12d9", + "x-ms-request-id": "ac3fd03e-3caf-4822-bdd4-7b64425a12d9" + }, + "ResponseBody": { + "etag": "LTNEf78oNTiIJy54MTUbLGBE8eP", + "key": ".appconfig.featureflag/610619687", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:10\u002B00:00" + } + }, + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F610619687?api-version=1.0", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/vnd.microsoft.appconfig.kv\u002Bjson", + "Authorization": "Sanitized", + "Content-Type": "application/json", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODYy", + "traceparent": "00-4c014b278b8f2d469540f2f414d6d61d-c6aa98d08fbc4d4a-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "5a8e029044bc6b9da007fd715d97dddb", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u0022LTNEf78oNTiIJy54MTUbLGBE8eP\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:10 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODYy;sn=8456862", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "5a8e029044bc6b9da007fd715d97dddb", + "x-ms-correlation-request-id": "9d9c4505-4b47-4102-ad34-49746906dcd5", + "x-ms-request-id": "9d9c4505-4b47-4102-ad34-49746906dcd5" + }, + "ResponseBody": { + "etag": "LTNEf78oNTiIJy54MTUbLGBE8eP", + "key": ".appconfig.featureflag/610619687", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:10\u002B00:00" + } + }, + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F610619687?api-version=1.0", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/vnd.microsoft.appconfig.kv\u002Bjson", + "Authorization": "Sanitized", + "Content-Length": "520", + "Content-Type": "application/json", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODYy", + "traceparent": "00-6b1d7ca28305a040b9798e92d40a9f4a-d56364d02edbd24e-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "64df406a24ef4e6d692698843a1c741f", + "x-ms-content-sha256": "Rf0ZUD4\u002Bf3UkA3Y6pxFNkrDSdkm\u002BNhMkq3uvd2Tr5Zg=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100},{\u0022Name\u0022:\u0022Group2\u0022,\u0022RolloutPercentage\u0022:50}]}}}]}}", + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "tags": {}, + "etag": "LTNEf78oNTiIJy54MTUbLGBE8eP" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u0022ehinp9RpZMhLZETbHmCcIJf6Oq8\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:10 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODYz;sn=8456863", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "64df406a24ef4e6d692698843a1c741f", + "x-ms-correlation-request-id": "667e9a7d-29b5-451b-a1c0-25a4afa953b0", + "x-ms-request-id": "667e9a7d-29b5-451b-a1c0-25a4afa953b0" + }, + "ResponseBody": { + "etag": "ehinp9RpZMhLZETbHmCcIJf6Oq8", + "key": ".appconfig.featureflag/610619687", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100},{\u0022Name\u0022:\u0022Group2\u0022,\u0022RolloutPercentage\u0022:50}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:10\u002B00:00" + } + }, + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F610619687?api-version=1.0", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODYz", + "traceparent": "00-afd20de3627b5743b95e2a240af5d907-076a1e7c92e6a64c-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "c27a96cb9e518c6a1184751cf6576bff", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u0022ehinp9RpZMhLZETbHmCcIJf6Oq8\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:10 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY0;sn=8456864", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "c27a96cb9e518c6a1184751cf6576bff", + "x-ms-correlation-request-id": "60b51242-932c-4a2b-888e-60eef3674dd9", + "x-ms-request-id": "60b51242-932c-4a2b-888e-60eef3674dd9" + }, + "ResponseBody": { + "etag": "ehinp9RpZMhLZETbHmCcIJf6Oq8", + "key": ".appconfig.featureflag/610619687", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100},{\u0022Name\u0022:\u0022Group2\u0022,\u0022RolloutPercentage\u0022:50}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:10\u002B00:00" + } + } + ], + "Variables": { + "APPCONFIGURATION_CONNECTION_STRING": "Endpoint=https://pakrymac2-azconfig-net.azconfig.io;Id=1Umh-l2-s0:lhr9xPc/4znKhCwqJnXu;Secret=Kg==", + "RandomSeed": "179551400" + } +} \ No newline at end of file diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SessionRecords/ConfigurationLiveTests/CanModifyTheFilterParameterValuesAsync.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SessionRecords/ConfigurationLiveTests/CanModifyTheFilterParameterValuesAsync.json new file mode 100644 index 000000000000..3627d0bdb432 --- /dev/null +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SessionRecords/ConfigurationLiveTests/CanModifyTheFilterParameterValuesAsync.json @@ -0,0 +1,209 @@ +{ + "Entries": [ + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F1685099852?api-version=1.0", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/vnd.microsoft.appconfig.kv\u002Bjson", + "Authorization": "Sanitized", + "Content-Length": "412", + "Content-Type": "application/json", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "If-None-Match": "*", + "traceparent": "00-b2fc8360852e744b88f9fe53172d3a61-6134a8af1d0b7848-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "c68ead116a15ebfafa2551a9ad0fdb95", + "x-ms-content-sha256": "G4KLU4DNyYqWofUkvfck6o6RustuvDOKRpWFCUt5w14=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100}]}}}]}}", + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u0022gN6bO5O8IranF1RIEO7zFKqMRK8\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:11 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY1;sn=8456865", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "c68ead116a15ebfafa2551a9ad0fdb95", + "x-ms-correlation-request-id": "7170bd7c-3e09-4970-b530-09f779d1ad83", + "x-ms-request-id": "7170bd7c-3e09-4970-b530-09f779d1ad83" + }, + "ResponseBody": { + "etag": "gN6bO5O8IranF1RIEO7zFKqMRK8", + "key": ".appconfig.featureflag/1685099852", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:11\u002B00:00" + } + }, + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F1685099852?api-version=1.0", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/vnd.microsoft.appconfig.kv\u002Bjson", + "Authorization": "Sanitized", + "Content-Type": "application/json", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY1", + "traceparent": "00-a267b9aed6ac02488eccc217de918a5b-ffccc27df73d1c43-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "fbcf819acb2da7b1e4d9a81e0c338437", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u0022gN6bO5O8IranF1RIEO7zFKqMRK8\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:11 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY1;sn=8456865", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "fbcf819acb2da7b1e4d9a81e0c338437", + "x-ms-correlation-request-id": "1b085a7e-ca22-404b-b3f1-bc9cffb7c0be", + "x-ms-request-id": "1b085a7e-ca22-404b-b3f1-bc9cffb7c0be" + }, + "ResponseBody": { + "etag": "gN6bO5O8IranF1RIEO7zFKqMRK8", + "key": ".appconfig.featureflag/1685099852", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:11\u002B00:00" + } + }, + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F1685099852?api-version=1.0", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/vnd.microsoft.appconfig.kv\u002Bjson", + "Authorization": "Sanitized", + "Content-Length": "520", + "Content-Type": "application/json", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY1", + "traceparent": "00-8ca2749542d6c24e8a5e0877557be442-199a7df8ed715741-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "76b58aa299fdb481750dbd6c57e13cd4", + "x-ms-content-sha256": "W2Yi9skMRHSzq/3G\u002BE6LFw6q6/\u002Bu8agkTJqUJv0JLu0=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100},{\u0022Name\u0022:\u0022Group2\u0022,\u0022RolloutPercentage\u0022:50}]}}}]}}", + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "tags": {}, + "etag": "gN6bO5O8IranF1RIEO7zFKqMRK8" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u00226LUS8y0m8d1HrYLKsAZcaREYY7k\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:11 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY2;sn=8456866", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "76b58aa299fdb481750dbd6c57e13cd4", + "x-ms-correlation-request-id": "c487ecc8-f44f-4b80-8a45-6ab607371ea7", + "x-ms-request-id": "c487ecc8-f44f-4b80-8a45-6ab607371ea7" + }, + "ResponseBody": { + "etag": "6LUS8y0m8d1HrYLKsAZcaREYY7k", + "key": ".appconfig.featureflag/1685099852", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100},{\u0022Name\u0022:\u0022Group2\u0022,\u0022RolloutPercentage\u0022:50}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:11\u002B00:00" + } + }, + { + "RequestUri": "https://pakrymac2-azconfig-net.azconfig.io/kv/.appconfig.featureflag%2F1685099852?api-version=1.0", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "Date": "Wed, 05 May 2021 21:17:10 GMT", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY2", + "traceparent": "00-9f7a8077a8a3404198dadc19c71228ad-2b5df95eb59b274c-00", + "User-Agent": [ + "azsdk-net-Data.AppConfiguration/1.1.0-alpha.20210505.1", + "(.NET 5.0.5; Microsoft Windows 10.0.19042)" + ], + "x-ms-client-request-id": "edf2de1480b9451ffbe7e13cc2dbdfc7", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Access-Control-Allow-Credentials": "true", + "Access-Control-Allow-Origin": "*", + "Access-Control-Expose-Headers": "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, x-ms-effective-locale, WWW-Authenticate", + "Connection": "keep-alive", + "Content-Type": "application/vnd.microsoft.appconfig.kv\u002Bjson; charset=utf-8", + "Date": "Wed, 05 May 2021 21:17:09 GMT", + "ETag": "\u00226LUS8y0m8d1HrYLKsAZcaREYY7k\u0022", + "Last-Modified": "Wed, 05 May 2021 21:17:11 GMT", + "Server": "openresty/1.17.8.2", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "Sync-Token": "zAJw6V16=MDoxNyM4NDU2ODY3;sn=8456867", + "Transfer-Encoding": "chunked", + "x-ms-client-request-id": "edf2de1480b9451ffbe7e13cc2dbdfc7", + "x-ms-correlation-request-id": "3cae847d-bc71-4c97-af0f-95e8396be141", + "x-ms-request-id": "3cae847d-bc71-4c97-af0f-95e8396be141" + }, + "ResponseBody": { + "etag": "6LUS8y0m8d1HrYLKsAZcaREYY7k", + "key": ".appconfig.featureflag/1685099852", + "label": null, + "content_type": "application/vnd.microsoft.appconfig.ff\u002Bjson;charset=utf-8", + "value": "{\u0022id\u0022:\u0022my_feature\u0022,\u0022enabled\u0022:true,\u0022conditions\u0022:{\u0022client_filters\u0022:[{\u0022name\u0022:\u0022Microsoft.Targeting\u0022,\u0022parameters\u0022:{\u0022Audience\u0022:{\u0022Groups\u0022:[{\u0022Name\u0022:\u0022Group1\u0022,\u0022RolloutPercentage\u0022:100},{\u0022Name\u0022:\u0022Group2\u0022,\u0022RolloutPercentage\u0022:50}]}}}]}}", + "tags": {}, + "locked": false, + "last_modified": "2021-05-05T21:17:11\u002B00:00" + } + } + ], + "Variables": { + "APPCONFIGURATION_CONNECTION_STRING": "Endpoint=https://pakrymac2-azconfig-net.azconfig.io;Id=1Umh-l2-s0:lhr9xPc/4znKhCwqJnXu;Secret=Kg==", + "RandomSeed": "1363915386" + } +} \ No newline at end of file diff --git a/sdk/attestation/Azure.Security.Attestation/CHANGELOG.md b/sdk/attestation/Azure.Security.Attestation/CHANGELOG.md index e6e05bc36715..624c84ad8c5d 100644 --- a/sdk/attestation/Azure.Security.Attestation/CHANGELOG.md +++ b/sdk/attestation/Azure.Security.Attestation/CHANGELOG.md @@ -1,10 +1,13 @@ # Release History +## 1.1.0-beta.1 (Unreleased) + + ## 1.0.0 (2021-05-11) ### Changed -- Hopefully the final changes for Azure Attestation Service for .Net. Mostly code cleanups, but significant improvements to the `AttestationToken` class. +- Final changes for Azure Attestation Service for .Net, including API review feedback. Mostly code cleanups, but significant improvements to the `AttestationToken` class. ### Breaking change diff --git a/sdk/attestation/Azure.Security.Attestation/src/Azure.Security.Attestation.csproj b/sdk/attestation/Azure.Security.Attestation/src/Azure.Security.Attestation.csproj index b861c9a79b83..5ebfc90cba08 100644 --- a/sdk/attestation/Azure.Security.Attestation/src/Azure.Security.Attestation.csproj +++ b/sdk/attestation/Azure.Security.Attestation/src/Azure.Security.Attestation.csproj @@ -2,12 +2,15 @@ This is the project which implements the Microsoft Azure Attestation client API and package Azure SDK Template - 1.0.0 + 1.1.0-beta.1 + + 1.0.0 Azure Template $(RequiredTargetFrameworks) + @@ -41,6 +44,4 @@ - - diff --git a/sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/Microsoft.Azure.Batch.Integration.Tests.csproj b/sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/Microsoft.Azure.Batch.Integration.Tests.csproj index a2fa27500628..04bc2b4a1651 100644 --- a/sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/Microsoft.Azure.Batch.Integration.Tests.csproj +++ b/sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/Microsoft.Azure.Batch.Integration.Tests.csproj @@ -8,7 +8,7 @@ Microsoft Azure Batch Integration Tests - + FullNetFx bin\$(Configuration)\ @@ -28,11 +28,6 @@ - @@ -58,13 +53,11 @@ - - + + - - - + diff --git a/sdk/batch/Microsoft.Azure.Batch/tests/UnitTests/Microsoft.Azure.Batch.Unit.Tests.csproj b/sdk/batch/Microsoft.Azure.Batch/tests/UnitTests/Microsoft.Azure.Batch.Unit.Tests.csproj index aa62016b828d..6e5e46f53dbb 100644 --- a/sdk/batch/Microsoft.Azure.Batch/tests/UnitTests/Microsoft.Azure.Batch.Unit.Tests.csproj +++ b/sdk/batch/Microsoft.Azure.Batch/tests/UnitTests/Microsoft.Azure.Batch.Unit.Tests.csproj @@ -49,7 +49,6 @@ - diff --git a/sdk/communication/Azure.Communication.Chat/CHANGELOG.md b/sdk/communication/Azure.Communication.Chat/CHANGELOG.md index 8731746fbc50..59a3d13a950d 100644 --- a/sdk/communication/Azure.Communication.Chat/CHANGELOG.md +++ b/sdk/communication/Azure.Communication.Chat/CHANGELOG.md @@ -1,11 +1,8 @@ # Release History -## 1.1.0-beta.1 (Unreleased) - ## 1.0.1 (2021-05-11) -### Added -Bug fixes: +### Bug Fixes - Changed DateTime.MinValue to DateTimeOffset.MinValue in sample code - Fixed the bug where Message type is defaulting to text diff --git a/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj b/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj index c3bf2850637d..8ecc384afe05 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj +++ b/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj @@ -7,14 +7,14 @@ Microsoft Azure Communication Chat quickstart - https://docs.microsoft.com/azure/communication-services/quickstarts/chat/get-started?pivots=programming-language-csharp Azure Communication Chat Service - 1.1.0-beta.1 + 1.0.1 1.0.0 Microsoft Azure Communication Chat Service;Microsoft;Azure;Azure Communication Service;Azure Communication Chat Service;Chat;Communication;$(PackageCommonTags) $(RequiredTargetFrameworks) - false + @@ -31,9 +31,7 @@ - + - - diff --git a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs index fcf4a1e30fbe..7d17ccbb0fc0 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs @@ -13,7 +13,7 @@ public class ChatRecordedTestSanitizer : CommunicationRecordedTestSanitizer public const string SanitizedUnsignedUserTokenValue = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"; public ChatRecordedTestSanitizer() : base() - => JsonPathSanitizers.Add("$..token"); + => AddJsonPathSanitizer("$..token"); protected override void SanitizeAuthenticationHeader(IDictionary headers) { diff --git a/sdk/communication/Azure.Communication.Common/src/Azure.Communication.Common.csproj b/sdk/communication/Azure.Communication.Common/src/Azure.Communication.Common.csproj index 9ea2a98d2bd1..bf968c0fc6a2 100644 --- a/sdk/communication/Azure.Communication.Common/src/Azure.Communication.Common.csproj +++ b/sdk/communication/Azure.Communication.Common/src/Azure.Communication.Common.csproj @@ -11,9 +11,9 @@ Microsoft Azure Communication Service;Microsoft;Azure;Azure Communication Service;Communication;$(PackageCommonTags) $(RequiredTargetFrameworks) Azure.Communication - false + @@ -21,5 +21,4 @@ - diff --git a/sdk/communication/Azure.Communication.Identity/src/Azure.Communication.Identity.csproj b/sdk/communication/Azure.Communication.Identity/src/Azure.Communication.Identity.csproj index 9e57b24ed568..c8d525603e58 100644 --- a/sdk/communication/Azure.Communication.Identity/src/Azure.Communication.Identity.csproj +++ b/sdk/communication/Azure.Communication.Identity/src/Azure.Communication.Identity.csproj @@ -11,10 +11,10 @@ 1.0.0 Microsoft Azure Communication Identity Service;Microsoft;Azure;Azure Communication Service;Azure Communication Identity Service;Identity;Communication;$(PackageCommonTags) $(RequiredTargetFrameworks) - false + @@ -35,9 +35,7 @@ - + - - diff --git a/sdk/communication/Azure.Communication.Identity/tests/Infrastructure/CommunicationIdentityClientRecordedTestSanitizer.cs b/sdk/communication/Azure.Communication.Identity/tests/Infrastructure/CommunicationIdentityClientRecordedTestSanitizer.cs index 90db146bacc4..87f1e5625527 100644 --- a/sdk/communication/Azure.Communication.Identity/tests/Infrastructure/CommunicationIdentityClientRecordedTestSanitizer.cs +++ b/sdk/communication/Azure.Communication.Identity/tests/Infrastructure/CommunicationIdentityClientRecordedTestSanitizer.cs @@ -6,6 +6,6 @@ namespace Azure.Communication.Pipeline public class CommunicationIdentityClientRecordedTestSanitizer : CommunicationRecordedTestSanitizer { public CommunicationIdentityClientRecordedTestSanitizer() - => JsonPathSanitizers.Add("$..token"); + => AddJsonPathSanitizer("$..token"); } } diff --git a/sdk/communication/Azure.Communication.PhoneNumbers/src/Azure.Communication.PhoneNumbers.csproj b/sdk/communication/Azure.Communication.PhoneNumbers/src/Azure.Communication.PhoneNumbers.csproj index c40f17f81d84..4ba95f7869c1 100644 --- a/sdk/communication/Azure.Communication.PhoneNumbers/src/Azure.Communication.PhoneNumbers.csproj +++ b/sdk/communication/Azure.Communication.PhoneNumbers/src/Azure.Communication.PhoneNumbers.csproj @@ -10,10 +10,10 @@ 1.0.0 Microsoft Azure Communication Phone Numbers Service;Microsoft;Azure;Azure Communication Service;Azure Communication Phone Numbers Service;Phone Numbers;Communication;$(PackageCommonTags) $(RequiredTargetFrameworks) - false + @@ -36,6 +36,4 @@ - - diff --git a/sdk/communication/Azure.Communication.Sms/src/Azure.Communication.Sms.csproj b/sdk/communication/Azure.Communication.Sms/src/Azure.Communication.Sms.csproj index 6b42ed18deb8..3edb39f3c272 100644 --- a/sdk/communication/Azure.Communication.Sms/src/Azure.Communication.Sms.csproj +++ b/sdk/communication/Azure.Communication.Sms/src/Azure.Communication.Sms.csproj @@ -11,10 +11,10 @@ 1.0.0 Microsoft Azure Communication Sms Service;Microsoft;Azure;Azure Communication Service;Azure Communication Sms Service;Sms;Communication;$(PackageCommonTags) $(RequiredTargetFrameworks) - false + @@ -33,6 +33,4 @@ - - diff --git a/sdk/communication/Azure.Communication.Sms/tests/SmsClientRecordedTestSanitizer.cs b/sdk/communication/Azure.Communication.Sms/tests/SmsClientRecordedTestSanitizer.cs index 55ccd33f6d0f..ca1d97465d2d 100644 --- a/sdk/communication/Azure.Communication.Sms/tests/SmsClientRecordedTestSanitizer.cs +++ b/sdk/communication/Azure.Communication.Sms/tests/SmsClientRecordedTestSanitizer.cs @@ -9,10 +9,10 @@ public class SmsClientRecordedTestSanitizer : CommunicationRecordedTestSanitizer { public SmsClientRecordedTestSanitizer() { - JsonPathSanitizers.Add("$..from"); - JsonPathSanitizers.Add("$..to"); - JsonPathSanitizers.Add("$..repeatabilityRequestId"); - JsonPathSanitizers.Add("$..repeatabilityFirstSent"); + AddJsonPathSanitizer("$..from"); + AddJsonPathSanitizer("$..to"); + AddJsonPathSanitizer("$..repeatabilityRequestId"); + AddJsonPathSanitizer("$..repeatabilityFirstSent"); } public override string SanitizeVariable(string variableName, string environmentVariableValue) diff --git a/sdk/communication/Azure.ResourceManager.Communication/tests/Infrastructure/CommunicationManagementRecordedTestSanitizer.cs b/sdk/communication/Azure.ResourceManager.Communication/tests/Infrastructure/CommunicationManagementRecordedTestSanitizer.cs index 77a35f0e2a30..b5f015e00cd8 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/tests/Infrastructure/CommunicationManagementRecordedTestSanitizer.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/tests/Infrastructure/CommunicationManagementRecordedTestSanitizer.cs @@ -13,13 +13,13 @@ public class CommunicationManagementRecordedTestSanitizer : RecordedTestSanitize public CommunicationManagementRecordedTestSanitizer(): base() { // Lazy sanitize fields in the request and response bodies - JsonPathSanitizers.Add("$..token"); - JsonPathSanitizers.Add("$..identity"); - JsonPathSanitizers.Add("$..primaryKey"); - JsonPathSanitizers.Add("$..secondaryKey"); - JsonPathSanitizers.Add("$..primaryConnectionString"); - JsonPathSanitizers.Add("$..secondaryConnectionString"); - JsonPathSanitizers.Add("$..connectionString"); + AddJsonPathSanitizer("$..token"); + AddJsonPathSanitizer("$..identity"); + AddJsonPathSanitizer("$..primaryKey"); + AddJsonPathSanitizer("$..secondaryKey"); + AddJsonPathSanitizer("$..primaryConnectionString"); + AddJsonPathSanitizer("$..secondaryConnectionString"); + AddJsonPathSanitizer("$..connectionString"); } /// Fetch the value to replace with the Subscription ID. This value is not in the same format, but could easierly be change to be. diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/README.md b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/README.md index 405cf4fd741c..6608077f53ed 100644 --- a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/README.md +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/README.md @@ -25,9 +25,7 @@ dotnet add package Azure.Storage.ConfidentialLedger --prerelease #### Using Azure Active Directory -This document demonstrates using [DefaultAzureCredential][default_cred_ref] to authenticate to the Confidential Ledger via Azure Active Directory. -However, `ConfidentialLedgerClient` accepts any [Azure.Identity][azure_identity] token credential. See the [Azure.Identity][azure_identity] documentation -for more information about other credentials. +This document demonstrates using [DefaultAzureCredential][default_cred_ref] to authenticate to the Confidential Ledger via Azure Active Directory. However, any of the credentials offered by the [Azure.Identity][azure_identity] will be accepted. See the [Azure.Identity][azure_identity] documentation for more information about other credentials. #### Using a client certificate @@ -42,69 +40,239 @@ export AZURE_TENANT_ID="tenant id" ``` Then, `DefaultAzureCredential` will be able to authenticate the `ConfidentialLedgerClient`. -Constructing the client also requires your Confidential Ledger's URL and id, which you can get from the Azure CLI or the Azure Portal. When you have retrieved those values, please replace instances of `"my-ledger-id"` and `"https://my-ledger-url.confidential-ledger.azure.com"` in the examples below +Constructing the client also requires your Confidential Ledger's URL and id, which you can get from the Azure CLI or the Azure Portal. When you have retrieved those values, please replace instances of `"my-ledger-id"` and `"https://my-ledger-url.confidential-ledger.azure.com"` in the examples below -Because Confidential Ledgers use self-signed certificates securely generated and stored in an SGX enclave, the certificate for each Confidential Ledger must first be retrieved from the Confidential Ledger Identity Service. +Because Confidential Ledgers use self-signed certificates securely generated and stored in an SGX enclave, the certificate for each Confidential Ledger must first be retrieved from the Confidential Ledger Identity Service. +```C# Snippet:GetIdentity +Uri identityServiceUri = ""; +var identityClient = new ConfidentialLedgerIdentityServiceClient(identityServiceUri, new Identity.DefaultAzureCredential()); -TODO +// Get the ledger's TLS certificate for our ledger. +string ledgerId = ""; // ex. "my-ledger" from "https://my-ledger.eastus.cloudapp.azure.com" +Response response = identityClient.GetLedgerIdentity(ledgerId); + +// extract the ECC PEM value from the response. +var eccPem = JsonDocument.Parse(response.Content) + .RootElement + .GetProperty("ledgerTlsCertificate") + .GetString(); + +// construct an X509Certificate2 with the ECC PEM value. +X509Certificate2 ledgerTlsCert = new X509Certificate2(Encoding.UTF8.GetBytes(eccPem)); +``` + +Now we can construct the `ConfidentialLedgerClient` with a transport configuration that trusts the `ledgerTlsCert`. + +```C# Snippet:CreateClient +// Create a certificate chain rooted with our TLS cert. +X509Chain certificateChain = new(); +certificateChain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; +certificateChain.ChainPolicy.RevocationFlag = X509RevocationFlag.ExcludeRoot; +certificateChain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; +certificateChain.ChainPolicy.VerificationTime = DateTime.Now; +certificateChain.ChainPolicy.UrlRetrievalTimeout = new TimeSpan(0, 0, 0); +certificateChain.ChainPolicy.ExtraStore.Add(ledgerTlsCert); + +// Define a validation function to ensure that the ledger certificate is trusted by the ledger identity TLS certificate. +bool CertValidationCheck(HttpRequestMessage httpRequestMessage, X509Certificate2 cert, X509Chain x509Chain, SslPolicyErrors sslPolicyErrors) +{ + bool isChainValid = certificateChain.Build(cert); + if (!isChainValid) return false; + + var isCertSignedByTheTlsCert = certificateChain.ChainElements.Cast() + .Any(x => x.Certificate.Thumbprint == ledgerTlsCert.Thumbprint); + return isCertSignedByTheTlsCert; +} + +// Create an HttpClientHandler to use our certValidationCheck function. +var httpHandler = new HttpClientHandler(); +httpHandler.ServerCertificateCustomValidationCallback = CertValidationCheck; + +// Create the ledger client using a transport that uses our custom ServerCertificateCustomValidationCallback. +var options = new ConfidentialLedgerClientOptions { Transport = new HttpClientTransport(httpHandler) }; +var ledgerClient = new ConfidentialLedgerClient(TestEnvironment.ConfidentialLedgerUrl, new DefaultAzureCredential(), options); +``` ## Key concepts ### Ledger entries Every write to Confidential Ledger generates an immutable ledger entry in the service. Writes are uniquely identified by transaction ids that increment with each write. -TODO +```C# Snippet:AppendToLedger +Response postResponse = ledgerClient.PostLedgerEntry( + RequestContent.Create( + new { contents = "Hello world!" })); + +postResponse.Headers.TryGetValue(ConfidentialLedgerConstants.TransactionIdHeaderName, out string transactionId); +Console.WriteLine($"Appended transaction with Id: {transactionId}"); +``` + +Since Confidential Ledger is a distributed system, rare transient failures may cause writes to be lost. For entries that must be preserved, it is advisable to verify that the write became durable. Note: It may be necessary to call `GetTransactionStatus` multiple times until it returns a "Committed" status. + +```C# Snippet:GetStatus +Response statusResponse = ledgerClient.GetTransactionStatus(transactionId); -Since Confidential Ledger is a distributed system, rare transient failures may cause writes to be lost. For entries that must be preserved, it is advisable to verify that the write became durable. Waits are blocking calls. +string status = JsonDocument.Parse(statusResponse.Content) + .RootElement + .GetProperty("state") + .GetString(); -TODO +Console.WriteLine($"Transaction status: {status}"); +``` #### Receipts State changes to the Confidential Ledger are saved in a data structure called a Merkle tree. To cryptographically verify that writes were correctly saved, a Merkle proof, or receipt, can be retrieved for any transaction id. -TODO +```C# Snippet:GetReceipt +Response receiptResponse = ledgerClient.GetReceipt(transactionId); +string receiptJson = new StreamReader(receiptResponse.ContentStream).ReadToEnd(); + +Console.WriteLine(receiptJson); +``` #### Sub-ledgers While most use cases will involve one ledger, we provide the sub-ledger feature in case different logical groups of data need to be stored in the same Confidential Ledger. -TODO +```C# Snippet:SubLedger +ledgerClient.PostLedgerEntry( + RequestContent.Create( + new { contents = "Hello from Chris!", subLedgerId = "Chris' messages" })); + +ledgerClient.PostLedgerEntry( + RequestContent.Create( + new { contents = "Hello from Allison!", subLedgerId = "Allison's messages" })); +``` When no sub-ledger id is specified on method calls, the Confidential Ledger service will assume a constant, service-determined sub-ledger id. -TODO +```C# Snippet:NoSubLedgerId +Response postResponse = ledgerClient.PostLedgerEntry( + RequestContent.Create( + new { contents = "Hello world!" })); +postResponse.Headers.TryGetValue(ConfidentialLedgerConstants.Headers.TransactionId, out string transactionId); +string subLedgerId = JsonDocument.Parse(statusResponse.Content) + .RootElement + .GetProperty("subLedgerId") + .GetString(); + +// Provide both the transactionId and subLedgerId. +Response getBySubledgerResponse = ledgerClient.GetLedgerEntry(transactionId, subLedgerId); + +string contents = JsonDocument.Parse(getBySubledgerResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + +Console.WriteLine(contents); // "Hello world!" + +// Now just provide the transactionId. +getBySubledgerResponse = ledgerClient.GetLedgerEntry(transactionId); + +string subLedgerId2 = JsonDocument.Parse(getBySubledgerResponse.Content) + .RootElement + .GetProperty("subLedgerId") + .GetString(); + +Console.WriteLine($"{subLedgerId} == {subLedgerId2}"); +``` Ledger entries are retrieved from sub-ledgers. When a transaction id is specified, the returned value is the value contained in the specified sub-ledger at the point in time identified by the transaction id. If no transaction id is specified, the latest available value is returned. -TODO +```C# Snippet:GetEnteryWithNoTransactionId +Response firstPostResponse = ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world 0" })); +ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world 1" })); +Response subLedgerPostResponse = ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world sub-ledger 0" }), + "my sub-ledger"); +ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world sub-ledger 1" }), + "my sub-ledger"); + +firstPostResponse.Headers.TryGetValue(ConfidentialLedgerConstants.Headers.TransactionId, out string transactionId); + +// The ledger entry written at the transactionId in firstResponse is retrieved from the default sub-ledger. +Response getResponse = ledgerClient.GetLedgerEntry(transactionId); +string firstEntryContents = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + +Console.WriteLine(firstEntryContents); // "Hello world 0" + +// This will return the latest entry available in the default sub-ledger. +getResponse = ledgerClient.GetCurrentLedgerEntry(); +string latestDefaultSubLedger = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + +Console.WriteLine($"The latest ledger entry from the default sub-ledger is {latestDefaultSubLedger}"); //"Hello world 1" + +// The ledger entry written at subLedgerTransactionId is retrieved from the sub-ledger 'sub-ledger'. +subLedgerPostResponse.Headers.TryGetValue(ConfidentialLedgerConstants.TransactionIdHeaderName, out string subLedgerTransactionId); +getResponse = ledgerClient.GetLedgerEntry(subLedgerTransactionId, "my sub-ledger"); +string subLedgerEntry = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + +Console.WriteLine(subLedgerEntry); // "Hello world sub-ledger 0" + +// This will return the latest entry available in the sub-ledger. +getResponse = ledgerClient.GetCurrentLedgerEntry("my sub-ledger"); +string latestSubLedger = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + +Console.WriteLine($"The latest ledger entry from the sub-ledger is {latestSubLedger}"); // "Hello world sub-ledger 1" +``` ##### Ranged queries Ledger entries in a sub-ledger may be retrieved over a range of transaction ids. -TODO +```C# Snippet:RangedQuery +ledgerClient.GetLedgerEntries(fromTransactionId: "2.1", toTransactionId: "4.5"); +``` ### User management Users are managed directly with the Confidential Ledger instead of through Azure. New users may be AAD-based or certificate-based. -TODO - -#### Certificate-based users -Clients may authenticate with a client certificate in mutual TLS instead of via Azure Active Directory. `ConfidentialLedgerCertificateCredential` is provided for such clients. +```C# Snippet:NewUser +string newUserAadObjectId = ""; +ledgerClient.CreateOrUpdateUser( + newUserAadObjectId, + RequestContent.Create(new { assignedRole = "Reader" })); +``` -TODO ### Confidential consortium and enclave verifications One may want to validate details about the Confidential Ledger for a variety of reasons. For example, you may want to view details about how Microsoft may manage your Confidential Ledger as part of [Confidential Consortium Framework governance](https://microsoft.github.io/CCF/main/governance/index.html), or verify that your Confidential Ledger is indeed running in SGX enclaves. A number of client methods are provided for these use cases. -TODO +```C# Snippet:Consortium +Response consortiumResponse = ledgerClient.GetConsortiumMembers(); +string membersJson = new StreamReader(consortiumResponse.ContentStream).ReadToEnd(); -[Microsoft Azure Attestation Service](https://azure.microsoft.com/services/azure-attestation/) is one provider of SGX enclave quotes. +// Consortium members can manage and alter the Confidential Ledger, such as by replacing unhealthy nodes. +Console.WriteLine(membersJson); -### Async API -This library includes a complete async API supported on Python 3.5+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp). See [azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#transport) for more information. +// The constitution is a collection of JavaScript code that defines actions available to members, +// and vets proposals by members to execute those actions. +Response constitutionResponse = ledgerClient.GetConstitution(); +string constitutionJson = new StreamReader(constitutionResponse.ContentStream).ReadToEnd(); -Async clients should be closed when they're no longer needed. These objects are async context managers and define async `close` methods. For example: +Console.WriteLine(constitutionJson); -TODO +// Enclave quotes contain material that can be used to cryptographically verify the validity and contents of an enclave. +Response enclavesResponse = ledgerClient.GetEnclaveQuotes(); +string enclavesJson = new StreamReader(enclavesResponse.ContentStream).ReadToEnd(); + +Console.WriteLine(enclavesJson); +``` + +[Microsoft Azure Attestation Service](https://azure.microsoft.com/services/azure-attestation/) is one provider of SGX enclave quotes. ### Thread safety @@ -125,25 +293,40 @@ We guarantee that all client instance methods are thread-safe and independent of ## Examples -TODO +Coming Soon... ## Troubleshooting -Describe common errors and exceptions, how to "unpack" them if necessary, and include guidance for graceful handling and recovery. +Response values returned from Confidential Ledger client methods are `Response` objects, which contain information about the http response such as the http `Status` property and a `Headers` object containing more information about the failure. + +### Setting up console logging -Provide information to help developers avoid throttling or other service-enforced errors they might encounter. For example, provide guidance and examples for using retry or connection policies in the API. +The simplest way to see the logs is to enable the console logging. +To create an Azure SDK log listener that outputs messages to console use AzureEventSourceListener.CreateConsoleLogger method. + +```C# +// Setup a listener to monitor logged events. +using AzureEventSourceListener listener = AzureEventSourceListener.CreateConsoleLogger(); +``` + +To learn more about other logging mechanisms see [here][logging]. -If the package or a related package supports it, include tips for logging or enabling instrumentation to help them debug their code. ## Next steps -* Provide a link to additional code examples, ideally to those sitting alongside the README in the package's `/samples` directory. -* If appropriate, point users to other packages that might be useful. -* If you think there's a good chance that developers might stumble across your package in error (because they're searching for specific functionality and mistakenly think the package provides that functionality), point them to the packages they might be looking for. +For more extensive documentation on Azure Confidential Ledger, see the API [reference documentation](https://azure.github.io/azure-sdk-for-net/). +You may also read more about Microsoft Research's open-source Confidential [Consortium Framework][ccf]. ## Contributing -This is a template, but your SDK readme should include details on how to contribute code to the repo/package. +This project welcomes contributions and suggestions. Most contributions require +you to agree to a Contributor License Agreement (CLA) declaring that you have +the right to, and actually do, grant us the rights to use your contribution. For +details, visit [cla.microsoft.com][cla]. + +This project has adopted the [Microsoft Open Source Code of Conduct][coc]. +For more information see the [Code of Conduct FAQ][coc_faq] or contact +[opencode@microsoft.com][coc_contact] with any additional questions or comments. [style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/api/Azure.Storage.ConfidentialLedger.netstandard2.0.cs b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/api/Azure.Storage.ConfidentialLedger.netstandard2.0.cs index 0552286b217f..1d08dbaaaf9d 100644 --- a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/api/Azure.Storage.ConfidentialLedger.netstandard2.0.cs +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/api/Azure.Storage.ConfidentialLedger.netstandard2.0.cs @@ -3,7 +3,7 @@ namespace Azure.Storage.ConfidentialLedger public partial class ConfidentialLedgerClient { protected ConfidentialLedgerClient() { } - public ConfidentialLedgerClient(System.Uri ledgerUri, System.Uri identityServiceUri, Azure.Core.TokenCredential credential, Azure.Storage.ConfidentialLedger.ConfidentialLedgerClientOptions options = null) { } + public ConfidentialLedgerClient(System.Uri ledgerUri, Azure.Core.TokenCredential credential, Azure.Storage.ConfidentialLedger.ConfidentialLedgerClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response CreateOrUpdateUser(string userId, Azure.Core.RequestContent requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrUpdateUserAsync(string userId, Azure.Core.RequestContent requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -21,8 +21,6 @@ public ConfidentialLedgerClient(System.Uri ledgerUri, System.Uri identityService public virtual System.Threading.Tasks.Task GetLedgerEntriesAsync(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetLedgerEntry(string transactionId, string subLedgerId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetLedgerEntryAsync(string transactionId, string subLedgerId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetLedgerIdentity(string ledgerId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task GetLedgerIdentityAsync(string ledgerId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetReceipt(string transactionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetReceiptAsync(string transactionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetTransactionStatus(string transactionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -40,4 +38,16 @@ public enum ServiceVersion V0_1_preview = 1, } } + public static partial class ConfidentialLedgerConstants + { + public const string TransactionIdHeaderName = "x-ms-ccf-transaction-id"; + } + public partial class ConfidentialLedgerIdentityServiceClient + { + protected ConfidentialLedgerIdentityServiceClient() { } + public ConfidentialLedgerIdentityServiceClient(System.Uri identityServiceUri, Azure.Core.TokenCredential credential, Azure.Storage.ConfidentialLedger.ConfidentialLedgerClientOptions options = null) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response GetLedgerIdentity(string ledgerId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GetLedgerIdentityAsync(string ledgerId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } } diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Azure.Storage.ConfidentialLedger.csproj b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Azure.Storage.ConfidentialLedger.csproj index 63985832f4f7..5ecadd5740a9 100644 --- a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Azure.Storage.ConfidentialLedger.csproj +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Azure.Storage.ConfidentialLedger.csproj @@ -12,6 +12,7 @@ + @@ -31,6 +32,4 @@ - - diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/ConfidentialLedgerConstants.cs b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/ConfidentialLedgerConstants.cs new file mode 100644 index 000000000000..b4cacb58d19d --- /dev/null +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/ConfidentialLedgerConstants.cs @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.Storage.ConfidentialLedger +{ + /// + /// Constant values for Confidential Ledger. + /// + public static class ConfidentialLedgerConstants + { + /// + /// The header value containing the ledger transaction Id. + /// + public const string TransactionIdHeaderName = "x-ms-ccf-transaction-id"; + } +} diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs index 14540c1e6b5b..f1a7db60be20 100644 --- a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs @@ -23,7 +23,6 @@ public partial class ConfidentialLedgerClient public virtual HttpPipeline Pipeline { get; } private readonly string[] AuthorizationScopes = { "https://confidential-ledger.azure.com/.default" }; private Uri ledgerUri; - private Uri identityServiceUri; private readonly string apiVersion; /// Initializes a new instance of ConfidentialLedgerClient for mocking. @@ -33,19 +32,14 @@ protected ConfidentialLedgerClient() /// Initializes a new instance of ConfidentialLedgerClient. /// The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com. - /// The Identity Service URL, for example https://identity.accledger.azure.com. /// A credential used to authenticate to an Azure Service. /// The options for configuring the client. - public ConfidentialLedgerClient(Uri ledgerUri, Uri identityServiceUri, TokenCredential credential, ConfidentialLedgerClientOptions options = null) + public ConfidentialLedgerClient(Uri ledgerUri, TokenCredential credential, ConfidentialLedgerClientOptions options = null) { if (ledgerUri == null) { throw new ArgumentNullException(nameof(ledgerUri)); } - if (identityServiceUri == null) - { - throw new ArgumentNullException(nameof(identityServiceUri)); - } if (credential == null) { throw new ArgumentNullException(nameof(credential)); @@ -54,7 +48,6 @@ public ConfidentialLedgerClient(Uri ledgerUri, Uri identityServiceUri, TokenCred options ??= new ConfidentialLedgerClientOptions(); Pipeline = HttpPipelineBuilder.Build(options, new BearerTokenAuthenticationPolicy(credential, AuthorizationScopes)); this.ledgerUri = ledgerUri; - this.identityServiceUri = identityServiceUri; apiVersion = options.Version; } @@ -611,40 +604,5 @@ private Request CreateCreateOrUpdateUserRequest(string userId, RequestContent re request.Content = requestBody; return request; } - - /// Gets identity information for a Confidential Ledger instance. - /// Id of the Confidential Ledger instance to get information for. - /// The cancellation token to use. - public virtual async Task GetLedgerIdentityAsync(string ledgerId, CancellationToken cancellationToken = default) - { - Request req = CreateGetLedgerIdentityRequest(ledgerId); - return await Pipeline.SendRequestAsync(req, cancellationToken).ConfigureAwait(false); - } - - /// Gets identity information for a Confidential Ledger instance. - /// Id of the Confidential Ledger instance to get information for. - /// The cancellation token to use. - public virtual Response GetLedgerIdentity(string ledgerId, CancellationToken cancellationToken = default) - { - Request req = CreateGetLedgerIdentityRequest(ledgerId); - return Pipeline.SendRequest(req, cancellationToken); - } - - /// Create Request for and operations. - /// Id of the Confidential Ledger instance to get information for. - private Request CreateGetLedgerIdentityRequest(string ledgerId) - { - var message = Pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Get; - var uri = new RawRequestUriBuilder(); - uri.Reset(identityServiceUri); - uri.AppendPath("/ledgerIdentity/", false); - uri.AppendPath(ledgerId, true); - uri.AppendQuery("api-version", apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - return request; - } } } diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Generated/ConfidentialLedgerIdentityServiceClient.cs b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Generated/ConfidentialLedgerIdentityServiceClient.cs new file mode 100644 index 000000000000..eed7ecdf2042 --- /dev/null +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/Generated/ConfidentialLedgerIdentityServiceClient.cs @@ -0,0 +1,89 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +#pragma warning disable AZC0007 + +namespace Azure.Storage.ConfidentialLedger +{ + /// The ConfidentialLedgerIdentityService service client. + public partial class ConfidentialLedgerIdentityServiceClient + { + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline { get; } + private readonly string[] AuthorizationScopes = { "https://confidential-ledger.azure.com/.default" }; + private Uri identityServiceUri; + private readonly string apiVersion; + + /// Initializes a new instance of ConfidentialLedgerIdentityServiceClient for mocking. + protected ConfidentialLedgerIdentityServiceClient() + { + } + + /// Initializes a new instance of ConfidentialLedgerIdentityServiceClient. + /// The Identity Service URL, for example https://identity.accledger.azure.com. + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + public ConfidentialLedgerIdentityServiceClient(Uri identityServiceUri, TokenCredential credential, ConfidentialLedgerClientOptions options = null) + { + if (identityServiceUri == null) + { + throw new ArgumentNullException(nameof(identityServiceUri)); + } + if (credential == null) + { + throw new ArgumentNullException(nameof(credential)); + } + + options ??= new ConfidentialLedgerClientOptions(); + Pipeline = HttpPipelineBuilder.Build(options, new BearerTokenAuthenticationPolicy(credential, AuthorizationScopes)); + this.identityServiceUri = identityServiceUri; + apiVersion = options.Version; + } + + /// Gets identity information for a Confidential Ledger instance. + /// Id of the Confidential Ledger instance to get information for. + /// The cancellation token to use. + public virtual async Task GetLedgerIdentityAsync(string ledgerId, CancellationToken cancellationToken = default) + { + Request req = CreateGetLedgerIdentityRequest(ledgerId); + return await Pipeline.SendRequestAsync(req, cancellationToken).ConfigureAwait(false); + } + + /// Gets identity information for a Confidential Ledger instance. + /// Id of the Confidential Ledger instance to get information for. + /// The cancellation token to use. + public virtual Response GetLedgerIdentity(string ledgerId, CancellationToken cancellationToken = default) + { + Request req = CreateGetLedgerIdentityRequest(ledgerId); + return Pipeline.SendRequest(req, cancellationToken); + } + + /// Create Request for and operations. + /// Id of the Confidential Ledger instance to get information for. + private Request CreateGetLedgerIdentityRequest(string ledgerId) + { + var message = Pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(identityServiceUri); + uri.AppendPath("/ledgerIdentity/", false); + uri.AppendPath(ledgerId, true); + uri.AppendQuery("api-version", apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return request; + } + } +} diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/autorest.md b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/autorest.md index 57a8e389b90f..d1fd6751d022 100644 --- a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/autorest.md +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/autorest.md @@ -9,7 +9,7 @@ credential-types: TokenCredential credential-scopes: "https://confidential-ledger.azure.com/.default" low-level-client: true input-file: - - https://github.com/Azure/azure-rest-api-specs/blob/0f79e4bb951c7dec6bfa03f856b39d03c4629101/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/common.json - - https://github.com/Azure/azure-rest-api-specs/blob/0f79e4bb951c7dec6bfa03f856b39d03c4629101/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/confidentialledger.json - - https://github.com/Azure/azure-rest-api-specs/blob/0f79e4bb951c7dec6bfa03f856b39d03c4629101/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/identityservice.json + - https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/common.json + - https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/confidentialledger.json + - https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/identityservice.json ``` diff --git a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/tests/ConfidentialLedgerClientLiveTests.cs b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/tests/ConfidentialLedgerClientLiveTests.cs index d0933758c12a..1186489f6fdc 100644 --- a/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/tests/ConfidentialLedgerClientLiveTests.cs +++ b/sdk/confidentialledger/Azure.Storage.ConfidentialLedger/tests/ConfidentialLedgerClientLiveTests.cs @@ -21,6 +21,7 @@ public class ConfidentialLedgerClientLiveTests : RecordedTestBase + { + [Test] + public void HelloWorld() + { + #region Snippet:GetIdentity + +#if SNIPPET + Uri identityServiceUri = ""; +#else + Uri identityServiceUri = TestEnvironment.ConfidentialLedgerIdentityUrl; +#endif + var identityClient = new ConfidentialLedgerIdentityServiceClient(identityServiceUri, new Identity.DefaultAzureCredential()); + + // Get the ledger's TLS certificate for our ledger. +#if SNIPPET + string ledgerId = ""; // ex. "my-ledger" from "https://my-ledger.eastus.cloudapp.azure.com" +#else + var ledgerId = TestEnvironment.ConfidentialLedgerUrl.Host; + ledgerId = ledgerId.Substring(0, ledgerId.IndexOf('.')); +#endif + Response response = identityClient.GetLedgerIdentity(ledgerId); + + // extract the ECC PEM value from the response. + var eccPem = JsonDocument.Parse(response.Content) + .RootElement + .GetProperty("ledgerTlsCertificate") + .GetString(); + + // construct an X509Certificate2 with the ECC PEM value. + X509Certificate2 ledgerTlsCert = new X509Certificate2(Encoding.UTF8.GetBytes(eccPem)); + + #endregion + + #region Snippet:CreateClient + + // Create a certificate chain rooted with our TLS cert. + X509Chain certificateChain = new(); + certificateChain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; + certificateChain.ChainPolicy.RevocationFlag = X509RevocationFlag.ExcludeRoot; + certificateChain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; + certificateChain.ChainPolicy.VerificationTime = DateTime.Now; + certificateChain.ChainPolicy.UrlRetrievalTimeout = new TimeSpan(0, 0, 0); + certificateChain.ChainPolicy.ExtraStore.Add(ledgerTlsCert); + + // Define a validation function to ensure that the ledger certificate is trusted by the ledger identity TLS certificate. + bool CertValidationCheck(HttpRequestMessage httpRequestMessage, X509Certificate2 cert, X509Chain x509Chain, SslPolicyErrors sslPolicyErrors) + { + bool isChainValid = certificateChain.Build(cert); + if (!isChainValid) return false; + + var isCertSignedByTheTlsCert = certificateChain.ChainElements.Cast() + .Any(x => x.Certificate.Thumbprint == ledgerTlsCert.Thumbprint); + return isCertSignedByTheTlsCert; + } + + // Create an HttpClientHandler to use our certValidationCheck function. + var httpHandler = new HttpClientHandler(); + httpHandler.ServerCertificateCustomValidationCallback = CertValidationCheck; + + // Create the ledger client using a transport that uses our custom ServerCertificateCustomValidationCallback. + var options = new ConfidentialLedgerClientOptions { Transport = new HttpClientTransport(httpHandler) }; + var ledgerClient = new ConfidentialLedgerClient(TestEnvironment.ConfidentialLedgerUrl, new DefaultAzureCredential(), options); + + #endregion + + #region Snippet:AppendToLedger + + Response postResponse = ledgerClient.PostLedgerEntry( + RequestContent.Create( + new { contents = "Hello world!" })); + + postResponse.Headers.TryGetValue(ConfidentialLedgerConstants.TransactionIdHeaderName, out string transactionId); + Console.WriteLine($"Appended transaction with Id: {transactionId}"); + + #endregion + + #region Snippet:GetStatus + + Response statusResponse = ledgerClient.GetTransactionStatus(transactionId); + + string status = JsonDocument.Parse(statusResponse.Content) + .RootElement + .GetProperty("state") + .GetString(); + + Console.WriteLine($"Transaction status: {status}"); + + #endregion + + #region Snippet:GetReceipt + + Response receiptResponse = ledgerClient.GetReceipt(transactionId); + string receiptJson = new StreamReader(receiptResponse.ContentStream).ReadToEnd(); + + Console.WriteLine(receiptJson); + + #endregion + + #region Snippet:SubLedger + + ledgerClient.PostLedgerEntry( + RequestContent.Create( + new { contents = "Hello from Chris!", subLedgerId = "Chris' messages" })); + + ledgerClient.PostLedgerEntry( + RequestContent.Create( + new { contents = "Hello from Allison!", subLedgerId = "Allison's messages" })); + + #endregion + + #region Snippet:NoSubLedgerId + +#if SNIPPET + Response postResponse = ledgerClient.PostLedgerEntry( +#else + postResponse = ledgerClient.PostLedgerEntry( +#endif + RequestContent.Create( + new { contents = "Hello world!" })); +#if SNIPPET + postResponse.Headers.TryGetValue(ConfidentialLedgerConstants.Headers.TransactionId, out string transactionId); +#else + postResponse.Headers.TryGetValue(ConfidentialLedgerConstants.TransactionIdHeaderName, out transactionId); +#endif + string subLedgerId = JsonDocument.Parse(statusResponse.Content) + .RootElement + .GetProperty("subLedgerId") + .GetString(); + + // Provide both the transactionId and subLedgerId. + Response getBySubledgerResponse = ledgerClient.GetLedgerEntry(transactionId, subLedgerId); + + string contents = JsonDocument.Parse(getBySubledgerResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + + Console.WriteLine(contents); // "Hello world!" + + // Now just provide the transactionId. + getBySubledgerResponse = ledgerClient.GetLedgerEntry(transactionId); + + string subLedgerId2 = JsonDocument.Parse(getBySubledgerResponse.Content) + .RootElement + .GetProperty("subLedgerId") + .GetString(); + + Console.WriteLine($"{subLedgerId} == {subLedgerId2}"); + + #endregion + + #region Snippet:GetEnteryWithNoTransactionId + + Response firstPostResponse = ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world 0" })); + ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world 1" })); + Response subLedgerPostResponse = ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world sub-ledger 0" }), + "my sub-ledger"); + ledgerClient.PostLedgerEntry( + RequestContent.Create(new { contents = "Hello world sub-ledger 1" }), + "my sub-ledger"); + +#if SNIPPET + firstPostResponse.Headers.TryGetValue(ConfidentialLedgerConstants.Headers.TransactionId, out string transactionId); +#else + firstPostResponse.Headers.TryGetValue(ConfidentialLedgerConstants.TransactionIdHeaderName, out transactionId); +#endif + + // The ledger entry written at the transactionId in firstResponse is retrieved from the default sub-ledger. + Response getResponse = ledgerClient.GetLedgerEntry(transactionId); + string firstEntryContents = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + + Console.WriteLine(firstEntryContents); // "Hello world 0" + + // This will return the latest entry available in the default sub-ledger. + getResponse = ledgerClient.GetCurrentLedgerEntry(); + string latestDefaultSubLedger = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + + Console.WriteLine($"The latest ledger entry from the default sub-ledger is {latestDefaultSubLedger}"); //"Hello world 1" + + // The ledger entry written at subLedgerTransactionId is retrieved from the sub-ledger 'sub-ledger'. + subLedgerPostResponse.Headers.TryGetValue(ConfidentialLedgerConstants.TransactionIdHeaderName, out string subLedgerTransactionId); + getResponse = ledgerClient.GetLedgerEntry(subLedgerTransactionId, "my sub-ledger"); + string subLedgerEntry = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + + Console.WriteLine(subLedgerEntry); // "Hello world sub-ledger 0" + + // This will return the latest entry available in the sub-ledger. + getResponse = ledgerClient.GetCurrentLedgerEntry("my sub-ledger"); + string latestSubLedger = JsonDocument.Parse(getResponse.Content) + .RootElement + .GetProperty("contents") + .GetString(); + + Console.WriteLine($"The latest ledger entry from the sub-ledger is {latestSubLedger}"); // "Hello world sub-ledger 1" + + #endregion + + #region Snippet:RangedQuery + + ledgerClient.GetLedgerEntries(fromTransactionId: "2.1", toTransactionId: "4.5"); + + #endregion + + #region Snippet:NewUser + + string newUserAadObjectId = ""; + ledgerClient.CreateOrUpdateUser( + newUserAadObjectId, + RequestContent.Create(new { assignedRole = "Reader" })); + + #endregion + + #region Snippet:Consortium + + Response consortiumResponse = ledgerClient.GetConsortiumMembers(); + string membersJson = new StreamReader(consortiumResponse.ContentStream).ReadToEnd(); + + // Consortium members can manage and alter the Confidential Ledger, such as by replacing unhealthy nodes. + Console.WriteLine(membersJson); + + // The constitution is a collection of JavaScript code that defines actions available to members, + // and vets proposals by members to execute those actions. + Response constitutionResponse = ledgerClient.GetConstitution(); + string constitutionJson = new StreamReader(constitutionResponse.ContentStream).ReadToEnd(); + + Console.WriteLine(constitutionJson); + + // Enclave quotes contain material that can be used to cryptographically verify the validity and contents of an enclave. + Response enclavesResponse = ledgerClient.GetEnclaveQuotes(); + string enclavesJson = new StreamReader(enclavesResponse.ContentStream).ReadToEnd(); + + Console.WriteLine(enclavesJson); + + #endregion + } + } +} diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/api/Azure.Containers.ContainerRegistry.netstandard2.0.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/api/Azure.Containers.ContainerRegistry.netstandard2.0.cs index d98543655dd7..c07fdc5f3553 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/api/Azure.Containers.ContainerRegistry.netstandard2.0.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/api/Azure.Containers.ContainerRegistry.netstandard2.0.cs @@ -86,6 +86,8 @@ internal ArtifactTagProperties() { } public partial class ContainerRegistryClient { protected ContainerRegistryClient() { } + public ContainerRegistryClient(System.Uri registryUri) { } + public ContainerRegistryClient(System.Uri registryUri, Azure.Containers.ContainerRegistry.ContainerRegistryClientOptions options) { } public ContainerRegistryClient(System.Uri registryUri, Azure.Core.TokenCredential credential) { } public ContainerRegistryClient(System.Uri registryUri, Azure.Core.TokenCredential credential, Azure.Containers.ContainerRegistry.ContainerRegistryClientOptions options) { } public virtual string LoginServer { get { throw null; } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryAnonymousAccessCredential.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryAnonymousAccessCredential.cs new file mode 100644 index 000000000000..df7bc42e8cf3 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryAnonymousAccessCredential.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; + +namespace Azure.Containers.ContainerRegistry +{ + /// + /// Used internally to indiate the client is intended for use with anonymous access authentication. + /// + internal class ContainerRegistryAnonymousAccessCredential : TokenCredential + { + public override AccessToken GetToken(TokenRequestContext requestContext, CancellationToken cancellationToken) + { + throw new InvalidOperationException(); + } + + public override ValueTask GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken) + { + throw new InvalidOperationException(); + } + } +} diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs index a35467f634dd..394ec5ce70b7 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/ContainerRegistryChallengeAuthenticationPolicy.cs @@ -36,6 +36,7 @@ internal class ContainerRegistryChallengeAuthenticationPolicy : BearerTokenAuthe private readonly IContainerRegistryAuthenticationClient _authenticationClient; private readonly ContainerRegistryRefreshTokenCache _refreshTokenCache; private readonly string[] _aadScopes; + private readonly bool _anonymousAccess; public ContainerRegistryChallengeAuthenticationPolicy(TokenCredential credential, string aadScope, IContainerRegistryAuthenticationClient authenticationClient) : this(credential, aadScope, authenticationClient, null, null) @@ -51,6 +52,7 @@ internal ContainerRegistryChallengeAuthenticationPolicy(TokenCredential credenti _authenticationClient = authenticationClient; _refreshTokenCache = new ContainerRegistryRefreshTokenCache(credential, authenticationClient, tokenRefreshOffset, tokenRefreshRetryDelay); _aadScopes = new[] { aadScope }; + _anonymousAccess = credential is ContainerRegistryAnonymousAccessCredential; } // Since we'll not cache the AAD access token or set an auth header on the initial request, @@ -84,11 +86,19 @@ private async ValueTask AuthorizeRequestOnChallengeAsyncInternal(HttpMessa var service = AuthorizationChallengeParser.GetChallengeParameterFromResponse(message.Response, "Bearer", "service"); var scope = AuthorizationChallengeParser.GetChallengeParameterFromResponse(message.Response, "Bearer", "scope"); - // Step 3: Exchange AAD Access Token for ACR Refresh Token, or get the cached value instead. - string acrRefreshToken = await _refreshTokenCache.GetAcrRefreshTokenAsync(message, context, service, async).ConfigureAwait(false); + string acrAccessToken; + if (_anonymousAccess) + { + acrAccessToken = await GetAnonymousAcrAccessTokenAsync(service, scope, async, message.CancellationToken).ConfigureAwait(false); + } + else + { + // Step 3: Exchange AAD Access Token for ACR Refresh Token, or get the cached value instead. + string acrRefreshToken = await _refreshTokenCache.GetAcrRefreshTokenAsync(message, context, service, async).ConfigureAwait(false); - // Step 4: Send in acrRefreshToken and get back acrAccessToken - string acrAccessToken = await ExchangeAcrRefreshTokenForAcrAccessTokenAsync(acrRefreshToken, service, scope, async, message.CancellationToken).ConfigureAwait(false); + // Step 4: Send in acrRefreshToken and get back acrAccessToken + acrAccessToken = await ExchangeAcrRefreshTokenForAcrAccessTokenAsync(acrRefreshToken, service, scope, async, message.CancellationToken).ConfigureAwait(false); + } // Step 5 - Authorize Request. Note, we don't use SetAuthorizationHeader from the base class here, because it // sets an AAD access token header, and at this point we're done with AAD and using an ACR access token. @@ -102,11 +112,26 @@ private async Task ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string Response acrAccessToken = null; if (async) { - acrAccessToken = await _authenticationClient.ExchangeAcrRefreshTokenForAcrAccessTokenAsync(service, scope, acrRefreshToken, cancellationToken).ConfigureAwait(false); + acrAccessToken = await _authenticationClient.ExchangeAcrRefreshTokenForAcrAccessTokenAsync(service, scope, acrRefreshToken, cancellationToken: cancellationToken).ConfigureAwait(false); + } + else + { + acrAccessToken = _authenticationClient.ExchangeAcrRefreshTokenForAcrAccessToken(service, scope, acrRefreshToken, cancellationToken: cancellationToken); + } + + return acrAccessToken.Value.AccessToken; + } + + private async Task GetAnonymousAcrAccessTokenAsync(string service, string scope, bool async, CancellationToken cancellationToken) + { + Response acrAccessToken = null; + if (async) + { + acrAccessToken = await _authenticationClient.ExchangeAcrRefreshTokenForAcrAccessTokenAsync(service, scope, string.Empty, TokenGrantType.Password, cancellationToken ).ConfigureAwait(false); } else { - acrAccessToken = _authenticationClient.ExchangeAcrRefreshTokenForAcrAccessToken(service, scope, acrRefreshToken, cancellationToken); + acrAccessToken = _authenticationClient.ExchangeAcrRefreshTokenForAcrAccessToken(service, scope, string.Empty, TokenGrantType.Password, cancellationToken); } return acrAccessToken.Value.AccessToken; diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/IContainerRegistryAuthenticationClient.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/IContainerRegistryAuthenticationClient.cs index 969656a7a805..dc38f6f5508e 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/IContainerRegistryAuthenticationClient.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Authentication/IContainerRegistryAuthenticationClient.cs @@ -11,7 +11,7 @@ internal interface IContainerRegistryAuthenticationClient Task> ExchangeAadAccessTokenForAcrRefreshTokenAsync(string service, string aadAccessToken, CancellationToken token = default); Response ExchangeAadAccessTokenForAcrRefreshToken(string service, string aadAccessToken, CancellationToken token = default); - Task> ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string service, string scope, string acrRefreshToken, CancellationToken token = default); - Response ExchangeAcrRefreshTokenForAcrAccessToken(string service, string scope, string acrRefreshToken, CancellationToken token = default); + Task> ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string service, string scope, string acrRefreshToken, TokenGrantType grantType = TokenGrantType.RefreshToken, CancellationToken cancellationToken = default); + Response ExchangeAcrRefreshTokenForAcrAccessToken(string service, string scope, string acrRefreshToken, TokenGrantType grantType = TokenGrantType.RefreshToken, CancellationToken cancellationToken = default); } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj index 2139c41da8a4..8669f5ed36cd 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Azure.Containers.ContainerRegistry.csproj @@ -8,6 +8,7 @@ + @@ -28,12 +29,4 @@ - - - - - - - - diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/ContainerRegistryClient.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/ContainerRegistryClient.cs index 3f831f81a558..42d20281d1e4 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/ContainerRegistryClient.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/ContainerRegistryClient.cs @@ -21,6 +21,31 @@ public partial class ContainerRegistryClient private readonly AuthenticationRestClient _acrAuthClient; private readonly string AcrAadScope = "https://management.core.windows.net/.default"; + /// + /// Initializes a new instance of the for managing container images and artifacts, + /// using anonymous access to the registry. Only operations that support anonymous access are enabled. Other service + /// methods will throw if called. + /// + /// The URI endpoint of the container registry. This is likely to be similar + /// to "https://{registry-name}.azurecr.io". + /// Thrown when the is null. + public ContainerRegistryClient(Uri registryUri) : this(registryUri, new ContainerRegistryAnonymousAccessCredential(), new ContainerRegistryClientOptions()) + { + } + + /// + /// Initializes a new instance of the ContainerRegistryClient for managing container images and artifacts, + /// using anonymous access to the registry. Only operations that support anonymous access are enabled. Other service + /// methods will throw if called. + /// + /// The URI endpoint of the container registry. This is likely to be similar + /// to "https://{registry-name}.azurecr.io". + /// Client configuration options for connecting to Azure Container Registry. + /// Thrown when the is null. + public ContainerRegistryClient(Uri registryUri, ContainerRegistryClientOptions options) : this(registryUri, new ContainerRegistryAnonymousAccessCredential(), options) + { + } + /// /// Initializes a new instance of the for managing container images and artifacts. /// diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/AuthenticationRestClient.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/AuthenticationRestClient.cs index c4e5dd3c81c8..090f45222d07 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/AuthenticationRestClient.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/AuthenticationRestClient.cs @@ -121,7 +121,7 @@ public Response ExchangeAadAccessTokenForAcrRefreshToken(string } } - internal HttpMessage CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(string service, string scope, string refreshToken) + internal HttpMessage CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(string service, string scope, string refreshToken, TokenGrantType grantType) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -133,10 +133,10 @@ internal HttpMessage CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(strin request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/x-www-form-urlencoded"); var content = new FormUrlEncodedContent(); - content.Add("grant_type", "refresh_token"); content.Add("service", service); content.Add("scope", scope); content.Add("refresh_token", refreshToken); + content.Add("grant_type", grantType.ToSerialString()); request.Content = content; return message; } @@ -145,9 +145,10 @@ internal HttpMessage CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(strin /// Indicates the name of your Azure container registry. /// Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge. /// Must be a valid ACR refresh token. + /// Grant type is expected to be refresh_token. /// The cancellation token to use. /// , , or is null. - public async Task> ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string service, string scope, string refreshToken, CancellationToken cancellationToken = default) + public async Task> ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string service, string scope, string refreshToken, TokenGrantType grantType = TokenGrantType.RefreshToken, CancellationToken cancellationToken = default) { if (service == null) { @@ -162,7 +163,7 @@ public async Task> ExchangeAcrRefreshTokenForAcrAccessT throw new ArgumentNullException(nameof(refreshToken)); } - using var message = CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(service, scope, refreshToken); + using var message = CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(service, scope, refreshToken, grantType); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -182,9 +183,10 @@ public async Task> ExchangeAcrRefreshTokenForAcrAccessT /// Indicates the name of your Azure container registry. /// Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge. /// Must be a valid ACR refresh token. + /// Grant type is expected to be refresh_token. /// The cancellation token to use. /// , , or is null. - public Response ExchangeAcrRefreshTokenForAcrAccessToken(string service, string scope, string refreshToken, CancellationToken cancellationToken = default) + public Response ExchangeAcrRefreshTokenForAcrAccessToken(string service, string scope, string refreshToken, TokenGrantType grantType = TokenGrantType.RefreshToken, CancellationToken cancellationToken = default) { if (service == null) { @@ -199,7 +201,7 @@ public Response ExchangeAcrRefreshTokenForAcrAccessToken(string throw new ArgumentNullException(nameof(refreshToken)); } - using var message = CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(service, scope, refreshToken); + using var message = CreateExchangeAcrRefreshTokenForAcrAccessTokenRequest(service, scope, refreshToken, grantType); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.Serialization.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.Serialization.cs index 98eb741d6fb3..6672a3ab0e35 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.Serialization.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.Serialization.cs @@ -15,8 +15,8 @@ internal partial class ManifestAttributesManifestReferences internal static ManifestAttributesManifestReferences DeserializeManifestAttributesManifestReferences(JsonElement element) { string digest = default; - string architecture = default; - string os = default; + ArtifactArchitecture architecture = default; + ArtifactOperatingSystem os = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("digest")) @@ -26,12 +26,12 @@ internal static ManifestAttributesManifestReferences DeserializeManifestAttribut } if (property.NameEquals("architecture")) { - architecture = property.Value.GetString(); + architecture = new ArtifactArchitecture(property.Value.GetString()); continue; } if (property.NameEquals("os")) { - os = property.Value.GetString(); + os = new ArtifactOperatingSystem(property.Value.GetString()); continue; } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.cs index 40785d1078af..2d9ad5a2f155 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/ManifestAttributesManifestReferences.cs @@ -14,34 +14,26 @@ internal partial class ManifestAttributesManifestReferences { /// Initializes a new instance of ManifestAttributesManifestReferences. /// Manifest digest. - /// CPU architecture. + /// CPU architecture. /// Operating system. - /// , , or is null. - internal ManifestAttributesManifestReferences(string digest, string cpuArchitecture, string operatingSystem) + /// is null. + internal ManifestAttributesManifestReferences(string digest, ArtifactArchitecture architecture, ArtifactOperatingSystem operatingSystem) { if (digest == null) { throw new ArgumentNullException(nameof(digest)); } - if (cpuArchitecture == null) - { - throw new ArgumentNullException(nameof(cpuArchitecture)); - } - if (operatingSystem == null) - { - throw new ArgumentNullException(nameof(operatingSystem)); - } Digest = digest; - CpuArchitecture = cpuArchitecture; + Architecture = architecture; OperatingSystem = operatingSystem; } /// Manifest digest. public string Digest { get; } /// CPU architecture. - public string CpuArchitecture { get; } + public ArtifactArchitecture Architecture { get; } /// Operating system. - public string OperatingSystem { get; } + public ArtifactOperatingSystem OperatingSystem { get; } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema.cs index 9bf7d4f6ffc8..edc069c43054 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema.cs @@ -16,8 +16,9 @@ internal partial class PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXW /// Indicates the name of your Azure container registry. /// Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge. /// Must be a valid ACR refresh token. + /// Grant type is expected to be refresh_token. /// , , or is null. - internal PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema(string service, string scope, string acrRefreshToken) + internal PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema(string service, string scope, string acrRefreshToken, TokenGrantType grantType = TokenGrantType.RefreshToken) { if (service == null) { @@ -32,19 +33,19 @@ internal PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencod throw new ArgumentNullException(nameof(acrRefreshToken)); } - GrantType = "refresh_token"; Service = service; Scope = scope; AcrRefreshToken = acrRefreshToken; + GrantType = grantType; } - /// Grant type is expected to be refresh_token. - public string GrantType { get; } /// Indicates the name of your Azure container registry. public string Service { get; } /// Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge. public string Scope { get; } /// Must be a valid ACR refresh token. public string AcrRefreshToken { get; } + /// Grant type is expected to be refresh_token. + public TokenGrantType GrantType { get; } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/TokenGrantType.Serialization.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/TokenGrantType.Serialization.cs new file mode 100644 index 000000000000..9baf8c5176b2 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/TokenGrantType.Serialization.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.Containers.ContainerRegistry +{ + internal static partial class TokenGrantTypeExtensions + { + public static string ToSerialString(this TokenGrantType value) => value switch + { + TokenGrantType.RefreshToken => "refresh_token", + TokenGrantType.Password => "password", + _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown TokenGrantType value.") + }; + + public static TokenGrantType ToTokenGrantType(this string value) + { + if (string.Equals(value, "refresh_token", StringComparison.InvariantCultureIgnoreCase)) return TokenGrantType.RefreshToken; + if (string.Equals(value, "password", StringComparison.InvariantCultureIgnoreCase)) return TokenGrantType.Password; + throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown TokenGrantType value."); + } + } +} diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/TokenGrantType.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/TokenGrantType.cs new file mode 100644 index 000000000000..7d1d535708a4 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/TokenGrantType.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Containers.ContainerRegistry +{ + /// Grant type is expected to be refresh_token. + internal enum TokenGrantType + { + /// refresh_token. + RefreshToken, + /// password. + Password + } +} diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Models/ArtifactManifestProperties.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Models/ArtifactManifestProperties.cs index 3d8ce65c6bf3..b876921c4b1a 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Models/ArtifactManifestProperties.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Models/ArtifactManifestProperties.cs @@ -11,7 +11,7 @@ namespace Azure.Containers.ContainerRegistry /// Manifest attributes details. public partial class ArtifactManifestProperties { - internal ArtifactManifestProperties(string digest, string architecture, string operatingSystem) + internal ArtifactManifestProperties(string digest, ArtifactArchitecture architecture, ArtifactOperatingSystem operatingSystem) { this.Digest = digest; this.Architecture = architecture; @@ -41,7 +41,7 @@ internal static ArtifactManifestProperties FromManifestAttributesManifestReferen { return new ArtifactManifestProperties( reference.Digest, - reference.CpuArchitecture, + reference.Architecture, reference.OperatingSystem); } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/autorest.md b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/autorest.md index 7cf8026877a4..152fb42b5dd1 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/autorest.md +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/src/autorest.md @@ -4,7 +4,8 @@ Run `dotnet build /t:GenerateCode` to generate code. ``` yaml input-file: - - https://github.com/jeremymeng/azure-rest-api-specs/blob/96bdb14b80d5542ea6982cd766be19e7c8c58c86/specification/containerregistry/data-plane/Azure.ContainerRegistry/preview/2019-08-15-preview/containerregistry.json + - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/4af460b1ba17b339869775ca9fb1df3ebfe7c15a/specification/containerregistry/data-plane/Azure.ContainerRegistry/preview/2019-08-15-preview/containerregistry.json + model-namespace: false ``` @@ -14,4 +15,4 @@ directive: where: $.definitions.ManifestAttributes_manifest_references transform: > $["x-accessibility"] = "internal" -``` \ No newline at end of file +``` diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs index 79f6329ee31c..1e70d8a77534 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Authentication/MockAuthenticationClient.cs @@ -29,12 +29,12 @@ public Task> ExchangeAadAccessTokenForAcrRefreshTokenA return Task.FromResult(Response.FromValue(_acrRefreshTokenFunc(service), new MockResponse(200))); } - public Response ExchangeAcrRefreshTokenForAcrAccessToken(string service, string scope, string acrRefreshToken, CancellationToken token = default) + public Response ExchangeAcrRefreshTokenForAcrAccessToken(string service, string scope, string acrRefreshToken, TokenGrantType grantType = TokenGrantType.RefreshToken, CancellationToken token = default) { return Response.FromValue(_acrAccessTokenFunc(service, scope), new MockResponse(200)); } - public Task> ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string service, string scope, string acrRefreshToken, CancellationToken token = default) + public Task> ExchangeAcrRefreshTokenForAcrAccessTokenAsync(string service, string scope, string acrRefreshToken, TokenGrantType grantType = TokenGrantType.RefreshToken, CancellationToken token = default) { return Task.FromResult(Response.FromValue(_acrAccessTokenFunc(service, scope), new MockResponse(200))); } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj index e1fc9a38b4b9..e2803010e8ea 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/Azure.Containers.ContainerRegistry.Tests.csproj @@ -17,15 +17,7 @@ - - - - - - - - - ..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\System.Web.dll - + + diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs index 7e8d44c237ea..cd842a291a19 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientLiveTests.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Collections.Generic; using Azure.Core.TestFramework; using NUnit.Framework; @@ -15,20 +14,13 @@ public ContainerRegistryClientLiveTests(bool isAsync) : base(isAsync) { } - private ContainerRegistryClient CreateClient() - { - return InstrumentClient(new ContainerRegistryClient( - new Uri(TestEnvironment.Endpoint), - TestEnvironment.Credential, - InstrumentClientOptions(new ContainerRegistryClientOptions()) - )); - } - [RecordedTest] - public async Task CanGetRepositories() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetRepositories(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); // Act AsyncPageable repositories = client.GetRepositoryNamesAsync(); @@ -48,10 +40,12 @@ public async Task CanGetRepositories() } [RecordedTest] - public async Task CanGetRepositoriesWithCustomPageSize() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetRepositoriesWithCustomPageSize(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); int pageSize = 2; int minExpectedPages = 2; @@ -71,10 +65,12 @@ public async Task CanGetRepositoriesWithCustomPageSize() } [RecordedTest] - public async Task CanStartPagingMidCollection() + [TestCase(true)] + [TestCase(false)] + public async Task CanStartPagingMidCollection(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); int pageSize = 1; int minExpectedPages = 2; @@ -105,6 +101,7 @@ public async Task CanStartPagingMidCollection() public async Task CanDeleteRepostitory() { // Arrange + string registry = TestEnvironment.Registry; string repository = $"library/hello-world"; List tags = new List() { @@ -120,7 +117,7 @@ public async Task CanDeleteRepostitory() { if (Mode != RecordedTestMode.Playback) { - await ImportImage(repository, tags); + await ImportImage(registry, repository, tags); } // Act @@ -149,9 +146,19 @@ public async Task CanDeleteRepostitory() // Clean up - put the repository with tags back. if (Mode != RecordedTestMode.Playback) { - await ImportImage(repository, tags); + await ImportImage(registry, repository, tags); } } } + + [RecordedTest, NonParallelizable] + public void CanDeleteRepostitory_Anonymous() + { + // Arrange + string repository = $"library/hello-world"; + var client = CreateClient(anonymousAccess: true); + + Assert.ThrowsAsync(() => client.DeleteRepositoryAsync(repository)); + } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientTests.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientTests.cs index e52ae3be2f22..a088676b0acf 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientTests.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryClientTests.cs @@ -37,7 +37,7 @@ public void ConstructorValidatesArguments() { Assert.That(() => new ContainerRegistryClient(null, GetCredential()), Throws.InstanceOf(), "The constructor should validate the url."); - Assert.That(() => new ContainerRegistryClient(_url, null), Throws.InstanceOf(), "The constructor should not accept a null credential."); + Assert.That(() => new ContainerRegistryClient(_url, credential: null), Throws.InstanceOf(), "The constructor should not accept a null credential."); Assert.That(() => new ContainerRegistryClient(_url, GetCredential(), null), Throws.InstanceOf(), "The constructor not accept null options."); } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs index 04cc6fcad7ae..12251344c214 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestBase.cs @@ -26,12 +26,28 @@ public ContainerRegistryRecordedTestBase(bool isAsync, RecordedTestMode mode) : Sanitizer = new ContainerRegistryRecordedTestSanitizer(); } - public async Task ImportImage(string repository, string tag) + public ContainerRegistryClient CreateClient(bool anonymousAccess = false) { - await ImportImage(repository, new List() { tag }); + return anonymousAccess ? + + InstrumentClient(new ContainerRegistryClient( + new Uri(TestEnvironment.AnonymousAccessEndpoint), + InstrumentClientOptions(new ContainerRegistryClientOptions()) + )) : + + InstrumentClient(new ContainerRegistryClient( + new Uri(TestEnvironment.Endpoint), + TestEnvironment.Credential, + InstrumentClientOptions(new ContainerRegistryClientOptions()) + )); + } + + public async Task ImportImage(string registry, string repository, string tag) + { + await ImportImage(registry, repository, new List() { tag }); } - public async Task ImportImage(string repository, List tags) + public async Task ImportImage(string registry, string repository, List tags) { var credential = new AzureCredentials( new ServicePrincipalLoginInformation @@ -55,7 +71,7 @@ public async Task ImportImage(string repository, List tags) await managementClient.Registries.ImportImageAsync( resourceGroupName: TestEnvironment.ResourceGroup, - registryName: TestEnvironment.Registry, + registryName: registry, parameters: new ImportImageParameters { diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs index 5c3680b65417..27df1e880ed7 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryRecordedTestSanitizer.cs @@ -15,44 +15,31 @@ namespace Azure.Containers.ContainerRegistry.Tests public class ContainerRegistryRecordedTestSanitizer : RecordedTestSanitizer { public List FormEncodedBodySanitizers { get; } = new List(); - public List JwtValues { get; } = new List(); - - private static readonly JsonSerializerSettings SerializerSettings = new JsonSerializerSettings - { - DateParseHandling = DateParseHandling.None - }; public ContainerRegistryRecordedTestSanitizer() - : base() { - JsonPathSanitizers.Add("$..access_token"); - JsonPathSanitizers.Add("$..refresh_token"); + DateTimeOffset expiresOn = DateTimeOffset.UtcNow + TimeSpan.FromDays(365 * 30); // Never expire in software years + string encodedBody = Base64Url.EncodeString($"{{\"exp\":{expiresOn.ToUnixTimeSeconds()}}}"); + + var jwtSanitizedValue = $"{SanitizeValue}.{encodedBody}.{SanitizeValue}"; + + AddJsonPathSanitizer("$..refresh_token", _ => JToken.FromObject(jwtSanitizedValue)); FormEncodedBodySanitizers.Add("access_token"); FormEncodedBodySanitizers.Add("refresh_token"); - - JwtValues.Add("$..refresh_token"); } public override string SanitizeTextBody(string contentType, string body) { - string jsonSanitizedBody = SanitizeJsonTextBody(contentType, body); - - if (FormEncodedBodySanitizers.Count == 0) - { - return jsonSanitizedBody; - } - + string jsonSanitizedBody = base.SanitizeTextBody(contentType, body); try { if (contentType == "application/x-www-form-urlencoded") { - string urlEncodedSanitizedBody = string.Empty; - NameValueCollection queryParams = HttpUtility.ParseQueryString(jsonSanitizedBody); for (int i = 0; i < queryParams.Keys.Count; i++) { - string key = queryParams.Keys[i].ToString(); + string key = queryParams.Keys[i]; foreach (string paramToSanitize in FormEncodedBodySanitizers) { if (key == paramToSanitize) @@ -72,47 +59,5 @@ public override string SanitizeTextBody(string contentType, string body) return jsonSanitizedBody; } } - - private string SanitizeJsonTextBody(string contentType, string body) - { - if (JsonPathSanitizers.Count == 0) - return body; - try - { - JToken jsonO; - // Prevent default behavior where JSON.NET will convert DateTimeOffset - // into a DateTime. - if (!LegacyConvertJsonDateTokens) - { - jsonO = JsonConvert.DeserializeObject(body, SerializerSettings); - } - else - { - jsonO = JToken.Parse(body); - } - - foreach (string jsonPath in JsonPathSanitizers) - { - foreach (JToken token in jsonO.SelectTokens(jsonPath)) - { - string value = token.ToString(); - token.Replace(JToken.FromObject(JwtValues.Contains(jsonPath) ? SanitizeJwt(value) : SanitizeValue)); - } - } - return JsonConvert.SerializeObject(jsonO, SerializerSettings); - } - catch - { - return body; - } - } - - private string SanitizeJwt(string value) - { - DateTimeOffset expiresOn = DateTimeOffset.UtcNow + TimeSpan.FromDays(365 * 30); // Never expire in software years - string encodedBody = Base64Url.EncodeString($"{{\"exp\":{expiresOn.ToUnixTimeSeconds()}}}"); - - return $"{SanitizeValue}.{encodedBody}.{SanitizeValue}"; - } } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryTestEnvironment.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryTestEnvironment.cs index 73699b8e5a3b..d81922d7818e 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryTestEnvironment.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRegistryTestEnvironment.cs @@ -8,8 +8,8 @@ namespace Azure.Containers.ContainerRegistry.Tests public class ContainerRegistryTestEnvironment : TestEnvironment { public string Endpoint => GetRecordedVariable("CONTAINERREGISTRY_ENDPOINT"); - public string UserName => GetRecordedVariable("CONTAINERREGISTRY_USERNAME", options => options.IsSecret()); - public string Password => GetRecordedVariable("CONTAINERREGISTRY_PASSWORD", options => options.IsSecret()); public string Registry => GetRecordedVariable("CONTAINERREGISTRY_REGISTRY_NAME"); + public string AnonymousAccessEndpoint => GetRecordedVariable("CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT"); + public string AnonymousAccessRegistry => GetRecordedVariable("CONTAINERREGISTRY_ANONREGISTRY_NAME"); } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs index b7ee758ec09c..eeaeb546655b 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/ContainerRepositoryLiveTests.cs @@ -18,20 +18,6 @@ public ContainerRepositoryLiveTests(bool isAsync) : base(isAsync) { } - #region Setup methods - - private ContainerRegistryClient CreateClient() - { - return InstrumentClient(new ContainerRegistryClient( - new Uri(TestEnvironment.Endpoint), - TestEnvironment.Credential, - InstrumentClientOptions(new ContainerRegistryClientOptions()) - )); - } - - #endregion - - #region Repository Tests [RecordedTest] public async Task CanGetRepositoryProperties() { @@ -83,6 +69,25 @@ public async Task CanSetRepositoryProperties() await repository.SetPropertiesAsync(originalContentProperties); } + [RecordedTest, NonParallelizable] + public void CanSetRepositoryProperties_Anonymous() + { + // Arrange + var client = CreateClient(anonymousAccess: true); + var repository = client.GetRepository(_repositoryName); + + // Act + Assert.ThrowsAsync(() => + repository.SetPropertiesAsync( + new ContentProperties() + { + CanList = false, + CanRead = false, + CanWrite = false, + CanDelete = false, + })); + } + [RecordedTest, NonParallelizable] public async Task CanDeleteRepository() { @@ -103,7 +108,7 @@ public async Task CanDeleteRepository() { if (Mode != RecordedTestMode.Playback) { - await ImportImage(_repositoryName, tags); + await ImportImage(TestEnvironment.Registry, _repositoryName, tags); } // Act @@ -124,16 +129,18 @@ public async Task CanDeleteRepository() // Clean up - put the repository with tags back. if (Mode != RecordedTestMode.Playback) { - await ImportImage(_repositoryName, tags); + await ImportImage(TestEnvironment.Registry, _repositoryName, tags); } } } [RecordedTest] - public async Task CanGetManifests() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetManifests(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); var repository = client.GetRepository(_repositoryName); // Act @@ -155,10 +162,12 @@ public async Task CanGetManifests() } [RecordedTest] - public async Task CanGetManifestsWithCustomPageSize() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetManifestsWithCustomPageSize(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); var repository = client.GetRepository(_repositoryName); int pageSize = 2; int minExpectedPages = 2; @@ -179,10 +188,12 @@ public async Task CanGetManifestsWithCustomPageSize() } [RecordedTest] - public async Task CanGetArtifactsStartingMidCollection() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetArtifactsStartingMidCollection(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); var repository = client.GetRepository(_repositoryName); int pageSize = 1; int minExpectedPages = 2; @@ -244,7 +255,7 @@ public async Task CanGetManifestsOrdered() { if (Mode != RecordedTestMode.Playback) { - await ImportImage(repositoryName, tag); + await ImportImage(TestEnvironment.Registry, repositoryName, tag); } // Act @@ -270,8 +281,5 @@ public async Task CanGetManifestsOrdered() await artifact.DeleteAsync(); } } - - #endregion - } } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs index 637be89d5e9c..43af78c4576d 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/RegistryArtifactLiveTests.cs @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; -using System.Collections.Generic; using System.Linq; using Azure.Core.TestFramework; using NUnit.Framework; @@ -18,19 +16,6 @@ public RegistryArtifactLiveTests(bool isAsync) : base(isAsync) { } - #region Setup methods - - private ContainerRegistryClient CreateClient() - { - return InstrumentClient(new ContainerRegistryClient( - new Uri(TestEnvironment.Endpoint), - TestEnvironment.Credential, - InstrumentClientOptions(new ContainerRegistryClientOptions()) - )); - } - - #endregion - #region Manifest Tests [RecordedTest] public async Task CanGetManifestListProperties() @@ -122,6 +107,25 @@ public async Task CanSetManifestProperties() await artifact.SetManifestPropertiesAsync(originalContentProperties); } + [RecordedTest, NonParallelizable] + public void CanSetManifestProperties_Anonymous() + { + // Arrange + var client = CreateClient(anonymousAccess: true); + string tag = "latest"; + var artifact = client.GetArtifact(_repositoryName, tag); + + // Act + Assert.ThrowsAsync(() => artifact.SetManifestPropertiesAsync( + new ContentProperties() + { + CanList = false, + CanRead = false, + CanWrite = false, + CanDelete = false + })); + } + [RecordedTest, NonParallelizable] public async Task CanDeleteRegistryArtifact() { @@ -133,7 +137,7 @@ public async Task CanDeleteRegistryArtifact() if (Mode != RecordedTestMode.Playback) { - await ImportImage(repository, tag); + await ImportImage(TestEnvironment.Registry, repository, tag); } // Act @@ -155,10 +159,12 @@ public async Task CanDeleteRegistryArtifact() #region Tag Tests [RecordedTest] - public async Task CanGetTags() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetTags(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); string tagName = "latest"; var artifact = client.GetArtifact(_repositoryName, tagName); @@ -179,10 +185,12 @@ public async Task CanGetTags() } [RecordedTest] - public async Task CanGetTagsWithCustomPageSize() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetTagsWithCustomPageSize(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); string tagName = "latest"; var artifact = client.GetArtifact(_repositoryName, tagName); int pageSize = 2; @@ -204,7 +212,9 @@ public async Task CanGetTagsWithCustomPageSize() } [RecordedTest] - public async Task CanGetTagsStartingMidCollection() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetTagsStartingMidCollection(bool anonymous) { // Arrange var client = CreateClient(); @@ -253,16 +263,19 @@ public async Task CanGetTagProperties() } [RecordedTest] - public async Task CanGetTagsOrdered() + [TestCase(true)] + [TestCase(false)] + public async Task CanGetTagsOrdered(bool anonymous) { // Arrange - var client = CreateClient(); + var client = CreateClient(anonymous); + string registry = anonymous ? TestEnvironment.AnonymousAccessRegistry : TestEnvironment.Registry; string tagName = "latest"; var artifact = client.GetArtifact(_repositoryName, tagName); if (Mode != RecordedTestMode.Playback) { - await ImportImage(_repositoryName, "newest"); + await ImportImage(registry, _repositoryName, "newest"); } // Act @@ -315,6 +328,26 @@ public async Task CanSetTagProperties() await artifact.SetTagPropertiesAsync(tag, originalContentProperties); } + [RecordedTest, NonParallelizable] + public void CanSetTagProperties_Anonymous() + { + // Arrange + var client = CreateClient(anonymousAccess: true); + string tag = "latest"; + var artifact = client.GetArtifact(_repositoryName, tag); + + // Act + Assert.ThrowsAsync(() => artifact.SetTagPropertiesAsync( + tag, + new ContentProperties() + { + CanList = false, + CanRead = false, + CanWrite = false, + CanDelete = false + })); + } + [RecordedTest, NonParallelizable] public async Task CanDeleteTag() { @@ -325,7 +358,7 @@ public async Task CanDeleteTag() if (Mode != RecordedTestMode.Playback) { - await ImportImage(_repositoryName, tag); + await ImportImage(TestEnvironment.Registry, _repositoryName, tag); } // Act diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json index 9590c3818955..a4dcc13ab876 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-07691f371705694a-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6f765072ea0f9f479c191636fd17c1cd-b7de501f9362eb49-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0c903d2ccfdc68bf297403b213d195ee", "x-ms-return-client-request-id": "true" }, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:50:43 GMT", + "Date": "Mon, 10 May 2021 15:37: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8994168f-9398-4587-97ec-9f47d4df2794" + "X-Ms-Correlation-Request-Id": "888063cc-0e26-42da-a90b-c1af5c670334" }, "ResponseBody": { "errors": [ @@ -50,69 +50,69 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-9d584ed6ff43244e-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6f765072ea0f9f479c191636fd17c1cd-87d504012e2c9c4f-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "853c25cd869cf34e2c233b8ab418acce", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:50:43 GMT", + "Date": "Mon, 10 May 2021 15:37:01 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a12ae251-ff5a-490d-83fc-1e8ce8e52add", - "x-ms-ratelimit-remaining-calls-per-second": "166.5" + "X-Ms-Correlation-Request-Id": "24c5ac0d-16b3-4583-95dc-464cfb55022a", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyNjF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMDJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-bc94e78eedb26e41-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6f765072ea0f9f479c191636fd17c1cd-1a90adebae180346-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1e2c93dbae12ef68de7fb4f90ae10daf", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\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:50:43 GMT", + "Date": "Mon, 10 May 2021 15:37:01 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "917c16c6-f7b1-49d2-9acc-f68d33acb407", - "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + "X-Ms-Correlation-Request-Id": "18dc2791-011a-4e9b-b30b-92a79d97411b", + "x-ms-ratelimit-remaining-calls-per-second": "166.416667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4MWM1MmQxMi00MjhhLTQwMzgtYTMwYS00NjI3YzRlOTg1YTIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMjEsImV4cCI6MTYyMDY2NDYyMSwiaWF0IjoxNjIwNjYwMTIxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.UJY7gzUrtHkDMUjYqlndBNPyIVOW4otjKxPGExFRkgYWugQcGsFa9nyaDVLXGzoWed1m3JIeP4GOxIWBGFQh8JUt4LpEvL_BKaLEclNpQmYm4rm2E9cCEBr5Dq8NMLNrC0xK8NnlEPMi_gzcS5EVlez9STVcP2-bkZV20NYVDJPdbeLdO_7_7GqKU5t1OIinj_Z85ZWU2oCV7BqZ846xEdQ0mjqvp-U_rc4z7Yj63fZ7mycJDEUmWawHkETK4K5TvZN-2QerCRxVaYpqZUj3lqqKNJFbvDml1WP-cgPv2RQQ6FySUA9LCnqq2YOymcuygWDuX4cZtHBKJLbEAYeQ1A" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-c24c524f98c8364aad12c09134cbb7b3-07691f371705694a-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6f765072ea0f9f479c191636fd17c1cd-b7de501f9362eb49-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0c903d2ccfdc68bf297403b213d195ee", "x-ms-return-client-request-id": "true" }, @@ -126,9 +126,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "816", + "Content-Length": "807", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:50:46 GMT", + "Date": "Mon, 10 May 2021 15:37:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -137,9 +137,9 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "0c903d2ccfdc68bf297403b213d195ee", - "X-Ms-Correlation-Request-Id": "f2f8c457-fa35-4ed0-b83e-5ef002811a7b", + "X-Ms-Correlation-Request-Id": "2b74254e-bd8d-4765-813e-c18b4cc0dcbc", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "234f4db0-cfb3-4d28-816b-8ba0403b1765" + "X-Ms-Request-Id": "b13bcbd5-2bd6-4ec7-8c00-4bbbf8cac000" }, "ResponseBody": { "manifestsDeleted": [ @@ -156,7 +156,6 @@ ], "tagsDeleted": [ "latest", - "newest", "v1", "v2", "v3", @@ -165,12 +164,12 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "traceparent": "00-93d83c4b0821fa4483e68ba654b2418e-feb0b76ee88f5841-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6af4233469ebb54f87218bed8823f1bb-a65a560c85a26142-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b2bba98cd0ffa6f7ee9cdfb99335b411", "x-ms-return-client-request-id": "true" }, @@ -186,16 +185,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:50:51 GMT", + "Date": "Mon, 10 May 2021 15:37: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ad90a693-dd0e-4398-97e1-cd47d57455f4" + "X-Ms-Correlation-Request-Id": "88252d0a-6447-47fd-a2a1-1b9cf6e8d3d4" }, "ResponseBody": { "errors": [ @@ -214,41 +213,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-93d83c4b0821fa4483e68ba654b2418e-9f11bc8722c7ff48-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6af4233469ebb54f87218bed8823f1bb-bd7ded2984b72c44-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7fd635c776a41edcbd4da61dd155e84b", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.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": "Thu, 06 May 2021 00:50:51 GMT", + "Date": "Mon, 10 May 2021 15:37:08 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "75133ac3-707c-4147-b63c-a921a1e57e88", - "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + "X-Ms-Correlation-Request-Id": "10665344-bb96-4d93-bd03-cae3e5422b5a", + "x-ms-ratelimit-remaining-calls-per-second": "166.4" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4YzhhNDJiMy0zNjRjLTQ1ZDAtYjQxMS0zZjMxNjlkMTVkODQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMjgsImV4cCI6MTYyMDY2NDYyOCwiaWF0IjoxNjIwNjYwMTI4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.yHP1m9iWC05t9cOVezMChn6ewfPQQfEmmLePIEJVFQR9lfD3fXvunVm1k5CuG1Boc_DOhUMaj0kt0rfFjuXIGIUwIXWO-jAdiWU7cY3r2AGhZaBuAytL9FIMhlpXfuehPCT5E5igP0BEXbE9pTAeiW8B41Q5kG5A910vWdDyyerlqhlsNc0DnG-do_EobHIEyMRTYA4q0YMw00Xhi9QdXfIAnUQe99ExS8cU9fisnxlBNwvMNnLH_whuYx6ffSjaVXhpjm2l2qvomrm-tXMalzcwamlPV6FD2SQ7NiF_PqXrpjtbfjws6UhxxiXnBt55g3GaflQLl8ttDSIEJOrPtQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-93d83c4b0821fa4483e68ba654b2418e-feb0b76ee88f5841-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6af4233469ebb54f87218bed8823f1bb-a65a560c85a26142-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b2bba98cd0ffa6f7ee9cdfb99335b411", "x-ms-return-client-request-id": "true" }, @@ -264,7 +263,7 @@ "Connection": "keep-alive", "Content-Length": "68", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:50:51 GMT", + "Date": "Mon, 10 May 2021 15:37:08 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -272,7 +271,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "46298e83-08c1-4101-a4a9-1b8ef99aacbf" + "X-Ms-Correlation-Request-Id": "d351379e-aff8-40bc-b341-a6e5b5894fb9" }, "ResponseBody": { "repositories": [ @@ -284,11 +283,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "1367677705", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json index 136fef020863..7ed08bac4f9a 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitoryAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", - "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-b96257b3bf7abd49-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-822460d3552a654aab3d2db0679ecfe8-40fc69a07b294245-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7477a74f8b227857aeb048e4037a9500", "x-ms-return-client-request-id": "true" }, @@ -22,16 +22,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:15 GMT", + "Date": "Mon, 10 May 2021 15:37: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7823138e-a804-426f-900a-bd675f3bb654" + "X-Ms-Correlation-Request-Id": "5be584e9-3a18-40a3-ad7d-77fa759b97a8" }, "ResponseBody": { "errors": [ @@ -50,69 +50,69 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-1ff6d64668bbc442-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-822460d3552a654aab3d2db0679ecfe8-710fa0c13373a247-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "188ab92233b41a5c172f728ffa500953", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:16 GMT", + "Date": "Mon, 10 May 2021 15:37:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "56f6ef6b-1c83-4c11-ab52-703221603e38", - "x-ms-ratelimit-remaining-calls-per-second": "166.116667" + "X-Ms-Correlation-Request-Id": "95bf4572-6fb7-418e-bbd2-45fc1c252568", + "x-ms-ratelimit-remaining-calls-per-second": "166.05" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIyOTN9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMzl9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-12398b619bcd5c48-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-822460d3552a654aab3d2db0679ecfe8-6f515e25501e144e-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6392113ac7fdab71c2b354231d2b52c9", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\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:51:16 GMT", + "Date": "Mon, 10 May 2021 15:37:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e8296a97-f08e-4a77-be22-0e6d0498577d", - "x-ms-ratelimit-remaining-calls-per-second": "166.1" + "X-Ms-Correlation-Request-Id": "c2417da7-7f84-43b9-8d2f-5981f2b1458c", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiYmI3OTJmNC1iNTVlLTRlM2QtYjcwZi1iODNkNDEyNWMwYmUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxNTMsImV4cCI6MTYyMDY2NDY1MywiaWF0IjoxNjIwNjYwMTUzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.jbKp2zUho337X9tCXCnJersJvAUgnQ8f2VlgNHG2yyDfP_LPWdNlIEsQXBcHTXWcrKyfgAEd1h47WgdNTI5EAflIMMTdL6jQerPu_NBfmA_rk1_ivAvLomk6ZP9p5v9aaceSk9x_EY_5-M5fHxQAC6oKD9nUadSYX4EX538nsD9Hs2fsP_mhSMrucX_1P5l0_z2ZKGFFNk7J_fJ8B0LVaH2BKDuVqY-mge_5xPa9mAM7bIOPg1UWlrgRJXuzJLgtFrp6a54r-Cm6BgUHe__J0EKTnp8Dlzuk4m5K01oM7a-GUYyoOT_ZNiaO6HfE760WjdqaCr8Rv2GaYq3Tq8P4yg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-2572af79f06af34e989eea8f516ee9f3-b96257b3bf7abd49-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-822460d3552a654aab3d2db0679ecfe8-40fc69a07b294245-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7477a74f8b227857aeb048e4037a9500", "x-ms-return-client-request-id": "true" }, @@ -128,7 +128,7 @@ "Connection": "keep-alive", "Content-Length": "807", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:18 GMT", + "Date": "Mon, 10 May 2021 15:37:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -137,9 +137,9 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "7477a74f8b227857aeb048e4037a9500", - "X-Ms-Correlation-Request-Id": "9e32c0ff-dcd3-49fc-b665-f27513b02170", + "X-Ms-Correlation-Request-Id": "26cad192-8aaa-4d40-ad66-465969d957c9", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "c9db3f21-e6ac-4896-abdd-b548e4108476" + "X-Ms-Request-Id": "726c4221-9e60-48bf-b211-f59bd9c07531" }, "ResponseBody": { "manifestsDeleted": [ @@ -164,12 +164,12 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", - "traceparent": "00-a1ed4430e7102e459369450116951607-91543bbb9dce3e4b-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-e89484309dabdc4e9bfa514636ea5a68-1e526aca7edccb43-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "08e2460285c71b974a5c5df218c77d5e", "x-ms-return-client-request-id": "true" }, @@ -185,16 +185,16 @@ "Connection": "keep-alive", "Content-Length": "195", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:23 GMT", + "Date": "Mon, 10 May 2021 15:37: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9ed07baf-631c-4212-9a21-e60702959038" + "X-Ms-Correlation-Request-Id": "4542b83e-559c-4c81-a561-553fe0b3f3b0" }, "ResponseBody": { "errors": [ @@ -213,41 +213,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "111", "Content-Type": "application/x-www-form-urlencoded", - "traceparent": "00-a1ed4430e7102e459369450116951607-59009f618317f54c-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-e89484309dabdc4e9bfa514636ea5a68-802a1d6c746d7a44-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f1a9f4a631e85b0247df5501de39fdec", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.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": "Thu, 06 May 2021 00:51:23 GMT", + "Date": "Mon, 10 May 2021 15:37:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6dbc7b52-822c-4902-b5a9-1a6e119ff2d6", - "x-ms-ratelimit-remaining-calls-per-second": "166.083333" + "X-Ms-Correlation-Request-Id": "be23d73e-750b-42fb-9925-aac7ed646c34", + "x-ms-ratelimit-remaining-calls-per-second": "165.783333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlOTY3YzA1OS1mY2U1LTQ1ZjEtYjBkZS03ZWI3MTNlY2IxMDYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxNjAsImV4cCI6MTYyMDY2NDY2MCwiaWF0IjoxNjIwNjYwMTYwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.dc8buQ99Pohy9IKP06MWLo17od58GDyEGj7KnRi5DW1btG7XLd6tk1rUUm_n3N352ce6D7S4ofdpijvXVl5OGabOquqkPJ42fnWwy2kVdmboEUHYSO0hKEOY1yJmcOkNWYgIgQv2JiVNydf3jwsm7m0pPAwVN2dCIvlxl5wCriNTM6-00RNAqp-useqtxYiiMRJ18Pag3VcstV5CuTcDhN8zVsZ-nRXvI6EkkRl3OHVtGG-UJ5LPnIpkYbEO14ADql9NKoNGwc0mp1TEC8aObn13BV7Pzj9xHLBslQ4KOH5SV8t7v5K10Hc9CoEe38y6dlIjMe1i7PeMxTRnVQAySw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/_catalog", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-a1ed4430e7102e459369450116951607-91543bbb9dce3e4b-00", - "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-e89484309dabdc4e9bfa514636ea5a68-1e526aca7edccb43-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "08e2460285c71b974a5c5df218c77d5e", "x-ms-return-client-request-id": "true" }, @@ -263,7 +263,7 @@ "Connection": "keep-alive", "Content-Length": "68", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:23 GMT", + "Date": "Mon, 10 May 2021 15:37:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -271,7 +271,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5acba06a-7358-4f43-adee-e6e8a57439d4" + "X-Ms-Correlation-Request-Id": "29825bce-22ac-4546-971b-39c4a12a07c2" }, "ResponseBody": { "repositories": [ @@ -283,11 +283,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "387447821", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "SUBSCRIPTION_ID": "faa080af-c1d8-40ad-9cce-e1a450ca5b57", "TENANT_ID": "72f988bf-86f1-41af-91ab-2d7cd011db47" } diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory_Anonymous.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory_Anonymous.json new file mode 100644 index 000000000000..1f2d9e4b3aef --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory_Anonymous.json @@ -0,0 +1,135 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-5499e830856f8840b8d1c012f47f87f7-f4b57b14337ed748-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6117392b25900f408123c2b3afe6c719", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:19 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "e5d3008c-3fdc-4383-85ed-246b69ca7d6e" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "131", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-5499e830856f8840b8d1c012f47f87f7-7ba0b9b2f204e340-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "1d0cd6aab8ea52172381822f3dad2719", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:19 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "907d4318-47da-4dda-8c86-b51cde823144", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-5499e830856f8840b8d1c012f47f87f7-f4b57b14337ed748-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6117392b25900f408123c2b3afe6c719", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:19 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "1b2c156a-651c-48d7-9ce3-f8c5e57711ea" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "delete" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "551492537" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory_AnonymousAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory_AnonymousAsync.json new file mode 100644 index 000000000000..9d625d2dce10 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanDeleteRepostitory_AnonymousAsync.json @@ -0,0 +1,135 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-0ac5ea330958084fac7ae4872631a683-a4c97fdbf28be14c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "35b7acfc15c044d6a8ebfe4a150e3b14", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:50 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "e5e2abe3-5671-4020-83e4-e03b7dd77970" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "delete" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "131", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-0ac5ea330958084fac7ae4872631a683-f98a0f452b69884e-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8dd0cc9992540b9ef8a3d64fa419a6f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:50 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7b533946-6bd3-4b67-926b-fb927fc0508f", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0ac5ea330958084fac7ae4872631a683-a4c97fdbf28be14c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "35b7acfc15c044d6a8ebfe4a150e3b14", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:50 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "65008f50-8a7c-4302-bf22-acaaa0ec3d08" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "delete" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1330020926" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(False).json new file mode 100644 index 000000000000..49f02c3177b0 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(False).json @@ -0,0 +1,155 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-f82bfd09ded64840bd733448e20485d1-7947b20c505fa143-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "69ff21438b22bfafee51e886859fe059", + "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": "Mon, 10 May 2021 15:36:45 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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cf3174d9-20e8-403f-9966-f74600a0c0c2" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-f82bfd09ded64840bd733448e20485d1-0195daf6b5d5174d-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "27ec92060e71d3f0f81b446ebfeffd1d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:46 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "dd8934d0-1806-42b0-a386-2e8a626cbcee", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMDJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-f82bfd09ded64840bd733448e20485d1-5f87074ecfa3b147-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4213cfccd81286161a282096d8549cd5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:36:46 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "66427339-e3ca-479c-81d8-1036343ccbac", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxMzQ0ZmE2Ny02OTU1LTQxZTktYThkMC05ZjgyY2JlODkwN2QiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMDYsImV4cCI6MTYyMDY2NDYwNiwiaWF0IjoxNjIwNjYwMTA2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.1_n8Opg2Y16qrkYXsLRz9nUkb0TzCPPceYoKHyHapAA6oho-VzrZuFDiPBlwsRrr2OwbsMqP-LOCqu-roNfO08VIqRPjLYz64UAkrVJ0SX1lYO003n9gI8ajdNDGYc_C6imQezxKSf_rTPy42mzZAa5rwv61XdJp8iilTA9Xs8783wedS4lT1PSmbEeHAJxGWd6LoNxDXetH1FYVOjtvBD4xeWxSW5VdI8ojiVfysHAucjVyKPXcV2j4UZMqB_fcp2VJ4RHUi1XoRli-heEVTonwMa3VUfzHSaSvH5sc7ATtRIcCzrdy-OBbjkqtOK_oDq027KvgGSJy8QQemSb3TA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f82bfd09ded64840bd733448e20485d1-7947b20c505fa143-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "69ff21438b22bfafee51e886859fe059", + "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": "90", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:46 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": "d8fda8d1-2547-46eb-bf00-2951527f81e0" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox", + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1059087197" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(False)Async.json new file mode 100644 index 000000000000..eb0ec4b9de8a --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(False)Async.json @@ -0,0 +1,155 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-df8850adb58c9a4c953762ce00300995-b2b4d1a2bf112a4f-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ec587eb5a9c1fcaf4c5044b01e5f817e", + "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": "Mon, 10 May 2021 15:37:19 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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "72f114b0-ab94-41f5-a639-d44563247238" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-df8850adb58c9a4c953762ce00300995-4ebd9922231fe042-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "2fdfc11865ce7a7e5ac6c3538033b474", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:19 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "5d291e78-4103-4e04-97bb-53955250ac22", + "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMzl9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-df8850adb58c9a4c953762ce00300995-be080122d3447c41-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "fa0d0fff2f2df2e3adf863761d38ebe7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:37:19 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "5ec89bf8-a96b-48c7-8cf0-4aabe2da4d2f", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3M2ExMDkzNy0yZWRmLTQ2NmEtOGQxMC1kNTkwNGJkOWQ2YmYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMzksImV4cCI6MTYyMDY2NDYzOSwiaWF0IjoxNjIwNjYwMTM5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.X2MKkh5Xl9zlcd3xsBfaEtgjVEDk8eqRcDcekPDRJUPv2wHfQsUhYLhclbB6NYXvpX_ZZhiAD75EVZvC2ZaI9ISWGH97z_Bj0iRmVAdamIquiVGXuv8iPzC3r57QaZBBuZOzGMN_ecTWGnlWNAT5awKUheD0h8Q2ia3_46QRx2CxUq3ihuHrl98O7XqJzoIvz8gwgDNlp81nL93dse-x9Ly4HlMqMv3x0OIg5pc5704vkN382zM_QQp--l_SdN_MMGyJ4tD9Y7wSrSMy3X0da2nS1rgSy3txhiU39_o2knTBK0kgtl9V1V5X6PGJv8YM9RdSeoEGy7fZqGXVZq8spQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-df8850adb58c9a4c953762ce00300995-b2b4d1a2bf112a4f-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ec587eb5a9c1fcaf4c5044b01e5f817e", + "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": "90", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 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": "7fe78bf1-e675-4995-9821-6bbe5c7a3a73" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox", + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "895773495" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(True).json new file mode 100644 index 000000000000..fd8c502b29dd --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(True).json @@ -0,0 +1,127 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-8844cc9103ce134fac93968b565f2494-190adee11a31cd4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "40fd5c3242859e0150d3444e0db751ec", + "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": "Mon, 10 May 2021 15:36:44 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5d14148e-6ad9-4247-8b7e-7f33cd1527f6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-8844cc9103ce134fac93968b565f2494-507a0a504eeb8b42-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8f86f4bbafec357d8a9663c4c0775d10", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:44 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "52887671-3139-44bf-a294-b4f331e76f64", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8844cc9103ce134fac93968b565f2494-190adee11a31cd4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "40fd5c3242859e0150d3444e0db751ec", + "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": "90", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36: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-Correlation-Request-Id": "9b59b1c4-d547-4cc5-9f9a-04085828a32e" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox", + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1379400993" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(True)Async.json new file mode 100644 index 000000000000..b066593583a9 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositories(True)Async.json @@ -0,0 +1,127 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-d54811d06eee35418846c89741c128d0-5186e58620d9bc44-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "dadd276df5c476305bba454a8acaee01", + "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": "Mon, 10 May 2021 15:37:19 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "7528d744-a501-42aa-8b0a-a8abf4d8c2f2" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-d54811d06eee35418846c89741c128d0-7180cbfb30cbfc41-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "127630b0b340136ab3edf6cefb5559e6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:19 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "ec93dce2-e079-40a8-bf84-090d44a32d0e", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d54811d06eee35418846c89741c128d0-5186e58620d9bc44-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "dadd276df5c476305bba454a8acaee01", + "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": "90", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:19 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": "3b9190bb-7297-4684-b5e3-8caf8b95c1b0" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox", + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "244733175" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(False).json new file mode 100644 index 000000000000..a050493aa669 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(False).json @@ -0,0 +1,271 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-0c3eaa1df274c846a5c22cfc9a128499-725333acee7a7b4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7da216df4754244a717ebaedcab84699", + "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": "Mon, 10 May 2021 15:36:47 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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4e2de740-e5eb-476d-92d4-0b8dab3bc56b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-0c3eaa1df274c846a5c22cfc9a128499-d8182678d7b8df4a-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "cdfd36c144d2c08fc5d61f2e5db9eb91", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "a428f1b4-c293-4e6e-8528-a40e241676e5", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMDJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-0c3eaa1df274c846a5c22cfc9a128499-4a03739663a0da48-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b97c0c3968210ab13dc2b0faec8d8f07", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:36:47 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0124b516-3d6c-48de-8ad7-ca3b86afb9de", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhNmNhYjlkMi02NTE0LTQ0N2UtODdhMy00YWMwM2ZlOTJiN2YiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMDcsImV4cCI6MTYyMDY2NDYwNywiaWF0IjoxNjIwNjYwMTA3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.UyGgdJLuW8DD6ygA6EqOOpRBARs_bdOE6rwIoMW5jdlECjXTzM-v7UxVmq9ImRbaeqwSly6NTqwJ2G6JOt-64d61IQXnmJpmog3St1faIVYN6u7uEriDZbCiUTJ5Q0fQVzlBb9rLQO1czh_fMqqNepq2C-Mw7GOMbfxDTEbtIT7ktnjA8QjeORo9TV-gysD-kaUwCzGDJAhcamxAOk7Bq1HMedIGkT9zAbZ_3Z3L7-9vhLWJlRDbf2vwyqXAo448rSh3UnVlSBAlvXbboGOxcW0Ht4Z6f82V7WyfJpsPnBwA70Yzyd0dGQRGe_d_3mAs2AlUWqLxPckPTTpCeZRUVA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0c3eaa1df274c846a5c22cfc9a128499-725333acee7a7b4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7da216df4754244a717ebaedcab84699", + "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": "53", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f75692b5-36ef-4a77-a385-11815028e2eb" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-8c01b65bc5aede4b98a9d11a23061342-817bf3135619474a-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "95fe8f3c7a599b6687e2b77d281cc6b7", + "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": "Mon, 10 May 2021 15:36:47 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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d570e754-4a40-4999-83e6-89976e549978" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-8c01b65bc5aede4b98a9d11a23061342-d1717c390eeb624b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "beb328928d3b587884f38f109495d337", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:36:47 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "273877de-3673-492d-ba76-a875efe7d5fc", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxMDkxNjMxZi1jMWViLTQ3N2MtYTU2OC02YTJmOTY2NTQ4ZTciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMDcsImV4cCI6MTYyMDY2NDYwNywiaWF0IjoxNjIwNjYwMTA3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.eO7VIwRy8Pi7IFHKGXrCy9_WTaSzjOc_-N7tK18Kw2aluXq_uhn731UizGd2pjVEhpvmhn-DCTx4-IWOuIzxBmMLYMnn2dLW33SAInRcyrrnZ_tbS-LfbWum2ssomvcYg_9fBdW2GB46_4YKI28MHQHNK6qJKOW79NAqJL0SHRO7PtMEaLGotQqSkhZgwwDFom4k60eRHB0sdn1CbXo2-mzfMyKoDrixf3wC2yF8QHDG2afjCUYTQ7e4CU4Hoh1F6pkK_0yZF-sCaR6eem9e96fO8aIIl2rfETR2aGStIGAwZ_DY_dV5OUeX1-5AmxX-F7-gAkM3iz0wolFCaBAWoQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8c01b65bc5aede4b98a9d11a23061342-817bf3135619474a-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "95fe8f3c7a599b6687e2b77d281cc6b7", + "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": "55", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 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": "705bda26-82b9-463f-baf4-ca7dbd9620e5" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1225422378" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(False)Async.json new file mode 100644 index 000000000000..1c91563c95e8 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(False)Async.json @@ -0,0 +1,271 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-c9c3c4bee8562546b19550a87e3b2414-77661cf935406545-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "be6d1d5dfce4011ed7e0c046e22b89d3", + "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": "Mon, 10 May 2021 15:37: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4c082499-c65b-4f81-aad7-27c2c3721a3b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-c9c3c4bee8562546b19550a87e3b2414-ad3534ec887c614e-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "db55ec43dbe956352d6f6988d82fac06", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0a6c3478-778d-4e64-b1f6-cbd31cafa1a6", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMzl9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-c9c3c4bee8562546b19550a87e3b2414-432420c923376b47-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ed2800d2ed6541394b8259c4d65c23ef", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:37:20 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "02616ea1-ec64-4404-b5fc-9c30416c3bbd", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzM2EzMzY5ZS0zYjcxLTQ3MWQtYTRlZi0yMDkyYzMwOTcxMTIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxNDAsImV4cCI6MTYyMDY2NDY0MCwiaWF0IjoxNjIwNjYwMTQwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.qG-1KSKlGBloq79fW2tE6EjvCA4wCNgOthFT9qxhhTktx1knWTI6Eu9I2xwYAFC3vraQWzTrzeROdDGDuInd0ly9HuKaQ66nSoQASW-DYw6kdT1zJHi-A4br5WGETcfMnwrEgdyY2bZO2QOF0Dx3xS1ENKWNP1M4_oNNtDJPh_MG6_OpMs1eoF_hxOwkPnkMNI6hdp8VZi_dhwD97MUsl-Orw8bL8RiRtdPGpqMNjDQsAo0t0yCj_77BCdUgVYGKBuRyYifahHFqySnMAeaDjbP_OtzhY1uFrTxaMq6s2S01BPpeeI3vkG57BOKZza0rtCIXSznHLCyhZ20gvALAoQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c9c3c4bee8562546b19550a87e3b2414-77661cf935406545-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "be6d1d5dfce4011ed7e0c046e22b89d3", + "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": "53", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a0d5447e-edf8-4970-9990-82e2f0a2ab9c" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-08d2fd490c5bfe498d6a77a97c5f46fd-21e610797a9e534b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f46d76da1b108244e8179174929529a7", + "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": "Mon, 10 May 2021 15:37: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "10ba00c4-1272-4b2c-a46d-5d2f20272691" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-08d2fd490c5bfe498d6a77a97c5f46fd-2d13ed8440c47b46-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e273ba339c03566db3138f6781717fd0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:37:20 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "e456f7a3-bfd5-41b8-827d-50cf4739c94b", + "x-ms-ratelimit-remaining-calls-per-second": "166.15" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1NDA5NWEyOC1mYWY1LTQ2YmEtOTZhOC01Yzc5MWZiYTI0ZGYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxNDAsImV4cCI6MTYyMDY2NDY0MCwiaWF0IjoxNjIwNjYwMTQwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.f_G_vKAd6-MxvDfVtx1kXTxbekz6U14FO8UFlmsRv2wvcFF_9jTEDBwi2OqMED3XKCbfbHDSFJxFxjdLVvAh9BzVhHw4xwjfcFf6ckStYJNR4RlNJKUIvzJzV73WNF25DtJ_JQcuU7ixANN0m8gircmNpXD6GWy6KrDLsBTF1DSD6DnsD3a-uVFL_wnFOs9wY-tVEwJ-hY9MFqx8BkMcCY99s0vOe0FXySYgJGVBCUavNPzSvrGShB9msfrJUkdDhBFw2PH7Q3o6y3Q8H-pW0V1-Utp1ev3pSqWU5PzI86r0KbDIwX_w42s2H8x_0WUCqaNfPKvD_uf1px_R57mzPg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-08d2fd490c5bfe498d6a77a97c5f46fd-21e610797a9e534b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f46d76da1b108244e8179174929529a7", + "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": "55", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 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": "107abf38-5cfc-4f9f-9469-82d6a85092db" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1696732086" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(True).json new file mode 100644 index 000000000000..0449c8dc41ed --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(True).json @@ -0,0 +1,243 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-bbf644f198c77343b2006d99da9a88ef-0a4809e1ab7f9e42-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7a43f441f6c872c9441bab74d283c041", + "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": "Mon, 10 May 2021 15:36:46 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2c7da1fc-b04e-4b53-88f6-112bd2da5cb2" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-bbf644f198c77343b2006d99da9a88ef-7e639370a1a27f4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4f6ca915b6547c7e31e3b01483ef31de", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:46 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "2bd8517c-4432-48c0-9c62-c596a198d0b0", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-bbf644f198c77343b2006d99da9a88ef-0a4809e1ab7f9e42-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7a43f441f6c872c9441bab74d283c041", + "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": "53", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:46 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "0290b29e-1263-447a-9f61-0ce2cbec2558" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-a654682cdb335d41804a2614378087f6-08889d811d3d0d4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "cd9b80970d3621e67f36dc2d36e76af4", + "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": "Mon, 10 May 2021 15:36:46 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f042860e-1b4d-4baf-937e-bf4196fe97f1" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-a654682cdb335d41804a2614378087f6-426b5d83b6ef5548-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6166d5b2b1038a0d76c749e446b4ef54", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:46 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "a086589e-2228-4ed6-bece-e3441ca1b236", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a654682cdb335d41804a2614378087f6-08889d811d3d0d4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "cd9b80970d3621e67f36dc2d36e76af4", + "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": "55", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 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": "582f728e-4e5d-48ac-8ecf-834f42b48c83" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "206302051" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(True)Async.json new file mode 100644 index 000000000000..c8f590b8a2c8 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanGetRepositoriesWithCustomPageSize(True)Async.json @@ -0,0 +1,243 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-3d41fb454270db42adab817fa265aecd-96e0b3819d80334f-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "01d407c8af23d58ee0a348aaf250f646", + "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": "Mon, 10 May 2021 15:37: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "026f9300-118a-46ff-9294-8c754b55cd63" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-3d41fb454270db42adab817fa265aecd-68fe1e92fe6ca141-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "488495efc096ce4cc8504c9b0640cd2a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "67d48687-0441-4ca7-8c4c-c96857ddf240", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?n=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3d41fb454270db42adab817fa265aecd-96e0b3819d80334f-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "01d407c8af23d58ee0a348aaf250f646", + "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": "53", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cccb8498-3220-48a0-b7fd-33e0a61cb85a" + }, + "ResponseBody": { + "repositories": [ + "library/alpine", + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-d3aa08f7902d8d49a8fe197f155f2337-445a78f6d3c10146-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7eabe78767b843c1424a025f5432f32a", + "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": "Mon, 10 May 2021 15:37: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "05bfefe9-1431-412f-8e17-6c8669f94704" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-d3aa08f7902d8d49a8fe197f155f2337-683a518755f22943-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "5673f049567a0890bb0639d263f2cfa0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "8afb93b7-3299-41a7-af52-2a55b69bb22a", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=2\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d3aa08f7902d8d49a8fe197f155f2337-445a78f6d3c10146-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "7eabe78767b843c1424a025f5432f32a", + "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": "55", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:20 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": "5baa67c1-cd6f-4f6e-b8fb-a13c69518aed" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world", + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1584335411" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(False).json new file mode 100644 index 000000000000..c90c9ebb4687 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(False).json @@ -0,0 +1,386 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-dee00eab88f9df4ebd08af9a1aed0bdf-d114199c77a9694c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "d64b062e8f8fb3fa354d228da6742736", + "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": "Mon, 10 May 2021 15:36: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "6a6d787b-9d46-4836-8227-b8276f652388" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-dee00eab88f9df4ebd08af9a1aed0bdf-02092926d847a447-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a9445b8af9e6397343e42fffdf484041", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:48 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "66e39e87-3562-4d91-a93d-61f1caa1bb9b", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMDJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-dee00eab88f9df4ebd08af9a1aed0bdf-ed33dad74cfbe24d-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "1e97ff218b6edf8a6b99ca6fc321df8a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:36:48 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "fb803184-61f0-485e-9958-44ec54d9f96e", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyZjhlNTcwNC04ZDU5LTQ2YTQtODFlNy00NzVhODEzYTQ1NjUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMDgsImV4cCI6MTYyMDY2NDYwOCwiaWF0IjoxNjIwNjYwMTA4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.0ztBEZ9hSZnE0D7-dLa0Pikw2kYWOM3rBJecrHqPzWjJvqPwVDKNyLEqL2hZoqc75ZVQS4JCTpxfQ78xjltzo92p3aUMHm3pXv1EsjXK4H-R8P4S2X_MA32xtluI2pLl1ZVJZPMGeQOFyjA5Ida4cZtKgZb0MTezJ1LsgsDsDy2I9A4cJR4jhPVfl3V4JYSYNDA7f2nHLb-8ByDkpeHQrFVteUp4Ixedz_an6hza1J121KvgM3iPRMOn-qgDS0rlBr7WapUOI73DR3tkTrIwErfIh23Yf1zlf9QXqAIdzufmqD06yVUs6VULRu6u8O3rEHEy2Mfp908j6w2QxzQBEg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-dee00eab88f9df4ebd08af9a1aed0bdf-d114199c77a9694c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "d64b062e8f8fb3fa354d228da6742736", + "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": "36", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:48 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f9e7760e-c2bc-4018-9ddb-e1f3f824c9da" + }, + "ResponseBody": { + "repositories": [ + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-504c12377207364ea070553d6251981a-8ffba92271015948-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3d936f4f7766359b921293aa60fbd4ed", + "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": "Mon, 10 May 2021 15:36: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d19839d5-c1d0-47a1-ad4f-bc457aee3ad5" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-504c12377207364ea070553d6251981a-b76bfdd77d788945-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a66be10d08ddfec8d1653d4c2f037521", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:36:48 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "5e300187-2058-4ddf-9bac-23ab79e82736", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiNzc1ZWY1Yi04ODMyLTRlM2UtOWRkMi05ZGNjZTljMmJhYjYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMDgsImV4cCI6MTYyMDY2NDYwOCwiaWF0IjoxNjIwNjYwMTA4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.siZHh4putMwBkeBmVRrQKm7mDKycng4zMNJkq4aTVWWQ7ho0QjXgkBHDJd7VNmLpBbmq2BhsqSR_2ChARNqK7CIEZ-WkztXrhGzsxZ68RP3CMjA1_S5cfeMwQW650VRqKvfydHE3TRKFifVudoloxQKIHiTpb2-aKxKjh4hhZqOFGZ9wxyW-K9uNlMU34n4giRKeOplDocnEIy7EzFZ8lJ_MDphG4kuFsvbPF9o4Gu3_R6ybTXhritLXyA-aECw-MZ8HG71ZlQZSigDyL3nqyL21tshIzO-JlWBcEbyhD0b9948mcbZhhNUXGotUtrvHMf5a7T9Ge6hTbeSWldxkqg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-504c12377207364ea070553d6251981a-8ffba92271015948-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3d936f4f7766359b921293aa60fbd4ed", + "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": "40", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:48 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f9337844-0b42-489d-a6f0-a226e236b7ae" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world" + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-4d69dd22ba747747b59362a70794fdf5-154f508b7820f242-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "70afa40503b4aada63628b5cf8df7e70", + "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": "Mon, 10 May 2021 15:36: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d2bd1b77-d4a5-4f02-b69a-a259d9eb0175" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-4d69dd22ba747747b59362a70794fdf5-84dc6a60a28b7044-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e262ddc538b546aca6956b01394f068f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:36:48 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "9bad322a-243c-4e2d-92c1-ba9d2e508855", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxMWQxMDQyYy1jOWY4LTQ4NWQtYmRiMy1hZThmNGNkNmQ1Y2YiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxMDgsImV4cCI6MTYyMDY2NDYwOCwiaWF0IjoxNjIwNjYwMTA4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.Q-vWD8fD4Ni432yuXbrduNu-bn8nj_6CB6h4WpMp62XOFl20wlVxsTz4qWberA-IuO0F_o1IGANGxvbtBpzAHYVVTGuZAai1TbA9XMgrHlUKP_JTeU-ype8HsX7lvw5RIts-u8KziKQF-h_J8gsiXDtg8PBYTs4YYl70q5nMWoOixMmtFqix6Sdx88khrsiJiPRITbmV43BaBAT1uJxF_K-umGi7GTLh2Eo7ZtFbgEdpA_LIBnK33TCvWiWzoRo7hJxTCUxAhmEKyEhONPjC5TmacEC677KTdg982eigvoYf1evNYMJOBF5wBlbYf-K6F7VAgr-srcP6iMjn3Eic5A" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4d69dd22ba747747b59362a70794fdf5-154f508b7820f242-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "70afa40503b4aada63628b5cf8df7e70", + "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": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:49 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": "3abe6989-ee3b-4a1c-99b2-4ab0075b8cb2" + }, + "ResponseBody": { + "repositories": [ + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "717209396" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(False)Async.json new file mode 100644 index 000000000000..8fd48d24a8c1 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(False)Async.json @@ -0,0 +1,386 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-dc404c53a0ca9742b42aa1998b1a2feb-51a1f7f7a4950e47-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "5e8a2ae34dc4b99c493db4de2268b830", + "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": "Mon, 10 May 2021 15:37: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "820f2464-ddc9-4853-9bcf-eada9e6d1cd2" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-dc404c53a0ca9742b42aa1998b1a2feb-b1f5fdd0b5f36443-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3606ff2f1ee42ce90c100b2f88fae002", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "f7ac272f-bdf2-4f7d-9835-2844b51bd43e", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwMzl9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-dc404c53a0ca9742b42aa1998b1a2feb-6e497120089d3a4c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "db1159747a6dfbbff25bb115bbb56552", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:37:21 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "1cc979c1-3cfe-43e1-ab0c-769a4697109e", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyMjE1MjYwYi1lOGRjLTQ4Y2QtOWI4MS04MGMwNDhjZTQ0MmMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxNDEsImV4cCI6MTYyMDY2NDY0MSwiaWF0IjoxNjIwNjYwMTQxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.2RcX0Z4AuCyyOfv_vfLUOBqhnKeL-8pl_snKjbGLTNT89wRjoYkvDIGyq1HHSvMQiN9pXrYRRjV1IZJUXNfkX0HJgiV9z9BeEYqHMkPVv19RUyKhkmm6XNLpa8B2Kvc75N2rxFOvp_SWBk9M5kEO7OeU2F_tkoJ8sb07pkZM4jjR2gpScZgxkKfi5iz_bEFnbpolSde5cY01yecMOeKuA2YZYUv0plKE7-ndbfI_14iMxO3QBLUiQhiQMhhw2l4J9txOKWq6l-v9uXkUWQGg-nu2Lkd_R87PzrkDhAHDq4WX9HXWaPMjaC7J3V1ZFWeGFVBrcihrM_kau5TWCLx3sQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-dc404c53a0ca9742b42aa1998b1a2feb-51a1f7f7a4950e47-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "5e8a2ae34dc4b99c493db4de2268b830", + "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": "36", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fc08ef48-17de-4bb4-b2ce-bcb767908a81" + }, + "ResponseBody": { + "repositories": [ + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-f3456a866799f6418cf7749f75a68a6d-5b95b9f86b71514c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "1b19c9876d65c5d3405e51b4416c304e", + "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": "Mon, 10 May 2021 15:37: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "687922b2-17ce-44be-9ae0-5009974cf0ea" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-f3456a866799f6418cf7749f75a68a6d-4dfbb9e944832d41-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c969b25ddd57b5c33f0a43896cd47156", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:37:22 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "d4c45fcf-8565-495d-bc41-4bb341b3f987", + "x-ms-ratelimit-remaining-calls-per-second": "166.1" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3OGE0NTQzMi0wZTYyLTRkZTEtOGRkNy1hOGQ1NGQwOWJlYzUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxNDIsImV4cCI6MTYyMDY2NDY0MiwiaWF0IjoxNjIwNjYwMTQyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.s8cdroVpxqW_NYS9lb1TXAaJ2pEIYjMc4xNJhMLOz_NHYCC2RKe3KkJWxYczJH8CyrF_MscseVqqONiuLmMJdeMCIewO5n54b1tAZaCm54KX5HVKihSpqMsyITqgOxJEl1vGMMYn06c-jW50Fu9qr4Ez9RpPdWr8zN-b_dzET9tRxaLttq2plAHwPWQeXPDtWwh44O_e2U990W09gy9rFP_TCOhd22O3u7H5tG811nWBfCOtjqbZsZ9c8o7t6rJLuLotBdD1qE1qMWhL8UGcRxG5lsWUNB-FNkIDWxYTXVETj1IML8znM6rIa_L0JpcKjKKUJrGfP8NaeNIOGbbPAQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f3456a866799f6418cf7749f75a68a6d-5b95b9f86b71514c-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "1b19c9876d65c5d3405e51b4416c304e", + "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": "40", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:22 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cc63e74d-ac98-4972-ab77-ddc40d3a2227" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world" + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-c7c113dff6b68747ab0ac342fa14b9af-46426f86aab6d649-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "bea8b9aac4e0079c864c9a0e280aba86", + "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": "Mon, 10 May 2021 15:37: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=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "887d1573-cfeb-4453-9ab1-2d0c85d1ee56" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "111", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-c7c113dff6b68747ab0ac342fa14b9af-525e3b5fef88744b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "08b7622a9b4ca9fb0664dc5b2a49586b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04.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": "Mon, 10 May 2021 15:37:22 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "14b38132-7944-4071-b3a0-5976cdea4665", + "x-ms-ratelimit-remaining-calls-per-second": "166.083333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI2MGI2ZTg2Ni01M2RlLTRlZjYtYmVjZC1kNTkyNWMyM2U4ZTYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxNDIsImV4cCI6MTYyMDY2NDY0MiwiaWF0IjoxNjIwNjYwMTQyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVnaXN0cnkiLCJuYW1lIjoiY2F0YWxvZyIsImFjdGlvbnMiOlsiKiJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.GFIMVwdIlZo0QKNEJVFoZZcNTax92mbBHPIofr0rSHgorpeWkjDajXqp89E3Y-bzep8tZKcRWQoR-l2Uxb_uwkjgKJQq7UsdTzA4niL6CbVOi1e_EyMonmVILVo6BrTHlrHToDUjyOVHNOm_EB3Dww6VTqVHktdZOVUpa1Nhil-BYST3GvlD2kpcYf97sxoxMIzefSpMRoI2lTAbPwV25ZpCSfmef48tLa0TyWZOYOuaLDlgaP4qXHZ6BdnGusltPPU5C853HkrrrDX7Ok0v78PxdEENFX4BS7ulXVuCHd6ObVwwIfhCTnuo8ccnKAy8lJ2wJSXbgfEu-utx7eOq3g" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c7c113dff6b68747ab0ac342fa14b9af-46426f86aab6d649-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "bea8b9aac4e0079c864c9a0e280aba86", + "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": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:22 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": "f2f7ca27-10e1-459c-8dd9-8f9494a6550e" + }, + "ResponseBody": { + "repositories": [ + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1113644025" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(True).json new file mode 100644 index 000000000000..ca190fb3074d --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(True).json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-64910cdecab34b4ea874a9f6f772ab62-08d127a4b31b9a4e-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "09eba97f94aca3c7c5dfa0a67c2b5c23", + "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": "Mon, 10 May 2021 15:36:47 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fc3c13e6-958c-4967-9082-e71b8522391f" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-64910cdecab34b4ea874a9f6f772ab62-0b93a5202a8ef346-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "84b42c9147c2e41e69ab7937addc094c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "df4e1234-6a95-4980-a612-b8d41e75215b", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-64910cdecab34b4ea874a9f6f772ab62-08d127a4b31b9a4e-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "09eba97f94aca3c7c5dfa0a67c2b5c23", + "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": "36", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d6cf567a-974f-4409-b283-f975d28070ae" + }, + "ResponseBody": { + "repositories": [ + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-4006d07ef51493479f81197ec2cefd11-9f49367152a3ba47-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "2f3296b5512171b330f72ae77337ddbe", + "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": "Mon, 10 May 2021 15:36:47 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a0756815-3cec-404b-98d9-d00e1bbac0c8" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-4006d07ef51493479f81197ec2cefd11-8e63e490d7dbda4d-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a0c60230c133378c8b069f001a90f6e9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "a5e09ec9-12a0-46b7-8758-8aea2879d83b", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4006d07ef51493479f81197ec2cefd11-9f49367152a3ba47-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "2f3296b5512171b330f72ae77337ddbe", + "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": "40", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:47 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "388c3bf9-0907-43a3-8bbd-5a66708bf553" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world" + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-78a9ee674da82f469d31b1219a7a2eac-17fd4201707df54f-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e6f054d62cf84001784353ca1c367132", + "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": "Mon, 10 May 2021 15:36: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "e42ba2c7-0a53-4e1c-a094-6baa1fe52c43" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-78a9ee674da82f469d31b1219a7a2eac-9dda51656e275041-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "aa06bbcd6816f41809faa31ab1b2569f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:48 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "38d597d4-f70b-44bf-9225-97da5452dcb3", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-78a9ee674da82f469d31b1219a7a2eac-17fd4201707df54f-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e6f054d62cf84001784353ca1c367132", + "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": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:36:48 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": "8a5c4daf-9480-47f3-9388-80a0acd3fa76" + }, + "ResponseBody": { + "repositories": [ + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1119657317" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(True)Async.json new file mode 100644 index 000000000000..b0c0b776923d --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRegistryClientLiveTests/CanStartPagingMidCollection(True)Async.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-f0e0fab077bb2949b525aa7ad6a70e22-68448431c5582f48-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6df24d5faa5bebbd950aaeb063a16a60", + "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": "Mon, 10 May 2021 15:37: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "af067856-247d-4d50-bfe6-7258ab3a27c4" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-f0e0fab077bb2949b525aa7ad6a70e22-8865cf9218bdcb48-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "4b334b282737b444ed3735f00dac7d67", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "6a1a64ca-0140-4d2a-9099-fde06973cd9e", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library/alpine\u0026n=1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f0e0fab077bb2949b525aa7ad6a70e22-68448431c5582f48-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6df24d5faa5bebbd950aaeb063a16a60", + "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": "36", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "0ae5c790-8ce2-4bd7-86c2-f6dd35398b98" + }, + "ResponseBody": { + "repositories": [ + "library/busybox" + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-3c7d7f64c2d1864db9f8714a082f5c9f-fe17c16482b4394b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6f191ef3d32282546739256cd3cf1046", + "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": "Mon, 10 May 2021 15:37: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "0041435d-a1e9-4121-b7ab-8ab743eb76c3" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-3c7d7f64c2d1864db9f8714a082f5c9f-bde522ec76179047-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "e754f58b94ad37d6093e802375ccdee8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "b901fa8a-0a45-4ee9-9d07-374082852b9e", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fbusybox\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3c7d7f64c2d1864db9f8714a082f5c9f-fe17c16482b4394b-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6f191ef3d32282546739256cd3cf1046", + "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": "40", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9bbca033-adae-49d9-b44a-e089d57c26d5" + }, + "ResponseBody": { + "repositories": [ + "library/hello-world" + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "traceparent": "00-6f8ff8ed3cfe15428a357dc7eef1da50-dab729d2472e2949-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "45bd468dfb88543df6b1e4fe01d7e01d", + "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": "Mon, 10 May 2021 15:37: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022registry:catalog:*\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "e13a4f8e-eb2a-4fb9-941f-cb27b01348f3" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "registry", + "Name": "catalog", + "Action": "*" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "110", + "Content-Type": "application/x-www-form-urlencoded", + "traceparent": "00-6f8ff8ed3cfe15428a357dc7eef1da50-df231f8b12d89644-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "1765ee2796585eb947e165e453300c9a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=registry%3acatalog%3a*\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3b7bc6e3-7574-49c7-b06e-8e217c397fd2", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkNGU5Yzg5Mi1mYTNmLTRiMmUtYTE4OS1kNzljNmY5Njg2YmIiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTA0LCJleHAiOjE2MjA2NjEzMDQsImlhdCI6MTYyMDY2MDEwNCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZWdpc3RyeSIsIm5hbWUiOiJjYXRhbG9nIiwiYWN0aW9ucyI6WyIqIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.FjpEJW7zsbQXf00-KG04qW3op6pnFDI9rav5Sj5RoQnB1yCQtqSs9EBZXwuLe2CVDuYU7n-ay_VGa0fbpo9WrSUFYcRH8Jhe-5DHvza98ELkn7urunCPiNpcHaX9Jj8uUsOz4RhdDvJudEcbm51jX0ek58QpD1Kaq0cMtPpDwWgRmDFeSTPfyTJiSgxfsMqeg0q75k-D7pPpNRMJIsX7uzTIbgXcTI2MIxvyjIVp_yexSEWfj9OcCwvqmf7fyRFVPllGcWtu0eNw43w-aKuP2OaW0f4_9_dHc_Rh7MGovHb1U06lwZhjJPf8fCS4o2TEfDuhw-XWk-ui7NdLtH5zaQ" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/_catalog?last=library%2Fhello-world\u0026n=1\u0026orderby=", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-6f8ff8ed3cfe15428a357dc7eef1da50-dab729d2472e2949-00", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "45bd468dfb88543df6b1e4fe01d7e01d", + "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": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:37:21 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": "99770ea4-82ed-4194-8425-649a6e282128" + }, + "ResponseBody": { + "repositories": [ + "library/node" + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1727162749" + } +} \ 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 94665f970048..f30642677144 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepository.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1fe73572d5943534949819f54f93226b", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:02 GMT", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6fb704e4-42a6-44d6-881e-0784bb2530b9" + "X-Ms-Correlation-Request-Id": "61739442-2629-4d78-a4a6-8abbf6316cfa" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "96e04a25cb8802b9de8562d06b9f11c7", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:03 GMT", + "Date": "Mon, 10 May 2021 15:38:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ebe88478-f7d2-48ce-ab1e-ac341bf94bc5", - "x-ms-ratelimit-remaining-calls-per-second": "166.5" + "X-Ms-Correlation-Request-Id": "3edbb9c5-369f-477e-8259-07ff2899f931", + "x-ms-ratelimit-remaining-calls-per-second": "165.766667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNDB9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwNzF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9ac319cb4fb12334692d806ada4d93c1", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\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:52:03 GMT", + "Date": "Mon, 10 May 2021 15:38:22 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "43d20c30-2c0c-464c-a1fa-0d014153dd19", - "x-ms-ratelimit-remaining-calls-per-second": "165.85" + "X-Ms-Correlation-Request-Id": "bbb91246-b171-4bfb-8a93-686b7b473783", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhM2Y4N2Q3YS0xYTVjLTQ2YTAtODY2ZS1lYWVmMzI2Nzc0YzIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMDIsImV4cCI6MTYyMDY2NDcwMiwiaWF0IjoxNjIwNjYwMjAyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M1AVOnsrX047u4Fw_AW9fjn4hmGeoFU5NU2hnsDd8NORFMn4xg7OZ9-y0URFoXsYATyehhNu4TgJuGcg4IxTPQoxyF6ZlTNGJNKbYrubWPrZHz9wYZk8LG3azKoFIFRcjJIUjrWs3PncmHPV6bU1SSEuutJWIYp42tA77MAetgFHGkI7sC72PlFqBCn5GvtkMgYeAe27CAueTnoACWz25SETrBttMSgTzOJyPtxowmaE5cy5NNA1GiJY5BriciAxEFPU2bu8Dv7wwqqMWD_NZQCSmWPKxypRZuWHW9mlHt0sy_8GW_jOGp3Kj4kfwEu-BsZoHBWJ58Kpu3Qfn1j00w" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1fe73572d5943534949819f54f93226b", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "807", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:05 GMT", + "Date": "Mon, 10 May 2021 15:38:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,9 +133,9 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "1fe73572d5943534949819f54f93226b", - "X-Ms-Correlation-Request-Id": "72ef5f91-d22a-4005-a940-3212463dc0e7", + "X-Ms-Correlation-Request-Id": "39f11733-eba3-41f2-b750-330c6cadac3c", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "b14644db-2345-4965-981a-e1eba1ca5eae" + "X-Ms-Request-Id": "fcb09136-2a2f-4239-aa42-284b88235b2b" }, "ResponseBody": { "manifestsDeleted": [ @@ -160,11 +160,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c41841eb2ceba7d67be5400f7264c9f4", "x-ms-return-client-request-id": "true" }, @@ -180,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:10 GMT", + "Date": "Mon, 10 May 2021 15:38:29 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "06d0674d-c69d-4988-86c5-e98b500bacb0" + "X-Ms-Correlation-Request-Id": "d291be12-fa53-4b4a-943e-3015a6f9d792" }, "ResponseBody": { "errors": [ @@ -208,39 +208,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3629518687cfd6ba15bd2c5a4b4f2891", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:52:10 GMT", + "Date": "Mon, 10 May 2021 15:38:29 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e24baf55-f26a-4e57-9b91-509992463486", - "x-ms-ratelimit-remaining-calls-per-second": "165.833333" + "X-Ms-Correlation-Request-Id": "55a96daa-09a9-46cd-ad18-241962ccdb41", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1MzNkZDQ1ZC05YzJlLTRlMzMtODQzOS1jOGVkYmRmMzQzZTYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMDksImV4cCI6MTYyMDY2NDcwOSwiaWF0IjoxNjIwNjYwMjA5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.wFJxcHxWGa44d9A-_yPkL50Sz9JtQwDxiL5eYB4i-x0AH2wViFSnTN6fR-VdHjBj9P_r3REZ5NBmdUPFtp_klLfqJimnzrBX8sfYARMqGaoBSG8UHoKUASvjalHL6br8jasMKfnB5SSumEnD0QUstHuXyps9GMB6t1gz5vXKisxKf6IWJDxApO0oeb4P7JUZhA_5HwVulEGIxS-ouvYg1FxHQC9z2fxab7DN0_KRfZJcdV2crNN6RLpjs9TvNxRbaN48BkGHbz9MwCbP_hHC7xDD9SliP7YdjoNMwhHjwagp6kAiP20_azVJDSwpu0cppvgbLfisVG0fl5RDhts6tw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c41841eb2ceba7d67be5400f7264c9f4", "x-ms-return-client-request-id": "true" }, @@ -256,7 +256,7 @@ "Connection": "keep-alive", "Content-Length": "96", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:10 GMT", + "Date": "Mon, 10 May 2021 15:38:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -264,7 +264,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f4517074-4342-42e3-97e5-478fc60abfc9" + "X-Ms-Correlation-Request-Id": "51307e52-4dfc-46c0-8e9b-f6c2d53acc7b" }, "ResponseBody": { "errors": [ @@ -277,11 +277,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "802153899", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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 306cda4505ef..76f53a2040d9 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanDeleteRepositoryAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "268ed710fa91770ec0bc81839c329ccd", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:50 GMT", + "Date": "Mon, 10 May 2021 15:39:12 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:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "130a8872-8444-439a-a261-4c815252efb8" + "X-Ms-Correlation-Request-Id": "1e81a44c-62b8-4c3a-bd5d-fbe5d8de2b74" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "313a4cdfeda3b3924d276ba55cca9e8d", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:51 GMT", + "Date": "Mon, 10 May 2021 15:39:13 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ff92965b-60f6-4e8e-abef-60ac354e82ff", - "x-ms-ratelimit-remaining-calls-per-second": "165.9" + "X-Ms-Correlation-Request-Id": "9cbb59b7-b536-4edd-8c80-26b4830f61e9", + "x-ms-ratelimit-remaining-calls-per-second": "164.716667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzODd9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExMjF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c5c9eadff1f788bda920362465b2b25d", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\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:52:51 GMT", + "Date": "Mon, 10 May 2021 15:39:13 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "95010f74-ad97-43a3-bf38-9a4430cb0f8c", - "x-ms-ratelimit-remaining-calls-per-second": "165.883333" + "X-Ms-Correlation-Request-Id": "166babfd-722d-4d90-bfaf-14aace66630b", + "x-ms-ratelimit-remaining-calls-per-second": "164.7" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxNmIwYWZlNS1mNjA4LTQyNWUtYTRmMS00N2YwNjFiZGJmNDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNTMsImV4cCI6MTYyMDY2NDc1MywiaWF0IjoxNjIwNjYwMjUzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.b_rn_M35PcdWnSUvEB56z3yErjZ0Me76sT-24aIpoorlzZVi5VFgYUnMzAdraaCdrwlmp7OxSqvEDbe7j76_i4LTRjoGWpGCZeum2XGRIIkoubrYXpz8DjDmT46emlYrkboFnbgpSzKZxro2s4-iAa02HtW4EEQelGIu3nBinF-fbNwy_A_0MvLsHoBlZbxlKPUtHMriQfyd_LhnTeTIoobESIGxz43Lf-VfMqK4n-sl13A9bDSZDHVVilrUxnTLp-yvXVmwZCUyk-qIwgxKE_yBOpVka-NpV8mVigx7wpbYyl75vsyF_ArTJf23iHALMbErvVkL9tj-3yI8EBseyw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "268ed710fa91770ec0bc81839c329ccd", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "807", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:53 GMT", + "Date": "Mon, 10 May 2021 15:39:15 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -133,9 +133,9 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "268ed710fa91770ec0bc81839c329ccd", - "X-Ms-Correlation-Request-Id": "a19a1e2a-7c2e-442e-ac06-ed0899ca8e4f", + "X-Ms-Correlation-Request-Id": "486103fa-6d4b-417a-b47f-f52fd18a74df", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "604eb320-b3e0-4e38-ade8-28fe1a3e9042" + "X-Ms-Request-Id": "ff75d709-f1ac-42a9-bbc7-51ab3132fb50" }, "ResponseBody": { "manifestsDeleted": [ @@ -160,11 +160,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d616e64cecb22ce44dad8698e681af5", "x-ms-return-client-request-id": "true" }, @@ -180,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:58 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f896a950-b493-4319-aadb-8cc7a6c3e015" + "X-Ms-Correlation-Request-Id": "041cad69-7993-4618-bf38-bab8eaaf8af8" }, "ResponseBody": { "errors": [ @@ -208,39 +208,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b2a3f41dd769eed68fb28782b76e4e9b", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:52:58 GMT", + "Date": "Mon, 10 May 2021 15:39:20 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b0fd25d3-ba86-45e8-b65e-c793e51c32d8", - "x-ms-ratelimit-remaining-calls-per-second": "165.866667" + "X-Ms-Correlation-Request-Id": "c695d237-3658-413b-a60a-6f7722255aee", + "x-ms-ratelimit-remaining-calls-per-second": "165.266667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhMGIzMDQ5NS0wNjgwLTQzYmUtOTQ3ZS1mMjQ3MGM3NjUwZGQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNjAsImV4cCI6MTYyMDY2NDc2MCwiaWF0IjoxNjIwNjYwMjYwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.fjbLomQaWxUd6oSzk9Tbp52y-k7g6UrWjmEcN1yTEOGn-LO7RoYGWY14N8m9FMROr5aN-ZOCz62KHVfuGkB4DjEzhxtGy38cVNiWTfdjr0LCotcB-PeQzMhQrrMfA9w1wCG3ol7VKf2OVOkj6Rz6Dt7iP0Gq-qf5UFZLrC4ruqOqHfLvxBhFLAcLhelLf_Rd_9P-Og3SERb1EUrxuB47-7uDSF3e0ugwjln114deapskmg6sI1QZ1ymEjap4hEJc928RNH0s3YAZWmAuc42EneTea1N7RqHtbTtZAR2fc6kGmGNKgTygSnAMW_e1xnLT8ajz8SU84p8uyOZHAJV3SA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d616e64cecb22ce44dad8698e681af5", "x-ms-return-client-request-id": "true" }, @@ -256,7 +256,7 @@ "Connection": "keep-alive", "Content-Length": "96", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:58 GMT", + "Date": "Mon, 10 May 2021 15:39:20 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -264,7 +264,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d7b26fc6-b3f3-4977-b0a2-03b8518ea7ac" + "X-Ms-Correlation-Request-Id": "79f65861-af4b-4dd7-9130-1d78056aca42" }, "ResponseBody": { "errors": [ @@ -277,11 +277,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "534280425", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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/CanGetArtifactsStartingMidCollection(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(False).json new file mode 100644 index 000000000000..c0d162688ea5 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(False).json @@ -0,0 +1,1495 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "9aad04228a293313c5128bd18317f7f5", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "bdb2bae2-660f-4493-afc7-d9175c2dbcce" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "03a8e5bc76978c378ce3ba020772d483", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "5291a685-9daa-45a0-af01-b116a3287b97", + "x-ms-ratelimit-remaining-calls-per-second": "165.95" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwNzF9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "323880bb1bbe5f1069c5ddb9ef65bbc4", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "e0c1742e-d68d-4668-a1e3-777da73f7eb3", + "x-ms-ratelimit-remaining-calls-per-second": "165.933333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI2MDgzMTg2MS02MWZjLTQ2MjEtYjMxOC00NTQzNDc0YTVlNjUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODUsImV4cCI6MTYyMDY2NDY4NSwiaWF0IjoxNjIwNjYwMTg1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.sq48uC91C42VuG1Y1GzQd_Z-7bFYaMbHq2-JML2Rl_neCT26SXiAxHMU2ShY1gFw-xAo-pQFUcAJg9DRUydNJF8LNGakBkJJbNnQqnTgvHD_8b-PQcnO90y5O8SmfisvafIbKfF20Kq9Ckap0EnZrAABsZU6mdShv7W0iasVZNeqYQvVoLwi-X0Sz5cYxijPD7VJvmYMwjG7jKb00whinqOoorPvGFZ6-uDikPKUVPY63otcvCncTX3aAvWDG4YbYgeHjXTzMpvttC9KUuUozw4C-Tl78wPsxz7rQeM1VMsZaUBjOgDZDtbWUkeSiYoj3VweQZi1vQYCaRQeV3qEbw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "9aad04228a293313c5128bd18317f7f5", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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": "a52596bb-3af9-4b0b-8949-3ad857051511" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.5878386Z", + "lastUpdateTime": "2021-05-10T15:37:44.5878386Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.2823056Z", + "lastUpdateTime": "2021-05-10T15:37:45.2823056Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.894152Z", + "lastUpdateTime": "2021-05-10T15:37:44.894152Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.3176414Z", + "lastUpdateTime": "2021-05-10T15:37:44.3176414Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.70626Z", + "lastUpdateTime": "2021-05-10T15:37:45.70626Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.5004258Z", + "lastUpdateTime": "2021-05-10T15:37:44.5004258Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.8581855Z", + "lastUpdateTime": "2021-05-10T15:37:45.8581855Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.1596259Z", + "lastUpdateTime": "2021-05-10T15:37:44.1596259Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:37:45.1236339Z", + "lastUpdateTime": "2021-05-10T15:37:45.1236339Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:37:44.3792995Z", + "lastUpdateTime": "2021-05-10T15:37:44.3792995Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "1654ddc8b558ab56cd210d45cf102b52", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4a451481-1ff1-40c2-8108-834cbfd4789b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "0216083dc4dea137d4489ad1997e9c26", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "bcdf2014-d48d-4caa-82e1-4eb6a3521235", + "x-ms-ratelimit-remaining-calls-per-second": "165.916667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1M2FmNTIyMC00ZWExLTQ0MjEtODdkZS03N2MzYzJiYjA5ODUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODYsImV4cCI6MTYyMDY2NDY4NiwiaWF0IjoxNjIwNjYwMTg2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.VYqySUA3wNWrunlodDZ8pDQ1UzldRK-DarVU7ob0m-o6AGJBo3pxf38rXGl8sudDHf-_i1t7xBmVzsmV-Upp4FkG9Kk7YT51WkXmhrMR2C1rt0IAx0oiXdOcbgBPgCwChuuEU9Kx2yBcYge-Gw0duiyGb-EBXr-7nM3TV4ifzhgSEARWFg-KVvGi5ON4AXgdcGxyUibwfsWWMDxQgEuJdthBb7DmAqIZVOruAMTtzEolT3QeKjei6bl-iR80O3nvbbQT4sYmsDghqLXfy09M5Q7woKECmmkqphmVwTLgdB4emCBYT5b0WMMAZgQdS8A9ZkBTWt6E0Qh9CnjRG7V2ig" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "1654ddc8b558ab56cd210d45cf102b52", + "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": "514", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d666b787-fc40-4c84-a8d1-5ee4bc73e735" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.2823056Z", + "lastUpdateTime": "2021-05-10T15:37:45.2823056Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "2a3af528bd1e052b298d649d0dcb8f58", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cb8edfe8-1a92-4d00-8bcd-fe19c7c8172c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "e77b8a9ab84f03e5a5b2420f1b85114f", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "806f99ac-30b7-40cf-bf80-f8b2dbd55f83", + "x-ms-ratelimit-remaining-calls-per-second": "165.9" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyOWFjYzYyZS05YmQ4LTQyYzEtOTc3MC0zOTIwNTIyYTVlN2UiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODYsImV4cCI6MTYyMDY2NDY4NiwiaWF0IjoxNjIwNjYwMTg2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.Ho6AwxbMBGKYsGydUqv1RLCpuZ3ohzx3mczmtNH1cgIgcUwpqExgK8Vc_KsOmev-hLauNo6zlugXz1dcXhnwOcvpTCF2-UA_xk_bHQ1b8I6XJUN6hHhOU7DhVXT7dBuYMSOPjosvIa7KnN_4l7jQrJYtQ1bOOWp54VNzJQ08rUOav5jJ2S8hE5q04VDcCvYnmrLGPT-kRzowUcA-SXEjmjcLUH532ZGtFokPK-obMQuDRSWkGPVNfHxVUaybVFejdAhZ1EWbrBN0_3Fqquoquu0XTRWZ3S14OrmXHXf_dhVbRWHUAWt81FxttBq6Jdd55tqsuOBnTFvTuDNFRFNr0g" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "2a3af528bd1e052b298d649d0dcb8f58", + "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": "517", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "0e90112c-d00c-4c00-afe3-781b3b8cd717" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.894152Z", + "lastUpdateTime": "2021-05-10T15:37:44.894152Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "da1ce78400d67f34dd10d9515f9a9309", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "defea94a-99b3-40d4-9779-5f0f7234e473" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "0f3741b9b50270d71036846b7b1be9a4", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "af08e983-85e6-4025-b0bf-5877b45a7d62", + "x-ms-ratelimit-remaining-calls-per-second": "165.883333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMjY4NTIwYi0xN2Q0LTQ4NDAtOTIwOS00MGE5Mjg4NjcwMmUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODYsImV4cCI6MTYyMDY2NDY4NiwiaWF0IjoxNjIwNjYwMTg2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.OF16kE0bdoUSP9lIcswxaX-JQ7G4_E2wKOoOdzOSFX7c9ABXxamMiBvCTKSQo7TOo_QEpGtRD7Q0WqTaLQhNf7fOfzHVzotRljoZzY2K_HoZ83Rwxnfv6hndHHq93uTfZmZtTu2UgDcZbDkt_4yxav4_8K3izDjivsVBYPpUMfPi0JHTySOAxco09xSMbDW2OjEZ1WfQKdmgkL_Ki_aDZJ7E0Vf3fFvrgD9T8sBX_e66Jjz-Lo5vaG-JeQVDtBIsmViH43uDWf_Nd9XQ7NtUF6uAufZeOeEDuYAPw4Ak1SfoqX7zW-vD6TGbHm3BCc-dUXL8b7bWe9wzEVSR4meahw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "da1ce78400d67f34dd10d9515f9a9309", + "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": "516", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fb602634-3e9a-4bad-9897-b51515a025ea" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.3176414Z", + "lastUpdateTime": "2021-05-10T15:37:44.3176414Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "2618157bb5ae9a8156fc093edf94a30b", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "762ed773-2226-4ecd-aba4-90d4d1fe37e8" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "d956381f024dcf4c0facc9a07bc803c1", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "88d2c171-8dce-4e99-a5a3-2f25ca80ecd7", + "x-ms-ratelimit-remaining-calls-per-second": "165.866667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmMjU1MTZiNC02MzdiLTRmN2QtODMxMS1mYjk5MDc2YTE0OWYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODYsImV4cCI6MTYyMDY2NDY4NiwiaWF0IjoxNjIwNjYwMTg2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.aQpB9uNrDDeYg8ei7FqMRpouZ3zdy2QZVJhDW2PWiHFy5lCmS7PBvue4artIHuRokGxsnyBlieuhq8iMNBIMRPDeLe7AaFQYBTumf4P9zgsW0GMzZ90eVmow3QRfL9_NGXnTbbuCGTuCxMx8VDVnSOAgTscZbAqGCG80ceKZmxxDi5DE8wbIJkBwbFGYzZRzCSNsVIFJ8yLwfRhVdRynSnh0COQE8vY-q8B534i1rK6vQeoNVhOW45bqgBVZQ0cT20IhZawPfsdEdzMtiKG0rCfM_rseGPRMfLG2NrfWR5hxW4RG1UiV_d9AHkVu6FdZw56iC2J0BDwsPl616iBzOQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "2618157bb5ae9a8156fc093edf94a30b", + "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": "514", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "af8a7e83-94dd-4610-8251-254895819490" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.70626Z", + "lastUpdateTime": "2021-05-10T15:37:45.70626Z", + "architecture": "ppc64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "4ad534276d81035bc09cb906ab98917c", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a32a061c-7fae-4b41-b575-fce5d413e953" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "434c799210c47856c8491601ece01e8d", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "bfb9db1d-2abe-4811-bf8a-4479038da671", + "x-ms-ratelimit-remaining-calls-per-second": "165.85" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0NDI0YjMxYi01OGYwLTQ3YzgtODhjYy0yMDkyOGJjMjk0NDQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODYsImV4cCI6MTYyMDY2NDY4NiwiaWF0IjoxNjIwNjYwMTg2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.3oPsMXbPZSMyDoKYG6ly1v8GhWuE5a3pK8WN9-C7vNagjg2jLqlMDb7E4udfqMAi_yxdADfyOvn_sXOspVzFHDjbDS6NqhI18GCcDBRFmqto8My5QyD8MFWJYMfAAL7BJbeqxxzhDAWsROI3mwIRliHTS7ZG1K1Os8NUEZUma5lQUbFmAhKRXO7IUS63r_WDazIcz3iaUv_DnxScNzb_mLfQuKkNuwSgy9WOWsOkAwStX91OWWKKMCG2jg_SU3eNd5ConhcbWJAkX54yHk7eqyQtF6J5rab09SeNrQpLyrcQlp2tb_2PUp2Y8-oO-iDJ_S8sFvOFXnHSGijEUjgYLg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "4ad534276d81035bc09cb906ab98917c", + "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": "514", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4870368e-6a25-40d8-abc7-17a765ad5ba9" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.5004258Z", + "lastUpdateTime": "2021-05-10T15:37:44.5004258Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "aa1748f859beb289dc5318b149462377", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "0531b440-5729-4e34-a73f-fa909f801db6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "020d4d1bc07c17fcde5d8238565917e0", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "01bd54db-e407-45a2-b6d8-fd1b09a37571", + "x-ms-ratelimit-remaining-calls-per-second": "165.833333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMWY3ZGIwYi1hYjViLTRkNGMtYmU4NC1hMjQwZThjMjllOGYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODYsImV4cCI6MTYyMDY2NDY4NiwiaWF0IjoxNjIwNjYwMTg2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.XsD1Qe9R4OM7ee0IPCRfPRK_BxWPHuYawSAIj8xB_COEdIL-g71O3Em06hRJm8lLwYrG1kWzCNTM3neIr1Hmv9OrW9lLeiyIowXkT6est9X2nSXfe6syvf9dfabTh73T5uXuaYyB5ekwoXWHUj6YtBMWOD3hSLf0dTuJG5_gp1rItuZgTu6q4hZ28VTbTKPkjWOTTdsWtCL_WqTbUfFkBxCv3XckUbVQfBQzRIu9zI4FsSYf2aDjbuCTgQoN4atAvJcgKBucX5-vtsYo9KeQyfuuyuh86IVBdKtwEkXw3oNNxKliTIDJieLKp-B5_4acn37ry1CrplGRlvEqV-dWYA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "aa1748f859beb289dc5318b149462377", + "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": "516", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "33f2b6bc-8ec1-4aad-97df-97fb052bbe69" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.8581855Z", + "lastUpdateTime": "2021-05-10T15:37:45.8581855Z", + "architecture": "s390x", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "630d2b7de78139beef996671f7a52f82", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9a10cda6-7d0a-473e-851b-3b4a43fcb757" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "9ee69f251cd238114b00cb61d6505b83", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "20d11cad-aa5c-452e-9281-7562ed2cb1a6", + "x-ms-ratelimit-remaining-calls-per-second": "165.816667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjYjQ4ZWVkMC03ODUxLTQ2YzAtYjhjOS05MDFhNDI4MTZlMDMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODYsImV4cCI6MTYyMDY2NDY4NiwiaWF0IjoxNjIwNjYwMTg2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.YTskfTYbmKcgNR9emfrhhn0J7yfggLNXdzfxul-jUQhwJnc8hBbhZnBeG4g0J0zcHu37cqauRFrQDzb7GyaL9hHiQHVWA4fu1jA693myd2IzMpAPjsslITJT8WfpckUI1xrn9jxtTVKyQFBErY6cWN25X43851KmhjZ82Ysfu8knVQJ9E6JhxFSxt-ELxklbF_-x_lJW8zcPtkO1yUjZ47y6NIlGn0syBch7LhlsnOMfrfNc-HsTrp72lwKlJmsNcW11idcbXAXEKxInGACOnaRIjRcANL-Ojx6Iaqhcaz7iTWV0QSPoHckhKoTulu8KB_xiEuwFunfMLlHPIrcegw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "630d2b7de78139beef996671f7a52f82", + "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": "514", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:07 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "6a9c0826-45b2-40e2-8d97-076b8fe799e7" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.1596259Z", + "lastUpdateTime": "2021-05-10T15:37:44.1596259Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1e33383bbf3834f58fd412e2598b1f38", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "3d0036f6-fa53-420c-8cfe-b177ae456d76" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "b713002d7873610d1ad518811b5d629e", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:07 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "12541369-517b-479e-8495-bcef1723f59b", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwM2M4NGM4ZS1kMjBmLTRkNzUtOTJlNi1kNDYyMmNhNDdkNGMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODcsImV4cCI6MTYyMDY2NDY4NywiaWF0IjoxNjIwNjYwMTg3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.AfefPE7NWF1pzej4yZdsZaGFmXzXBWQVL5ONXv82GurSuSoKuY5jpX_741b92Zhvxoo6kfww0ABK7AnaPEf2P1HLHWpglF1siQRKH2SpLNqC0aSb4mEfm_9PA5ArKZDlnd_DDHSxwVw3f2gQFBK9AQNlwC-BH9VAiX-7uy1NFPj8HVb6eYdtr-jd9v-IV4R0B2zl8n-yWPm51PBPJp4XaEC7HUSlinvBHPoei6qF99oMvv7VEo9STYX00ylhxIJsFKVgY9M4xvNxK0V2xcjW8ZI_iiQ6RekBL_OXpB36LLvLHlHOrQyqA-n_OUcHLZpkL9LZpm3l0458qceQaowkjQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1e33383bbf3834f58fd412e2598b1f38", + "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": "519", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:07 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a88285e5-61e5-4eee-9e64-ad8d6516a6ed" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:37:45.1236339Z", + "lastUpdateTime": "2021-05-10T15:37:45.1236339Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "be36e33e10726549a9b10ffe092edec0", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a523de55-2b82-4028-8e8b-23a32eca3336" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "d63392e0a33dc20f2bd20462a7741931", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "close", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:07 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "8f27f8fc-6b3c-4964-b809-a5c44e2a774f", + "x-ms-ratelimit-remaining-calls-per-second": "165.783333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzZTM3OTYxNS04NjY0LTQ4ZGItOTI0NC0zMjRiMGIzNDUzZTUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODcsImV4cCI6MTYyMDY2NDY4NywiaWF0IjoxNjIwNjYwMTg3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.0j2cLbOjPW24H4xXlHKHVZSjXuYXS8-h8j7NmtHB6ZuGKIV03qbYF4R0o2gT1nRuz__dQ1CIQcta99Lxb6O9qI8a1CXe_vNS1BtiHOusZzw2HWMXFsav2rSNPB14TzBB35Cmk3bg_3Sz6IELVy8kAulQu2x1Ilu0s2WRAgIkotq9zqO1a5eu3RXzbWj4t1IsG-ffBvKKx6YIuRSRQhSHGmkzDdUz3wbVk62liCoQMnbLKAg_49gAQ2GJDMxiQC7t950Yei_IjoY6N22D9gDdAimYPoe5XSpA_fAAXMtAeVr5uyJ8W07ERTpmLgW02dzJq2GLF6QVpAj2BPh-OqEjJg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "be36e33e10726549a9b10ffe092edec0", + "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": "497", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:07 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": "665085d1-32a0-4e9b-8da6-c9fb25e6e19e" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:37:44.3792995Z", + "lastUpdateTime": "2021-05-10T15:37:44.3792995Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1249331253" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(False)Async.json new file mode 100644 index 000000000000..33a87ffff7b1 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(False)Async.json @@ -0,0 +1,1495 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "a59727c5e4170dcf46aa5ad558df1852", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "56fbdde6-cb50-457c-b9ee-651b83c77b29" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "18e6c8244e8322022860cfc28a0a2ba9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:56 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "309ac9bb-9754-47c8-b18b-97e7e6e8b9b7", + "x-ms-ratelimit-remaining-calls-per-second": "165.016667" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExMjF9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "130ddda35639a1b1b444bcf32de356c7", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:56 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "82800dfb-ced8-419f-9faf-a759cb36bb25", + "x-ms-ratelimit-remaining-calls-per-second": "165" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3MjhjNzIyNS0xNzJlLTQwZTQtODZhOS1kMzQ5Mzc0Mzc2MTMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzYsImV4cCI6MTYyMDY2NDczNiwiaWF0IjoxNjIwNjYwMjM2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.2Lj6exdtA0yS66iWB3if8j8tN5XrUV4Cvr9dbwqEJcYpaSsMpBXLwA3YUM2p26TFRKSfgrevY9hdb9rgLxBeLgK4rO8KcCJQgkBHGsniskPd_6aw5mpumHhhK_Xl0iDrVZo6xwBKTemXN2wT1WnLq4ZAZvz8V8kmfUxKkrBS9yj9VbQq6-ybhyTjCWkcgH5e__z8Qtf4Y85O0JTmFeMyixEi5S_KK5DO9Ac5MhaMHgHsTYsG5CRHPujChvuw0vZY4m36BDSQ73MN9AhEmpL2Rketu8l1J-WkLrB61gMZedoabtWv1YoTC1emVt7xMAaFs2040h3JI9VvD5uJM3ooew" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "a59727c5e4170dcf46aa5ad558df1852", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 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": "1f4eace9-c83f-40cd-b76c-b58382d01245" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.3182492Z", + "lastUpdateTime": "2021-05-10T15:38:34.3182492Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.16688Z", + "lastUpdateTime": "2021-05-10T15:38:34.16688Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.7216413Z", + "lastUpdateTime": "2021-05-10T15:38:34.7216413Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.5244122Z", + "lastUpdateTime": "2021-05-10T15:38:34.5244122Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.5320683Z", + "lastUpdateTime": "2021-05-10T15:38:33.5320683Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.832112Z", + "lastUpdateTime": "2021-05-10T15:38:33.832112Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.772768Z", + "lastUpdateTime": "2021-05-10T15:38:33.772768Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:32.9833374Z", + "lastUpdateTime": "2021-05-10T15:38:32.9833374Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:38:34.4427669Z", + "lastUpdateTime": "2021-05-10T15:38:34.4427669Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:38:32.7250539Z", + "lastUpdateTime": "2021-05-10T15:38:32.7250539Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "0174b409eb3876ba25747cb7140d823b", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2132ac90-1ee5-4aad-9205-6aade7b4cb0c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "7b32b17e04d2ce191744633e920ef545", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "c27491db-084b-48d2-9a9b-30764590c38b", + "x-ms-ratelimit-remaining-calls-per-second": "164.983333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3MDQ0ZWQ3NC1kODBkLTQ2OTAtYjUwZi05YzQxOWJiNTZiZTMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzcsImV4cCI6MTYyMDY2NDczNywiaWF0IjoxNjIwNjYwMjM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.mtzGMle7F8NZVUUoXFKk3jbnUzi68arUMBiW5g0oNRR6i6tdx5VFISEAWlrItZS0Y-kRFO8E34KCCAJbUn5onnbRAzAA19KR1WaEyB8gf7Nl8CgbwNhX_yesY4tJVUUhFV1ziq4i7pCwGBkKJd0Om3ErEgtFfRFB1IKCWvG93lIeU9Euv5ADOiR25rU9PKePHE0b4zuf9f4MMkckUqm4y5I1gVwD6qhd6ayfdwmxdgJFdA0lVHs2ED2V23Ob4fLvX8edddE3_2fQ-UgD01tonjQYmRva3rR90qZAbJeUXX0qAsx9RGxpCi7lohbEps3QH4t8nwC5AW2hyrt6gVCFAQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "0174b409eb3876ba25747cb7140d823b", + "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": "510", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4167d50f-92b7-4999-b997-d2bf20373ac9" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.16688Z", + "lastUpdateTime": "2021-05-10T15:38:34.16688Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "d6b8080a2a96b8712397eec4d9f98ca7", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c4ac631b-b169-4702-8306-3225dbae845e" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "7c7480c2dbb104f49ba5e9f3877ce417", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "d2137cd8-3d6a-47c3-a5ab-5e1a0517df32", + "x-ms-ratelimit-remaining-calls-per-second": "164.966667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI2MDBlN2Y0Ni0xNWZmLTRjOTMtYmY3NC0zMjRkZDQzNzFhMmIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzcsImV4cCI6MTYyMDY2NDczNywiaWF0IjoxNjIwNjYwMjM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.Y6PDNRctFLkxEMeRQNz6CGReZFu0dGU1lgDBSELtircdOwWEIVvDQ3jW0vIyWLvYWZV33HMLITt2WZlkc5wMuXKZSfPIQdrm4e3Uf0F-PBvjZx_ZUdtdS-3Cif-pdCsDZ5VI0uTZF8NN7Lyk14GBaMhI5BUc04x-16WnmOsezU3A0uZq7sujj7QN6l6xzZRL_SqbbHG6h458i-h9nwz8xtZ3eJz9B1TrNLEmjkx-i1oR4E9aRyOPmTGJTgf7tJMwKiRyUDemolt_bk22JxtyhsgA1p8sMbRfOVKu0XmN0-gA6oeo6rkw_KApeMLkdupbJBfnyIF5_J2hJAUbzg7Y1w" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "d6b8080a2a96b8712397eec4d9f98ca7", + "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": "519", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "41518c9a-90c4-47bc-8fca-4331a4cf6c5a" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.7216413Z", + "lastUpdateTime": "2021-05-10T15:38:34.7216413Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0cad377fab5454a53f7a573a1654f41d", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "16ebe26b-6588-4e7c-bcea-28c5ffbf56c0" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "117bbcb7799a2f9313b33bf0407d30a6", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "f68ce16b-5b15-4d4a-a221-c80b20704e3d", + "x-ms-ratelimit-remaining-calls-per-second": "164.95" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjYzQ1MTkzOC0xYTgzLTQ5YTAtOGM5OC0yYWQ4ZDk1MDk0N2QiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzcsImV4cCI6MTYyMDY2NDczNywiaWF0IjoxNjIwNjYwMjM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.5ruzfZNU9srDR8BWMsFd6epRSJ1gVg15CPlsfXWxcQ24R347o9vhpylppBDQuEb7mO5fVIMGkMkK1mLzx5b8R_BffqU2wNuphfIKq2a-ZY1DXiQrcSnsnQwIRURUrUEAdXYN_uTzz_s36EMhUeTqtIcPkDwjK0QHACthgY9n7vJP27j9J9SWjDY6hXkFHjBLjlhd39BH1y0s_qgAlqDeeAMgrEwE7M1N-lrYs38UE_RxVoWQH0D8oJWlcb5XIbjA6V9f-A-yktzmgt9Wzqw-SLZ_Z4qK3joa8OYniQ0xfqJQ-HtG7yjqE0MHnmNhovI7NPGJ-WUoeOXxd8BybF2Kdw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0cad377fab5454a53f7a573a1654f41d", + "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": "516", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "7a80376b-6b79-4faf-a0a9-fc060a4860f8" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.5244122Z", + "lastUpdateTime": "2021-05-10T15:38:34.5244122Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "a245d7b3804c1652db203c3783baee47", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c7435636-33b4-4183-8cc7-3f382ca5c0ba" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "cb3bcbb0d201057ca37ef8a070b513c1", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "a925072c-e388-4f78-92b2-19a7265e04ab", + "x-ms-ratelimit-remaining-calls-per-second": "164.933333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiOWY5ZjcxNC1iNGU4LTQ1NzItOGUzMS00NmQ2MTUwYzFiMGIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzcsImV4cCI6MTYyMDY2NDczNywiaWF0IjoxNjIwNjYwMjM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.Ht2LQXZl8u7KaRXvzNhwdu0Y4LDaZE9ZnR0cuhhW5OD0khLuW0z4CmCDLgHD-ODz-FUhdjVWgAFHqxMNntVJEuUe2MgpFh_hh09Yv05g2lFWRM-DrlDwuBAW0iOfP79AjB6r8ZICSSJK9a9f6YE_qaE8-nfcgGijAGPskPjcxgyXcPq28c5xZehQbdsqSi4vYi4AR-QuxWf0V9tcnzA05BINThJm95jFYzjJXzor0M_IaP-WWYxW9GpW_YwvjM89Q1EACjfx3sG7TyoXY9f5AZaDuQCLgC-h5b2ZcjGhJqSMVbUpmFT-fBWrjgjm9MjExNa60hD2gLcpYZuWbITm4A" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "a245d7b3804c1652db203c3783baee47", + "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": "518", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "940c363e-6f12-4d82-b464-0b4242334144" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.5320683Z", + "lastUpdateTime": "2021-05-10T15:38:33.5320683Z", + "architecture": "ppc64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "3f87b149520e36d06964357a3d5bab59", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "effd958b-3be6-48e7-a116-20d589abf636" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "753ff4c56442e0a45a40fece88b1a626", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "1cf5d209-8f7c-43ec-ad6a-cb610e40b1e9", + "x-ms-ratelimit-remaining-calls-per-second": "164.916667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhN2ZhNjQ5My1iZjAzLTQ4ZmMtYjQxYS0wMmYxOTU2ZDFjYzIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzcsImV4cCI6MTYyMDY2NDczNywiaWF0IjoxNjIwNjYwMjM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.0-4Bf7aep0qfJJwtw_qqrWo7emRBuODK5s3BmfnbttfVzpo5aBMHVYN7OPrtZu8N-vBdlTirt7w1zEwvxdMQvC5fqBmCIgbDvEdgwE34nF0dxgCp2ZT61h5nsYZirnFcXGQLu7ELH5V5o49pncfNRNtPf814MRzW7QRThPE3bcwrpvXlsaQPdWzAxReOMa2cefZtwMl2-TfwAa-rQSAV4FIr-ErYYFI51XNE8Fqbzj3kkKlnUlSrWF5XoDblyYyxDyijx9Ov1SeQv0vMAuiPCZjgnXGC6FQBjtxwTQd26GI0ioD-4Uh92Ip4t12UgXjMlFPNC1kbMndFQjS4GFT3kw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "3f87b149520e36d06964357a3d5bab59", + "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": "512", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "47762f78-d838-4013-a2b8-d0169c241edd" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.832112Z", + "lastUpdateTime": "2021-05-10T15:38:33.832112Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "d1ed7a0caf325e38fa04629c9c02c847", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "bba2707b-da60-485f-ab30-8d569fe06af6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "7cdb9fd29e75e57f0ca7e5ce5302aeb7", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "fdbcf4b9-065a-450e-87be-97587d401e6a", + "x-ms-ratelimit-remaining-calls-per-second": "164.9" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxNmI0NTFjYy00ZDAxLTQ5ZTUtYjIzOC1mZjI5NDcyNWQ4ZWEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzgsImV4cCI6MTYyMDY2NDczOCwiaWF0IjoxNjIwNjYwMjM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.WaODEApF6z542BgL8uREnbptL-XxiYQTs_X4456qh0Ba5NCna7Nd4GcXnNw57WLvxV9pYTymXul8-gAkmn4lJDofAy5iRwvjAcNd6b23z7cNDShDgX63CpXqC11-n_rj6GPUmV2-5E27dX0HcBWjor48_6_5ZoF9-9rfBISKnlBmRTNvtA85nF52G6s37ynRdIJ1FePHlnxSkQxqHOMk4GBVXAL19hytqsf1U-IvcWvL6H1XiwbzPjmpM0fEhXKgryR0k_8OGeRxMJaMYkQAIozTNqO0TKe5e8dn2PmPtHajxgyIc87yermv_Vqnnwjt6LRJhWoXIw2ce4dcnLVqOQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "d1ed7a0caf325e38fa04629c9c02c847", + "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": "514", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9d4205df-35d8-43aa-8ca5-03f73d85c533" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.772768Z", + "lastUpdateTime": "2021-05-10T15:38:33.772768Z", + "architecture": "s390x", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "c26d0fbeda6e1627bbe17a3d01084357", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d6228bc6-1138-44e4-9ee5-8563572966c2" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "e9fcb7772ad66eb0fa08c58ac96a0af8", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "c7457c03-16f1-4797-bf55-156afd93d53c", + "x-ms-ratelimit-remaining-calls-per-second": "164.883333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlNWE0ZDZkNC03MjU3LTRhNDYtOWYzZi1hYzIxMGUxOWJmZWUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzgsImV4cCI6MTYyMDY2NDczOCwiaWF0IjoxNjIwNjYwMjM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.kKzu47TpPmHzyaWPwTHklAFH7bqfEGXVo1uyjnwmY0Cly1D2HwYgY6b7psWcSal5H55Ts48Fn8v1zwUTNYM6h78XqY_GvkcbYLcnGrl4Ygs3oFXRrIeo5FfgIqaPKH-5zvbE1YSrdgF4Oyy9OKT6g-xOcDp0cUIfJth0Piqp9bM96BK0iX33kyMDTWDQMDuFIkiwx3Be8Cdp3hdyj6t6UkQrDYKp1uNro90-0t-2iKA6rVBlhMVe5cESMefu0a-OQFlspJr-SGEJC_vAtp6sNfzEbaam-oJhmQVieimA_3-eoSAof186Z3qKcOum6Z_5ZuzCe3yHZIarXwGaFpKZ1w" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "c26d0fbeda6e1627bbe17a3d01084357", + "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": "514", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "1d40057a-6350-4c1d-b72c-b6c33fe395af" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:32.9833374Z", + "lastUpdateTime": "2021-05-10T15:38:32.9833374Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "8cdeab560595f7d977c5c0942442e304", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5c177575-59d9-48a6-930c-ea8fbd763bc3" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "9c568e64c50594e05fffc865159c4c51", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "8d75eebf-48c6-4e0c-9b22-e59f99539e90", + "x-ms-ratelimit-remaining-calls-per-second": "164.866667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI5MDk0OGY1OC0zZGEzLTQ4MzctYTM4Yi01OWYxZjVmNTg3YjIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzgsImV4cCI6MTYyMDY2NDczOCwiaWF0IjoxNjIwNjYwMjM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.vPUUq4BjvwR6sqEviDA7JFhFuAyHryG6D1u3dZ-2AXCiiv8c2cle2v5-LmBLRfBDp0X2IwNPt53K5ixXUBMqHRFKCgY6VISaV6YwrTlnTW6OyUk0iDEVx8UbwEY4bqeovOUp0djjEcKwbHWScBp9ycuQvbB7ryf-PnShzXAPApbz6YtUa159ERg0zdiMem7HmV-lJN88K228mHAzpxn7fFMim-XWt1OBxtBTfDD1HelZg_fsHBknEUdViHtK6rBNPJZR959rcCrFA2GKFUHDWSl3wGDw-JyMGbGwxMtWnsbpS_H870fbNfi0kWGuIfLKqA_TjyfbAfRmDZoV4EII9Q" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "8cdeab560595f7d977c5c0942442e304", + "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": "519", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "57b5b013-7a1c-4cde-a37d-ed2758bd95bd" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:38:34.4427669Z", + "lastUpdateTime": "2021-05-10T15:38:34.4427669Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "56e781d6b62972c1dd047111691b49b7", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d808e17f-f423-4e53-8f9d-ef6b25f68860" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "3b26c0256e1390f3ca4a2d953c74e2db", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "869fc6ef-1ecd-4dea-a306-c745aaa1629f", + "x-ms-ratelimit-remaining-calls-per-second": "164.85" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjN2M0NTI0Ny1mMTY0LTQ3NmUtYjczZC00ZGUyODM3YTk2YTEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzgsImV4cCI6MTYyMDY2NDczOCwiaWF0IjoxNjIwNjYwMjM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.LUyQetTlXCJREVk7JsziXu9ahV-44KDp3pIwOnd627Eqg-d5YIajGxh35kdjaFTRc07gcEIxa0Ig1TaldO6Gr-ZPWlutgqRFuh2A7GykjOxJDJcblbpWzTkoptMJWWf-LuQglqS-6mQLRz9Fs1YmVAABYtk71hoJVgHGVVYuP0xEakQmRzrbyYG8MUEwnQKIJaaTYg1KUwbX13UnFXBhLXSIVRmd38CuZUVAcQfqcT1WWKC-yVKaBmTy7Lrai_0bn20CU2ANypG0cpTQ5Z4-YgqJgwwZiecdBHGIOQMSxLf7yUEHxLMxP7j2iNUh0dSqm1q4XEMOsFL0NQJanULxvw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "56e781d6b62972c1dd047111691b49b7", + "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": "497", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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-Correlation-Request-Id": "e5442ddf-1284-4919-acdf-a640a8e0bccf" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:38:32.7250539Z", + "lastUpdateTime": "2021-05-10T15:38:32.7250539Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1413133940" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(True).json new file mode 100644 index 000000000000..e4fb55a3047f --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(True).json @@ -0,0 +1,1470 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "8fccf0ee045d5696b12c9fd4d15d53af", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:03 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "72384a93-788d-41eb-a563-fdcccb3354ae" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "df8170470749300ac22d134138737e35", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:03 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7e6d9b44-3fe0-47aa-9d6f-f35b110708d2", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "8fccf0ee045d5696b12c9fd4d15d53af", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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": "525ecc76-1090-4d9e-b11d-f9b7e8624578" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.9287786Z", + "lastUpdateTime": "2021-05-07T19:07:38.9287786Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "fb5e8b02db0c2730e05b4ad01dd195b6", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "3b304629-741f-4e8f-b01b-4edc21fff734" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "80cda8fcb91ee666e59ccc30f1551e3e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3cfb0c4b-6015-49f0-83f1-e8d200670fa9", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "fb5e8b02db0c2730e05b4ad01dd195b6", + "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": "518", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "e4b5a0d4-e44c-434a-a53d-79643ff2f918" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "46d16aae58fe6ba34059ffeebc3a12f1", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ce35a734-6874-44dd-b264-38020976ed55" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "8f445c98fea648162477156f0f00368a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "635487a8-91bf-442e-9270-2d663c2c73d5", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "46d16aae58fe6ba34059ffeebc3a12f1", + "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": "523", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fbdb336a-23ec-42f3-8ccb-6402db8a3b64" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b3220c3d4effa4b705613fc5ba7829ab", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a197599f-4375-457f-b896-c66760dfaf2a" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "9497db8a8e11af975489218642335c40", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "660fa756-e508-4a9c-a7b9-170ff30d2654", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b3220c3d4effa4b705613fc5ba7829ab", + "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": "520", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "179b3db0-79f3-49e0-8318-01e478bf7191" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b0b074235f1849f2a4a08a44be518dac", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5c901db9-fef5-4ea1-b049-329a13b8444a" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "34e56a4da168ae7974725e752d3161d2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "224b3dd1-425c-4925-a918-ed6732536347", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b0b074235f1849f2a4a08a44be518dac", + "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": "520", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "90706d76-0911-41af-a002-c1355cbec557" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "architecture": "ppc64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "46a1ff0579c72b92e94df0700452f002", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ea4adbe2-96a9-4446-9734-1cd3146f7c0b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "d83975fc284e82d8fb023ba5007c1c73", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "4c7d8d4c-6d40-4f2c-8e1a-c0a707e888d9", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "46a1ff0579c72b92e94df0700452f002", + "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": "518", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c25a0590-a2d3-4c63-81a7-6fec0738f78a" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "bf3fb83e47afd4e4d7ba4b1ab108aa22", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "40e0d125-66d9-4fb8-b2e8-1b78ada4a3e5" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "b8795b8289f7dc83271f4ac53eed2a6c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "6bd064b2-0887-4535-a947-78862a04c50c", + "x-ms-ratelimit-remaining-calls-per-second": "166.416667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "bf3fb83e47afd4e4d7ba4b1ab108aa22", + "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": "520", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "692329eb-60ef-4d66-8503-63eea55d615b" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "architecture": "s390x", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "4c327c313013b45390650094ddbdd1f3", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2af41f1a-d5aa-4ca8-9f6c-92b62866511b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "a42319586302b47b34629890fc1f95ea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "416e4352-50be-4cdc-81d1-d46db197a565", + "x-ms-ratelimit-remaining-calls-per-second": "166.4" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "4c327c313013b45390650094ddbdd1f3", + "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": "518", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "b3b5a4c8-5a94-4063-a164-d9507e8ae6d1" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "34e9de8f5dd5510e08c4279289efff69", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "75a1974d-498b-495b-b18e-da08bac5e20c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "256d574e86cacd6a007d18b098c2b871", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "fe2691e6-c94b-4da5-a255-5c2ee07b4eca", + "x-ms-ratelimit-remaining-calls-per-second": "166.383333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "34e9de8f5dd5510e08c4279289efff69", + "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": "523", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "1430ba24-e69c-4e5a-8592-29ae4ac84512" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "fe0415cf9cd4fa1d0ad19b3d3ce92b44", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f2e9b1f4-2db6-4d80-b61d-380af1ae38b5" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "a4412e6270b10820741b3357455eb846", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "ff0c5f4e-5b2f-4c6b-86f0-397c17080c9d", + "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "fe0415cf9cd4fa1d0ad19b3d3ce92b44", + "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": "506", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:05 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": "4dbedbe1-f269-4f05-9f58-8c48955c3800" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "73661041" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(True)Async.json new file mode 100644 index 000000000000..e434f6be3adf --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetArtifactsStartingMidCollection(True)Async.json @@ -0,0 +1,1470 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "fcac3ad75dd1cd33641380d4954427fb", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:53 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "94d8ffdf-28fe-48b0-9ab9-0b7ff86718b0" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "644a860f4574cadb46ba171d0c726087", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:53 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "4c6a3bf8-d1c9-4451-b69d-94f769ed7c26", + "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "fcac3ad75dd1cd33641380d4954427fb", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:54 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": "8b1a9197-15ab-45b8-846e-892f67ac6cfc" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.9287786Z", + "lastUpdateTime": "2021-05-07T19:07:38.9287786Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "e695314d78e1996f4c3b671906e5371f", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:54 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ab0403ce-d860-46a7-b04f-886b1bc19f13" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "607826bbfe8792495ee2b6164516c1f2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:54 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "e45398b0-2907-4bd8-95a2-6e5abaa07fbf", + "x-ms-ratelimit-remaining-calls-per-second": "166.35" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792\u0026n=1", + "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 )", + "x-ms-client-request-id": "e695314d78e1996f4c3b671906e5371f", + "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": "518", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:54 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a8368473-2708-4dac-b7a4-17f84f83d528" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "6386f8b340af961a16b11838ddc1c360", + "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": "close", + "Content-Length": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:54 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c9d79bdc-4d24-4b5f-bf39-aeb1e1f4f4b6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "e561f78300f94e00e70387fec2585336", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "9420ad21-de96-4904-9ea4-583c5ce3bd81", + "x-ms-ratelimit-remaining-calls-per-second": "166.65" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "6386f8b340af961a16b11838ddc1c360", + "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": "523", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "7e843ec7-81c1-469c-9ece-6cdfad63ac92" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0e66747ad35f7b700ce249d6e611b49d", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "b5597951-c75a-4497-b2e6-d291ba344a26" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "4e93561fdcb4b2f9f7377cacb91bd3bd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "165b3ee8-88e7-482f-977c-f9ed799dccc5", + "x-ms-ratelimit-remaining-calls-per-second": "166.633333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0e66747ad35f7b700ce249d6e611b49d", + "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": "520", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "163797d2-0992-413c-86a0-8b54a3b1e268" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "68bee25db45baf0187e6d816b72a68d6", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fadd88f9-bfca-4815-8e43-0a6499e02d1c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "6cdfea4e05c59e817bb3162757c4c1f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "32a9ef06-f088-42cb-b31f-04f0c455b498", + "x-ms-ratelimit-remaining-calls-per-second": "166.616667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "68bee25db45baf0187e6d816b72a68d6", + "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": "520", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ca3128ef-0d04-45d6-b056-1939c502e84e" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "architecture": "ppc64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "04788b0f4b526a4155e3c6ce03e2fbcd", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "01335196-a46e-4200-98ee-73dfdada6bbc" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "ce5da5cf673c57f86020eda89dd958c2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "d593c03d-ed09-44c0-94ba-6de42599d0d5", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Abb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "04788b0f4b526a4155e3c6ce03e2fbcd", + "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": "518", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "45b9f7bc-05ad-485e-a428-68d7956ffd70" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "2b07e82464b10384a97416e13eb29b99", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "39f6343d-3268-4e34-993a-1fa5087dadb0" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "b15749b8f266a7b49220a3325d99cc7b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "6ed1eee7-8db3-4aad-aae0-ae8babb0eb98", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "2b07e82464b10384a97416e13eb29b99", + "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": "520", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:55 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "99422960-23a7-4f3d-8a2b-22346154c40b" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "architecture": "s390x", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1baa038bcfda6a1b215925c7501719ae", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9d9bf1c1-63d4-4df8-bd36-7f8b63d39b31" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "53ef5485a682315c33609991c151a50f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:56 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "cf2a60ae-5d40-49e7-b107-26cf08d1c6e0", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1baa038bcfda6a1b215925c7501719ae", + "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": "518", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:56 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "064be24b-cf92-4ba2-baeb-99995a873f09" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "3a559ba87f07e8be2eed900cccec567b", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "438c94f4-d5cc-417e-afb2-561eb70084af" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "09adf40778a9e5f9a779e77a368aa9cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:56 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "85ec5d17-5fc4-49e5-908f-60d855c84922", + "x-ms-ratelimit-remaining-calls-per-second": "166.55" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "3a559ba87f07e8be2eed900cccec567b", + "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": "523", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:56 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "65c802e3-065c-4aa6-876f-c78814f1dabb" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b51f16b4dec105a696072594154f6447", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c19206c3-de74-4556-bd14-61cff4ba808c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "cc891d099ba42f66a270928e9843b1a4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:56 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "655b9260-90d8-4ada-ba54-677cede3c304", + "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library/hello-world/_manifests?last=sha256%3Aea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b51f16b4dec105a696072594154f6447", + "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": "506", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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-Correlation-Request-Id": "0b3dfbc7-60e5-4995-959c-2be3cb055b0d" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "858073385" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(False).json new file mode 100644 index 000000000000..c6b61f7d6ead --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(False).json @@ -0,0 +1,313 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "667ca09f76687faf87d2639f67dd0f45", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "3dea88ea-1652-4133-81ff-40641395e84d" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "fa1648ade4c1c286bd3b2ab091c855c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:08 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0b097d7c-6f61-4dbe-9079-1cfc34d71890", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwNzF9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "7857be1889573dc5c7ff45c96477809a", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:08 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "72ec8b3f-9185-44c2-943b-a2e87558d463", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiOWY2NmI2ZS0wYjkyLTRkYTQtODc1ZS1mMjcyNDE5MDIzOWIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODgsImV4cCI6MTYyMDY2NDY4OCwiaWF0IjoxNjIwNjYwMTg4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.eox_iRkgEObnwyWeWeEJNtLOCFpVMnBQIEZEGVBnBz-b9NQXBADvyPD6jn5OIe_H5DMviTCYBMqMuqGjaa2RoWatTCE2jBDv_mD57gh3_qRLBzfWMmjPTBkqgKs-C7MULMtWiPd5BdBrd-GsBPnp3rq6Ve6rufmbaGsTtOjxsyRxR_wrD2OyBV2EwE_YLZSR1o1PkBtXcWopiUbK44nkW4Q9ZEjzTLXLvMQAOF8P5zoFsKw8glwgiDF12hipMgmH-LgH4QhwR6l4lOgHCTzYCd5kbbrqN9uUQt470US07gBIoc1a4ShuqzXOKw5BYcM_zCAAH5zHzSVCtFUF0bgv4Q" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "667ca09f76687faf87d2639f67dd0f45", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:08 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": "a530594b-869a-42d6-ba2a-252927b1c681" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.5878386Z", + "lastUpdateTime": "2021-05-10T15:37:44.5878386Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.2823056Z", + "lastUpdateTime": "2021-05-10T15:37:45.2823056Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.894152Z", + "lastUpdateTime": "2021-05-10T15:37:44.894152Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.3176414Z", + "lastUpdateTime": "2021-05-10T15:37:44.3176414Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.70626Z", + "lastUpdateTime": "2021-05-10T15:37:45.70626Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.5004258Z", + "lastUpdateTime": "2021-05-10T15:37:44.5004258Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.8581855Z", + "lastUpdateTime": "2021-05-10T15:37:45.8581855Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.1596259Z", + "lastUpdateTime": "2021-05-10T15:37:44.1596259Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:37:45.1236339Z", + "lastUpdateTime": "2021-05-10T15:37:45.1236339Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:37:44.3792995Z", + "lastUpdateTime": "2021-05-10T15:37:44.3792995Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "958988801" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(False)Async.json new file mode 100644 index 000000000000..8d25345bf8b2 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(False)Async.json @@ -0,0 +1,313 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "7012855a0b09683af492c40248d23172", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "50d1397f-0a46-4991-8995-34e632aa1c91" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "e01ad869815ef6d11ee655342d251ffc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "da285ef9-f7df-4d24-b070-136cddf5dc21", + "x-ms-ratelimit-remaining-calls-per-second": "164.833333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExMjF9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "b1af75ac0b0cbd2dc7203b861092d82f", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "2ffd1a70-6329-4b65-a2f8-159984a0ddd7", + "x-ms-ratelimit-remaining-calls-per-second": "164.816667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwMzUzMTQ0Yy1mNTVjLTRlYjgtODZmYi0zNzBkZjhmMjA1NzMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzksImV4cCI6MTYyMDY2NDczOSwiaWF0IjoxNjIwNjYwMjM5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.y_pqyKHlNmmNHMCOpLwWEWrn-kSH0YmfzJ39E_RRMTX316bJJXUX5kCmII5-QJBcnzHTUXkzsghRWhgtA-_ZNmWk5qsv9LE4Exwc9hwG90XDTD24A4ysN7oSwUyUtS2zTjtxD1QIYSlrUK_azvrzU1WrrusDagWmAnkL4eKMov-D8lDjhTosam5QTYaSlRkVJjfv4I_HXNpXk6iSSEj5hZsRz-uwsX-uR4JQfCaj6-uhlrJwkWUDbkbnzTEyZKUSCAOhfCxCI1vfm33icz8VcguFtotCqv9kxsXSpBwD-nU90JD7DAuZRg3NiZ_esvoA_693baOkWeE9Dm9zSTtgWQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "7012855a0b09683af492c40248d23172", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:59 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": "bf7088a6-be56-4bd7-9380-64bb0cc474ef" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.3182492Z", + "lastUpdateTime": "2021-05-10T15:38:34.3182492Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.16688Z", + "lastUpdateTime": "2021-05-10T15:38:34.16688Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.7216413Z", + "lastUpdateTime": "2021-05-10T15:38:34.7216413Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.5244122Z", + "lastUpdateTime": "2021-05-10T15:38:34.5244122Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.5320683Z", + "lastUpdateTime": "2021-05-10T15:38:33.5320683Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.832112Z", + "lastUpdateTime": "2021-05-10T15:38:33.832112Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.772768Z", + "lastUpdateTime": "2021-05-10T15:38:33.772768Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:32.9833374Z", + "lastUpdateTime": "2021-05-10T15:38:32.9833374Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:38:34.4427669Z", + "lastUpdateTime": "2021-05-10T15:38:34.4427669Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:38:32.7250539Z", + "lastUpdateTime": "2021-05-10T15:38:32.7250539Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "591238776" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(True).json new file mode 100644 index 000000000000..032a8a37e1c6 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(True).json @@ -0,0 +1,287 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "cacc04ce403a0cc0cc14e33b6ccfc164", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ac67d44e-2f92-4431-bb52-fe94ffcaa380" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "cbdacdd48450290bdf1d0a07c9636ed8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:07 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7003e438-4990-4166-b8c9-3f68ce6988e3", + "x-ms-ratelimit-remaining-calls-per-second": "166.35" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "cacc04ce403a0cc0cc14e33b6ccfc164", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:07 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": "a4b94c0c-7e5b-4100-9f6e-be2ade2b8f1e" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.9287786Z", + "lastUpdateTime": "2021-05-07T19:07:38.9287786Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "2111151170" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(True)Async.json new file mode 100644 index 000000000000..84e9ab6d1c2d --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifests(True)Async.json @@ -0,0 +1,287 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "d462e988d1dbf54b3ac1449f35c4e391", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "10f6da70-c7bd-4fd5-b77c-e90f526f5492" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "89df5d7922ec595640c8298c65c43713", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "bb11712a-2f24-466f-8204-a3f1fb60c6ac", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests", + "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 )", + "x-ms-client-request-id": "d462e988d1dbf54b3ac1449f35c4e391", + "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-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:58 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": "efb54a8a-0fab-409b-96cb-2d9360abd8cc" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.9287786Z", + "lastUpdateTime": "2021-05-07T19:07:38.9287786Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "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:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "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:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "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:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1743401145" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered(False).json new file mode 100644 index 000000000000..405fa2de617c --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered(False).json @@ -0,0 +1,486 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "da3e0afacc8ff8a8dbcf6f8496ac47cb", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:09: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "afc468c0-57b4-4657-a3d8-4c336d1c9429" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/node", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0443e74cc09f25ccc63c5c78c69442b7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:09:33 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "991f3ad2-cb7c-47ce-8aba-10bf6c48c549", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY1MTI1NzR9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "132", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "8af5d43a4f7771672da6843700749b02", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:09:33 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "4022e0a4-433a-47c3-b0ca-462e039c85fc", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + }, + "ResponseBody": { + "access_token": "Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "da3e0afacc8ff8a8dbcf6f8496ac47cb", + "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-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:09:33 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": "51bb90a2-71c4-4d45-a6d5-b526d4422f52" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/node", + "manifests": [ + { + "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", + "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", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:39946bd9b7fab32e4b6dd10f6bfa4a2671d74aa0710bfbfe1b954fcf51f9b498", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.841781Z", + "lastUpdateTime": "2021-05-08T00:09:16.841781Z", + "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:5ed2c97205e4cf78ca60f7cf0f72634b0f48932269b71de1169215ef44894905", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.4794139Z", + "lastUpdateTime": "2021-05-08T00:09:16.4794139Z", + "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:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "imageSize": 11071, + "createdTime": "2021-05-08T00:09:04.3034232Z", + "lastUpdateTime": "2021-05-08T00:09:04.3034232Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "newest" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "91f00ca711053af53d1914526f303147", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:09: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/node:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "025980ef-c4b6-46e3-a08e-3d5371a32790" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/node", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "132", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c149b88dbcb6fc537fd1d6f93c952452", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:09:33 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "47eb01ca-e258-470d-99bb-bea6595f0188", + "x-ms-ratelimit-remaining-calls-per-second": "166.15" + }, + "ResponseBody": { + "access_token": "Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "91f00ca711053af53d1914526f303147", + "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": "384", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:09:33 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": "a2201ee9-4680-4021-a61e-79cf59ff3fe4" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/node", + "tag": { + "name": "newest", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "createdTime": "2021-05-08T00:09:04.549188Z", + "lastUpdateTime": "2021-05-08T00:09:04.549188Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b9d05aa1b0a428b1debb4c5e3b1502fd", + "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": "Sat, 08 May 2021 00:09: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/node:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f99a7038-95b4-449b-9614-93286dc0ca3c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/node", + "Action": "delete" + } + ] + } + ] + } + }, + { + "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.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "48a93d74d92aeb4bb8f312333afcfea8", + "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": "Sat, 08 May 2021 00:09:33 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "5a09d7d2-1941-4d00-a9c7-d512d83615fb", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" + }, + "ResponseBody": { + "access_token": "Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "b9d05aa1b0a428b1debb4c5e3b1502fd", + "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": "Sat, 08 May 2021 00:09: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": "b9d05aa1b0a428b1debb4c5e3b1502fd", + "X-Ms-Correlation-Request-Id": "2830d047-02ef-4258-ba1f-be08ffb32f9f", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "3dd3a0fd-9ff1-4a67-b431-aa6cf2dbf002" + }, + "ResponseBody": [] + } + ], + "Variables": { + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "RandomSeed": "1493567547", + "RESOURCE_GROUP": "rg-localtestacr04", + "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/CanGetManifestsOrdered(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered(False)Async.json new file mode 100644 index 000000000000..43da53142328 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered(False)Async.json @@ -0,0 +1,486 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "204c45283206a7551d99b2f82f837b32", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:10: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/node:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fad12a47-9abd-40d4-8ccf-7b74f1706ac4" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/node", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "65b347d584d238d3ff139c111180d210", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:10:37 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "58fd0fe1-3747-4a5b-a6c7-ca88a97e7695", + "x-ms-ratelimit-remaining-calls-per-second": "166.133333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY1MTI2Mzh9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "132", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ee3b2f6cf6cf4000788bcec779ab9223", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:10:37 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "bf365bbc-63e0-40f4-925e-4fc2439ba012", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" + }, + "ResponseBody": { + "access_token": "Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "204c45283206a7551d99b2f82f837b32", + "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-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:10:38 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": "72dcaade-8b6d-4232-9e95-e410bdab8d33" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/node", + "manifests": [ + { + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "imageSize": 11071, + "createdTime": "2021-05-08T00:10:18.6539548Z", + "lastUpdateTime": "2021-05-08T00:10:18.6539548Z", + "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, + "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", + "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", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:39946bd9b7fab32e4b6dd10f6bfa4a2671d74aa0710bfbfe1b954fcf51f9b498", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.841781Z", + "lastUpdateTime": "2021-05-08T00:09:16.841781Z", + "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:5ed2c97205e4cf78ca60f7cf0f72634b0f48932269b71de1169215ef44894905", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.4794139Z", + "lastUpdateTime": "2021-05-08T00:09:16.4794139Z", + "architecture": "amd64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "68a0a99b4373a341711421f29643969d", + "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": "214", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:10: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/node:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "74a9a3fb-9605-4ff4-a02b-60c1f3d3cefc" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/node", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "132", + "Content-Type": "application/x-www-form-urlencoded", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ff8ba2c78d48df634773ed46b50bbe53", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:10:38 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "6080c163-88c6-4e7f-8573-60acf84556a5", + "x-ms-ratelimit-remaining-calls-per-second": "166.1" + }, + "ResponseBody": { + "access_token": "Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "68a0a99b4373a341711421f29643969d", + "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": "386", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 08 May 2021 00:10:38 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": "fe2eb2c4-af64-46f8-ab88-ae8cd4cb498d" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/node", + "tag": { + "name": "newest", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "createdTime": "2021-05-08T00:10:18.7508987Z", + "lastUpdateTime": "2021-05-08T00:10:18.7508987Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6776788069e0299cee977cbbd40daa34", + "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": "Sat, 08 May 2021 00:10: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/node:delete\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4cd25917-74a2-44e3-8147-3edb581d4d3b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/node", + "Action": "delete" + } + ] + } + ] + } + }, + { + "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.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "d60031f592200edb46c0210055faee66", + "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": "Sat, 08 May 2021 00:10:38 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "6f41ebc4-8a8e-4965-85a2-b769429ce886", + "x-ms-ratelimit-remaining-calls-per-second": "166.083333" + }, + "ResponseBody": { + "access_token": "Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210507.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6776788069e0299cee977cbbd40daa34", + "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": "Sat, 08 May 2021 00:10:38 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": "6776788069e0299cee977cbbd40daa34", + "X-Ms-Correlation-Request-Id": "9308f29f-3efb-4674-9a0d-732178cbf3b6", + "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", + "X-Ms-Request-Id": "08d50aa8-0fb6-4824-bbf5-f3794a8924a8" + }, + "ResponseBody": [] + } + ], + "Variables": { + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "RandomSeed": "1345636445", + "RESOURCE_GROUP": "rg-localtestacr04", + "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/CanGetManifestsOrdered.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json index 7228312b8f48..89540566f8be 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrdered.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8dfb416f5580c25587549fac82a4e907", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:48 GMT", + "Date": "Mon, 10 May 2021 15:38:01 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/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "eb693d96-f1fd-4394-a3a0-172199c0457e" + "X-Ms-Correlation-Request-Id": "5e607661-2099-4add-9938-43410a8cfa94" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dca4add40de0b7fd06ec55f4403c7d8f", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:48 GMT", + "Date": "Mon, 10 May 2021 15:38:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "32a4bbfc-92c2-48ef-9cb3-ca1575b14457", - "x-ms-ratelimit-remaining-calls-per-second": "165.966667" + "X-Ms-Correlation-Request-Id": "fd7f1a0b-66c1-4ad5-9115-0e5aaa8ddf7c", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzMDl9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwNzF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6676309f85a501d7d4c88e3a7e306262", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:51:48 GMT", + "Date": "Mon, 10 May 2021 15:38:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a4a1a673-d4c2-4f9b-9f10-87811505727b", - "x-ms-ratelimit-remaining-calls-per-second": "165.95" + "X-Ms-Correlation-Request-Id": "73a02d3f-82e3-47df-931b-e8855251bbe7", + "x-ms-ratelimit-remaining-calls-per-second": "166.033333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhMTNhNGY3Zi04YWU4LTRhNWItYjQ2Ni02OWQ1NzQ4ZWM1ZGEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODIsImV4cCI6MTYyMDY2NDY4MiwiaWF0IjoxNjIwNjYwMTgyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.wynAnulo_VcO1iCi5JIVMM3X2_vSNUosuyAQhvurhK7EWkB8iCuDWhhZzhhEXd6waGeabfEUZXQ_WvNLVicPqOxpi6gS4DTKC2QwkUK4tEEVJ5me2zM2WsZSC_8ArDB6BEByu7Zu88GV9PyOUe7UPyLnMXBLd7fUufZBkyq20jUpTUrfXpsJFO1rUNQLMFC_s-aMSRp_xk0DRLSccg7uYm6KNX3c8nrI8efkqYGQI5B-QDFla2T83NOyZm4kOYSDi5lh92_qktEeNJ_eVAc5Qf49ykxSqshi2S8WUoaK6kIi7tgyPnHf1G6bc4q9Oha7YgYcnFb0wdTnEpN2-Xj8YQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8dfb416f5580c25587549fac82a4e907", "x-ms-return-client-request-id": "true" }, @@ -123,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:49 GMT", + "Date": "Mon, 10 May 2021 15:38:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,17 +132,17 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "68ac8dfe-829a-44d5-b8a0-d8a311e62d41" + "X-Ms-Correlation-Request-Id": "27e39d20-617d-4dec-8303-0e8d2bdb6bfd" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/node", "manifests": [ { - "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "imageSize": 11071, - "createdTime": "2021-05-06T00:51:40.7702117Z", - "lastUpdateTime": "2021-05-06T00:51:40.7702117Z", + "createdTime": "2021-05-08T00:14:15.9628032Z", + "lastUpdateTime": "2021-05-08T00:14:15.9628032Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "newest" @@ -155,10 +155,10 @@ } }, { - "digest": "sha256:f44ace4636cf824d057cb4d8b2398fffa3e62566c24802da8f772a489f962c88", + "digest": "sha256:ea11e1551b8eacab097e49899464c91f43b8ae3f968ad6380dc853298eda5f81", "imageSize": 2215, - "createdTime": "2021-05-03T16:43:20.1552103Z", - "lastUpdateTime": "2021-05-03T16:43:20.1552103Z", + "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", @@ -171,42 +171,10 @@ } }, { - "digest": "sha256:2b67c5888e26a4427faec4741c9db1445df567c3bd76bc35c59a39f83ba75ba1", + "digest": "sha256:c63ed28e1eacdabbb45faf2f6d510568269016a8733b6b90d494d2df5c4e2bac", "imageSize": 2214, - "createdTime": "2021-05-03T16:43:18.2727928Z", - "lastUpdateTime": "2021-05-03T16:43:18.2727928Z", - "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:62bcb1931212b9afea6e4e58cb7ddb8909c4193694a297da25dacf8e3995b31b", - "imageSize": 2214, - "createdTime": "2021-05-03T16:43:16.7225144Z", - "lastUpdateTime": "2021-05-03T16:43:16.7225144Z", - "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:dceaa309b6c084372edf1677fc58f984a7e1aa6417cff4eb9936dcf3be832b3b", - "imageSize": 2214, - "createdTime": "2021-05-03T16:43:16.5172188Z", - "lastUpdateTime": "2021-05-03T16:43:16.5172188Z", + "createdTime": "2021-05-08T00:09:18.3296044Z", + "lastUpdateTime": "2021-05-08T00:09:18.3296044Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -219,71 +187,10 @@ } }, { - "digest": "sha256:841a218ada1fa2a65636b8e230236a7a0c95a322c71921373abeb765559d5416", + "digest": "sha256:51801256471176616eaac513da71c093f93f008cff96d2f3755679d72006431d", "imageSize": 2214, - "createdTime": "2021-05-03T16:43:16.1357117Z", - "lastUpdateTime": "2021-05-03T16:43:16.1357117Z", - "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:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "imageSize": 0, - "createdTime": "2021-04-24T17:48:12.9181481Z", - "lastUpdateTime": "2021-04-24T17:48:12.9181481Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "digest": "sha256:00e90d6cbb499653cd2c74a3770f4fa5982699145b113e422bdffe31a7905117", - "imageSize": 0, - "createdTime": "2021-04-21T22:48:04.9238708Z", - "lastUpdateTime": "2021-04-21T22:48:04.9238708Z", - "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:0bb7063dae2d6e3e6989f1c2348a50c03bc9d9c1e2f7ea6a0a36e9f0728ac78e", - "imageSize": 0, - "createdTime": "2021-04-21T22:48:03.4112634Z", - "lastUpdateTime": "2021-04-21T22:48:03.4112634Z", - "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:81b3054be53707dd6ab4539204281b248c7bac82235b00f4340d23392c1d66f1", - "imageSize": 0, - "createdTime": "2021-04-21T22:48:02.2682799Z", - "lastUpdateTime": "2021-04-21T22:48:02.2682799Z", + "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", @@ -296,42 +203,10 @@ } }, { - "digest": "sha256:602e9cc60c015af7cc8de2ee18bc68cfdd073f0b3dac3f39289a44f42d10f361", - "imageSize": 0, - "createdTime": "2021-04-08T22:18:32.0259893Z", - "lastUpdateTime": "2021-04-08T22:18:32.0259893Z", - "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:af0283b5c5344b9545afeb7edd52d0b59888bf7a28f1ec76ce6d4bc1bf7bb4e4", - "imageSize": 0, - "createdTime": "2021-04-08T22:18:31.1097323Z", - "lastUpdateTime": "2021-04-08T22:18:31.1097323Z", - "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:b9d70b403e98e3847537071e119d83b81939ec40d0507b5098c4151570150042", - "imageSize": 0, - "createdTime": "2021-04-08T22:18:31.0146642Z", - "lastUpdateTime": "2021-04-08T22:18:31.0146642Z", + "digest": "sha256:39946bd9b7fab32e4b6dd10f6bfa4a2671d74aa0710bfbfe1b954fcf51f9b498", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.841781Z", + "lastUpdateTime": "2021-05-08T00:09:16.841781Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -344,10 +219,10 @@ } }, { - "digest": "sha256:b32954e16cfbe12cc77d08f1ac5580684bb3cab2d31d46b129cd506f66a8ad50", - "imageSize": 0, - "createdTime": "2021-04-07T03:18:57.8362803Z", - "lastUpdateTime": "2021-04-07T03:18:57.8362803Z", + "digest": "sha256:5ed2c97205e4cf78ca60f7cf0f72634b0f48932269b71de1169215ef44894905", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.4794139Z", + "lastUpdateTime": "2021-05-08T00:09:16.4794139Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -358,48 +233,16 @@ "listEnabled": true, "quarantineState": "Passed" } - }, - { - "digest": "sha256:0850e1871e459d6d8c84375dd1dc9e151c8ec814c1d07508cfb84d31d437bb36", - "imageSize": 0, - "createdTime": "2021-04-07T03:18:56.8107321Z", - "lastUpdateTime": "2021-04-07T03:18:56.8107321Z", - "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:0aab0f340a0305d4bb68fe0e4c95772e3f42fb260a55f4ca0a2365eb67f351d8", - "imageSize": 0, - "createdTime": "2021-04-07T03:18:56.7213781Z", - "lastUpdateTime": "2021-04-07T03:18:56.7213781Z", - "architecture": "arm64", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } } ] } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "49c5318d9fd761b1434386930060814a", "x-ms-return-client-request-id": "true" }, @@ -415,16 +258,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:49 GMT", + "Date": "Mon, 10 May 2021 15:38:02 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/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b837faeb-bfc2-40ec-931e-85e0ba138de5" + "X-Ms-Correlation-Request-Id": "3c7bbad4-641e-4cc2-993a-97dc30647b36" }, "ResponseBody": { "errors": [ @@ -443,39 +286,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "510d10d7832d4e61d5a308187fc239d6", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:51:49 GMT", + "Date": "Mon, 10 May 2021 15:38:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "41cbfb5b-47a8-413f-b11b-29b32531b58f", - "x-ms-ratelimit-remaining-calls-per-second": "165.9" + "X-Ms-Correlation-Request-Id": "b31928ed-f52a-49b4-ba90-86b05003601a", + "x-ms-ratelimit-remaining-calls-per-second": "166.016667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3ZWQ3NGNjYi0wZmIyLTQ0MjMtOGU5Ny00NWNhMzc5NzY3NzYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODIsImV4cCI6MTYyMDY2NDY4MiwiaWF0IjoxNjIwNjYwMTgyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.U9LOVlh22g1xhygHA22vubQWR67IW95YaVhlUcYTNas9kVSvXQbkruJzKquhfBZXT-ge602Rwoxi-u1Xb_novOqFu4N2NavqzxQebUwuGdhq1UH2RkXRFxKQp-NSg_GI7x7vS_fhjOKigqFMly5SwJNr-Eqq1yrsiVDnJU3hscG7xrsZD9TtSV4ySa8rZ9wqfylIPBdtn7LgtwFdaSOzUOeWdYDk6QwV945mwQG4nhRxAHpNmcLwP8eEHtjFhNtwDPneN-tP2o848wlP8VUFtYVI9BezKfZ76v2KasRiMu0CFl2H66OxSb-wHoBQCounl4imVAbVyqvmoMXCTD911g" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "49c5318d9fd761b1434386930060814a", "x-ms-return-client-request-id": "true" }, @@ -491,7 +334,7 @@ "Connection": "keep-alive", "Content-Length": "386", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:49 GMT", + "Date": "Mon, 10 May 2021 15:38:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -499,16 +342,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c938a802-8a22-43b4-8491-b1c621adcf9b" + "X-Ms-Correlation-Request-Id": "f84b5042-8ab8-443c-87bb-7f8b38cd2092" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/node", "tag": { "name": "newest", - "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", - "createdTime": "2021-05-06T00:51:40.8587533Z", - "lastUpdateTime": "2021-05-06T00:51:40.8587533Z", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "createdTime": "2021-05-08T00:14:16.1196054Z", + "lastUpdateTime": "2021-05-08T00:14:16.1196054Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -520,11 +363,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0f66f28a3377ffb77f142261ff430173", "x-ms-return-client-request-id": "true" }, @@ -540,16 +383,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:49 GMT", + "Date": "Mon, 10 May 2021 15:38:02 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/node:delete\u0022", + "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": "6b789b72-fa37-441e-a91f-31d30b61c050" + "X-Ms-Correlation-Request-Id": "782736d6-8229-4a20-b662-4e63d56a518c" }, "ResponseBody": { "errors": [ @@ -568,39 +411,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6d63434710220a34d07673349798e281", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { - "Connection": "close", + "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:49 GMT", + "Date": "Mon, 10 May 2021 15:38:02 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b2fb533d-18b7-4675-bff1-406e3c0f9d5c", - "x-ms-ratelimit-remaining-calls-per-second": "165.883333" + "X-Ms-Correlation-Request-Id": "3942db89-8453-481f-ade6-cd10f878b88b", + "x-ms-ratelimit-remaining-calls-per-second": "166" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxNmU1NzllNy0yZTc1LTQ0OTEtOTlkNC02M2EwMmU5NDY4MTQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODIsImV4cCI6MTYyMDY2NDY4MiwiaWF0IjoxNjIwNjYwMTgyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.jqF4H21GI2yMZxyIkqZ-kwg1uWHOOLm_2I27E0EO4yYKKEfwuDY5OfRHVsQ79uVfm4GyaXWk9tc-w_SiMSIlLB7qP9XmCsEkPgU12jIoG3KtHJUmN0i5Zol6FI3UCrHXDqB5fn1C2gmzST1jwrGlZMEwllJhbmMXTRWu4UqKCY8RUm2TY2NkXoho899756qtZfkRHaHMcLljrUJSJC983bf1oWkvonMlCpdbV4PJNuOgGhHPjjbVCJEhfOyNuspzd5rPklsSrXgTrvygMkhUYO_CEx9ldXk7UrdhuQo-l0RVXGklNt5gXhHnZkY0j762J1QKfDXT7flED2ebiLKcyg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0f66f28a3377ffb77f142261ff430173", "x-ms-return-client-request-id": "true" }, @@ -615,7 +458,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 06 May 2021 00:51:49 GMT", + "Date": "Mon, 10 May 2021 15:38:02 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -624,19 +467,19 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "0f66f28a3377ffb77f142261ff430173", - "X-Ms-Correlation-Request-Id": "4851259b-67a2-41ae-9c3e-a4c9cb7ed130", + "X-Ms-Correlation-Request-Id": "6f860bb7-1001-40ed-828c-bf8cf9e730f3", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "e0fa0e5d-c0a4-4493-be8d-7182d4e911bb" + "X-Ms-Request-Id": "1991604d-5d84-4a0b-95fa-31bf65d18ba7" }, "ResponseBody": [] } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "5773839", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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 0baa16b565ec..674561635d50 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsOrderedAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e855b776e7cc065cacda8538d19fce89", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:36 GMT", + "Date": "Mon, 10 May 2021 15:38:51 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/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c6bf9698-1647-4447-9f27-bb88b82bc9c7" + "X-Ms-Correlation-Request-Id": "934b852c-3e88-4fe3-87ec-d6eb43895dfd" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0c11450d1e461c994724c0af80ef1a65", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:36 GMT", + "Date": "Mon, 10 May 2021 15:38:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "edd64a29-a29b-4b41-af65-20f15c47a983", - "x-ms-ratelimit-remaining-calls-per-second": "165.383333" + "X-Ms-Correlation-Request-Id": "6ab0b3f9-3c3f-455d-8783-a488a3ac0471", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNTZ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExMjF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8ed53d8bbbb5245a0baee3620a38f301", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:52:36 GMT", + "Date": "Mon, 10 May 2021 15:38:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7835f84a-4839-44df-8e48-d53687e98aff", - "x-ms-ratelimit-remaining-calls-per-second": "164.816667" + "X-Ms-Correlation-Request-Id": "2ae8e96a-8108-4061-8d00-2529ba920e01", + "x-ms-ratelimit-remaining-calls-per-second": "165.1" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI5NDdjNzJlYy0yMjlhLTRjMDAtOTI5My0yMWNhNjhjYTU2NTYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzIsImV4cCI6MTYyMDY2NDczMiwiaWF0IjoxNjIwNjYwMjMyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.sUOnp3LKrDx-kgaaWX2NgLG53kYM-ZxrOP6XsskvIafxyETrW3zdWSBC7yVVE8o8t9pmA3LTlSKQQhpGGS8N5uMf4sjPWs37WhG_jbkAiFSJKLcC44TNVL8m7sqfJk7jpjzWDcL7xnXgVPeUNw1ScHEqbjBt4N2-fe9WIBxuDKJNglraA_gfYaifatrup4aBelBZiAfPFMULQGLVHqz0y4FBTMhlNj2_MX3XDht_zMeLdp0jJQ2M-tRzKxG-GT6thzDH2lez4JHBeuKsQLBgzCGC8hw6Xw1-NqbRtvR8rFRw5WoRCMudv_aF2mjUHPvDTyf-2cbPqBu5T1wRBjrrIA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests?orderby=timedesc", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e855b776e7cc065cacda8538d19fce89", "x-ms-return-client-request-id": "true" }, @@ -123,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:37 GMT", + "Date": "Mon, 10 May 2021 15:38:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,17 +132,17 @@ ], "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d26a9cd6-cff7-4ecd-8e66-5ef394e48047" + "X-Ms-Correlation-Request-Id": "19772e00-2df9-466e-b39b-5f1a948cb19a" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/node", "manifests": [ { - "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "imageSize": 11071, - "createdTime": "2021-05-06T00:52:28.4185038Z", - "lastUpdateTime": "2021-05-06T00:52:28.4185038Z", + "createdTime": "2021-05-10T15:38:44.5751368Z", + "lastUpdateTime": "2021-05-10T15:38:44.5751368Z", "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", "tags": [ "newest" @@ -155,10 +155,10 @@ } }, { - "digest": "sha256:f44ace4636cf824d057cb4d8b2398fffa3e62566c24802da8f772a489f962c88", + "digest": "sha256:ea11e1551b8eacab097e49899464c91f43b8ae3f968ad6380dc853298eda5f81", "imageSize": 2215, - "createdTime": "2021-05-03T16:43:20.1552103Z", - "lastUpdateTime": "2021-05-03T16:43:20.1552103Z", + "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", @@ -171,42 +171,10 @@ } }, { - "digest": "sha256:2b67c5888e26a4427faec4741c9db1445df567c3bd76bc35c59a39f83ba75ba1", + "digest": "sha256:c63ed28e1eacdabbb45faf2f6d510568269016a8733b6b90d494d2df5c4e2bac", "imageSize": 2214, - "createdTime": "2021-05-03T16:43:18.2727928Z", - "lastUpdateTime": "2021-05-03T16:43:18.2727928Z", - "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:62bcb1931212b9afea6e4e58cb7ddb8909c4193694a297da25dacf8e3995b31b", - "imageSize": 2214, - "createdTime": "2021-05-03T16:43:16.7225144Z", - "lastUpdateTime": "2021-05-03T16:43:16.7225144Z", - "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:dceaa309b6c084372edf1677fc58f984a7e1aa6417cff4eb9936dcf3be832b3b", - "imageSize": 2214, - "createdTime": "2021-05-03T16:43:16.5172188Z", - "lastUpdateTime": "2021-05-03T16:43:16.5172188Z", + "createdTime": "2021-05-08T00:09:18.3296044Z", + "lastUpdateTime": "2021-05-08T00:09:18.3296044Z", "architecture": "s390x", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -219,10 +187,10 @@ } }, { - "digest": "sha256:841a218ada1fa2a65636b8e230236a7a0c95a322c71921373abeb765559d5416", + "digest": "sha256:51801256471176616eaac513da71c093f93f008cff96d2f3755679d72006431d", "imageSize": 2214, - "createdTime": "2021-05-03T16:43:16.1357117Z", - "lastUpdateTime": "2021-05-03T16:43:16.1357117Z", + "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", @@ -235,103 +203,10 @@ } }, { - "digest": "sha256:6cbc150709d59d2667f5d34cbf03fb4594dc8b34acb8872f9ab27ba915b28b56", - "imageSize": 0, - "createdTime": "2021-04-24T17:48:12.9181481Z", - "lastUpdateTime": "2021-04-24T17:48:12.9181481Z", - "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true - } - }, - { - "digest": "sha256:00e90d6cbb499653cd2c74a3770f4fa5982699145b113e422bdffe31a7905117", - "imageSize": 0, - "createdTime": "2021-04-21T22:48:04.9238708Z", - "lastUpdateTime": "2021-04-21T22:48:04.9238708Z", - "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:0bb7063dae2d6e3e6989f1c2348a50c03bc9d9c1e2f7ea6a0a36e9f0728ac78e", - "imageSize": 0, - "createdTime": "2021-04-21T22:48:03.4112634Z", - "lastUpdateTime": "2021-04-21T22:48:03.4112634Z", - "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:81b3054be53707dd6ab4539204281b248c7bac82235b00f4340d23392c1d66f1", - "imageSize": 0, - "createdTime": "2021-04-21T22:48:02.2682799Z", - "lastUpdateTime": "2021-04-21T22:48:02.2682799Z", - "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:602e9cc60c015af7cc8de2ee18bc68cfdd073f0b3dac3f39289a44f42d10f361", - "imageSize": 0, - "createdTime": "2021-04-08T22:18:32.0259893Z", - "lastUpdateTime": "2021-04-08T22:18:32.0259893Z", - "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:af0283b5c5344b9545afeb7edd52d0b59888bf7a28f1ec76ce6d4bc1bf7bb4e4", - "imageSize": 0, - "createdTime": "2021-04-08T22:18:31.1097323Z", - "lastUpdateTime": "2021-04-08T22:18:31.1097323Z", - "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:b9d70b403e98e3847537071e119d83b81939ec40d0507b5098c4151570150042", - "imageSize": 0, - "createdTime": "2021-04-08T22:18:31.0146642Z", - "lastUpdateTime": "2021-04-08T22:18:31.0146642Z", + "digest": "sha256:39946bd9b7fab32e4b6dd10f6bfa4a2671d74aa0710bfbfe1b954fcf51f9b498", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.841781Z", + "lastUpdateTime": "2021-05-08T00:09:16.841781Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -344,10 +219,10 @@ } }, { - "digest": "sha256:b32954e16cfbe12cc77d08f1ac5580684bb3cab2d31d46b129cd506f66a8ad50", - "imageSize": 0, - "createdTime": "2021-04-07T03:18:57.8362803Z", - "lastUpdateTime": "2021-04-07T03:18:57.8362803Z", + "digest": "sha256:5ed2c97205e4cf78ca60f7cf0f72634b0f48932269b71de1169215ef44894905", + "imageSize": 2214, + "createdTime": "2021-05-08T00:09:16.4794139Z", + "lastUpdateTime": "2021-05-08T00:09:16.4794139Z", "architecture": "amd64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -358,48 +233,16 @@ "listEnabled": true, "quarantineState": "Passed" } - }, - { - "digest": "sha256:0850e1871e459d6d8c84375dd1dc9e151c8ec814c1d07508cfb84d31d437bb36", - "imageSize": 0, - "createdTime": "2021-04-07T03:18:56.8107321Z", - "lastUpdateTime": "2021-04-07T03:18:56.8107321Z", - "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:0aab0f340a0305d4bb68fe0e4c95772e3f42fb260a55f4ca0a2365eb67f351d8", - "imageSize": 0, - "createdTime": "2021-04-07T03:18:56.7213781Z", - "lastUpdateTime": "2021-04-07T03:18:56.7213781Z", - "architecture": "arm64", - "os": "linux", - "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", - "changeableAttributes": { - "deleteEnabled": true, - "writeEnabled": true, - "readEnabled": true, - "listEnabled": true, - "quarantineState": "Passed" - } } ] } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f00d3e40b52858ba1d38a1a827ad86bc", "x-ms-return-client-request-id": "true" }, @@ -415,16 +258,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:37 GMT", + "Date": "Mon, 10 May 2021 15:38:52 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/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "321bb41c-7341-4e9e-a395-f2f1777692d1" + "X-Ms-Correlation-Request-Id": "be685401-649c-4ac9-9439-8bc9b1e3cf97" }, "ResponseBody": { "errors": [ @@ -443,39 +286,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "94ac1fbf3fca51d3eaec00983b37120e", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:52:37 GMT", + "Date": "Mon, 10 May 2021 15:38:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fb4f9c4b-2af7-48cf-b832-334ee5cb1baf", - "x-ms-ratelimit-remaining-calls-per-second": "164.8" + "X-Ms-Correlation-Request-Id": "ec9d8eca-850f-43ef-8292-4782d28c03b5", + "x-ms-ratelimit-remaining-calls-per-second": "165.083333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmNDI1NDExOC1jMjZjLTQ3N2QtODVkMi1kN2QwNmJlNDMzOTciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzIsImV4cCI6MTYyMDY2NDczMiwiaWF0IjoxNjIwNjYwMjMyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.zB0TVAYyWs4-6c9-7vAgH-kkKtIuAysad2S9WicKj9VsR9ASVYqocp8XCjyTCMKs_W_343nQF4Qi7gvLLiAG3Q1JgZQL31dIA4DXDyfELJn9Zu5yiHC9Wia3KFAt4hTIBL7b3Yw5yTUy20XIWP28-fZKvjrFaKOTSr2mHKMnWGHIY86GpfgQcCsNiROGbPnOBDkI9E0UoBVhEl1I-w48gYYlknAP24CE1bofQ394Dq_d38qc81l4o_ALmiVRswvlbCUQlzgrIuSkm42E4Ub14gL9DKYaHGok4NU3D2LnIwKg7UGn1l1nLhJrpwFizT6Aq1W0v4dDPs0VOUOJX-6NSQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/newest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/newest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f00d3e40b52858ba1d38a1a827ad86bc", "x-ms-return-client-request-id": "true" }, @@ -491,7 +334,7 @@ "Connection": "keep-alive", "Content-Length": "386", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:37 GMT", + "Date": "Mon, 10 May 2021 15:38:52 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -499,16 +342,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7777cb97-f364-4f25-8c99-d43a1600e1b4" + "X-Ms-Correlation-Request-Id": "d4671a1e-4a53-46c9-a486-bf1b95e4ddd1" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/node", "tag": { "name": "newest", - "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", - "createdTime": "2021-05-06T00:52:28.5331901Z", - "lastUpdateTime": "2021-05-06T00:52:28.5331901Z", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "createdTime": "2021-05-10T15:38:44.4790784Z", + "lastUpdateTime": "2021-05-10T15:38:44.4790784Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -520,11 +363,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "416ebf312ae2d53c837d717c1ab2fd5e", "x-ms-return-client-request-id": "true" }, @@ -540,16 +383,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:37 GMT", + "Date": "Mon, 10 May 2021 15:38:52 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/node:delete\u0022", + "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": "abcb052b-ddb2-4dbb-b504-260d574ed85c" + "X-Ms-Correlation-Request-Id": "4deec348-4885-4817-ae8f-e943e1a5e0aa" }, "ResponseBody": { "errors": [ @@ -568,39 +411,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "eba226285f8b01376abb053bb4211ce6", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", + "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": "Thu, 06 May 2021 00:52:37 GMT", + "Date": "Mon, 10 May 2021 15:38:52 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d7e302b7-ce6d-48ca-9643-ff1ea2818ce6", - "x-ms-ratelimit-remaining-calls-per-second": "164.783333" + "X-Ms-Correlation-Request-Id": "4f18a20b-733c-4f0f-abb1-5684e5f6482d", + "x-ms-ratelimit-remaining-calls-per-second": "165.066667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzZmIxZjkzMy04MjBkLTRiMzctYmMzZi0zYmYzOGFkNTE1M2IiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzIsImV4cCI6MTYyMDY2NDczMiwiaWF0IjoxNjIwNjYwMjMyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.GFKpGzIqQdkzTTP9srQyfRV2ibTfWhmUBD2RONh3lYzEpBOIPHFyXD8yoCgrKs17okkqmrXeFcKVzyi0RYRFcyp32id1GAgD0eQPVeJfqL8HXhO_4wH798xZFQxi8O-uuFCzn56jlWB6vlnYbBNrzjca55Yrtu3R5ZrFm28qwVNKv4qGM0ejoe8un8IP5yBQLIWKmCU7YxuMjv_cUBxw_MtYMsThN5PJKfUF8dcjcuR-9zZcFlR6TFCF871X09SmHt8HC3QSVjNtY3ajY5lgSbPx8Noh3Cx-CBrMp-rhzSaHsE-i2G7NV_dNogzyseQzybQtatzNyNZM4jccjXT3fA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "416ebf312ae2d53c837d717c1ab2fd5e", "x-ms-return-client-request-id": "true" }, @@ -615,7 +458,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 06 May 2021 00:52:37 GMT", + "Date": "Mon, 10 May 2021 15:38:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -624,19 +467,19 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "416ebf312ae2d53c837d717c1ab2fd5e", - "X-Ms-Correlation-Request-Id": "23b5bfe4-b845-4473-bd5d-1f335dd446d7", + "X-Ms-Correlation-Request-Id": "1f2e3e88-88bd-4406-9752-00ba778cb8ab", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "fe897523-81be-4532-957b-83118ec852b7" + "X-Ms-Request-Id": "62f468e0-d54c-4bf5-a998-7380c74be472" }, "ResponseBody": [] } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "152250088", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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/CanGetManifestsWithCustomPageSize(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(False).json new file mode 100644 index 000000000000..ef80376401c7 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(False).json @@ -0,0 +1,773 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "4e2446f5e8170a104498e03d01f1e8b1", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "10e26da7-80c6-4290-bb4b-e23e35116817" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "212535ea2fdbbb2b9aea1fca7d3850f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "e9786a8e-a7b0-43a1-8b42-0111dca419f3", + "x-ms-ratelimit-remaining-calls-per-second": "166.25" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwNzF9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "2594ba509ebcbdfb07bc996e0a97e20a", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3753a242-3841-4a0b-bbf3-dc35c58ad230", + "x-ms-ratelimit-remaining-calls-per-second": "166.233333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyNWIxOTdiMS1jMTdjLTRmODItYTIyMS05NTMxMzAwYTEwNTQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxOTAsImV4cCI6MTYyMDY2NDY5MCwiaWF0IjoxNjIwNjYwMTkwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.4wcVyrcDwzzZ-KLa4WFy12ZFR-GE5CNbiMPVDaRZPalV2x3Smqe7azHcNWa692esr1TkXmO3tfo6_HUDmU4A-adx-JwZkQxUyI57RSMPNApspdN1j_Hb88tasd0Ny4Ihzg5B8HBSt1akg3cmTbpgY-X1QT5eF2hFkY3XFyvU58Figcbu0x6sOGwSF5vDFbaXDFaRNJDO0bSWWPuLoVy509YfztzWuuAVIFp0fgI94RbI6v8s2l8eYuPg36cu91B1gRcMzlMqyFhDApV6X8LlnmJCG13LKbW_A-aOWv_kO2S-fdL0YKBRC1OGbIL_9t7qMFtAM-2h39_TBhXamGwdVQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "4e2446f5e8170a104498e03d01f1e8b1", + "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": "942", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "600302f9-3f3b-41f6-8c76-79624eccbc92" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.5878386Z", + "lastUpdateTime": "2021-05-10T15:37:44.5878386Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.2823056Z", + "lastUpdateTime": "2021-05-10T15:37:45.2823056Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "7eb8c79aa6e5c69a1b69b42dc9468c0b", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ec93a185-ca13-488f-a2f8-7fda438b23bc" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "46ede848c25d4cf43967191e95bcb002", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "ee20936b-48ea-4259-b0e5-381680069b92", + "x-ms-ratelimit-remaining-calls-per-second": "166.216667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkOGQxYTUyOS1mMjg2LTQ5OWMtYTQzOS04ZDBmMTRjYjRkZjgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxOTAsImV4cCI6MTYyMDY2NDY5MCwiaWF0IjoxNjIwNjYwMTkwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.120Adif7C9XUNvTzgkvxy15B1y6y2fR1QBYGxHoru9GCnJmgIl0vvuNX-X9LrKL5rZhDDY-ohMOlGp5XpbcoWW_U_cE8rHoWdMbt8KBi61B_3x6rOSSDdrEBwgZHOVsm1h2CxUZzjUvCFL9sx4xL8aASkmaPp7AqRWLzejaNf4IOHJUKxML-GaahSd8IdoZWvp_W4FBbHhAdsm8ucjkSlICdcDNLK1gWOrUsSIcf_YtTZ9hamVTssRTTKUAor_zBEwH-zfRch5YnhM1ccr8d0Xqi1bOHeFXVNr3Wa6LA2k4srMwOi-Slqc0sd3RndGKruTiv29rMCXq1AYzUzWBprw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "7eb8c79aa6e5c69a1b69b42dc9468c0b", + "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": "945", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "13a5f126-d0c1-483c-aa6f-229633c136f1" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.894152Z", + "lastUpdateTime": "2021-05-10T15:37:44.894152Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.3176414Z", + "lastUpdateTime": "2021-05-10T15:37:44.3176414Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b6301508d280a91220ce0a53eacef4c1", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a906beeb-1ec0-455b-a868-d73d0c17ed00" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "21268e309baad7add26c457e8d7b305e", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "c7e433c1-a090-4536-8ee2-e9a3ae13fff4", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1NzkwYmU1OC1jNTZiLTQ5MWMtODZiYy00Y2VkN2IwMzVmMDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxOTAsImV4cCI6MTYyMDY2NDY5MCwiaWF0IjoxNjIwNjYwMTkwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.mc5W3BEdJVcY6qniDuWgtsTGlJ6ISeCmzxXvKQuddVQ5luU_wl4YwOOrR1YR62KYrDEAzf0kFFsonsvjJjtztUsYhZ8qll3kJ30mYqUJZ70k0sa4Pap4gmB7Fa_5ciN-j96NMKK_kuwlm1Y928R8JrJh7SeGVbJ4bhio0dxRVfMrpYj5mw_iXXlBQ7SBRW6YLivvIFHbokXMBG0JJs5fS8lKxoMKlfJGVt_fKtfdeyhaNINWpN28WVnmLUlauU-z4WHUTNPs9husIVtu962aZ80SPOHbTSf28SGidfdZsQN2l5XX216tFz2_gmm3gTHX5qygACjcZ_8tu2q4jh7gmQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b6301508d280a91220ce0a53eacef4c1", + "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": "940", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2eb2dd9f-9205-4196-978d-2f1a81bcf1c8" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.70626Z", + "lastUpdateTime": "2021-05-10T15:37:45.70626Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.5004258Z", + "lastUpdateTime": "2021-05-10T15:37:44.5004258Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b325b1b8d516768ad643268fb8a1616b", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "76d0b579-05ae-43ec-8373-fc026160d19d" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "07ee58728e956c586858e3148c931ca5", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:10 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "cea752ad-db3b-4cd8-ab66-d053633d4d1a", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMWRlMWIzOC00NDViLTQxNGItOTAyMi0xYzcyMTAyNzA2NmIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxOTAsImV4cCI6MTYyMDY2NDY5MCwiaWF0IjoxNjIwNjYwMTkwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.s-LRJMFMKFeXHkZc32qG9wsr6q68i8II-a8KpjhGG99GWxkyA3REXBpnmbnRIztaUoFGAFv_6Noe5u2LkZJZCWfMpCww9UDJfu1oR9tMmZjxgK8ViTyHLORdbmzs5DinQqKJ3I5Tc8WrblwML07MSeC2OcqmU9GH4XIwHNhU794j-uditqdoen_Aj-OtHd1FM2R9Uo2AFLdwXFqg9iQDSjxgCG7W8YIcTLG2hLvnnHbrEe7nYyIs6xPhJTtFL2tFkCxVQTn_U7iVpxRT9LbaJ3qbb0oCwtKFxwfqDBl3At72DSATEvpzXZQT1Uz8Rzu9aFTme-QDGzKZu6oBzk827A" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "b325b1b8d516768ad643268fb8a1616b", + "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": "942", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:11 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "338e92f7-64c0-43d4-b600-66d56c1db833" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:45.8581855Z", + "lastUpdateTime": "2021-05-10T15:37:45.8581855Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:37:44.1596259Z", + "lastUpdateTime": "2021-05-10T15:37:44.1596259Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "389aab9d41a95baa03b04a66751d1e31", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:11 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d45ae911-853e-4d2c-9975-119fc402f531" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "340bda0a288d2ac959b84bbdf176e943", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:11 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7858a3fe-c732-44f5-b6e6-d65141cd179b", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzZmU1NGE1OS05OWEwLTQzMjMtOWRmMC1jMWFjMThhNzYzMGEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxOTEsImV4cCI6MTYyMDY2NDY5MSwiaWF0IjoxNjIwNjYwMTkxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.DWExflmybT_iudVWDJYj6qL54opCb6a63PM6pbShx-6wDYIDbusJsJGlLFqMXQHeGfF79y_2Fdwx44MafX7J7HQc8tqZHmghrwg_qTdW1l5B-nvWWYvvuFdKyF4nNUVjV-V58hgxe40w00yN_aGYoV-0aL9yy6_Alg2plJ9r_2_iRqtHwX0EXM6Fc7tYXMx0q4DJIqF3G0s_KNrNvamtRUyT0ossFsLAzm9BvM0uUN4y3K7oMH1lAjjYP2BuO0E_yp7eTYaIqbdtXgpnLVi20pw33toD1NHwR240naK1sFoiFVevp9BI-eolFfr-13qnKx4JUarA5o-5nZoDZXl_sA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "389aab9d41a95baa03b04a66751d1e31", + "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": "928", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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-Correlation-Request-Id": "a139653d-1556-498a-b3de-f891703b13f8" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:37:45.1236339Z", + "lastUpdateTime": "2021-05-10T15:37:45.1236339Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:37:44.3792995Z", + "lastUpdateTime": "2021-05-10T15:37:44.3792995Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "287921436" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(False)Async.json new file mode 100644 index 000000000000..7c4fef22c24f --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(False)Async.json @@ -0,0 +1,773 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "297578741ba394bee4d82b4c264aa82f", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d236b708-7c91-45e1-9309-fed8c04d6794" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "ae1f34e3c6bc41b9e8ab4e49a9f1befd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "8a475513-4699-474f-81ed-c457b1a3422a", + "x-ms-ratelimit-remaining-calls-per-second": "165.383333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExMjF9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "3fe8796b92640e3a7911a86a9694f78c", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "e5cbc889-2435-4ac5-b4b3-60e16bcbc46c", + "x-ms-ratelimit-remaining-calls-per-second": "165.2" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMzg2ZGIzNi0zYTg0LTRkMTMtYjMwOS0xMDg3NGRiNTc5OWYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNDEsImV4cCI6MTYyMDY2NDc0MSwiaWF0IjoxNjIwNjYwMjQxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.APLcyy4WD3bdLN6WCDKrZyTwGdRXVCwRcRHXxGmLAsCvKAy6VKWrhpilYX3jVnavxHHXz6sDHlPB4i_fZt7GnEbVAKhmGOUXchr3QZdVH-DdtY5pSe5wpsYAPnqGg5rUwPLqXa8IGFc2pPy5_glCWpYg8ZVvgg5khptn-2GolqSRSdBTyVEQrZS-epEExGMz-7KbQWPyDcYKgoZpGjjm_bK_w4vSEyg9pFGSAfZPWCLBVKzqg6R8wAzQZoF9hRGdvkVHT5sDN9p-826g_pqb8T0uxt4od3xvRRj1CloUHmb7s1Q4cBlpfzOnavQZtpoP2KDr1uL2j2Pa7w-NbbMyLw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "297578741ba394bee4d82b4c264aa82f", + "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": "938", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "39264dc1-631b-4442-b816-57a2243abea2" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.3182492Z", + "lastUpdateTime": "2021-05-10T15:38:34.3182492Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.16688Z", + "lastUpdateTime": "2021-05-10T15:38:34.16688Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "e696826f386fae86bf3340f8cc75ebf3", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "0a06f57c-e1b6-4f1a-8ea8-238457628136" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "ade02e1a686150caf91034aa1d4fab54", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "cd505fc1-ae23-4abf-966b-282a37dc002d", + "x-ms-ratelimit-remaining-calls-per-second": "165.183333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlZjQzODAwMC05OThhLTQ1ZDUtYTAzZC1hYzcwNTk1ZTVlMzgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNDEsImV4cCI6MTYyMDY2NDc0MSwiaWF0IjoxNjIwNjYwMjQxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.A0gV-OzjKdNsmOa4EyTUbaosyllg50cJFsnAcwVLWNYYfM2BTDWJki67C5wQmhROkDwvLBVo24M8LDAIhp2kHZEKpDfRllH4zJNacbOdFqK0ValgzlH1U2GJLQa7PUszeTfd_hEJ6wMJH7N5PtVYsErY_8dnOoWBNczI4CaI_Emz0NnENq3TgIhVPEHbZaCyd0yjrHOjrttOsxKEx0q2l3Rcg7pDOZdbxQ3QXS5S-kaH98bzN0Nx75bPK9z9IuWcJ1SUe2HgXJhxgw1hCnwjW_3YgMcEqM4bvZpkL6m_QJtCDVpOY8SmT0b69Wsoe6tjy3olN-kY-HI3fgv79RIrZQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "e696826f386fae86bf3340f8cc75ebf3", + "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": "947", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5d3bf2a0-cf2e-47fd-9755-5f888f38d802" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.7216413Z", + "lastUpdateTime": "2021-05-10T15:38:34.7216413Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:34.5244122Z", + "lastUpdateTime": "2021-05-10T15:38:34.5244122Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "26d9c2b4d75a338ef33a803151424204", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cb151330-ba36-4cd9-a3bf-1d3933cdaabe" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "684fb52649b4072ab745ec5f03db906f", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "2628007e-92a7-43e2-9322-960409fd783e", + "x-ms-ratelimit-remaining-calls-per-second": "165.166667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjZDE5NDU4Ny1hNzFiLTQ1MzUtYTdmNy05ODkwZTEwZTgzMzYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNDEsImV4cCI6MTYyMDY2NDc0MSwiaWF0IjoxNjIwNjYwMjQxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.TX6r_Ou3osw63WsZ7_PM10RvastIKafGYh0ZyVIyhxNXwuYmn5phAp1xU8SiSpdNup8wSp1w_PNM5QzftOUuSgdj_qZr1nRfk8Ra5DdG_Xb9YJQST6_Esj8zc7YKMdo_TAvKdl4pGLEG1-q9HzrTMTco3Rt2eBvm_D3VFzlbp4SC4zKhsj0RAtKsnkTFltV9udEy7ZI5ZwV_wwCNFygvbVzS9snNh3Ltca8kBfrDarvIQ-wlJwczlIFoKUPkJku-LEH8Ba2KcqU8NwNEhNwRfUn6ghkb18SAonWx2TyuHcBqSWdb8E5-552vPtKsoq1fhb-PnVLyqSdqwJo7uuQ6wA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "26d9c2b4d75a338ef33a803151424204", + "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": "close", + "Content-Length": "942", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2a39db11-465a-400f-8838-d815fbe925e7" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.5320683Z", + "lastUpdateTime": "2021-05-10T15:38:33.5320683Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.832112Z", + "lastUpdateTime": "2021-05-10T15:38:33.832112Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0a44ec87c49b4298a0acba26e799ffb7", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "56d19b6d-f8da-4092-a511-0001e358ebe4" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "688430ce43006aa097d26e15ea2e3017", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0370daf2-ec8a-49d7-bf08-c8c603ac3ca6", + "x-ms-ratelimit-remaining-calls-per-second": "165.233333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0ZWM1NzI5Yi03ZWFhLTQyZGQtODgzZC0xZTMyMjhmMzUzY2QiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNDEsImV4cCI6MTYyMDY2NDc0MSwiaWF0IjoxNjIwNjYwMjQxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.RoyyDsVT0PggkRx2BBxnCFgu22G9gFduvVKJ6PpLrWoku1j59_Phcvo9SxDYItjJeLrFjclDOtflIAkOI6zz3EzlTx7UVYqUMfHLZnw5Pw88gRJ2DWfC93QIInZYt2qSUn8L-NSEKPsp0nOojk1BTE6wzXyrve1aruUeSzQJAmWIlpN8Vtsol65-_e2RY6mcPzJwgemyrp7jHkWrjjqLviwxDVrexbqn__Z0G9jvTE60FQJVKjfX5wRYcja9Yt5BSNTSC4M0Ll_lJDdSgPAfafvT3brM8poi7TIOebTv-SaE2Yn4_iS4pjj9ERTC2v3I7CZd1KlDMHFLQ1A1oNGo5g" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0a44ec87c49b4298a0acba26e799ffb7", + "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": "940", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:02 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "937d0e30-1fef-43e3-92ce-278610ec4c4b" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:33.772768Z", + "lastUpdateTime": "2021-05-10T15:38:33.772768Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-10T15:38:32.9833374Z", + "lastUpdateTime": "2021-05-10T15:38:32.9833374Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "65aa11aa37fd61691c0cc7078f031f1e", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:02 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "011a0c0f-5069-450c-a673-d08af75fab03" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "d29035462856436f4bd972c856835871", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:02 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3bb5f176-1eb6-45f7-8ad2-7ae9e5e93e4a", + "x-ms-ratelimit-remaining-calls-per-second": "164.733333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwYTBhYTA3ZC04ODE0LTQzMGYtOWY2Mi04YjkyZDZmMTlhNDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNDIsImV4cCI6MTYyMDY2NDc0MiwiaWF0IjoxNjIwNjYwMjQyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.A8UvYw7RDPeEwfKf91Rw5xP71OHhmNG8z60ZRhEaXOb7TVlaLdvK8NNTyXb29bnqPc_zfn46d4NwdlZu941QjPOf_dUXg1IKxVtYNKH7GgAnjEE1K_RIJMkUEJNs_6zPwKc9UT5tMa-NYKRkfMLXLZQpCbGU8jUkiiVRrl8RPyQZ1aMspMaSLAE9H9lYKLL04TSUuTTU8_e3_1jjquLl8qTjcC6SgkbJM6rItiw8stF8JJuTT-vIi11a3abA1QP1EvVYXDZyoyHXm4QLLX5CM0xTikqEfRMc3PyTMmtR2qiEjLWpCvw2iAr8rytBiwuxWNNIIZEXhbi8U20_Wtf-Gg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "65aa11aa37fd61691c0cc7078f031f1e", + "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": "928", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:02 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": "3b80f3c8-3e3a-4f91-b2f1-add2db1ff67c" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-10T15:38:34.4427669Z", + "lastUpdateTime": "2021-05-10T15:38:34.4427669Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-10T15:38:32.7250539Z", + "lastUpdateTime": "2021-05-10T15:38:32.7250539Z", + "mediaType": "application/vnd.docker.distribution.manifest.list.v2\u002Bjson", + "tags": [ + "latest", + "v1", + "v2", + "v3", + "v4" + ], + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "528715708" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(True).json new file mode 100644 index 000000000000..e00903492ce9 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(True).json @@ -0,0 +1,747 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "38ee4110561a4ed1889200023e5a7488", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "54915212-3737-43d7-8f6b-d2ad7a956be0" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "b20db9c85e75b05eb7bde00b2ab81c6c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:08 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "f0e3a50c-6856-4ee6-a191-dce70159351c", + "x-ms-ratelimit-remaining-calls-per-second": "166.333333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "38ee4110561a4ed1889200023e5a7488", + "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": "946", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d9253a50-f1ca-4108-9770-934f2660fcd6" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.9287786Z", + "lastUpdateTime": "2021-05-07T19:07:38.9287786Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "51fda21df5b7e9acd0ae278eb0d95ad2", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c31e1824-64ae-4ed9-ae07-745e2d168d73" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "392e60f6e442b2b5e23e815d75c524cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "baa602a8-0d3a-438c-b596-f19b450123ed", + "x-ms-ratelimit-remaining-calls-per-second": "166.316667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "51fda21df5b7e9acd0ae278eb0d95ad2", + "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": "951", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "49e6633c-c46b-4602-b127-f5795578a44b" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "9be49476235cd3d10d24e2c737cfffdd", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "540aa5d6-2857-49d8-9d3a-0b54c28375ec" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "c9150e62e38a3929ed4b6e78734e730b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "bcda2de0-3a8c-4ec5-8b7a-1cfa33a2b865", + "x-ms-ratelimit-remaining-calls-per-second": "166.3" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "9be49476235cd3d10d24e2c737cfffdd", + "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": "946", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "889d3fbb-0984-4cf0-a284-7f5b77d362be" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1c185789bff4d3758f5a2b1e02ed7b13", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d6162b8c-9c04-4197-8342-0ffffdaf7bf0" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "66faa33e5bb093446aabae11b4585fbe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "dcb3187d-fd0a-4246-abed-a75e395e957c", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1c185789bff4d3758f5a2b1e02ed7b13", + "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": "946", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "46cb4e59-31eb-4844-a666-81d2111388f4" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "df3dd6b0e3b7a3e99941392fb70a36ff", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c9f112de-9b15-477d-856a-d96a9e2fcd49" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "d0395bd00c532e5a1284b14811641e36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:09 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3a4fc9cd-042e-4f91-af0c-e288ed22078e", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "df3dd6b0e3b7a3e99941392fb70a36ff", + "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": "937", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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-Correlation-Request-Id": "ce6a0dc8-91a0-4b73-88ee-7d62270ed1ca" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "683737743" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(True)Async.json new file mode 100644 index 000000000000..24629a9bb34e --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetManifestsWithCustomPageSize(True)Async.json @@ -0,0 +1,747 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "139fb1784bf4cab03c9cb9b147863336", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "19ca2e03-2a1c-410a-af7e-3d77a52df2e0" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "47400b5031a58c6c404fdbc63cad175d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "90034442-1e87-4dd1-80cc-0f24281e2dd3", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?n=2", + "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 )", + "x-ms-client-request-id": "139fb1784bf4cab03c9cb9b147863336", + "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": "946", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "3df11169-6a8b-4945-bc5a-260531156e06" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.9287786Z", + "lastUpdateTime": "2021-05-07T19:07:38.9287786Z", + "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:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7424525Z", + "lastUpdateTime": "2021-05-07T19:07:39.7424525Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "13ce128ea119fe23b6612015cd37c2e0", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "44191dfc-6199-4daf-b173-bc865a77ea3c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "c12f3ff03c1c47874512d3a470e98d8f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3634c267-4fb3-45e4-b222-0817166c378c", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "13ce128ea119fe23b6612015cd37c2e0", + "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": "951", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f91ec90b-4a99-4370-a4d7-34008d7b24d9" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:88b2e00179bd6c4064612403c8d42a13de7ca809d61fee966ce9e129860a8a90", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.7905111Z", + "lastUpdateTime": "2021-05-07T19:07:39.7905111Z", + "architecture": "mips64le", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:40.8769807Z", + "lastUpdateTime": "2021-05-07T19:07:40.8769807Z", + "architecture": "arm64", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "35235c8520b7af1de84290431056be08", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "08b20a78-a9bb-4939-a623-f608188884ac" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "fcd6fa8d557e51408b86ce06ce7e8ecd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "9d893651-dc7a-4984-a78b-0c5dafbdbd2f", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "35235c8520b7af1de84290431056be08", + "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": "946", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "96e7a1f3-648f-4cf6-9f61-4d08d6ff1e9a" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:bb7ab0fa94fdd78aca84b27a1bd46c4b811051f9b69905d81f5f267fc6546a9d", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.702719Z", + "lastUpdateTime": "2021-05-07T19:07:38.702719Z", + "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:cb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:38.7835794Z", + "lastUpdateTime": "2021-05-07T19:07:38.7835794Z", + "architecture": "386", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "709091d38d14cf282280d9daab4337ee", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "77644265-d8fc-47c3-8869-d27bf793390f" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "7517cb5391132f101bd1a9305116e169", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "d5f5efd6-bcb5-40da-8057-288b71c2fedb", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Acb55d8f7347376e1ba38ca740904b43c9a52f66c7d2ae1ef1a0de1bc9f40df98\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "709091d38d14cf282280d9daab4337ee", + "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": "946", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "f3501775-db59-4861-b9f7-000358a427ac" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.0922794Z", + "lastUpdateTime": "2021-05-07T19:07:39.0922794Z", + "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:e5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9", + "imageSize": 525, + "createdTime": "2021-05-07T19:07:39.5893711Z", + "lastUpdateTime": "2021-05-07T19:07:39.5893711Z", + "architecture": "arm", + "os": "linux", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "7e70c3b34ec600f3d106dafd7c66a647", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2c1b7066-0146-4b73-b3d8-df00d455fb53" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "02b2e04f186742ba80605443e3f77e0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "29e6b260-76f9-41de-95c8-d378b03c875c", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests?last=sha256%3Ae5785cb0c62cebbed4965129bae371f0589cadd6d84798fb58c2c5f9e237efd9\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "7e70c3b34ec600f3d106dafd7c66a647", + "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": "937", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:00 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": "81568684-30f5-4c6d-88ab-05e3b2952780" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "manifests": [ + { + "digest": "sha256:ea0cfb27fd41ea0405d3095880c1efa45710f5bcdddb7d7d5a7317ad4825ae14", + "imageSize": 1125, + "createdTime": "2021-05-07T19:07:39.2114224Z", + "lastUpdateTime": "2021-05-07T19:07:39.2114224Z", + "architecture": "amd64", + "os": "windows", + "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true, + "quarantineState": "Passed" + } + }, + { + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "imageSize": 5325, + "createdTime": "2021-05-07T19:07:37.85514Z", + "lastUpdateTime": "2021-05-07T19:07:37.85514Z", + "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 + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1456084727" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json index 9f42e983fbfc..4120b03bbc26 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryProperties.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3a6b7f8b94c223854b44e375d3bb28da", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:51 GMT", + "Date": "Mon, 10 May 2021 15:38:02 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "176142e9-85d0-4409-8e32-52e765769eb2" + "X-Ms-Correlation-Request-Id": "1620dc2e-7319-435f-bb00-89108387029d" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e57ae8347b7f01f2e772010420c83025", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:51 GMT", + "Date": "Mon, 10 May 2021 15:38:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9f24e09a-c7ba-40e4-8df5-60f1fc7a772d", - "x-ms-ratelimit-remaining-calls-per-second": "166.533333" + "X-Ms-Correlation-Request-Id": "2c52ed8b-11a9-4b45-ade4-a2511fb0b288", + "x-ms-ratelimit-remaining-calls-per-second": "165.983333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzMTF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwNzF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "032f0d97205cdfcd1722a429e96231d6", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:51:51 GMT", + "Date": "Mon, 10 May 2021 15:38:03 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "55bbf1b6-31fd-447a-a3e0-2b144354e2e6", - "x-ms-ratelimit-remaining-calls-per-second": "166.516667" + "X-Ms-Correlation-Request-Id": "dfb79317-cccc-4240-aa47-e06d5bb81bf6", + "x-ms-ratelimit-remaining-calls-per-second": "165.966667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI5OTY0ZTA0NC0xOGNhLTQ3YmItODMwOC03NmU0NWYwMDNjNWYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAxODMsImV4cCI6MTYyMDY2NDY4MywiaWF0IjoxNjIwNjYwMTgzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.15wiJ-L4USeF92w_NfHxCvGif6U0q4IPdfD_Va1v_B5uho9dsC10mPFE4q9dhscyAQvHYC3MUSMfOey1-gDYBV-47sMMF35KfUe-ttGh-upWGOf2fS7pI4gDHP-xmRuECVORAg4hKwH5b6_aRnpUrj3WICD8XHs1TigBdNfYPSf0tI3f0SsApyspctoQc5XZjrtia6zLZ2p0pwLklxBYn1m2meEydxHUZXXfu0XlG_DTafbKa54Aod6mYYUJgK9rhuNT7-YvwzKJxRI84J0FfxkJDIxmlkJDr8J9gaifmJ-w-L_l-Lf4fBNBcR7Kih_58gcA4XCQySiobUazNLbSGQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3a6b7f8b94c223854b44e375d3bb28da", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:51:52 GMT", + "Date": "Mon, 10 May 2021 15:38:03 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,13 +132,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e65de51b-2ad9-4a04-9be4-55bf3d9e7dea" + "X-Ms-Correlation-Request-Id": "bb797d5e-3fb6-4321-b940-aaef3c709425" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:51:26.9173869Z", - "lastUpdateTime": "2021-05-06T00:51:25.2325645Z", + "createdTime": "2021-05-10T15:37:44.1076792Z", + "lastUpdateTime": "2021-05-10T15:37:42.1740066Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -152,7 +152,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "109656421" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json index cc1c4c7f4cfa..abaf8f63ce29 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanGetRepositoryPropertiesAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "572c2c4b3486d4cec50e9ce022ef7695", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:39 GMT", + "Date": "Mon, 10 May 2021 15:38:53 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e39e0c65-88a0-40d1-80a5-92114eba5ebe" + "X-Ms-Correlation-Request-Id": "d8ae648e-e04b-4893-97c3-209aa3bb10c8" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "49c6126fe5745b15065e8af81dc3d638", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:39 GMT", + "Date": "Mon, 10 May 2021 15:38:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7d7344b4-e06e-4b8a-a5d5-9fe026ba2221", - "x-ms-ratelimit-remaining-calls-per-second": "165.65" + "X-Ms-Correlation-Request-Id": "45f02d45-0242-4682-bf00-431bce479e60", + "x-ms-ratelimit-remaining-calls-per-second": "165.05" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNTh9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExMjF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "227de8bc69675d535e72ebaba81b7091", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:52:39 GMT", + "Date": "Mon, 10 May 2021 15:38:53 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3431f0bf-9f6b-46e7-8772-c634074c0d3c", - "x-ms-ratelimit-remaining-calls-per-second": "165.633333" + "X-Ms-Correlation-Request-Id": "9ff8d6b7-c793-4063-8229-62212bbdbc11", + "x-ms-ratelimit-remaining-calls-per-second": "165.033333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzY2MzNGY2Mi03OGU0LTQyNmUtYjBkMy1iM2E2MDY4ZTM3YmUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMzMsImV4cCI6MTYyMDY2NDczMywiaWF0IjoxNjIwNjYwMjMzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.cBNmboPEpck5bXgjh6WrwuT0M_hedCrBuhYYsCP24IQ3iVKjQV9NnF5AZ4z0jAdiVFWEQtvAXdcdwF87NzDb05gJfMlbBVnHA-wXkaaNxlyEB1lEuznVJdpXjMCxe_cY8uaSNclhFsCBEb4HVKNFFcCCCAMJsaRiTSEiy5JAmXksQ5-KBchtEAvXCcumJGccG85jLs5j3uDqpCRpagTxqE6uZirT4BT4h_LwpUYpsQO2hJMxzOTF7kEfMJ-L2z5uCCS69G7LUlGIqOhLPZTsS8vM8_tRM89w95DGnVfxPdDwhUg57qcH31GHd9qFgb7hbkz1oroDhNyzJX36Mn5Qvw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "572c2c4b3486d4cec50e9ce022ef7695", "x-ms-return-client-request-id": "true" }, @@ -122,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "326", + "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:39 GMT", + "Date": "Mon, 10 May 2021 15:38:53 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,13 +132,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1998fe96-054e-417d-bf59-a9873431c25e" + "X-Ms-Correlation-Request-Id": "ea335984-e263-486d-ad6a-dcf238dc1e03" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:52:13.8006515Z", - "lastUpdateTime": "2021-05-06T00:52:12.166376Z", + "createdTime": "2021-05-10T15:38:32.7001869Z", + "lastUpdateTime": "2021-05-10T15:38:30.9547013Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -152,7 +152,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1386774365" } } \ No newline at end of file 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 88faf48c95db..3fbf74d70474 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5010e5c3a81a414fcce238a206c8841d", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:21 GMT", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "14bb119e-2225-4c00-b876-9a3e6d0eeaa5" + "X-Ms-Correlation-Request-Id": "0226a925-26a4-44a0-b6e5-8f94c51432db" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e52a90f92f59bcd183f821fcf08aba50", "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=localtestacr04.azurecr.io\u0026access_token=Sanitized", "StatusCode": 200, "ResponseHeaders": { "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:21 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c10a028e-288b-4869-b84f-b87bd61e3b92", - "x-ms-ratelimit-remaining-calls-per-second": "165.816667" + "X-Ms-Correlation-Request-Id": "b5c47886-925c-4bf0-aed7-c69094d6b2c8", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzNDF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEwNzF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "94dfa8441163445da09b40968a4ddd57", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:52:21 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "78e3522c-5db8-429c-af0b-e15f765b0fea", - "x-ms-ratelimit-remaining-calls-per-second": "165.666667" + "X-Ms-Correlation-Request-Id": "c8a031fb-cccd-49ea-aa9a-00b6738384ab", + "x-ms-ratelimit-remaining-calls-per-second": "165.783333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkOTZmNzBkYS1lYjEwLTQzYTItYjE0Ny0zMTg0ZGUzZTc1ZTMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMjAsImV4cCI6MTYyMDY2NDcyMCwiaWF0IjoxNjIwNjYwMjIwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.St5LYpsFhz6wq54NBqcq8TSy9M1lMV11iNxY8F6cZcvAWLdSD8s4Z_-ryOdJ5NVLnhUWczJDsyN8TaHgqH0BqEWvvFEWfCqcLP1wd5LtADZonfSjDEX-LTpkL2a9_DpzKuiGMVWW7Hryj_kBwBp5DGKCvanKZ0rqD1W7Lu7OGewfoD8noEWm55ZhwYwosbgt_kH2OqZxE-iwCHWcc8XexBNd4DmcTnfJADtBEu0x3lmyoJFVZsu5EUyc9HCe169an8dCF00iYCDUd5hsTwbAg9pbPTaJfcgVZjb9ukEAreM6qAlYGXdPez4QFQ-VfeDRlnVCANKNEzqsMy70w_f9Jw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5010e5c3a81a414fcce238a206c8841d", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:21 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,13 +132,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "20be89d9-d2e1-4016-a248-ced55a7f4d7c" + "X-Ms-Correlation-Request-Id": "8974e9d5-a77e-4f4d-9925-57772acf524b" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:52:13.8006515Z", - "lastUpdateTime": "2021-05-06T00:52:12.2764048Z", + "createdTime": "2021-05-10T15:38:32.7001869Z", + "lastUpdateTime": "2021-05-10T15:38:30.9547013Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -151,13 +151,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "84", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "876ebaef5b0293011354cd2187535141", "x-ms-return-client-request-id": "true" }, @@ -178,16 +178,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:21 GMT", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f31dac80-b4c6-491c-a4ac-fe835ec02271" + "X-Ms-Correlation-Request-Id": "a0a2b1e7-d8cc-44f6-95c8-dbb52c03a9c8" }, "ResponseBody": { "errors": [ @@ -206,41 +206,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d5de828f0e9e8b932e645beef3b3235", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:52:21 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "76baebb1-d09b-483d-89bb-003f01749a58", - "x-ms-ratelimit-remaining-calls-per-second": "165.65" + "X-Ms-Correlation-Request-Id": "1fb282b6-06b9-4131-a364-54914ca24665", + "x-ms-ratelimit-remaining-calls-per-second": "165.766667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiZDJjOTdhYy1hMzFjLTQwYmUtYjY4YS05NjEwNDAwOTgxZTYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMjAsImV4cCI6MTYyMDY2NDcyMCwiaWF0IjoxNjIwNjYwMjIwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.I7fhw9c1tAPY8I-mt6hFLE8e-fb5MVD-rfRDxOi3UbyHGLtjXncpFV15Ht12EBPObHdD-dlqPgErvum2v8d5hatO4ewxXBKOqY_V4kw98cHrDFkFQQF1DfFnDpF7hX8p9L98mSnw2Y2dghPYpAW3PF_n3k9vCotB5tI6NUQaYNiZRMm_RXzYjOSZPw4qg369Bwa7lLPlkeaR0cFY5-Af8kUji7BjizQqq5PE8uCOYUWczDBUfUtmmMEZ81IV04sFCoggM4PllzoxL7Il63Y74kK4XLdtEd5uVe0C07F3t6SF0zC41Eo2UwEf54ogyfYd3Du4farWVIs94PBWfdFA2w" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "876ebaef5b0293011354cd2187535141", "x-ms-return-client-request-id": "true" }, @@ -259,9 +259,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "330", + "Content-Length": "331", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:22 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -269,13 +269,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4ee45a1f-1c67-4410-9428-af5100ff1d6d" + "X-Ms-Correlation-Request-Id": "e0d580df-8373-4e9c-a297-7f2264038b43" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:52:13.8006515Z", - "lastUpdateTime": "2021-05-06T00:52:12.166376Z", + "createdTime": "2021-05-10T15:38:32.7001869Z", + "lastUpdateTime": "2021-05-10T15:38:30.9547013Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -288,11 +288,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "350cc91b321be94ea74b800f433bbd4c", "x-ms-return-client-request-id": "true" }, @@ -308,16 +308,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:22 GMT", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "bee625f6-1f7a-4b29-a669-38aae0c5d935" + "X-Ms-Correlation-Request-Id": "e57833ff-dada-480f-a824-48799979c942" }, "ResponseBody": { "errors": [ @@ -336,39 +336,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a26efe4a7ff0ff6e0186541c1643a4d8", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:52:22 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "31cab55d-f938-4c36-b943-b9be59b2f5f2", - "x-ms-ratelimit-remaining-calls-per-second": "165.633333" + "X-Ms-Correlation-Request-Id": "3fc1f9ea-1c56-407d-92aa-dbcd0b500cc7", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzYTY1ODJlYS1jMzI5LTQwOGUtYWJjOC0yZTFmNzQ2NTgzMmEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMjAsImV4cCI6MTYyMDY2NDcyMCwiaWF0IjoxNjIwNjYwMjIwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.G1i2A1MoHp33rfswtvIjdlOQoAlGq17HpWKoYy0NeCobGC7TFLqiJnC2MC2oKO6HxdS0MGGweCoxg0av2FGqmnG86TMeeiDim-97vBzxWLBB_W-wkb2mwPCb3AsZKVMb6z6vud7z7uOi4hteYlmOrrKwh2bbSL-OBZV3JWK25qFsUAIgOs0t25HzcpN0D7jkifN0uvYzU3lIwMsYHuoBG72debtqC963lyWzHFEkv2lksCnVJUcNZBidkqlrLI4RgXZz9hrcjv1HWzRxvbFA2Eng8PvnPTMl5N_naSksx77Z2ajfx249YytX734eh14kjFho-w3n6n2HKnvJM2e6-w" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "350cc91b321be94ea74b800f433bbd4c", "x-ms-return-client-request-id": "true" }, @@ -382,9 +382,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "330", + "Content-Length": "331", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:22 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -392,13 +392,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6f61adf3-8cb4-47b2-a6d2-3243cd239963" + "X-Ms-Correlation-Request-Id": "3dffcfda-22d3-4858-9381-52ca8e8db1cc" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:52:13.8006515Z", - "lastUpdateTime": "2021-05-06T00:52:12.166376Z", + "createdTime": "2021-05-10T15:38:32.7001869Z", + "lastUpdateTime": "2021-05-10T15:38:30.9547013Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -411,13 +411,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "bd0698221b47f5259974b69d70aaa4f7", "x-ms-return-client-request-id": "true" }, @@ -438,16 +438,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:22 GMT", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f9ecb41f-3f0d-4ed0-86d1-54abf43d1d88" + "X-Ms-Correlation-Request-Id": "09f7b4a9-dd71-42ef-8721-4e56b4cae7c8" }, "ResponseBody": { "errors": [ @@ -466,41 +466,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f073f8288fcc9b455b0d3395dd32d264", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:52:22 GMT", + "Date": "Mon, 10 May 2021 15:38:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d35494bc-d36d-4b8e-82a1-0b9c32d8e943", - "x-ms-ratelimit-remaining-calls-per-second": "165.616667" + "X-Ms-Correlation-Request-Id": "7525a543-9ef7-4635-a9a4-09f0155e6af8", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlNGUxODk1MS01NGM3LTQ1MWYtOWFhNy0wOTFlZmMyZjVkYTYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyMjAsImV4cCI6MTYyMDY2NDcyMCwiaWF0IjoxNjIwNjYwMjIwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.WD1cuFVs1WhdCQZSYWAdAk5DjKw_OKeoqr6hbQXwyf7YGWmBSsjlykGD1i_CkkfVKNMvK_P8Oz-9-jP-qsCS7vVyrelDUh198m8aW59etdMlCGxcuCuYbl6UnUzamjJaYVNAkpOHezxBFLhmzRlbwscB-V11KbIc_TRdEArFzdCSqpx1Siwio4nwOw_LPuq5OnPRUHXdIjzxjiDtOF9AkNq7yCP25rJ53sSOvi_P5B6wOa5JWV9q4B_QNQJ65n_vN2ce09e9ybFSGMhrkiiIRm_FD78w0hDJy4k6pDPr1JJhRZXTekFhwMBuc0ZAmGGCRDRXIeZKcFCvHOMMGSPSaA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "bd0698221b47f5259974b69d70aaa4f7", "x-ms-return-client-request-id": "true" }, @@ -519,9 +519,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "326", + "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:52:22 GMT", + "Date": "Mon, 10 May 2021 15:38:41 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -529,13 +529,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f0f5990b-48ff-4172-8493-c470939c54e6" + "X-Ms-Correlation-Request-Id": "520e23f2-5eb8-4068-ad37-ccf166eb6693" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:52:13.8006515Z", - "lastUpdateTime": "2021-05-06T00:52:12.166376Z", + "createdTime": "2021-05-10T15:38:32.7001869Z", + "lastUpdateTime": "2021-05-10T15:38:30.9547013Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -549,7 +549,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1041870530" } } \ 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 2c8fec77df20..97c9d554591e 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryPropertiesAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f959e875a8dabeba67d058ba51a93d35", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:08 GMT", + "Date": "Mon, 10 May 2021 15:39:31 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "00dcf4a8-8420-4089-b132-f7f4a01be162" + "X-Ms-Correlation-Request-Id": "2db8d612-ff07-4f39-87d5-a9e6aca6385b" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5c8f81327e894d0d3738a1c590821969", "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=localtestacr04.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:09 GMT", + "Date": "Mon, 10 May 2021 15:39:31 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3fa6a44c-28a4-4689-9e10-9ad160095684", - "x-ms-ratelimit-remaining-calls-per-second": "165.766667" + "X-Ms-Correlation-Request-Id": "f2f8c0db-146a-4067-ac57-9cd2e8317b27", + "x-ms-ratelimit-remaining-calls-per-second": "165.916667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzODl9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExMjF9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1185a4c12e68687671c1748c8a6aece1", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:09 GMT", + "Date": "Mon, 10 May 2021 15:39:31 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "368f8014-75e3-4007-af01-041512d9cb94", - "x-ms-ratelimit-remaining-calls-per-second": "165.75" + "X-Ms-Correlation-Request-Id": "d1ea5292-db98-47c0-a048-7806058adf6e", + "x-ms-ratelimit-remaining-calls-per-second": "165.816667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkOTI5YTk3ZS05MjQ5LTRjZTAtOWE3Zi00NjE1Njk3NDk5NDEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzEsImV4cCI6MTYyMDY2NDc3MSwiaWF0IjoxNjIwNjYwMjcxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.SJmuOQeBt5WXv1CPR7L61Q4cOCtjt1Dwy_wtuxXunmUxw4-geATU0BgGegAtSJjwxz7TXApMUP-KVPHaUOyzh7fTW1KMrkOozPCiNbZn2G0QXuXqL6wCqRJyMCaeyPRbkeUpY34eQ8-ISf9kfy2Fpl2gr-n8ctEnQ6MPfE0WrUYR3FJTzM8k5YJY-2emZ5WdiUpSkopL8k5ja6vmZDi7S4Rd7d5XCDcTMxE_pMaTBWX0H22vxYS3QTbXmySgIFB6IFQ1RpJFo262yFGH5TD8PvRSveqRcJJso-BHkBkGhxdQ8g8wDJtd7Tx8pnJf8-b15yTciSjNYCGvaMYsQxMuFQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f959e875a8dabeba67d058ba51a93d35", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:09 GMT", + "Date": "Mon, 10 May 2021 15:39:31 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,13 +132,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c0f4f106-7b1b-45c4-a71b-a41eca7d8c02" + "X-Ms-Correlation-Request-Id": "a142422b-9bf5-4ce7-87ba-41d0c7b44b3d" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:53:01.3620179Z", - "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", + "createdTime": "2021-05-10T15:39:23.6841154Z", + "lastUpdateTime": "2021-05-10T15:39:21.9540372Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -151,13 +151,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "84", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1beac7e18158f7f2db0cc1a106f42de5", "x-ms-return-client-request-id": "true" }, @@ -178,16 +178,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:09 GMT", + "Date": "Mon, 10 May 2021 15:39:31 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_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a4054f3e-06d0-48f4-a81b-f1563b612687" + "X-Ms-Correlation-Request-Id": "597085e2-4e03-448f-82a2-c160c8dd6bb4" }, "ResponseBody": { "errors": [ @@ -206,41 +206,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "adf8eeb62c2303cd0b26ebc70a81c2cd", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:09 GMT", + "Date": "Mon, 10 May 2021 15:39:31 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b4d0c7a9-980a-455a-a4d3-b1951b599e51", - "x-ms-ratelimit-remaining-calls-per-second": "165.733333" + "X-Ms-Correlation-Request-Id": "638d0b5e-0f71-462d-b6a9-c0d0edd35ae6", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxNTJmNzg1MC03MWI0LTQ2MWMtODdmNy01YjFhYTYyY2I5ZTQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzEsImV4cCI6MTYyMDY2NDc3MSwiaWF0IjoxNjIwNjYwMjcxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.N_NnIhzKGPvPrCKJvsGkQ2pRAombYCHHr4vOweof-2lp1z8kuB-5cNoEtuBANC63DPtFVNuVcdGaJCVHrGAmwheKAEe3tbl2YrQzs_WSj2XQx4VZnxsSQvJZu2YvTcniUqHVSixxP3GDO5j5iWOZhJeGn0zG3QObwzgRDkJU22t8fRxzDwU_7KAsGSB6kHmHZ-1B2mo9p0656iMnnCGn6QR-v30QIk3cv-SrlEQDgvfRDFVwRL3VNwV_WQe0AYB_CL6mlFB0fwdr9GkNNKawmwidTbBl3N5_gIzDsPEJTEO7MFGt3wK2wdiVdeVJFSuxWoTxU54wxdydpFCiF4edqQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1beac7e18158f7f2db0cc1a106f42de5", "x-ms-return-client-request-id": "true" }, @@ -261,7 +261,7 @@ "Connection": "keep-alive", "Content-Length": "331", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:09 GMT", + "Date": "Mon, 10 May 2021 15:39:31 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -269,13 +269,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fecc8573-5644-4fd4-aaaf-65657acdb33c" + "X-Ms-Correlation-Request-Id": "8c45141b-c241-454e-b581-66b4ed515394" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:53:01.3620179Z", - "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", + "createdTime": "2021-05-10T15:39:23.6841154Z", + "lastUpdateTime": "2021-05-10T15:39:21.9790435Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -288,11 +288,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c9e4bf4cfe974011b18e365b6dd5617c", "x-ms-return-client-request-id": "true" }, @@ -308,16 +308,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:09 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7553a82c-1f16-4174-b3b0-5d1a18048639" + "X-Ms-Correlation-Request-Id": "5f6e09cb-1796-4f6c-8181-5fc3d5d19646" }, "ResponseBody": { "errors": [ @@ -336,39 +336,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9cd58e943e71b5befae61031952bec59", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:09 GMT", + "Date": "Mon, 10 May 2021 15:39:32 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a566fea5-00bd-4808-aa0e-f4094e79b1a3", - "x-ms-ratelimit-remaining-calls-per-second": "165.716667" + "X-Ms-Correlation-Request-Id": "422c957a-4876-45bb-9b95-850a2b5f354a", + "x-ms-ratelimit-remaining-calls-per-second": "165.783333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkZTFlOTcyNi1iMDU5LTRlMDQtOTA5Mi01YWZjYWI3NzNjZTkiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzIsImV4cCI6MTYyMDY2NDc3MiwiaWF0IjoxNjIwNjYwMjcyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.tTDm5eAruU8hhULajySVJ5QLjbdj9vA6pURZEbh5Mv9qHqrFEs31mrWFUf2FN_DW8iHfWEqMAuMDdDOb0zuuWnXfh-7oPTJUaDiAUOjgikEau8uloGmEWUgowJU6BhnKSrhhgR9ASzbXPJIEwzQH8xi836t0ngK-7bpOxFrKu1405TBQZiaMKLiGQhxUaSMT9_I4dJBqrwslKlu62b17y_2cP-FyASFGpqMUjMNI6EvyDGIxGKcRFvZzs-NO_JzgMsnbN-sRwE3rxF3TIY-os50ZqATbmvF63TUFZBmI7r3sM209Rc9qNEkJuhZe93C7Fvjlgrd_2eG5e0PF3t6svw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c9e4bf4cfe974011b18e365b6dd5617c", "x-ms-return-client-request-id": "true" }, @@ -384,7 +384,7 @@ "Connection": "keep-alive", "Content-Length": "331", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:10 GMT", + "Date": "Mon, 10 May 2021 15:39:32 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -392,13 +392,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3ad75c04-d831-421d-8ed4-7674c69b226e" + "X-Ms-Correlation-Request-Id": "735827c3-9dec-4ed9-9167-0fe87ae5ca20" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:53:01.3620179Z", - "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", + "createdTime": "2021-05-10T15:39:23.6841154Z", + "lastUpdateTime": "2021-05-10T15:39:21.9790435Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -411,13 +411,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4655f34a6310b84dddb8fb94f5719636", "x-ms-return-client-request-id": "true" }, @@ -438,16 +438,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:10 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "618c738d-83bc-486d-9238-f0d58e9db3e8" + "X-Ms-Correlation-Request-Id": "e22ac6ce-7c91-4bcc-89d6-91b9493071ee" }, "ResponseBody": { "errors": [ @@ -466,41 +466,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7b336ec426ac0d5c012ecfb1eedfaa86", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:10 GMT", + "Date": "Mon, 10 May 2021 15:39:32 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d03e2e9b-38cd-4436-afca-c2f098080d3e", - "x-ms-ratelimit-remaining-calls-per-second": "165.7" + "X-Ms-Correlation-Request-Id": "a52827f2-85dc-4428-8a9c-d2b950345cf6", + "x-ms-ratelimit-remaining-calls-per-second": "165.766667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkZGFjMjI1ZC05ZmFjLTQzOTgtODRhYS03YjVmMzkyOTJlODgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzIsImV4cCI6MTYyMDY2NDc3MiwiaWF0IjoxNjIwNjYwMjcyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.zL4_NgTofZ4cuhESax8ETMj_kkU93vtjjjoNGv6USA4CdG1nDWFgHASKKV6QFkATWClypLjOr0JTY0gSKXD2kGXQJmjsLAMBfgNJr8awQBkMAwE5QQZVVFlxCS1_G8NlU8uo8L63d--JXhSA848dmaexxBhNsqDvCcszuDC8xrYG88f2pHLgJMXHrPUz3Wz_NPGupZPuqqVdgO2VwJZLRGLQ2cHOIG335iVSoJ_tSgS98fvqYCW3AAHPafJpQZzOI42pT0ZnQ9rcAOZH0QPJCA_p0WYtKAgHDNtmNG3VzZ0bVNEevBdzgDk-9bg7lb9HfK-FG8KYnTt4xwMMTlHzyQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4655f34a6310b84dddb8fb94f5719636", "x-ms-return-client-request-id": "true" }, @@ -521,7 +521,7 @@ "Connection": "keep-alive", "Content-Length": "327", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:10 GMT", + "Date": "Mon, 10 May 2021 15:39:32 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -529,13 +529,13 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "14f57340-a690-4944-8a6f-1546e0c6cba2" + "X-Ms-Correlation-Request-Id": "ebc4b8ad-faee-494a-8c6f-fea9c1b696b5" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", - "createdTime": "2021-05-06T00:53:01.3620179Z", - "lastUpdateTime": "2021-05-06T00:52:59.7836756Z", + "createdTime": "2021-05-10T15:39:23.6841154Z", + "lastUpdateTime": "2021-05-10T15:39:21.9790435Z", "manifestCount": 10, "tagCount": 5, "changeableAttributes": { @@ -549,7 +549,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "181583018" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties_Anonymous.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties_Anonymous.json new file mode 100644 index 000000000000..7b1b6dc073fc --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties_Anonymous.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "RequestMethod": "PATCH", + "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 )", + "x-ms-client-request-id": "6e5ec282873a8c65f62ef943e96f8b4a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "eacf3acc-afde-43ca-b229-7898fea3c78c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "693c5742ef55c1ba48c43235c8bd1504", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38:41 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "1d7270cb-a6b6-4ea7-a8f7-16c018804d5f", + "x-ms-ratelimit-remaining-calls-per-second": "166.366667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhY2ZmM2VhMC01OWFhLTRkY2EtYjU5NC0yYzgwMTRhYjBiOTAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMTM5LCJleHAiOjE2MjA2NjEzMzksImlhdCI6MTYyMDY2MDEzOSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.M20Bku9BqxvxxduQkQS7DArQK6PA16Xw2qxJdymQgnT6Enz9XtgdRXo9E-I0A1fCeP4o5xJ1IiSszpkVWKSiHnXZ8phADy4iG6XxF-WDaiyULzCJJrdCQZFcCxmcw8LnY2BTIyq5bGPaQ3pyX5GjpBqz3Tua28_Od22SGohdKGyGQLGV4tCsJnw9-D-tK5poJgS6Us7UpsfCyOJjNa2_bvFu5dkvRRq4oxwpwTc0ATITlTOEEQu2RbGdrVn5csC9kTvw0FwgPkzhbV-OFeKg30djZLXUIBh3JQkitiIg7GayRXaFNjB_725kZPqxCGs4O9wPCkg_NZJzR6p62Y3aDA" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "6e5ec282873a8c65f62ef943e96f8b4a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:38: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "62cc01ac-4d0e-44c0-a810-760f006c5cd3" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "476270831" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties_AnonymousAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties_AnonymousAsync.json new file mode 100644 index 000000000000..f3b9c30dc45b --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/ContainerRepositoryLiveTests/CanSetRepositoryProperties_AnonymousAsync.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "RequestMethod": "PATCH", + "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 )", + "x-ms-client-request-id": "a7de6caadd4b7e34fe657378e9e51c0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "6651d708-ce35-4390-915d-e93d55d1a6a6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "51129c07ce9cb7954141029776353439", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:32 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "29fb1ef3-618b-4a9a-b9e9-06573254218b", + "x-ms-ratelimit-remaining-calls-per-second": "166.416667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world", + "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "a7de6caadd4b7e34fe657378e9e51c0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "758001d2-a928-4b01-a5c9-bdecfeeca57f" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "237047740" + } +} \ 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 c71bb484cf0a..a51e0beb9e23 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,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e537c108b0acb5d57b1757f3cfe9da6a", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:37 GMT", + "Date": "Mon, 10 May 2021 15:40:12 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/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a26eda02-9151-405b-88a8-812dc22df91b" + "X-Ms-Correlation-Request-Id": "cea1465c-ec97-48c3-9754-5252c6b02b56" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0ef9c40e0708919412fe0aa520d3d3f4", "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=localtestacr04.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:37 GMT", + "Date": "Mon, 10 May 2021 15:40:12 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "32a2f368-9656-4b31-935f-8d626e40a51f", - "x-ms-ratelimit-remaining-calls-per-second": "165.35" + "X-Ms-Correlation-Request-Id": "e8dfdf29-3f41-4e37-8f43-7bbd951ae13d", + "x-ms-ratelimit-remaining-calls-per-second": "165.483333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0MjJ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6eb4ec98abda71ff12a74ef3bc4b15c5", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:37 GMT", + "Date": "Mon, 10 May 2021 15:40:12 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0754395e-ab27-4c83-adea-edcfa2b3eb41", - "x-ms-ratelimit-remaining-calls-per-second": "165.333333" + "X-Ms-Correlation-Request-Id": "33247abf-c073-484d-a39c-13bf24403767", + "x-ms-ratelimit-remaining-calls-per-second": "165.466667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1YWY3OWIxYi0yMGIzLTRlY2UtOTJiYy1jNTU2ZTBiODk3NDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMTIsImV4cCI6MTYyMDY2NDgxMiwiaWF0IjoxNjIwNjYwMzEyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.n-dEBqE76H1oo5LNdGTIiaT126ZsmEQGQBlyOQKlbx2dzOkJb-74VqHzh60u-tNyYlgGt-PNyayUt2aKkTDrbCxIPqnQILIL35nUrHPSflkzII_fsBq4dcRwMHAFG5HIs977xbnYHmGxo_5HiPvd1PrI4Zem9iHKZkuvNxPkbzF789x0-epJcUdAbaLUi9BuoN2fMa_C1LC_DVziwodRj7geL-Cf4yZ2Cb1NOcITZTYjUlOXichQqnXQmlHpAPAaVk8eCkia72D77hezhdHztmSqDEZXnV7X8yRQ9ItvbVzL2i76-9kIX9XSOyBiwV6o4-NDZ7fkwot9VH4XU2PYyQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e537c108b0acb5d57b1757f3cfe9da6a", "x-ms-return-client-request-id": "true" }, @@ -122,9 +122,9 @@ "X-Ms-Correlation-Request-Id" ], "Connection": "keep-alive", - "Content-Length": "397", + "Content-Length": "395", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:37 GMT", + "Date": "Mon, 10 May 2021 15:40:12 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "19d51ed7-1e30-4eb2-941d-5f7cfdde4e5f" + "X-Ms-Correlation-Request-Id": "a1cb59cf-171d-45e5-80c4-0a6af8f9e356" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/node", "tag": { "name": "test-delete-image", - "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", - "createdTime": "2021-05-06T00:53:29.7584026Z", - "lastUpdateTime": "2021-05-06T00:53:29.7584026Z", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "createdTime": "2021-05-10T15:40:05.010916Z", + "lastUpdateTime": "2021-05-10T15:40:05.010916Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "617b5f8d6ce000312ca5d3aea53095a8", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:37 GMT", + "Date": "Mon, 10 May 2021 15:40:12 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/node:delete\u0022", + "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": "a7c77c0e-6cb9-43ca-beed-f7a307f570ee" + "X-Ms-Correlation-Request-Id": "ebd65b0e-70d6-49b9-82c1-b12950d84a00" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e25a63446c346390c588fc60b9a1d4c7", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", + "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": "Thu, 06 May 2021 00:53:37 GMT", + "Date": "Mon, 10 May 2021 15:40:12 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "01c8d6d8-7d1f-44db-801c-f46ca4083e9f", - "x-ms-ratelimit-remaining-calls-per-second": "165.316667" + "X-Ms-Correlation-Request-Id": "07397c36-2445-43b3-9e87-efcf16e3e70a", + "x-ms-ratelimit-remaining-calls-per-second": "165.45" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjMWZhMzNkYi04NGJiLTRhMDMtOGYzMC1hZDdkNTIxZDg5NjYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMTIsImV4cCI6MTYyMDY2NDgxMiwiaWF0IjoxNjIwNjYwMzEyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.jdvvxUlhiRtz4zzv8qnkU9xA1PyG6Y_mCEJXfwsFEgKAvP2N1zRscCxx4m23EaE6-jcmwerA9H3uAc13yAU-FwABwchZQHMAXK__2u2AlMXMWYv5ON2Ap4ObGQGp_3XBV9yQPM-zVNZn6GPXoWqO-kQL9ZSXoGnx4u8KQo4XvwQiURk66QrAasgwfkIe8qoCVyLj_y9mP-46iplgrZRjy6vRJqaA1d8M3N9JSBjXuDFwm9Joy2yMXzg9pIDVJ26azasIDPX8Q8D9VCK7SEGdeFCM1IIfVWuajX56l_1wzg8Lo7kQBmDfxi1fovAk-M4U6lumbCJSiK5qycmQvqfZyg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "617b5f8d6ce000312ca5d3aea53095a8", "x-ms-return-client-request-id": "true" }, @@ -248,7 +248,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 06 May 2021 00:53:38 GMT", + "Date": "Mon, 10 May 2021 15:40:12 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,18 +257,18 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "617b5f8d6ce000312ca5d3aea53095a8", - "X-Ms-Correlation-Request-Id": "d06c9668-4dc1-4603-8da1-96477d4bd34b", + "X-Ms-Correlation-Request-Id": "93ca3f32-126c-4109-86fd-c1da472bd070", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "1e4b8161-466e-420c-9419-705faeb5da5d" + "X-Ms-Request-Id": "17e95e33-14ec-4152-b4e1-a67a7ecef369" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c01745e872572c13bbb44235d750cce1", "x-ms-return-client-request-id": "true" }, @@ -284,16 +284,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:43 GMT", + "Date": "Mon, 10 May 2021 15:40:17 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/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6b61e869-bf7f-4582-b895-9e410e3155ec" + "X-Ms-Correlation-Request-Id": "5eaba9cb-d15e-495c-8cff-acdd9d37d1f9" }, "ResponseBody": { "errors": [ @@ -312,39 +312,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "59afa51133f02190cf189b5870d0478b", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:43 GMT", + "Date": "Mon, 10 May 2021 15:40:17 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b4e23072-dfb2-4f90-8c87-b1e85d4bbaf6", - "x-ms-ratelimit-remaining-calls-per-second": "165.3" + "X-Ms-Correlation-Request-Id": "17aea438-6cea-427c-aa0b-29cfb03956df", + "x-ms-ratelimit-remaining-calls-per-second": "165.933333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI5NDZiNzYyZi04MDJhLTRmN2EtOTgwMS1kZDIyZmQ5MzI0ZTMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMTcsImV4cCI6MTYyMDY2NDgxNywiaWF0IjoxNjIwNjYwMzE3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.TrKv1v0rurxWpDedg1qtNdLNkYCZYPh8Eb6IG7JrktfMrKhXbt4rc1crxpKD99MzhEthH0dsVbVT_jkKJQaIBbbVB3ehsYyrko_OAtbRxTzZ1ZT5Ah4jEBuTZD4qkugSTM7t8BYDNIVWlwE3LIxgBDEECGydJGXVXG4N-Ow7D-gulD3rCWZv125vGozrIF9_OhlaXCojdQjlnydTFGyYlgWs6P61rQW0h9KCITdMoQedVt1BMx5fD-suZjnWQyloB90gTi5o2wn6w-KWXRrP9J_DrtkLSP8Z4eIJH4570oawmiScW6W2KFeBfH0L6gVuiXZ09tyhugSI5IXM5IkSjw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c01745e872572c13bbb44235d750cce1", "x-ms-return-client-request-id": "true" }, @@ -360,7 +360,7 @@ "Connection": "keep-alive", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:43 GMT", + "Date": "Mon, 10 May 2021 15:40:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -368,7 +368,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ddd37329-df0e-462d-8113-febd9bfee520" + "X-Ms-Correlation-Request-Id": "1376c143-a75b-455a-acf1-501dbaf47751" }, "ResponseBody": { "errors": [ @@ -381,11 +381,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "2102937882", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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 d759311c83d0..b2790fdb89de 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,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "817b7ad148acb0a3cb308ed2244d0ef2", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:29 GMT", + "Date": "Mon, 10 May 2021 15:41:17 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/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d7e0ebed-14d5-456d-897b-073af5f421f9" + "X-Ms-Correlation-Request-Id": "4668d7d0-0dc5-407e-947f-e28656b9ce61" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "653ab27a9dc4ed45c760f61105e26ce9", "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=localtestacr04.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:30 GMT", + "Date": "Mon, 10 May 2021 15:41:18 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e4c6f1e7-0e30-4cb8-8d4b-de8b00ff2f11", - "x-ms-ratelimit-remaining-calls-per-second": "165.733333" + "X-Ms-Correlation-Request-Id": "cd9f9605-2e43-496a-932d-18fa3d5b7e98", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NzV9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "974df359cd63681264cb3418ecc4cb1a", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:30 GMT", + "Date": "Mon, 10 May 2021 15:41:18 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b5f03667-e2af-4f05-9768-e9349a6bf4e7", - "x-ms-ratelimit-remaining-calls-per-second": "165.716667" + "X-Ms-Correlation-Request-Id": "ef782843-6e17-40b7-852e-9ef0ceffd67a", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwNDBkZWY2Mi04YTMyLTQ5OTAtYTkxNC00Y2VmNGQ5NDQ1NTgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNzgsImV4cCI6MTYyMDY2NDg3OCwiaWF0IjoxNjIwNjYwMzc4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.f2-2iGFirc7CkUgACT6sBiH1csIoHfXKbjlkxVHeCSp_D9za6ynrs5udzycfDovJLeDbbrFRhkWCtjpj5Et5_YbRQ_TKs_ITbb4I30thGI_X46Z3AkpR8OKsrSO0WZgQ5Eryg20nwkMsATJqGZH7rEepSrR3gtzmEZSqTQyR5zftqYJcVFF9411UKD8nK-52vKhrZr3XZ0FPMDIaCm3qWx1LULnRdMDn35JA0uy2peArITSkNMRjFSH6iDn6dPyCILXqmrQA53tfuwBNIcd-KBJ_ScuAkY5RK9aI3yl2HqXOU7C2ZQR3TTHQD-IqAEfA0p5ZKUROWq7KoLxamH5yhw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_tags/test-delete-image", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "817b7ad148acb0a3cb308ed2244d0ef2", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:30 GMT", + "Date": "Mon, 10 May 2021 15:41:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e262d1d8-da18-4414-95c7-1f951aa7f161" + "X-Ms-Correlation-Request-Id": "acb373e5-3397-479b-b094-c007c9d7dddc" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/node", "tag": { "name": "test-delete-image", - "digest": "sha256:25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", - "createdTime": "2021-05-06T00:54:22.1888454Z", - "lastUpdateTime": "2021-05-06T00:54:22.1888454Z", + "digest": "sha256:2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", + "createdTime": "2021-05-10T15:41:10.3704668Z", + "lastUpdateTime": "2021-05-10T15:41:10.3704668Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a370bf43862d33bd348eba4c5291abe8", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:30 GMT", + "Date": "Mon, 10 May 2021 15:41:18 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/node:delete\u0022", + "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": "b3c10901-6e67-4427-bfc2-c2de0b5c973d" + "X-Ms-Correlation-Request-Id": "89e71f8f-c36e-433d-862f-ece01acf6027" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3079a5c47700ad8f9fd100f9692d0003", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { - "Connection": "close", + "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:30 GMT", + "Date": "Mon, 10 May 2021 15:41:18 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0aa4a479-d39a-438e-8190-05d29d3dd325", - "x-ms-ratelimit-remaining-calls-per-second": "165.7" + "X-Ms-Correlation-Request-Id": "eb7dedfc-42aa-4f34-bd21-e1b4878fa86b", + "x-ms-ratelimit-remaining-calls-per-second": "165.55" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiNDRiMWJlOS1jNzZhLTQzMTItYmJmMy1iY2NlMGZkY2RjMGEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNzgsImV4cCI6MTYyMDY2NDg3OCwiaWF0IjoxNjIwNjYwMzc4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbImRlbGV0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.Ibg9LEqIg98PI4Hjks4boHR3VfV3P3XjzLXIfQJMJhbWDeAF6vj03GW6cPWTcV34ruv5NNupM1Di3eCOtxn4aWbpUErCJaI2AnfbktffE5oGhm-5-ucVflR9DhU75qkHEJi9tKcf0OH9ygnZUt8a_hcLtxJGyOFYAmab47KckBIYrsbwSAKaFt0er0nyKm3KZDCy1T1e7cEBcU7akjdTKdjIjNfEFt_CFWTYMTr451GC2Rz3cviCagPtcw3jF3UNEPKI6Yy_2GuZeeotSuN2spRTQ3XS2iSTkyYdzNAkGraa1YksDW6aUYIawnyvrW3pliFOhnOfPeZuHlzNvxxWAg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/v2/library%2Fnode/manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/v2/library%2Fnode/manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a370bf43862d33bd348eba4c5291abe8", "x-ms-return-client-request-id": "true" }, @@ -248,7 +248,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 06 May 2021 00:54:30 GMT", + "Date": "Mon, 10 May 2021 15:41:18 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,18 +257,18 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "a370bf43862d33bd348eba4c5291abe8", - "X-Ms-Correlation-Request-Id": "7410d6eb-0bf4-433b-bead-996284a9ad6a", + "X-Ms-Correlation-Request-Id": "f6308ddc-1341-4736-adcf-9d3e1dfd6500", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "4388dc2a-5c5f-491a-bea1-6ea7c81bc86a" + "X-Ms-Request-Id": "0ac22b70-857c-434c-873c-bdf1c2ee7439" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "46cddb94c871d2bb351962d513c616d2", "x-ms-return-client-request-id": "true" }, @@ -284,16 +284,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:35 GMT", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/node:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "e82be3e8-6ae0-41e9-99cf-7d1d8103fd5f" + "X-Ms-Correlation-Request-Id": "59a7adcb-5c70-41f2-a5eb-abdf3fc6327c" }, "ResponseBody": { "errors": [ @@ -312,39 +312,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "46534b209a4bcc1a30c3035c85c4c907", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fnode%3ametadata_read\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fnode%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:35 GMT", + "Date": "Mon, 10 May 2021 15:41:23 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "673c7cf2-2a9b-4d62-9a19-dce9506617c5", - "x-ms-ratelimit-remaining-calls-per-second": "164.933333" + "X-Ms-Correlation-Request-Id": "1de8cbd1-111e-4feb-825c-b909fd857b3c", + "x-ms-ratelimit-remaining-calls-per-second": "165.533333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkY2EwODkzMC03MjA2LTQ0YmYtYTVmNS03NmRlODRmMGU4YmQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzODMsImV4cCI6MTYyMDY2NDg4MywiaWF0IjoxNjIwNjYwMzgzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L25vZGUiLCJhY3Rpb25zIjpbIm1ldGFkYXRhX3JlYWQiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.ZoKaUY0bC9jCyAqOSr82tnIv5X2UTO0hALcyTZ0YwkvYEjoeqlNIpZgYu5NmxiMBuRxymcEaO23QkXp90sqT_VxYwbg_705atxWe47ENUcGKHJ3z8ITBGmnGX8MUsXGdUSvaggb_hrjpF3OHQ5AqjrJ8_FHLQ3oplZRe2oX9tfNxiBA1KIO5-XPQ2hDzHPuSk1nkDYzMC7mtwcr8_3QMpUVxqQsrYblAlIuycnP6Xh1-TYYdHeYFzIs8lMazZCocJ0fenrlaLd5-mylzCg9R0ljVTiZd7l_umP1g4qAY8HQC9pXKgrOJs0w-cQLuLRevtDMGHDFtGQQn5JIJjlwL4A" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A25516f3de85ebf588e29d81052495d2e1177b55cddbd7ddab2f5ff2c4496dd5e", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fnode/_manifests/sha256%3A2e0fc91aaa6081b9d871b81a01f1c80fda83071e5d7a32ec17e2ac346fa8f008", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "46cddb94c871d2bb351962d513c616d2", "x-ms-return-client-request-id": "true" }, @@ -360,7 +360,7 @@ "Connection": "keep-alive", "Content-Length": "69", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:36 GMT", + "Date": "Mon, 10 May 2021 15:41:24 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -368,7 +368,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "2d7beebc-b9fb-4f08-aff4-1c459396dab0" + "X-Ms-Correlation-Request-Id": "c65ba065-8cf6-4e2f-af32-d9c1ee12cad8" }, "ResponseBody": { "errors": [ @@ -381,11 +381,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "877719490", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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 49c894d3c9e0..e2723297fcc6 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,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1d9fa790f95f011b0fcfe69c784c6916", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:54 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "34bc7075-fae1-495b-a30e-135ed0bf0b1e" + "X-Ms-Correlation-Request-Id": "f89943f3-3d59-450b-9fc0-abcd3bef896f" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a57042dc50ad4b370e80bfe128ea1b17", "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=localtestacr04.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:54 GMT", + "Date": "Mon, 10 May 2021 15:40:29 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "75dc2509-b034-4c1b-b00b-444b246cf03b", - "x-ms-ratelimit-remaining-calls-per-second": "165.1" + "X-Ms-Correlation-Request-Id": "61d771e6-9a0a-4310-acee-b5c744b0d859", + "x-ms-ratelimit-remaining-calls-per-second": "165.85" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0Mzl9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "df663b0fd5827062abf90f5ffa52c73d", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized\u0026grant_type=refresh_token", "StatusCode": 200, "ResponseHeaders": { - "Connection": "close", + "Connection": "keep-alive", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:54 GMT", + "Date": "Mon, 10 May 2021 15:40:29 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "20f3462a-de6b-4d09-b7f5-6b56748e9150", - "x-ms-ratelimit-remaining-calls-per-second": "165.083333" + "X-Ms-Correlation-Request-Id": "44190c12-081f-43b0-825e-5f89f0c83b48", + "x-ms-ratelimit-remaining-calls-per-second": "165.833333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkZTk2NGNjOC1kYzI3LTRlMDUtOGJkOS0zZmY5M2U2YjA5NDQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMjksImV4cCI6MTYyMDY2NDgyOSwiaWF0IjoxNjIwNjYwMzI5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.sc-EpZC0i_PJU_mSQ9Rac5i_zBHdIhvfFYNuz6ksZ4A21Bidd7v-_GhAkfXREMS9Ic0qdq2YzIFkjE55n9Nj9-0dAROJxNz9mqMCvX7h8TVBW78DoVx0J12ErbitPD8r74nYo2Ghg2AsQ7CAJqSS2Z74St6andso8cTVnMgopwgg0jpSigEWRmiOw1duLmG6CM67J3lKc-VocEsRkRRjm01iE3a48WapupfoGtnd9ex1GCkOm4N0ajuFDgVwg2iNrC3yQ7K2KBecyB7qYiBxYys3_9MPSDggSYdjOLhh-i869MzDosCPqCbJqx3aGkv_cyodhMnWEK6qe0fT8vXdzQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1d9fa790f95f011b0fcfe69c784c6916", "x-ms-return-client-request-id": "true" }, @@ -123,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 06 May 2021 00:53:55 GMT", + "Date": "Mon, 10 May 2021 15:40:29 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,19 +132,19 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "1d9fa790f95f011b0fcfe69c784c6916", - "X-Ms-Correlation-Request-Id": "0bd1afc4-9016-44be-8371-72b68b934ee8", + "X-Ms-Correlation-Request-Id": "1f21aecd-a984-415c-9e0e-ebd9cddb8e64", "X-Ms-Int-Docker-Content-Digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "abd009a5-58d1-4ffe-b741-5ae58723ad04" + "X-Ms-Request-Id": "d60467a6-d178-4b52-9e7f-5edee12794bd" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "40ac30a870e3400a6f530fde393ad924", "x-ms-return-client-request-id": "true" }, @@ -160,16 +160,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:00 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "01d1b6ee-7338-4387-b002-ff873b7a3508" + "X-Ms-Correlation-Request-Id": "1b0640ed-b09e-4498-a95f-23e584e3490d" }, "ResponseBody": { "errors": [ @@ -188,39 +188,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3c8dceb48ae60693e0fffab440d851bc", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:00 GMT", + "Date": "Mon, 10 May 2021 15:40:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "70cd6840-dd60-48f4-9bb0-223009869205", - "x-ms-ratelimit-remaining-calls-per-second": "165.516667" + "X-Ms-Correlation-Request-Id": "a006bd6c-79ac-4d0e-ab74-13027a05109e", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxNzQzZDRmOC04ZGEzLTRlN2ItYTc0YS1lZGJiMjM4MzVhMTEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzQsImV4cCI6MTYyMDY2NDgzNCwiaWF0IjoxNjIwNjYwMzM0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.RBU6MD5X1eYvgb_Kgo2jYeY04YVxbUzue2ZtONPV2voBYzb_ur4vKxZXGWcRMTKYLAVFRwipHQQI3X45aTwJyvFRCz1UUdijhMyizPGC5q675N8qBmwccvYRwF1ObrsynrbPJLQy0hy9TLgIwVYT8aOHKp8L-1vyiqczYXwvja3Oa2vkyEiykaa4T1sFSyYEF5Aec1MCJv6A6WdFdhPtRG3RxLtgNXxv9D1yWSOwTL-6LwmgogxbUcDmZJAUSGvh6EcnoZjcYwD-kr8US8v7Y5XBpv81p_gy2V4hBc7JvU3AG7B2TTpOex4OVlEFyV4LGEDA3VdWmFhqMgOa5ij8xQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "40ac30a870e3400a6f530fde393ad924", "x-ms-return-client-request-id": "true" }, @@ -236,7 +236,7 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:00 GMT", + "Date": "Mon, 10 May 2021 15:40:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -244,7 +244,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9f05c46e-58b4-4cf2-918e-9a07998fe4c8" + "X-Ms-Correlation-Request-Id": "e4965877-2635-46ec-8a19-e395e31cf397" }, "ResponseBody": { "errors": [ @@ -257,11 +257,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "677472848", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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 9f3d8b35e877..5e6ae61cee13 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,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "faa288ebbfcff4846a39d81f6e7264e9", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:46 GMT", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:delete\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b9262d22-712c-4d54-9793-e31cb7a48527" + "X-Ms-Correlation-Request-Id": "306b3e87-29d7-4605-9ae7-34a29e13157c" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cb0158b0380fdce888a14c61d6a4cb38", "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=localtestacr04.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:47 GMT", + "Date": "Mon, 10 May 2021 15:41:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "bd38b14b-610c-4edf-8733-85813ea1c24c", - "x-ms-ratelimit-remaining-calls-per-second": "165.1" + "X-Ms-Correlation-Request-Id": "6a469986-3b86-4cd6-b1ad-97c497b0f14d", + "x-ms-ratelimit-remaining-calls-per-second": "166.033333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0OTF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "132", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "144d755c53fcb8ad329e647cf1078185", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3adelete\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:47 GMT", + "Date": "Mon, 10 May 2021 15:41:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a206763c-7d4f-49de-9d4f-357d08a951de", - "x-ms-ratelimit-remaining-calls-per-second": "165.083333" + "X-Ms-Correlation-Request-Id": "c41a9673-979b-4599-bafe-b6951f6eb188", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1YjYxNTRiOC1kNTgxLTRjMGEtYTcxZi0wYjU0ZDI4YWU5ZTAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzOTUsImV4cCI6MTYyMDY2NDg5NSwiaWF0IjoxNjIwNjYwMzk1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjEuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJkZWxldGUiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.htfbm99DYd4rB1il5N125lL3I6kiPvwULM0JjACZjTf0_EGkqNazcl86MMZbviYEcwSoSnTJ0VJ3Gs3dv-gKWG20bJHdowOweIYcG9U1H5BuegYqnKH2gc4JRQcXu1nNW2UriFNFgVCj6ljXrH6uKSWqEuMKgapsbOxgJUM5JEZVRhRwQzkM5i_OA87DwdhtdTxLQrbWJV52lO6c0QuuNt3o6SxutT_p7JwXD_VLLCkcjYpKMmMiUYpxXziSJBlLk9nGHhBl7d0Qk156zixptlBf8JQ_ylNOBrXZK6K128Zp7mOMwSIXp4IjN9lyt1vuPASFEwTETwGkNkUohxaT4A" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "RequestMethod": "DELETE", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "faa288ebbfcff4846a39d81f6e7264e9", "x-ms-return-client-request-id": "true" }, @@ -123,7 +123,7 @@ ], "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 06 May 2021 00:54:47 GMT", + "Date": "Mon, 10 May 2021 15:41:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,19 +132,19 @@ ], "X-Content-Type-Options": "nosniff", "X-Ms-Client-Request-Id": "faa288ebbfcff4846a39d81f6e7264e9", - "X-Ms-Correlation-Request-Id": "05480d40-6b9f-4c9b-9f80-2eb306a7ebcf", + "X-Ms-Correlation-Request-Id": "af73b98b-24e8-43d9-aa4a-354762017597", "X-Ms-Int-Docker-Content-Digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "X-Ms-Ratelimit-Remaining-Calls-Per-Second": "8.000000", - "X-Ms-Request-Id": "86d10cea-e06f-42e6-8462-c993e39c95fe" + "X-Ms-Request-Id": "8cc8ac05-d965-44c8-80db-8fb865a1aa05" }, "ResponseBody": [] }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5e0bd9ea95bb22f9fc6722d72231dc5", "x-ms-return-client-request-id": "true" }, @@ -160,16 +160,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:52 GMT", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "27a1d77f-b04f-4199-9ba5-a251e40daf60" + "X-Ms-Correlation-Request-Id": "375e9ed4-1f37-4552-9c0e-14e6b2f0c037" }, "ResponseBody": { "errors": [ @@ -188,39 +188,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f8c3a06e4f245cedab489970d46cea80", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:52 GMT", + "Date": "Mon, 10 May 2021 15:41:40 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "7783b7bd-5912-48da-9c67-8d3d8b4204e8", - "x-ms-ratelimit-remaining-calls-per-second": "165.066667" + "X-Ms-Correlation-Request-Id": "15f8ca04-0fc0-4a24-9996-7dc30d50294c", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4NTM0YTg4Ny04MTQyLTQ5YzctOWY2ZC0zMTdjZGQzOWY3Y2QiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDAsImV4cCI6MTYyMDY2NDkwMCwiaWF0IjoxNjIwNjYwNDAwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.zfElKCLF6rlSr5JyqfPaj1dYXjpvLsAQziqlNCcsqldl9RdQZO5n7gPWqjfwb9Lb1OFK_vUXIfYTdSVsPNPN8cflmOCy5Zdw5Lnc3UhTbTs5WgVO0YyplUkwvo-Wj9mLS7QmC_tb9GJHeBkAEvpxLiOAWK4R3QlaC6nva3uzVOg3rASfYjC4AiVCmjg3es--omCsPzHzDu0Vgx8pRKFagfS3GgiR6THKyeCmI0eXo0eexPGtUJAO-04M6DZ7hLzxtllSQnExzEefdgCMaGmeMMiclWnDlkfm8Gy3Pu_nU4Za_IADIwKns6iPjy2-rJjT_nU29g11Kukn9oEZ1WV4dQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/test-delete-tag", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5e0bd9ea95bb22f9fc6722d72231dc5", "x-ms-return-client-request-id": "true" }, @@ -236,7 +236,7 @@ "Connection": "keep-alive", "Content-Length": "80", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:52 GMT", + "Date": "Mon, 10 May 2021 15:41:40 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -244,7 +244,7 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "ba9833c9-df7a-4f93-b1af-8ebf01675541" + "X-Ms-Correlation-Request-Id": "10f42ddd-31d9-4880-93fe-97c26550004e" }, "ResponseBody": { "errors": [ @@ -257,11 +257,11 @@ } ], "Variables": { - "CLIENT_ID": "9de00b2f-0a92-4543-9928-f49b89bb1448", - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", - "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr01", + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", "RandomSeed": "1372373483", - "RESOURCE_GROUP": "rg-localtestacr01", + "RESOURCE_GROUP": "rg-localtestacr04", "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/CanGetManifestListProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListProperties.json index c32e4417cac9..a782c67f01f6 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListProperties.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "222825031632059678ec0d78e8145636", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:10 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a7330fb3-6bb3-4060-89ec-eaaf10b9426f" + "X-Ms-Correlation-Request-Id": "10f1d9e8-8bc6-4fa4-af0a-ce2b71d8a32c" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1b5298b7fc4c11e7eea8b27f396c4945", "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=localtestacr04.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:10 GMT", + "Date": "Mon, 10 May 2021 15:39:32 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "62bc4176-9220-48d0-829e-1892731f8e1d", - "x-ms-ratelimit-remaining-calls-per-second": "165.683333" + "X-Ms-Correlation-Request-Id": "d6a6bba3-68d9-40f7-a2ff-0ab2f556c98f", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzOTB9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c91dd680136a9359cd3a62e689f0f53c", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:10 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "58492648-d1b7-4b79-b304-2cdeec28eb91", - "x-ms-ratelimit-remaining-calls-per-second": "165.666667" + "X-Ms-Correlation-Request-Id": "f8337b8c-5ca3-4849-9a43-05616395f89c", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3MDUyYjlmZS1lZTY1LTQwN2QtYTAzNC1mZGJmZTUxNWZlYjIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzMsImV4cCI6MTYyMDY2NDc3MywiaWF0IjoxNjIwNjYwMjczLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.mHm7pWQHVz_ZHc1MKx-6l9b5JRd3xHoWO-lU4Qb0JYqI6abezbXFULHbUDmeneq5NW8oODJPg9kZ2RtgimsFF7vomt6qkY-1tpqV9fotfd8WbySgfybFq0orhzZsH14an0DxYY9YEgUPse7kW7aJ-2qgKfm4Ur6LGgrmTJ0xIdbDX1A5RWt4pwZR5CMqQM2Rqph_3bSYsA6c5xRaDMwR_lxDoDpI_SYyGs9D4S9SPxLj3uWl4B3rdC1uMY_1gvkndZRrZFBb6K4H_hxvOBlKmDIFXDEwl-oAENjp2hC7mw54ALE8GNENWdQSQ4UhrgOAhlIIdzlqtgUUMes7zupe8g" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "222825031632059678ec0d78e8145636", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:10 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0523c498-55a3-4a11-9c4a-386d6593fedf" + "X-Ms-Correlation-Request-Id": "5be660e8-cbdb-4c07-97be-6d0a1a0d3d10" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5770036Z", - "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "72b8d147083c07723e17338a6416cc0b", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:11 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "92a2d35c-cb6b-4fb0-b8f1-ed330df836b9" + "X-Ms-Correlation-Request-Id": "57a6459b-ee12-493e-b12c-0eb0f30dc32e" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "12f7c7a28cf6a4cc3fbf4e11990087fd", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:11 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9437f18a-2a4e-4132-8a74-6866a39dfca2", - "x-ms-ratelimit-remaining-calls-per-second": "165.65" + "X-Ms-Correlation-Request-Id": "566fdb8c-9114-499e-a3af-c4639bb87e32", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4OTU3ZjRiZS01ZGJmLTQwNGMtYWM0NC1mNjQ3YmY0YTk0NDIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzMsImV4cCI6MTYyMDY2NDc3MywiaWF0IjoxNjIwNjYwMjczLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.dl1sC7UKvwracj82NTwqKfmgZnwPHhIw78CQ1fCmIdoj7-AmTR263b74vjjGflS4RPvjI1FAem6KlAkigBErL5bB92d4qDIyh7LUNKwgCNYf-o3ZMxy6ujoGAg9jr7ARtXXRc_HMnVUzVzep7HxrR5dS2cxuNgMpN9OO3CDRgFhh5iurPab9kON07QA7fdfco3gZre_WAbSQuRkotaYImfaBRLQTLcdYI0rqn_Xi2DU_qtyZcO-sXU-6UnquRw4vvWyC7aOX2rv8e_p9LyK-h6eef1zjjDGCN9-GRBOeUYYJWDDy2GTxj0JEBgAodAkaD9yvif5Rylza0wODCK71tw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "72b8d147083c07723e17338a6416cc0b", "x-ms-return-client-request-id": "true" }, @@ -249,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1599", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:11 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a304db04-2dd9-4d52-a6a5-df93780c14e8" + "X-Ms-Correlation-Request-Id": "d0f3e2a1-2174-4b0d-9b2d-86e3f6c20761" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -333,7 +333,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1114084660" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json index f0168a38a0fa..582cc9f32bf3 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestListPropertiesAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5d3fb5602c44e856d8b79e5b3400e0f", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:03 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d47d86cd-c858-491b-a32b-0aa0c07937dd" + "X-Ms-Correlation-Request-Id": "9bdc0e4c-2dde-4b8a-981a-9a72eed9303d" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "09cc8a1611381994b262bcbc8bc72732", "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=localtestacr04.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:03 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "66ca46f6-b549-4d99-b801-ee88372df146", - "x-ms-ratelimit-remaining-calls-per-second": "165.266667" + "X-Ms-Correlation-Request-Id": "d5cc1b42-ba3f-4d83-adb2-11365bad94fc", + "x-ms-ratelimit-remaining-calls-per-second": "166.266667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDJ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "828839e614e9a68e1c68f66c1324b5f8", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:03 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3ed76c9c-fe2b-476f-a753-049249dc95a7", - "x-ms-ratelimit-remaining-calls-per-second": "165.25" + "X-Ms-Correlation-Request-Id": "bc264ef1-542c-45da-843c-81ea6f10595d", + "x-ms-ratelimit-remaining-calls-per-second": "166.25" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4YTg0OWVlMy03MGMzLTQzNWQtOTQ0Yy01NzFmZDAyZDVlNmMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzgsImV4cCI6MTYyMDY2NDgzOCwiaWF0IjoxNjIwNjYwMzM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.eXIFybUDe3BuPFppTbFxbrqE51j_BrRqHmcJH1Lg5WWwysOQ8m8mYDU9_njYwN9otMRzAtRB9mQm6MKeLcnq5D6M5iTkE5YwhDO9IfRg7ODpdHnke9-HPyJTXJabxuO5sTHpjpp6xSpqIOjmCDy6in9_3Dlybv6T9B336vmxUuoLRb331Fkq14gfNvkAYEGIfTSe-Hnue0Vm2e5RFxtbqzs4DV-XZCw6mmtlCFU_-0t3Mtv2vlMHdAjDVC65gyHFIDQteyEKIfvmC9l9qZZqNlEiwsW0J2O1C7f-8VEfFnrjT1pCAa6Z_FtTEaa8KNajDR3M8ATyVpoBVLzSOMk5Xw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d5d3fb5602c44e856d8b79e5b3400e0f", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:03 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "86f8bcdc-143b-47fe-b894-810283d040fd" + "X-Ms-Correlation-Request-Id": "a552a2a0-1163-4389-9fd6-b1c481d40fbe" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5770036Z", - "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "adc8004aa0fd456b67ba226145c8c3a5", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:03 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6f700a34-bc54-42ee-8b72-66f94db9f760" + "X-Ms-Correlation-Request-Id": "ea328a9d-43bf-4951-b37f-7e7c963ebdde" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "79ff47638bb70126fc25edd01a28068e", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:03 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "fe5ff9fb-b6a1-492c-ab3d-e1be12a36cd1", - "x-ms-ratelimit-remaining-calls-per-second": "165.233333" + "X-Ms-Correlation-Request-Id": "8e715f03-0af7-4565-80a9-d40724d65c9d", + "x-ms-ratelimit-remaining-calls-per-second": "166.233333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI5Mjc5ODdmNS05ZGQ4LTRlNWQtOTkyNS0xZGY5NTA0ZTlmMmMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzgsImV4cCI6MTYyMDY2NDgzOCwiaWF0IjoxNjIwNjYwMzM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.mxyAoWWo0myPry9M_J7MPmXDjifbZuGKlrrq-V9V2N3HwwYfvdTKVXqMBS5UMcE9mybrlnCHa_sx-5AHWhRLtiYaTfenMRFDeIetOIKxis5ePKSRrlZHFTfYEecJ1u5yaDy29RMC06iFll_0eog6-HTf6-uM0tXyby6i4we7XGKuau6mgwnkOFajVa0dQjEZOuH238LvqxpKdHTRjPT2BsPckf0ozvK-us6maQoifzA-Zwgsr-lfRKk8oVrw-M05HWLSO_cDntFEkZQScItisEqx8DAy-PK5DNa6uBkHbMzviXNnXjDIb8-SWOZv5j-rrQQZftejR_YOhQ_P-egWQw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "adc8004aa0fd456b67ba226145c8c3a5", "x-ms-return-client-request-id": "true" }, @@ -249,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:03 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5997c84c-1533-4b6c-9f4f-5e84679a28e7" + "X-Ms-Correlation-Request-Id": "1a8dcaf6-f2ae-4cfc-b38d-f3f3a5b412cc" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -334,7 +334,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1099654919" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json index ccb8e113a16f..dba21fef96fc 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestProperties.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6f01065e0bf9449bd549381cd6abcf37", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:11 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f6eff7bb-1aa0-4e4a-81c6-b39f9054e3d8" + "X-Ms-Correlation-Request-Id": "f0ffd69e-fdc1-495c-9738-c315233225d9" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a8318d7c2114a724a507a250059177f9", "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=localtestacr04.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:11 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6f1a4799-adce-4c3e-b007-57523751fbdb", - "x-ms-ratelimit-remaining-calls-per-second": "165.633333" + "X-Ms-Correlation-Request-Id": "4c80f9b1-9fd4-4f15-aa6f-586337204615", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzOTF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cfbfddead4fdc23a889df8b1d69b2f07", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:11 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b53fa92b-b521-4df6-9bee-4c0a90527a78", - "x-ms-ratelimit-remaining-calls-per-second": "165.616667" + "X-Ms-Correlation-Request-Id": "3abb97f0-c7a7-4e37-a422-2f3f6dd08412", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzZTM1NjJlOS1hYTFiLTQ1MTEtYTNkMC1iYWUxYmIwZDdhMTgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzMsImV4cCI6MTYyMDY2NDc3MywiaWF0IjoxNjIwNjYwMjczLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.GOiM7ifP0bDL3RFVOZjm0KyQBNDQ0vO3uHtaBnvdzyTyByj43c7IODK-7Sq96bd2XCZF8VEdrYKA-7ILH75lIgn2k4hAb4aaluL1wHAARMctOlZhKy8FAS25MMk3layeB6OYpJarEDNtAx_tUecw3A1prjb8qMGI4MnRMFyGj_cqU9IYhwa8VuYRksD6lgs7ehEpyLBi32AhUVECsQKrK9XQS7etExo0NWRMOrm98GfaCEd4BfmEA3z-YQk_SDKkmE2JULD2LoDHmRoHYcMWZtqSEBOi5MPDJd4Bf2oGCM8q76hN7Y5naE6FLdotF-ViDwRup1_i2Wz8WY2fH8VzOg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6f01065e0bf9449bd549381cd6abcf37", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:11 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "913abd46-a8db-433f-8208-81b53aaf943a" + "X-Ms-Correlation-Request-Id": "7eea217e-f65a-45ef-b248-ffba1374db50" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5770036Z", - "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4aaa9ccd334b3cd8e159caf2684b3e43", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:11 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6f99a43c-916e-4b58-a940-444ef9980697" + "X-Ms-Correlation-Request-Id": "62d803ca-05dd-4e9c-874a-be7dcbb7eadf" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f9323fd2ffeca839526f1f762972d009", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:11 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "95e19004-353d-4c3b-8451-8bc53f285265", - "x-ms-ratelimit-remaining-calls-per-second": "165.6" + "X-Ms-Correlation-Request-Id": "b12a1f58-7c07-4215-9e7f-62817f8a455a", + "x-ms-ratelimit-remaining-calls-per-second": "165.666667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjNTRkODYxMS0xODRkLTQ4MmEtYWI0My03N2JmYzI1YjQ5M2YiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzMsImV4cCI6MTYyMDY2NDc3MywiaWF0IjoxNjIwNjYwMjczLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.TVxT5BpBD6-DdPRZDaUwmWH2EVVwOLJpN1dKVx3flBle9MYt_RjU2xUhh86u_emNHz9hX03_LQOIgJTMG1e1pSVReUtVwrTuUntNy1PO75LvrX_6V6HMI2w69m2ADoIh7-VDztSdOOPcUQKXwcbETtRhJyVeMNH2QuACFVqmzuxvw6fu1WSIgWzDgQP5MxOCWPJdhOAE7xSFmqma68ofKYufTAkJfpOJnACUevn0MrVHgAs6D1RRjrGm8lfm0buCOWSC_sSX8TYom6qhSlcDUU2hUsXYShPPbLENl1TGx2C02bfCndEW8DoEAdbG2AG5CFfG2UODUJmd0u04dVtbrg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4aaa9ccd334b3cd8e159caf2684b3e43", "x-ms-return-client-request-id": "true" }, @@ -249,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1599", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:11 GMT", + "Date": "Mon, 10 May 2021 15:39:33 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "34ecbb9a-df16-47ae-b712-be9766163bd1" + "X-Ms-Correlation-Request-Id": "cbbcb151-2e0e-46f1-9e85-8b664a5bcbc7" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -332,11 +332,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "69829bd82ce7b7ad0482eea40948593d", "x-ms-return-client-request-id": "true" }, @@ -352,16 +352,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:11 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "94e6712e-7f6a-4ff4-a354-f004ebc7f576" + "X-Ms-Correlation-Request-Id": "5492c34c-3f34-4bca-8a65-63bad11af155" }, "ResponseBody": { "errors": [ @@ -380,39 +380,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "97dfb55e3569cd1a6202f7dc1361136e", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:11 GMT", + "Date": "Mon, 10 May 2021 15:39:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "9a94355e-db52-4b88-b7b0-748d9c181fdd", - "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + "X-Ms-Correlation-Request-Id": "958e7db4-6ab5-4d91-b394-69839b7ef6a8", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiN2FmZDk3NS0wOTViLTQ2N2ItYmNiMS1lYjhiMzZlMTAzM2YiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzQsImV4cCI6MTYyMDY2NDc3NCwiaWF0IjoxNjIwNjYwMjc0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.IBBvcgLbUE9yDbMsKZbxJoF-DQtQL-h6MBCZJojLz2mT1iyCoVVrh7fy5iS4x4oKcmOAsLiuYygZ3gC7F1poxkhkhnOFCEV0coquHxtSCLmRj5RIU35uGd31mnn1XYa24ZVQA6mU8hZb2yq86q9W2p-azCOymFOlv3MewFTrCtJLnZ7dUVPARD7PvWYQWr50blO_vzc0sMGndLb8bJsKH_T6cPDmkrVqOnI6nsZTDd1kXpETA-qqBxFTrk4OyBKkqlQV0EFvWHS23eNVmuPBgqyx9LMxF3FH1xXeFkBzFAaw-ExVzYLo4FtcJ4IBgm9RVdFMCIF0MVeIv0ClK-GuPw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "69829bd82ce7b7ad0482eea40948593d", "x-ms-return-client-request-id": "true" }, @@ -428,7 +428,7 @@ "Connection": "keep-alive", "Content-Length": "830", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:12 GMT", + "Date": "Mon, 10 May 2021 15:39:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -436,16 +436,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7f17f2ec-d58d-47d0-884e-08757530084c" + "X-Ms-Correlation-Request-Id": "1c49b642-7a8f-4718-b0f5-2e22c0f860ed" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", "imageSize": 525, - "createdTime": "2021-05-06T00:53:02.2025743Z", - "lastUpdateTime": "2021-05-06T00:53:02.2025743Z", + "createdTime": "2021-05-10T15:39:28.0912635Z", + "lastUpdateTime": "2021-05-10T15:39:28.0912635Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -454,7 +454,7 @@ "writeEnabled": true, "readEnabled": true, "listEnabled": true, - "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00225/6/2021 12:53:03 AM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", + "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00225/10/2021 3:39:29 PM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", "quarantineState": "Passed" } } @@ -462,7 +462,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "92769314" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json index c468556546c0..6df407e6eadb 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetManifestPropertiesAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cfd37eafb80dec61935fb235c2c25c57", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:03 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c5a59851-1d07-464b-9b9c-af6a0b0754d3" + "X-Ms-Correlation-Request-Id": "b19c426d-33a1-4e99-8586-b8b602563afe" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f44f1323d1c23e0e2eff14a51d8210ae", "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=localtestacr04.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:04 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f3619854-4a66-4f10-afa3-93a7561d1d43", - "x-ms-ratelimit-remaining-calls-per-second": "165.216667" + "X-Ms-Correlation-Request-Id": "3b084ee6-cd1c-4f8e-8009-e8aa6895fa06", + "x-ms-ratelimit-remaining-calls-per-second": "166.216667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDN9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "380cc10264623064d3f47ec782d9baa9", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:04 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2f54e8c7-3ce3-4d77-8edf-a3e50bfc0b2e", - "x-ms-ratelimit-remaining-calls-per-second": "165.2" + "X-Ms-Correlation-Request-Id": "924d9438-d65a-4f86-a363-21373710bd74", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI2NGFiNmJjOS01ODdkLTQyYWYtYTM0Mi02YWE2MzdjMDkyZDMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzgsImV4cCI6MTYyMDY2NDgzOCwiaWF0IjoxNjIwNjYwMzM4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.IT7BU2ylB76aH2hIRTuMD4pIMgrU5B6yQCbU7uDwtE84tQjoAsaDpHQW_NafqSxMjJukVdWeAtV1G-nv2dZkbv3cZrjuzjMEreXsWZyEt1xI_Z48AIyIMbj_KUgEN7ospsSDovqX6wvpZ-uHLduH4G_z18ikg5kjGcyhSC8ILAggQzj9DNZCgn-J_XI2BWhyqtoRQFiSt8k5Pw0s7gB1rnmchgJc_IA7Vd7lcGXBW1DyIQmX__ns7Bfbp91R9PYmujU1V39krB87EIbiu9X2uvQ8leN7KCEgMpJJUg6eM8ZDKHsNiCn4JI2mjATj1_OLlxUTpFOnHPcAYoq-pgihzg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/v1", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cfd37eafb80dec61935fb235c2c25c57", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "389", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:04 GMT", + "Date": "Mon, 10 May 2021 15:40:38 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9047aeaa-148a-44f8-8b52-c9042175a92f" + "X-Ms-Correlation-Request-Id": "ce14bafd-74c1-41d9-9ecc-adbe772fb498" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "v1", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:02.5770036Z", - "lastUpdateTime": "2021-05-06T00:53:02.5770036Z", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "62cb8cbdbe0dde1b6f95a00ea4bccf11", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:04 GMT", + "Date": "Mon, 10 May 2021 15:40:39 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "fb3b51bf-a998-4798-b2d1-bd676b12f87c" + "X-Ms-Correlation-Request-Id": "5dabea37-269e-499e-b456-3f6d7f79526d" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0133034f23b6bff4af1f21ce5347bc55", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:04 GMT", + "Date": "Mon, 10 May 2021 15:40:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "e3c94166-19b4-4e2d-9b1f-020f02c12049", - "x-ms-ratelimit-remaining-calls-per-second": "165.183333" + "X-Ms-Correlation-Request-Id": "61822311-6255-4928-941e-f01aebc3a852", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjZTM0ZDQ2NC1iOTRlLTQ1ZWItYTExOC1hNTAyYmQ3YWVmNGMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzksImV4cCI6MTYyMDY2NDgzOSwiaWF0IjoxNjIwNjYwMzM5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.BHt_nueUtW_mJ4oVXsR-CvOVIoX3DXXZVserpz1aBip5YxmqW6PpC_9qk_YmDfONY2fJwE0qk_LMOnfhkqIwgzimL3eOiNzDD6MfSVoFkvsYlVo1ZKT5zBy2VCK4a3xQe18g591kVBWfvxaSo1oCvJVXSAWBxjoHB0BjCyGv8JEu-xLIjLb6pTH37lkI5VnH-kdtH9Ur_jzTSKJoeba8F8Opal08VVoQjt0Nj7Mdxe2CV0LClyTmQkYo2gjSOeILQLLIQ7m5g2gJvurjKqlMEwKc58G6fGvYIv5EEAxfSevefKU79_-pK5-FhEh2FFx2jBaL2rWgWIqcj_xv4UEw8w" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "62cb8cbdbe0dde1b6f95a00ea4bccf11", "x-ms-return-client-request-id": "true" }, @@ -249,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:04 GMT", + "Date": "Mon, 10 May 2021 15:40:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7e654e67-371f-437f-84d1-7c41dad3a8e8" + "X-Ms-Correlation-Request-Id": "dcfed2ac-90b2-407c-8c6d-0eb87575e16d" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -333,11 +333,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "90e86a44adb643a1a52ec8ccc3558b17", "x-ms-return-client-request-id": "true" }, @@ -353,16 +353,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:04 GMT", + "Date": "Mon, 10 May 2021 15:40:39 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f2620645-563e-4b28-b67a-3689a6d8b5f6" + "X-Ms-Correlation-Request-Id": "b53e48ea-1b5d-458e-8848-cc94929ce107" }, "ResponseBody": { "errors": [ @@ -381,39 +381,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7e776d25b8a699f3970cb3ee9d4d8a28", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:04 GMT", + "Date": "Mon, 10 May 2021 15:40:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "befd3e62-af07-4528-8756-7a79337a709d", - "x-ms-ratelimit-remaining-calls-per-second": "165.166667" + "X-Ms-Correlation-Request-Id": "241185c4-902b-4f8f-b87a-4ba3e30cd415", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwYTIzODM2ZS0xNDE5LTQ2YTUtYjRhZS1iOGQ3OWZlZjc0NjkiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzksImV4cCI6MTYyMDY2NDgzOSwiaWF0IjoxNjIwNjYwMzM5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.u7QjvSNb2eaonwUPxlpcdVl2OSP6r0VAQduVYUn2ZSN8Q0VsixaU0ghqlhohhwy4UIwMIU8ASPj7Yf9FuGTfIpFielLOJul1VaZTPQlZFR2HR5YNkLAWj9FurfBRpVXVQB2LnY4OQO3dpWUnTQlw4Gpl5Mce3dGKuzkbPaNCgF0W9cnNw3Whq7wmOAyfKVtNVRcZcYZswAs4FOe0IDtWLjfXbrFZ5SXowi-RpJw4rrdbVtlqhigFmOSoDJS72SRDH2iT4t_Gub00kc2CF0WfvYn0M8uIuCq5W1E8JWo9kPYYTvBoKu9Ui1QGJPQ3paMEmGWbSJnaVD26kjhLUUXIQg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3A963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "90e86a44adb643a1a52ec8ccc3558b17", "x-ms-return-client-request-id": "true" }, @@ -429,7 +429,7 @@ "Connection": "keep-alive", "Content-Length": "830", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:04 GMT", + "Date": "Mon, 10 May 2021 15:40:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -437,16 +437,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f0f74395-6a3a-4e03-b1a0-4411a1402382" + "X-Ms-Correlation-Request-Id": "10563f15-dcc8-4a4d-9154-422b326818b6" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343", "imageSize": 525, - "createdTime": "2021-05-06T00:53:02.2025743Z", - "lastUpdateTime": "2021-05-06T00:53:02.2025743Z", + "createdTime": "2021-05-10T15:39:28.0912635Z", + "lastUpdateTime": "2021-05-10T15:39:28.0912635Z", "architecture": "arm64", "os": "linux", "mediaType": "application/vnd.docker.distribution.manifest.v2\u002Bjson", @@ -455,7 +455,7 @@ "writeEnabled": true, "readEnabled": true, "listEnabled": true, - "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00225/6/2021 12:53:48 AM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", + "quarantineDetails": "{\u0022state\u0022:\u0022Scan InProgress\u0022,\u0022link\u0022:\u0022https://aka.ms/test\u0022,\u0022scanner\u0022:\u0022Azure Security Monitoring-Qualys Scanner\u0022,\u0022result\u0022:{\u0022version\u0022:\u00225/10/2021 3:40:23 PM\u0022,\u0022summary\u0022:[{\u0022severity\u0022:\u0022High\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Medium\u0022,\u0022count\u0022:0},{\u0022severity\u0022:\u0022Low\u0022,\u0022count\u0022:0}]}}", "quarantineState": "Passed" } } @@ -463,7 +463,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "456077228" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json index 285d1c7b9c0c..3cfc63173dcb 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagProperties.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cab9d508d52a540245a379d9addc475d", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:12 GMT", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "6a54a863-824e-4e48-8a9a-60056d3136f8" + "X-Ms-Correlation-Request-Id": "1518ab98-c8fc-4747-b747-48f9e04cfc93" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "95b5871dca0b0a8e967c86e9d1cc877c", "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=localtestacr04.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:12 GMT", + "Date": "Mon, 10 May 2021 15:39:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "cc6f968e-f555-4609-b3d8-6c2ca1f95679", - "x-ms-ratelimit-remaining-calls-per-second": "165.566667" + "X-Ms-Correlation-Request-Id": "6247d1c9-88ea-41d5-b974-5022b572782a", + "x-ms-ratelimit-remaining-calls-per-second": "165.633333" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDIzOTF9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4e1ae8813702db62f3e5ce4b1e8cda72", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:12 GMT", + "Date": "Mon, 10 May 2021 15:39:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4b7baffd-9eed-47ab-9418-825199b8bac6", - "x-ms-ratelimit-remaining-calls-per-second": "165.55" + "X-Ms-Correlation-Request-Id": "d8b6cb66-96b3-4c35-9866-3be67dc93be7", + "x-ms-ratelimit-remaining-calls-per-second": "165.616667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlOWVlYmVjOC0yZTkwLTRkZWItYTQ3NS02MzUxMzcwYjdhMDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzQsImV4cCI6MTYyMDY2NDc3NCwiaWF0IjoxNjIwNjYwMjc0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.BSqYEQl2_D_HB82JugDEE7TZbUMlbcQqII8ss62sIIRFFYaR_rb4mtOxuoXQ798sVBZK6r6dZ8CR_eTSFb5UHzYPCwRqCCTXa31eUyxqXl1-jgTEnUA6Sl6aLTij2F6WaTi3Q7uz0CNNI_NTe6yx1nt0H1LniNvXr36TM1eW_s2aO9G9EEJu5hqx4VWjgcUVZs1kbZPqMJXy66SwBH2q_J7pS0A2CcTIHnwtJZVmQSK_I3cucvOcAuN7MWdTOS5K8I7QDf4tqlKLv4NVv6_2fNXYUZB-5GlnaWT0xcDzBDxJlTR-wyK0u6Lv37v_G4AA3usAXc3a7PucsX-xngzQQQ" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "cab9d508d52a540245a379d9addc475d", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:53:12 GMT", + "Date": "Mon, 10 May 2021 15:39:34 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "351840ad-887a-4c2f-b0b1-5284426d7545" + "X-Ms-Correlation-Request-Id": "5d37bb42-7849-4046-a43b-4e20415602ed" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -154,7 +154,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1137592503" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json index ae9f8216cf4e..b702afd15f72 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagPropertiesAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2f504c118ce8cc1fb00e46e43fadc240", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:04 GMT", + "Date": "Mon, 10 May 2021 15:40:39 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "32f8501c-c1f9-4c76-9fe9-b79158bfc6bc" + "X-Ms-Correlation-Request-Id": "4cad5e06-ad42-46b0-b170-d655e08c9fe1" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2b81707b0fd0b3841b82ea8c3f0a81dd", "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=localtestacr04.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:05 GMT", + "Date": "Mon, 10 May 2021 15:40:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "d08728a8-7a20-4441-9a68-c897b349fa06", - "x-ms-ratelimit-remaining-calls-per-second": "165.15" + "X-Ms-Correlation-Request-Id": "187c4ad5-8ad0-44be-8cc3-1f442973cf6a", + "x-ms-ratelimit-remaining-calls-per-second": "166.15" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDR9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2a3d8d61c767d4103563ad38c585f0a4", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:05 GMT", + "Date": "Mon, 10 May 2021 15:40:39 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1b4770da-3aa3-4d9c-81c5-5d16f7f134ce", - "x-ms-ratelimit-remaining-calls-per-second": "165.133333" + "X-Ms-Correlation-Request-Id": "a9ae859d-7413-4882-847b-d8410aab6ce6", + "x-ms-ratelimit-remaining-calls-per-second": "166.116667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4MDc4ZjI0ZC0zMTMzLTQwNDEtOTJiOS00YzJhZjFhMjU2YmMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzksImV4cCI6MTYyMDY2NDgzOSwiaWF0IjoxNjIwNjYwMzM5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.RG0xatmDsrdt_vtXIeGvaO6aLqdH4CH5RzCCRqvhK7xr2oGCYVynTLNcg4mfaTcqh7tUHrKahNpwph71l1n9L3Mik_fLqHzVkGf-JTJj6P1RpTgD314nh8WTBI6OADx1sHBIefdyIIRs62w-p9KBdG8zzn88Z0UA1VD6YWeMX5ZMpQWPLkbVoQNBgP_7ibe5RnZfdHeA90rcq5rHr1TnbkvJSts0s69FR_-1Cf9NnBn7n4CGElVLHAeakm0G_4rq3Yywym9wP2HDyVsTKtnTrovRxghtsvS2Ot6NCWLX3EzQZklK5oDN2q8rTEgcKqqH6p5BGsz8m7kiRCOIz1idGg" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2f504c118ce8cc1fb00e46e43fadc240", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:05 GMT", + "Date": "Mon, 10 May 2021 15:40:39 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4bc60b20-7513-4547-8134-5ce51b5397e3" + "X-Ms-Correlation-Request-Id": "45ab2518-9ed8-4906-9f7b-752add4bb40d" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -154,7 +154,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1722667733" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(False).json new file mode 100644 index 000000000000..5cd9d531adb3 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(False).json @@ -0,0 +1,339 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "30461ebd144bf660b659c4e1b186c8e6", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "49af6a4f-af1d-4840-aa09-a2fe0d2fc24a" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "c6515641571974cdd7b88a32d17c9552", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:35 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "41a5dd0f-d769-4d3d-b8aa-626503df9915", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "bd8732fcd71cfa4e7808a8fed8134897", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:35 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "d628b993-e499-42b1-af7d-6a477d3d11a9", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzYWYwZDU2Yi0zYWM0LTQ2YzgtYTU1YS0xYjViNDA2YTBkZTkiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzUsImV4cCI6MTYyMDY2NDc3NSwiaWF0IjoxNjIwNjYwMjc1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.YhPZvhnh5NYewO8iPoF3smZNC7Wdl_-uJ2Egh2OZQh-vvC52qinI3N6aoMyBXRXgerJwipQpGqyimS7LJtCHu_iNG3krp1GpJO510rFmamelXNsLCZh4AtkHIx_pqTtevDvLWNy2f3qWyfLCoC7bYsOJuQbWDOYDLxo44smOmrSnbcCBd4nlrLnwwwWmhMXuxlHkk0WDglRdFWUUmRXJ-4vPtWo5OnA8IAFWZSSzu-1j_HO6vOKa7espPJAXhdpbbGtuTrRxpb_SsmbkaiEPOhPERdrGCAAAxKQHzcvF8suU9jpG0a9SVczVhLPhYtyJc8dV0Qfp8pfyRw7HQA7b5g" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "30461ebd144bf660b659c4e1b186c8e6", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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": "374f23b4-9296-464e-acc6-6cf528206ac5" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "4fc99e80c5cf668550d158938a2d243a", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "073ebcee-1b38-44b6-8512-5c12b2e5205e" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "7fe571c30afe69ca07574e10afcf9cc4", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:35 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7a2f8963-af3c-4dd3-8f8a-f5304ed65953", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1YmM1MTc4Zi1iYWVjLTRhZDgtYjZiNi1mMjM2NGZhMDdkNmQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyNzUsImV4cCI6MTYyMDY2NDc3NSwiaWF0IjoxNjIwNjYwMjc1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.akhh5ObEhmVFT3eCC2NEaspTcSyvxRfHcLSvDzjMp9UKTL0wM8jBM9OKz0OXzBaPpNyHDyZauU4JuWtc89wt_9DRZChPByt5vNzGBMouYJcGRQHNzjJSK_wuv0kYwmGsfQxcVGSn2X7U2iLtNVFrbD0DML4eu5Idkr64YhhXwZFZFlHIVLuDEqbxyoM-xhuhpYLFl2DrBxrvW9y5VV2RGU_u6W7pHxeiD7bB5G7mRVj_wTcqGlbMnNURmDdkJlXJEvJ4PgcFawYt0aEG_6fAQmIeyainp6Q_VckjB0uTaNdqZCjWEU2iJiHampAUfX59hf52elxiPIL3tHvrOSrsVA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "4fc99e80c5cf668550d158938a2d243a", + "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": "1632", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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": "0e0d1b57-1ee1-4a64-bd5d-e6544441c9d9" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "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 + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "59101963" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(False)Async.json new file mode 100644 index 000000000000..499293ecac3e --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(False)Async.json @@ -0,0 +1,352 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "6f66d8ee89440bd908a3864b81af0de8", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:39 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "6628f26f-1737-4ac9-a739-d51327b13700" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "144646389dbd1a6df89abfcd804d9281", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.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:40 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "37558b70-9dd0-46b0-a6f9-52e806e8eb12", + "x-ms-ratelimit-remaining-calls-per-second": "166.1" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "23d88d0ebc49d2d4ece29157e97346ac", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:40 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3f65b91d-8d11-42e0-9b63-6fba07e16145", + "x-ms-ratelimit-remaining-calls-per-second": "166.066667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmZGMzZGQ4NC1kMWQ2LTQ1ODAtYmQzNS02YzgyYjk5ZjIwN2UiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNDAsImV4cCI6MTYyMDY2NDg0MCwiaWF0IjoxNjIwNjYwMzQwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.ru42lDlFRMF_o9i06RSylDHHSAEyJC0t1YZfOLXxcEJv9DzGZkY8bp1vfhASX-bGjrxcwKunUBcA7h1KoLfDPFiuGSHsxAsRfeYck_IYw_NZhKBBpFlxKYXE17xNa-sm6PeRSHVG5u4WUAlG6dyT_p0ahCiee-oqySdcKLyNQInR85T24GekQScue7zzs4rPG28_a9L4lzYUQnhPfOAiuF9FYBhdrT8n4wE5d8_JmbZw6yQ_jfp3yXi7aaKpKBpjfnh6uDzN6Rc1_Zw43rlNEix-CCmuJ1XXICvA7k8JBeEs7Bww40KwA84Q87M14r0jvF4liF84hmleXomg-QrzMw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "6f66d8ee89440bd908a3864b81af0de8", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:40 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": "6eef2483-0076-4e06-a678-8d6f223b820b" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "b49827ecf40151cc6b4b77a9ca0b8aba", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "53cf2b5e-17c3-40e8-b11c-907603918cec" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "f33d0511e9d67b9f727327db0b153184", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:40 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0c54f017-bb98-4e78-91b4-0eaa7adfb3a4", + "x-ms-ratelimit-remaining-calls-per-second": "166.05" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1ZGU4MDk1Yy03ZDM2LTQ5NmEtYWYzMC1jZDgzOTA1YzAwYzEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNDAsImV4cCI6MTYyMDY2NDg0MCwiaWF0IjoxNjIwNjYwMzQwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.kR_H5V5pnREHeednfXmr8O1kw_WFWnhhmRhbNpha-iFNQAI2z0MozGhw0uqi1ODlIYF5SOOOzaaqjOj9VFbBtqs6dFO9VZL-SDXdNBHnZsc90JlWx_jKXuI2KFQOCdivArEf2fr9waDu5bb7ZPbPTc63pBK_KX6gddBMtxEk7frylU9dtSL3QA2uIZ5QdhzxlcASOLLZxcytCF_9zp0a9JdTiD6ERNRNEpF4stxNAJpp-IUE5Swu20YL3MyR1jv3Q6-pl3_GfOcuwZpNPgx4YVV0HC1PFFwqTaroxkY9C24R1kmcqJKdwg2chYRIgkLNifWVTAbvh5gdmKD8Wz5EWw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "b49827ecf40151cc6b4b77a9ca0b8aba", + "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": "1945", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:40 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": "a0cf15e0-bcf1-4684-875b-2ab9734b9021" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "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 + } + }, + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:50.1872003Z", + "lastUpdateTime": "2021-05-10T15:39:50.1872003Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "2051731688" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(True).json new file mode 100644 index 000000000000..f0dc5ff3dda4 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(True).json @@ -0,0 +1,325 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "e978c39e4359dd61f5eaca484e327af6", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "bec9492c-0e39-4dba-83d7-9b5cce328ee6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "0ead156e8ee2b77d3b541320bc08291b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:34 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "472b4e5b-33a9-45a0-b326-8eb13e63e8df", + "x-ms-ratelimit-remaining-calls-per-second": "166.4" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "e978c39e4359dd61f5eaca484e327af6", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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-Correlation-Request-Id": "1b930631-ca30-492e-abf0-9f0ec6ce937f" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "8c3c33ecb5a05467bea881ad39ec1c46", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "688616c8-9870-4dc4-97bc-e7b4d216a754" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "afaa07c1db370f4745c0ad05304021ed", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:34 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0ceb0da7-4905-418d-ba99-750705cf7535", + "x-ms-ratelimit-remaining-calls-per-second": "166.383333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "8c3c33ecb5a05467bea881ad39ec1c46", + "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": "1947", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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-Correlation-Request-Id": "91c45108-27f4-49d7-84d4-d3fbf2aa3bc4" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-08T00:24:56.1702111Z", + "lastUpdateTime": "2021-05-08T00:24:56.1702111Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:38.2864098Z", + "lastUpdateTime": "2021-05-07T19:07:38.2864098Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.887259Z", + "lastUpdateTime": "2021-05-07T19:07:39.887259Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:40.5916505Z", + "lastUpdateTime": "2021-05-07T19:07:40.5916505Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.1419449Z", + "lastUpdateTime": "2021-05-07T19:07:39.1419449Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1749907977" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(True)Async.json new file mode 100644 index 000000000000..a955fb0edf79 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTags(True)Async.json @@ -0,0 +1,325 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "29ecbbb87f9fe30a5b16fa531e2ebf28", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:39 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "dee54f99-3b7b-402e-ae0d-5e2cef904afa" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "9fdb591d10d5c49c970738f75111b334", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:39 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "b1b19e4d-69fd-4acd-9ba3-ac1e9a16115b", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "29ecbbb87f9fe30a5b16fa531e2ebf28", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:39 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": "fe426472-38b7-4fe0-8d5e-3ff905700893" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "9b0928545393ed266adf547adcae51c0", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:39 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "b78c7a39-9cbf-45bc-ad54-17b32c68e9d6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "3579b45195b8a8711e28919746139149", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:39 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0e32bced-116b-49e0-a648-101d7ece1540", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "9b0928545393ed266adf547adcae51c0", + "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": "1947", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:39 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": "7bce3b82-40db-4f2c-b61e-302641168c61" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-08T00:24:56.1702111Z", + "lastUpdateTime": "2021-05-08T00:24:56.1702111Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:38.2864098Z", + "lastUpdateTime": "2021-05-07T19:07:38.2864098Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.887259Z", + "lastUpdateTime": "2021-05-07T19:07:39.887259Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:40.5916505Z", + "lastUpdateTime": "2021-05-07T19:07:40.5916505Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.1419449Z", + "lastUpdateTime": "2021-05-07T19:07:39.1419449Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "2126606767" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(False).json new file mode 100644 index 000000000000..642517a90f0f --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(False).json @@ -0,0 +1,357 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "8a8fe31f852408f9ab84e22a1d041427", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2b98ba6b-ba61-4feb-9c39-99601d2a5157" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "52a690ae1265be26c6b686c64d3923f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "9994314c-4cc5-4c27-a485-6fa4d98b7e06", + "x-ms-ratelimit-remaining-calls-per-second": "166.066667" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "e4c7d085d433ca343078cc8c66269340", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "c88b674e-12d0-4075-8243-d7a35d89e42e", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3YmVjYzc5NS1iNDJjLTQ1OTUtYTk0ZC0wNjYzOGJhNjhiODUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTcsImV4cCI6MTYyMDY2NDc5NywiaWF0IjoxNjIwNjYwMjk3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.LM7cu7jb5bmIUv1yEs2Qhew__xBVRFg5_hTPJWolomkss8GHAKdBSow-SGXzu1MpHfn8nb9kgo-Yt9HteY_WQtGpuWM_7sbITFnpD1x-joGFwUuJ5sVX0Xh7vgPJWHIRMLxWe4Cjjw-_7E2GoQ0ILChEM00D4W-g1Kiz2iwT6KTwhGOgm5j72Q_CvoLUIdVZkFvnZgHbVqzriHWFIP5b7c6a8hGeAlGTkXoNgbK8GnPkwSwBT6tJsluj6Xb1mJHHpyAMRo3NI_GTMuUAGPddCZl4hhP8luTevU9ECLe5oiJK6xldUe_AQEkL-oE1JWlrsxdmhCr4dd1XnKOgXjmaIQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "8a8fe31f852408f9ab84e22a1d041427", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:57 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": "4ba92712-3f99-486d-95f5-4f2576db6282" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "b9dad57ec1de0d53bdd1c36eff32ba72", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5d924857-92d6-400f-b561-8ce49b398aad" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "4da5ed60303cd9f35bdb21ed459958a0", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:57 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "5db710b2-7c77-4b40-a5ac-ec71d7789872", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3YWEzNTBmMS04Y2QyLTQ5OGUtOWZhNi04OTQ2ZGUyNDFhNGIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTcsImV4cCI6MTYyMDY2NDc5NywiaWF0IjoxNjIwNjYwMjk3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.0-IMQuOA-iLv_6AnhW2xWOYiuBNTwX7MiDX8uh2xSdpxg_tRAARSNYk7mQaNEDThXD-2Gxo4Y2KHKoTiJnDbvITu_fH-cNKXbInj2Zpk0ePao6OwbaqxREuXohVktnYXA6i_cFZ2amQ2cmON6QSwDYFVuFXtb8R1gnAHK_cvJAmSO0UBEPg5VPFcy8BPXbOailJ8DtT6mXeIDaYamnaBGa0QfBgXwMhzDQhrXvSw2aP-YQ_2mCEctNgnzLgiREnAo2hHLXCKvXJyVZWeL1u1Yg5EkuJuo8Qd-BcvYTY_ZYuqAi-XgUqJaEO9KC5We5-qYQZSu62l5uSxv1yO6YJReQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "b9dad57ec1de0d53bdd1c36eff32ba72", + "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": "1945", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:57 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": "37cee4e5-1c57-4b89-a4eb-92a1c3357f3e" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:50.1872003Z", + "lastUpdateTime": "2021-05-10T15:39:50.1872003Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "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 + } + } + ] + } + } + ], + "Variables": { + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "RandomSeed": "827681498", + "RESOURCE_GROUP": "rg-localtestacr04", + "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/CanGetTagsOrdered(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(False)Async.json new file mode 100644 index 000000000000..da54f487bf29 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(False)Async.json @@ -0,0 +1,357 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "7582d96f1d7ca4e42b21fa0b2f1a5899", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:02 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5e46de4b-ecec-40be-b928-754b413e1631" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "6076efda376c41991b81c7421790c046", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.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:02 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "4521e3ad-317e-4f75-9c37-4074a135bf4c", + "x-ms-ratelimit-remaining-calls-per-second": "165.933333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "7d3a4d086976bbe9592ed6af766c7b67", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:02 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "eb8dc5ef-ed26-4109-8fff-a7ff90f8148c", + "x-ms-ratelimit-remaining-calls-per-second": "165.916667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI2YTAxM2FlYS01ZDEzLTQ4NWEtYmZjMi1mY2E4NWIyNWQ4MjEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjIsImV4cCI6MTYyMDY2NDg2MiwiaWF0IjoxNjIwNjYwMzYyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.wCYLIhd3V51_tkrxMcAK_egvFnGQnxncBCd8Dbs5vYFVZ9l31o1tKGMspHke3Vpn5WFJKUiZIdQb2ILqOohLc-YX4-NVLFY_cG5JAY4CxibO3D5Iqb6FmowE3uhbRDA32BWpN0f7Qq637FtkFqzSm631Z81OkQ-PqESIeL50JtJxgzMf7ARCGB0zVgVWM3i2BSRGzy22hUpHtF0znfCf5LeBON0iOXyl0gFTWjAAuEp5yK9XEyOZfZ5zuaJ0sVKHLaRC7RyKJj3nsCj8k7Utk7mT0l2PG8-1FLIMBzrv7n-OczkO3SgNISi_UhnRjIF6JHvHJ-WNJjwf4kldgRHjcA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "7582d96f1d7ca4e42b21fa0b2f1a5899", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:02 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": "a84d80d6-739a-4dc9-890f-5d03effff723" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "15730694ba1f37053f405afb55a28d9a", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:02 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "b5755321-a1c8-4a15-aba2-2eb98468d82b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "e103b460dadf712205ba073e60eacbaf", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:02 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "a5dec397-1b2e-44ca-96de-ccdeb36c143a", + "x-ms-ratelimit-remaining-calls-per-second": "165.9" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI2YzM3NWMwNC1jMGRmLTRhMzAtOTQ3Ny05NGQxOWZjZWU4YmUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjIsImV4cCI6MTYyMDY2NDg2MiwiaWF0IjoxNjIwNjYwMzYyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.aaCsyv9Po5jAYoUhfMs5GvNi9iXp1CIAtvp5-3IZ3YURyNFhjFhMznl6oamQgj6t_4_0RhT05_aPsATc6iCeHXU74cWQIDXDTGs8bO13bEN5TYlYYPKcDG0Ctf17c9n5SOh_gacfPKNazEts3gxgPU44HrZxQ22Z8qxFKTZtemVByPG2cpZWVpNYiKug7h0UXI1pNgltMlhacSOzCrWQodLYHI_Zo0WKEcNBxvqEUQgbXGTrSngaQZ1MtB-sYeOHDI17B3dvuKuZH63uiyhASRHq2tuQd_gafqzWSmlvmvSSUnHT7viJNCxN8BtgAagOhlWfvxdHyEydMUH7ATPqMg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "15730694ba1f37053f405afb55a28d9a", + "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": "1945", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:02 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": "1931b2a1-bf22-4eed-aafd-4b9aeaebad49" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:50.1872003Z", + "lastUpdateTime": "2021-05-10T15:39:50.1872003Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "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 + } + } + ] + } + } + ], + "Variables": { + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "CONTAINERREGISTRY_REGISTRY_NAME": "localtestacr04", + "RandomSeed": "1197289355", + "RESOURCE_GROUP": "rg-localtestacr04", + "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/CanGetTagsOrdered(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(True).json new file mode 100644 index 000000000000..cd9563d4d1bb --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(True).json @@ -0,0 +1,330 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "659dbb606bbdb6e9362ecccf4c2a846e", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:46 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "1a76dd1c-fe03-4c15-b23f-01667e4cbfc8" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "7e2c3240dd9c6d4fec6c2d2c70da65a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:46 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "078884da-b5a4-405c-89ec-66cc243633a0", + "x-ms-ratelimit-remaining-calls-per-second": "166.516667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "659dbb606bbdb6e9362ecccf4c2a846e", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:46 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": "8a5092d9-6bf8-4df6-984a-cf138247cb3f" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "45ee9f1cf3c38580e15191536d37db4b", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:46 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2b7fcf8f-30f8-46aa-856f-c9e24521121e" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "9e0a317b2c0883716c2f79503ebc455c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:46 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "4ae98726-c763-413f-a9f1-4a5cbdf0f2b7", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "45ee9f1cf3c38580e15191536d37db4b", + "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": "1947", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:46 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": "5176cd34-bef8-460a-a973-23c1da815bf5" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-08T00:24:56.1702111Z", + "lastUpdateTime": "2021-05-08T00:24:56.1702111Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:40.5916505Z", + "lastUpdateTime": "2021-05-07T19:07:40.5916505Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.887259Z", + "lastUpdateTime": "2021-05-07T19:07:39.887259Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.1419449Z", + "lastUpdateTime": "2021-05-07T19:07:39.1419449Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:38.2864098Z", + "lastUpdateTime": "2021-05-07T19:07:38.2864098Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "CONTAINERREGISTRY_ANONREGISTRY_NAME": "localtestacr04anon", + "RandomSeed": "2140385403", + "RESOURCE_GROUP": "rg-localtestacr04", + "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/CanGetTagsOrdered(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(True)Async.json new file mode 100644 index 000000000000..0f0a12c9dc8d --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsOrdered(True)Async.json @@ -0,0 +1,330 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "d241b610e9a4e70138824aedf645930c", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:51 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "1b942c51-015b-46f4-b4f4-3e563fc669b9" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "cd4daaf00d3111e709d0ece1b2923cbd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:51 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "8ba9ff41-fd93-4f2d-9968-f3144eb8bac2", + "x-ms-ratelimit-remaining-calls-per-second": "166.4" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "d241b610e9a4e70138824aedf645930c", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:51 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": "b5aefd1e-e86f-4b6b-9552-cf442ff1ac49" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "72a01f98e7d0f9cc91df1a4632230bd7", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:51 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4571c3aa-8618-41ca-ab6a-6950dce04dbe" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "4ad4ff9ec64f02f3cf2fc9d3fd2035a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:51 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "eecfcc58-465b-4723-8de4-6fcb390c1a9a", + "x-ms-ratelimit-remaining-calls-per-second": "166.383333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?orderby=timedesc\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "72a01f98e7d0f9cc91df1a4632230bd7", + "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": "1947", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:51 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": "c6dd8886-8d47-4795-a838-2c320649aee9" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-08T00:24:56.1702111Z", + "lastUpdateTime": "2021-05-08T00:24:56.1702111Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:40.5916505Z", + "lastUpdateTime": "2021-05-07T19:07:40.5916505Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.887259Z", + "lastUpdateTime": "2021-05-07T19:07:39.887259Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.1419449Z", + "lastUpdateTime": "2021-05-07T19:07:39.1419449Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:38.2864098Z", + "lastUpdateTime": "2021-05-07T19:07:38.2864098Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CLIENT_ID": "bbb27b06-7c67-402c-9a69-f04ad5a5b278", + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "CONTAINERREGISTRY_ANONREGISTRY_NAME": "localtestacr04anon", + "RandomSeed": "383159535", + "RESOURCE_GROUP": "rg-localtestacr04", + "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/CanGetTagsStartingMidCollection(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(False).json new file mode 100644 index 000000000000..ebd20578ea99 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(False).json @@ -0,0 +1,543 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "28544da5fa24c195e5fcd1ba7b20cb6b", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2087dbcf-6971-4cd9-ba8a-2f6e2a27bea6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "c5d56fb6624c95130009f920acb47b7a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7a3b0040-b240-482f-ad05-52f88e9e08fe", + "x-ms-ratelimit-remaining-calls-per-second": "165.633333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "94003bc277d8e14ed7cc552d27357293", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "3ffaeb9e-2dd2-4e3d-9332-2a0cca80d3ad", + "x-ms-ratelimit-remaining-calls-per-second": "165.616667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhZGQ3Y2ZmNy0wNjUzLTRlZjAtYWNiNC1lYzI2OWVjMzU2YTMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTksImV4cCI6MTYyMDY2NDc5OSwiaWF0IjoxNjIwNjYwMjk5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.Ofs_1j-JBTc4D_OUKPhTsRkUg-UavLbc1c_WVt5aFQpbC4tEvxkZgu5cUZx7303KTdcdt7giS8Wxad7OhRvbfx3xOp_VugkAupUkYlUqWgpsP8cO54irQQvkZfDPqnJmHuJtIQe5LROvAPzmvcF2rvCmsz1bxrNkKayQ_au6SJl7Q5G8wQQtlzgXQfPOgAydhVJTU-GareiSG4SyaLK0w90qLIrhVo_B-WWE20g3-9zpasFfDnyxmNGE4NRi7SiCdCEgYgR-AjR7dTZUBlxC6LbAhSnWkHVsNoXRyNwH1_SRuD27bEhWIDAxhyiQ1bXmFlN6jJ1MRLvYgoJG_X8pVw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "28544da5fa24c195e5fcd1ba7b20cb6b", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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-Correlation-Request-Id": "d8b61967-5b89-460d-9524-c1be5273e7f1" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "e823f058e646431d39be281a01741430", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "ee72cf5e-2cb7-476c-9ccc-44a1f8779440" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "40f75780361f3f9221f4ee800de66eca", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "2fd5af6b-a312-475e-a1bd-cb6752576610", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI2Njc5ZjljYS1hNzk1LTQyZTktODM5Zi0xMDlkNzQxN2ZiZWIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTksImV4cCI6MTYyMDY2NDc5OSwiaWF0IjoxNjIwNjYwMjk5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.wl8d36M-HJ18RoNH3hsVGoXujYjOCicnFIxEOzwj5qzLpbWtcLYNjLevfMlOV7KBFAFOw9PKR0IY3j6AO1JaUqIOwVAErQJBOkcMXOAdndPUiJOUPWg4gZrWuMMzWyJ41dNj9nV1W00X9grSTLlUjogDTrkuxxFI39NntULjCGomINpBTtLqqkJEc0j8ZsH0E7aIVTkUsED2X7QsFnHZ9zYrI5-uGzNwz2nBhbK6Q7xG6wIpfEwYGhMiJOtE9zS0BGzyTUMhUNi95jWI0ZtZn7Dtc5dV9l4loBqtvErRXH9v0c9A6Xk9l-U29ypw66XBXKFdmCtVYws5nMWwoEgMiw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "e823f058e646431d39be281a01741430", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:59 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "745c3f86-09d2-4285-b22d-3637564bfb76" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "bcc766979290db341dbd5b1a4e33e062", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "dc2594a7-8cc5-42c0-91b0-ddf48e151be3" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "d0ac25b7313d21735de4c751f89d3552", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "ed3f3c36-b77b-437a-94d4-3fc29fb41151", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0ZWVhNDI5Zi04OWUxLTRlOTMtYTMwMC1iNGFiZWMwYjU1MDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTksImV4cCI6MTYyMDY2NDc5OSwiaWF0IjoxNjIwNjYwMjk5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.NOVZBU3VGdAgZfTZUXsBLYGVOTO7xBZFC_5Emj56IXdybwUiJ-DPpReSDxRSE22Rpe0y86ynv1Dhg-vZfrnhB4ro89UtLngGuCXaOZ5FQhQrcVhiV2uvHtIU2T6uSK2_QWLKzVIkGKUkM39b7ozb4M68AqtBmC0vveIKodt2a57slrWTQb87MwRF5y7YgQ8ioz3FtdNKGzDcZCbjNAyKv9tl6ikxMugwODrlv2Ha4LMJMXs0eV9-14g-5Qkjus6NbvFWytjqXIql_H6zM6U1mj_yzqmJYfDG1W4zuf9kK-NR9KGhjYLWLwEZlMQAc0m51Y0k4K0cU5K3sYsobOiJnw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "bcc766979290db341dbd5b1a4e33e062", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:59 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "75d4f0fe-b9d8-4217-b8b9-b3487c5b692c" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "9a835d5057adee9f221c2262db78f1ed", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "2bf689f1-dca3-41af-8faa-1a37fe53ed9e" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "e7c88b149d3a658cf3a55faccae2e280", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:59 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "714fcc85-6ff5-47d8-baaf-79629c54a96b", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4MjVkNTZmYS0yMDNlLTRlNjUtODgzOS0wNzJlYmZjYTMzMTgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTksImV4cCI6MTYyMDY2NDc5OSwiaWF0IjoxNjIwNjYwMjk5LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.bJzOHuPTyR5MMqViMNWLidJktBPtX6wXEVV612xtBGzZTO2bxho7Eb7iQamaLnhb-tdPHQWlv0tgpOX7i0U_IxabAi3Ir2g9HNKj4gaT6UQ4M6gSSPiEGBv6Oupivxb3fzY-x6UxiVb3BpFjIS9kBzt0_8X9U8eTHWvYbEoXgPCQT32jt0CBbJ7KL2Dursv_6-SDejIHojVOhaZVz-xIbkVCFREKYhiNjZVJX3PVG04jurxbsKS8HQVmaff_RjWz6Abkh2jfrHQq8Ei4SHFQ5vF0MmXK_3N217DCrS1MKAymg2P_tBsSskDRWe3sY09CQzWeAUq807PGOoBDBZm21g" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "9a835d5057adee9f221c2262db78f1ed", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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-Correlation-Request-Id": "ab51e42b-b704-4e0a-aa9d-d71cb99ab164" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "931038847" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(False)Async.json new file mode 100644 index 000000000000..736ba4dd4d18 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(False)Async.json @@ -0,0 +1,543 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "fa7d2dc829b44b9b70aefc8a3f208dcb", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "aa98659a-7586-4c58-b64b-514ed735d49d" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "87877a4d1de7ed8c5b3691dd6dd89c2a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.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:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "86665ec9-610d-4583-900a-a142c92ba85a", + "x-ms-ratelimit-remaining-calls-per-second": "165.8" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "fcafd04d481faffec9fe0cfd96374a83", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "8683ee67-12fd-468e-9f40-86a278c5782a", + "x-ms-ratelimit-remaining-calls-per-second": "165.783333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiYmZmNDAxNS1iOTVlLTQ1ZTctODIyOC05OGRmNmVkZDQyZDciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjQsImV4cCI6MTYyMDY2NDg2NCwiaWF0IjoxNjIwNjYwMzY0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.GlXOJGA7q-PWj3XMdIGyslSgFCzrD0WHugab_5tmGz2OcFOA4kjG56l50arvKaVJI4yqquvA4HhwODNsbujKGAY0eFhU03pnsjqyJj5wg8-SzFMVNX4IgcYPbaXNTa51STAO2-YpPVaSsloGqBY6GJ156yqRNXuxeIX9nIVw5R8FZX2r1T8peQrBaZ5VWDT9oTZuWvwRbODIdlqTrkbc44NSRsq4_i4J1DFepMbXkygrQqpIJZF7m-GfFJbol7zgQwDviGY8JphUJU-YUaXCfjBB9bJhpbwKpgTnLZWQAPpUONa-O6A9Qroc70zIUa2fewA8BTt1xtKKAX20cSpnhA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "fa7d2dc829b44b9b70aefc8a3f208dcb", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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": "97994250-9295-4a44-b1af-0424d477a6be" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "ca6ec392ded5abd3a0909f7d97bede97", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "264780d1-e4b4-434b-a97d-f5c9a9eb9290" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "6e3dd212917104ac7bd7bee9108f5623", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "close", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "24f75b1a-73cf-44cb-ac64-e5828ae320bf", + "x-ms-ratelimit-remaining-calls-per-second": "165.766667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzM2UwNDg1Zi1mODFiLTQyODItOTNiMS1lMTFjNTFjNjZlOGYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjQsImV4cCI6MTYyMDY2NDg2NCwiaWF0IjoxNjIwNjYwMzY0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.MLFdwGJwijlIWsxdibpQgVnR6g4UX8YLM8kKgqdGv_blL75b3AIPlUyzxOIpon0BAp4trFG_OPY4KgVc9qLiLGNOf5rySwKM5aediHSjtKkixCovO2f6-QqGEm5cmZY_LYqthIKkgkV3ztomx7w_vOJLjLmdFoku-GeHV1DcKeesP89vLLbrgFBc5k4Gw2l_6e8aWCdJL2HM8WjsbYNat7dyV3HvWNiPl4UhSW8fD367DuUeJFnz9408G0oHE7IiFHeMaV9bhwTXozgTgHdiUREQBmZ1u5Cefqa8KFctASEbouL3m0B99sjDTdJlXFSHRL0ySvNRIsqZwsBYDbnMBQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "ca6ec392ded5abd3a0909f7d97bede97", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "868313d7-aced-481a-9679-e153f984e0db" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "aa4a0eecd16a6e54fd035b8ea981180a", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "08f6ecc6-f0ba-4a62-acc7-4f511bc53c72" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "c3ea7420dbf9001216694efe20e99b11", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "08c166ef-eff8-42c8-ba91-e7163c4bc561", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4NTNhYTAwZC0yODZkLTQ0OTUtOGRmMC05OTVjNWFkZTRlOGYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjQsImV4cCI6MTYyMDY2NDg2NCwiaWF0IjoxNjIwNjYwMzY0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.Fobvg99UrxTenCrgNj6A0qJuwXdTuylFwfNzAPt9CVIWJFIg6iJNzxQLCBDRmW0DCm92ZcsU5IBLVTJ4e5ONqbtxXbX_8iWpzedWnv557T_ytlX1fiUy7ape9i210vILVDniB6t51duUnk6s6bJDCDb-DekyFuXaFWeDaSSZZz6PBvOmzbsWgHOvB4NejkKJHOONknZPBPq4gKh1cUnPwa-p0geWeU4G4gtSjhQQR8K3w_0GfN_2F0QDWW2xsN6dvnVHaXodn9E1IjcMqXsnPEPUEVTP1Zm-KzZ5ghZmD5Eps530vjVnL-HtTJ0fsETWJ7zsoltgGDBW1oZrWve6Wg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "aa4a0eecd16a6e54fd035b8ea981180a", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a9598598-d5df-410a-b9fd-9462adcfd633" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "89917b393473402d7ecf716d351d5bfa", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d5bfa8c8-30bf-4956-8a79-35cb59353162" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "9cc9b4bf93a5112afb49930083564e13", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "88bb1753-f0cc-40d9-a7c7-82578955c434", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzOGQ3MzVjYi05ZGM5LTRjNjUtOGRlZC03NDgzNTA3YjM5ZTgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjQsImV4cCI6MTYyMDY2NDg2NCwiaWF0IjoxNjIwNjYwMzY0LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.HvqLHo98SeYNI4TxJGXBVlcrBlAIglIMhEftitEaFnvqCXWpZ7TfHEINvXivbAf1_KGCfzkPC_WSzCdFWpfxGUJSWpNGx6r_XUwsVsv23F1IC5MXTCMmZimeRcJnnSx4MxUwPznztW9zA018jUvuSqknDn1D3UdAun74QHWBUfi1L7-counrleQ15p5n_WvErk10GlF5K3kHDkxgvHB9yi54DuXQbzsWZ_NRhiDopmz30O6ycW79AUbjXyy5r8LxtL33TXc1tAyU9iG1rRBxX7lSyhOD_n0VxcQ4WgZHN2ICCDZzxpePdkTg3xmHiftMVpqcAC7Cu9ksW30osJc0rw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "89917b393473402d7ecf716d351d5bfa", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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": "11dcfa91-b180-4544-a6be-b47cff3eb9d0" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "111130852" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(True).json new file mode 100644 index 000000000000..d2797369db58 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(True).json @@ -0,0 +1,543 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "44d057b5f20535a769c756be14bf3099", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fc3a3f5c-ac7a-49e7-a8ed-9f78eff934c2" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "d4f6b3073ba3444885886866cfdd275a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.azurecr.io\u0026access_token=Sanitized", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "b800d43f-9ca4-4c10-b7a2-ca0833744091", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "1593136b707d293e612a5554c6077905", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7c72f4f3-1d4f-4282-9aef-4d956562463a", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0ZTg2YTQzYS03MmY3LTQ3ODgtYTcxZS05MTk3Y2M2NThmOGQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTgsImV4cCI6MTYyMDY2NDc5OCwiaWF0IjoxNjIwNjYwMjk4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.QdelnldI9mSQ6WhofWuf3z9zG5ICAwjlDwGsHsvE8Gvbhvu7CGRDY20obWsIDzzevgtOm4f49h7jwMIhXIe4LHASZ-ql_XTCv8F9OlIERt5khKBEvoIye8zEcLF3s_0epxUsnE0Kuwe-2GwQqsHhNdwc0ur0hm3uD7jk8GLFXjwx9wgglo_-Z9crAgXih4Trl_pOqv2FT6u7GEhDHsdVheJWcs5qUnvHuH2DSIhS9VmIqdxluKe_t7fJJ-MfJzqWrYYGThNEZkVr8vE81qxeetLSXlb7485HKx45skUGCgfe3cTiqWG1XJ3Aq5s9f_q-qNOC5d32qoFKnq4zlWUQww" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "44d057b5f20535a769c756be14bf3099", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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-Correlation-Request-Id": "3134fb5e-e7b8-430b-8d69-e15e25a78939" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "5f86243c82867a420e8cbe7d8940668c", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "7ed94ae8-16d0-4b5c-94d0-3e00282786c7" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "0053fba01a2b971c74cc7379e5f47e7e", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "dcb6e7cd-9865-4df8-866c-9743da0dce88", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhZjQ2M2JhNi0yOTFjLTQwNDUtODRkOS0zNmU4OWMxMDg5OTciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTgsImV4cCI6MTYyMDY2NDc5OCwiaWF0IjoxNjIwNjYwMjk4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.XDcfy66jqfIQ-BZ8Nqj_BPePwfEd3HkT1iOnhXnNpO24sK623ZXNPsq8u29uDx2XsETtnUnn5MfWX4DKOalhbpVlIWGXL3yyEY78xa2ALbFcY4j0Z3Q9yMBlka8g5Pl7Ba_aMX1qnYZvgIEE4-CWv602K4SX_V9ZC5I5loouKor7jaUOPTXwsAP8Z4fso9KyoURfHoS7CH4Rehd4nFdjF0lf-9UZ12t7ec3zA-AfCF1exEpiXviRz4MC-k00EnryhZDz7RGR_4p-PmbIR0ZIKqIstLH4AOrFTP_p-Wzo0igMtTL2j63KrxFe9Bh5e5J6vQVeAkNWAqWM-epr00urOA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "5f86243c82867a420e8cbe7d8940668c", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "320d9dc7-46ad-42d1-afe7-cbc4867f8a5b" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "ab2a620fc857e8d4d11907f1b1c19f20", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "63583398-de3e-44b7-b1a7-90f826896ff8" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "cab3c8c478b421da07eeeab90ec89419", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "78f61d2c-d4c7-4f01-9bb0-87b3cb4a0e16", + "x-ms-ratelimit-remaining-calls-per-second": "165.666667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3MzIxNjMyYy00M2NmLTQ1YzgtYWE1OS1jZjE3Y2U3NzMyMmUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTgsImV4cCI6MTYyMDY2NDc5OCwiaWF0IjoxNjIwNjYwMjk4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.O6zAeTLlq6R3wLX9zTohertdOArO9n6_n6wlHEWpwUHvg5ZTaWP0hdRjFJCVETpPrK6m6O_XGNUEpqC92nP0VucIu3r8y5U9t2UfDEMEqwOQ_JRfUWh_5aTpEP8mjUQVGvamatxl_0nioVtB47rd6YPQUHNnvRrshes5eo_Ue905QFoHAMUiwhLTxC90Fyij6Q_7Tf9nHLM7oKhshRSgSJ4cHBpQYGoT7tx7zeTmmYLwhYIDVfValS3FZBxFXYhRFbdkpv73rYhb5rwmSe3AweRogMsL8JYz3t808G9vtXLmBOr3eQF4uRmookubJM25rmnmCzWksFgnTEf9pJJH1w" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "ab2a620fc857e8d4d11907f1b1c19f20", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:58 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d8d23261-40d4-45f2-a998-06a9f7ce35d8" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "276e400ebb16d835276a2f12122be5b3", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fab315b5-fd72-4fc8-bb00-aa63467d4a0b" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "1db5522cb34196ca8808a368dd1bd908", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39:58 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "e0e0350a-c818-439c-8fac-2e2725c4cd24", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3NDU1YWEzMi05MzJkLTQ2MDMtODc2Zi1jNjU0MzdhZDQyYTgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAyOTgsImV4cCI6MTYyMDY2NDc5OCwiaWF0IjoxNjIwNjYwMjk4LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.LdXzkSSDDuRLvgS0voqP4aMjhhivAr6BZAzuUHofXi0TjfrJm5J2riSwNg-cwaagG4bqh50yU1rHvsjzUaeQHC7Ub7ao2zg7pwf7IfBo1P2fvsUh8IDHjbf4eO8Kik4RbnjyMavV6K8pn06wjkJljwhNn6Wv-IG5ns2JonpfxRtI0rPTXK4knEYCp7VMtqIV-lfgKdx__RBnRMQ3abgIDBbnMpdnrBwbhvfv513u2SivpEjGuaf1bmbtXaJoB4tI0aXWEtgjIzevts_DgS6xDGfdbg6KAHGUOYE85u4ZM9wZ0qjx87RZxEWT8Aytp5W-WJrb7o7ge-QVwHRFlz8R8Q" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "276e400ebb16d835276a2f12122be5b3", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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-Correlation-Request-Id": "7fe566b2-2876-48ac-94bc-46490e4fb8d6" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1626523583" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(True)Async.json new file mode 100644 index 000000000000..780556bee999 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsStartingMidCollection(True)Async.json @@ -0,0 +1,543 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "6b7b3aa2c682296cda1499b8a2a5f2b9", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:02 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "6369bb04-3c6b-4f3e-b7d2-d6229864b2fd" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "2e06a42d512b276de79dea7e5bb035d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.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:03 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "7898bdd4-f192-4ef1-83b3-37959d7712dd", + "x-ms-ratelimit-remaining-calls-per-second": "165.883333" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "f29c14da4b749df9c2dfd4c3c7859141", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "676b8e04-9739-4372-b395-4b36991147f9", + "x-ms-ratelimit-remaining-calls-per-second": "165.866667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4NjQ1ZDViZS03MDMzLTQ5ODMtYWI0OS0xNjhlMDgzZWVlY2MiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjMsImV4cCI6MTYyMDY2NDg2MywiaWF0IjoxNjIwNjYwMzYzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.HbDp8f-BF3kuXjw49Lpmdv5E6iJzIknMXl_ODnqTx_5xJSdA2QTS8MIHPrPpQ1vslcnD6Vp7UfVbtHiHHdjzzZjGQWx76AvbvQwStxKf0N0-A_WavrHf0HfNjCyfdO6bx_BuUy1e34sg64OxwY7nh24dJndSAWXXKU7eecJZ5UVsgfL64XILvqTN5XcW4TyskoB6k0dzi4gT1Z1YUxJ_AtKMm9XLJ4B6LvlwNeWcYLqFu7ZzNHQdr6_YicyHni0Ng3GajHFTjT3CxOkk_Asxgrz8noy_ELJKkcDCN-N-wlgBb7Y3QfGpGR1brafN8LlxG33Y0tz7vq2ND-XqYSRo3g" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "6b7b3aa2c682296cda1499b8a2a5f2b9", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 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": "e2e8e8a1-c99d-43f1-8e27-c190930e5f36" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "6afc72f02656516fcd5483e5dcedcd2a", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "e504524d-1e22-4ea2-87dc-3cbf58a90746" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "8ddec7de0009e145ab686b4c7ca95f62", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "c668aef8-794a-4c9d-862f-619a64b1c039", + "x-ms-ratelimit-remaining-calls-per-second": "165.85" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhNmNkNTkxZS02MzM3LTRkY2ItYWMyNi00ZTgyZjA0OTk4YTIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjMsImV4cCI6MTYyMDY2NDg2MywiaWF0IjoxNjIwNjYwMzYzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.gsGAvjB3VjmdvjmWzV9PWDnBVFAd20SQpUoUWggf9LmLuoNs0g_ZfqYSrR7Ihvr1UM6mQ-2ISLbpLuLZcWtzlbeNT9kQoaJpngVmNoP6895mF-3AESTwYgH4qwT4QC2HRnRnFdcvkICX-P6b-nXVOqBXLo5-hfhLV--PKJ7F3PmivtwvADTpgpkJZ2n1ttWsGYLZZosOBQ29KLjgUnrow-AcN-Wh4m4waOtDwzLt36_MfbczzC5nUdI-GGrhELiixhNVms_I3avVgzv965URh7ecBWo8O9vSLXAtxfzqjJ4pAHOm0dxGU7ntd2dLnGxjmxBFui_SFNPk4S99W8NjMg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v1\u0026n=1", + "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 )", + "x-ms-client-request-id": "6afc72f02656516fcd5483e5dcedcd2a", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4af7b72e-490e-4f6c-9198-0902d3ec363b" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "e98ea90bcbb4b37aa54b251fc813c1d5", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "45e78871-4dbf-4170-b989-35cda1470759" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "00e5aa1104a7f0382c1abfedba23d423", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "30b4c070-ea35-42e9-8ef0-aaf270581df8", + "x-ms-ratelimit-remaining-calls-per-second": "165.833333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4MzJkYWMxZi0xNzRiLTQ5MDAtOWJkMS04OTc0Zjg5MmI1ZGUiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjMsImV4cCI6MTYyMDY2NDg2MywiaWF0IjoxNjIwNjYwMzYzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.zP9N77wecXbMnIKPsO96O4Cx-wHG8eIVIcLDXNGzYkDbiYR0zZ-SgE1t3vdtXLY8G0AI0wvzc0hFQsfGPyBb8Gi5hUCQHDwCGEwTOyvUuRV3RA_cTQcmi7p2hl8i1sH9oGGS8xCnnheYL7snnK0LBVCUvXwML5e7V58m2PIEJ2Lr7zs5OHhpXaZRiK37PfSZc0ggowUWtu6bDKHsOeJEwmfwTjt_ZiWkOe3SQWyPpZ1MTg5Or3Tp6lQe7BDdQsYGheybaaSC7ZI3wQ38Z79vu1_my5yUs6Vnh6tua1yVU1hhEKWx3BbnfoeUVHS4LRHXNNoE0ZZncF4hrP-aIoRvJw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v2\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "e98ea90bcbb4b37aa54b251fc813c1d5", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "411623b5-15f1-40ef-a41b-311a223ec22e" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "32d920f5e45f12754d2ae8bdda261997", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "392ab3fa-e52b-43f6-a9a3-3bd79853bc66" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "d23b96a75ec307bb719ebc990c8cf881", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "33f06b02-3a84-4b3d-99f0-6e42742bb8d5", + "x-ms-ratelimit-remaining-calls-per-second": "165.816667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1YmM4MGE3Yi1iMWM2LTQ1OGYtOTM3Ni1iYmM4NzQzNWJiNjYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjMsImV4cCI6MTYyMDY2NDg2MywiaWF0IjoxNjIwNjYwMzYzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.be_laBI-_4OfPwzNPKvl_LvCUrpILHRbdd0s_LV1RPm9LHk16st1gmIfK4DVMK7AOMKZgvTum4KFnrwfiCP5ybEFENeZo8bSBDWIAXkHBwp2fVe5IJIOS4UOtPFR39MtiAYVoUxyUkQ6prS4OcG0h9kdbMdN2dAVoQZMO_BWqmasvfmk9fZEQ92KEjB5ZXIQccwEjWCtKL5KuHedDzGJV3J9fEqIgqDkMyAnVv09nlIEXSBEbW5qeZNARq9iAB0Ww_OhihM2-BxDcf_yu0uLIrnSdy-xCsAHYgELmVqn2EdA8qyrUocblJmWr8vhznhC2ERbcwJtWYjhh_jg3rdb3Q" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library/hello-world/_tags?last=v3\u0026n=1\u0026orderby=", + "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 )", + "x-ms-client-request-id": "32d920f5e45f12754d2ae8bdda261997", + "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": "392", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:03 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": "1a44cf27-5f6e-4533-8d0c-9544cec032fd" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "813706521" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(False).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(False).json new file mode 100644 index 000000000000..117f2be183ce --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(False).json @@ -0,0 +1,582 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "77a24b44352f718101ab441b47ffdc25", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40: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/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "729461f3-7083-4984-8a1e-84a7372c73b2" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "612b8ddbb747655764a17df3aac2f1ec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.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:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "12f233ee-9ca3-4193-ad62-93e4aa81af6a", + "x-ms-ratelimit-remaining-calls-per-second": "165.75" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "5d5e0b3030d819b74dfe90a9769f5ddf", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "91863568-fa84-4c6a-90b8-73148260ff6a", + "x-ms-ratelimit-remaining-calls-per-second": "165.733333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIwZDQ2NmVlYy1lNTRiLTQ5OWYtOGJmYS01MTc2NWFiNTA4YjMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMDAsImV4cCI6MTYyMDY2NDgwMCwiaWF0IjoxNjIwNjYwMzAwLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.lun06y1sfqBaWc29ky68mPeTuv0sR6DmlYhWs2IDaf7QFdfby7yf8ZiqozUYLo6B5rKCUy49bAA2bQUXdScbQOL-gsJ_GZpiDCeaOVu942SOcJif0ZjY-m6Z1PsMq4LS0MyxcYLXNCT81S0RgJ2SBfxBuqz99ZPm-K4JDJxjRgE5jEVIBwFmuv0BEiYnPKIcimaDtZR0mVWiYRyEXEbW6L5YqT3SOAAaHuQ-vUPeSStQ5n2Q2HHMcA988qMW8iBWG97WunuSJQ5dR2AtwWwUgafAQ-iOxjAL-AyyWLpTsSSEbNoeMnyxaSCBKO_XXJt1R-9aFxSQ67ONXVj6qqiXxg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "77a24b44352f718101ab441b47ffdc25", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 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": "65a2e954-20a3-4207-a5f8-1b81a476d7a9" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "e1ae9d9313ea8d5cf43c128db88dc73f", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5a05706b-807a-40c0-8edd-6df6470b283c" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "3beb58ba7fa0aa4cd512134926adefc5", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "05905dc6-37f4-420f-a278-fb64cdc1e260", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkM2ExYTU4MS04MGFmLTQ1OTMtYmNiNy05NGRkNDg4YTUzZWEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMDEsImV4cCI6MTYyMDY2NDgwMSwiaWF0IjoxNjIwNjYwMzAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.GmjbWBwTzYwEpaBLg0J73eOrr_VnloWaLfgxY4JNmI633dZTjKkWQNFZOhTwyczTHa6rOfe6eKOmr6FDMCtwtyY89WlxhRQcLyLDtvkeXA1oOhTlBfDjQUs_yZsR1Z4nGptQYkR3y8O5LDfQtV_aQzWhlBTDWAzqgGVkv5Y_ouS-u1oDUZVdolXfA4zOHatjrZEp7xphd1HsfClXMufSot4SalebMAfM9xLwNuIQjlV5lLimd2Odd1lRJb1klele3kZU9cv0O_D-zuTBXruDsiVY1flZGGq64-xXkDH9uo0Xf5uRPyJGo6PKwvUAEJmN2LIcixWhO6Zu6T72Vj_YUA" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "e1ae9d9313ea8d5cf43c128db88dc73f", + "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": "709", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "3a81f983-7371-4906-8dc3-5ffbd2ffadeb" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "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 + } + }, + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:50.1872003Z", + "lastUpdateTime": "2021-05-10T15:39:50.1872003Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0c609d430f141d02afd1689b1e2961c0", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "372dd3af-26fe-42f3-9f5a-3807c80823f6" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "1eee513622b4143e50030cd7ff136746", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "35d232f2-4a3d-4106-bf85-1504eb139412", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4NmU3Y2U4My1mMDc4LTRkZjAtYWRlNC1jZTY2OTVlMjUwMmIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMDEsImV4cCI6MTYyMDY2NDgwMSwiaWF0IjoxNjIwNjYwMzAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.k7eDqp0dtcXgXBEOtG_JisHkDeZowEQMEeUQ26tcRVrer2TbYV3rqMzeG5T03y1Rs9J-3wvKIi2hm4888M7kESFtz4mXxEw2cRcTS3O_6EcvKSx22YP9l70BkfvBia6sWV7j072kOLxgcwAI9ktR5uegm84zRsURfR-FBvH031HeI4xWX84BcMgD2yv_lUPSeCW1-cz7KkFe1sUaap2uIkAKe6-Qx4UI7s0mjRPQtAgMW6TiFT3Py9pQwEJMG9IrjFDiJetkgcEbvCcf9QdtggGO1hEd2yCXdyBad3YOpo8r68B-nAwD0RIQGOHYHAiUuz6ZppbniJ9LgSNjtI5_uQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "0c609d430f141d02afd1689b1e2961c0", + "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": "701", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "6e54d988-c73a-4405-a7f2-c4789fa7a769" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1a4a4d4dbb2dab2b55cd8ccf16b18cac", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d0542fa8-2719-450c-89c4-fe3e3f1c7358" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "d51253b1d0bf21115f4cbb10032a1d9b", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "9ab3ceca-71f4-49f3-bff9-80b0d884de55", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxYTE4ODBkOC1lN2NhLTQwYWItOWZmZC1mNGNjOWZmMDUwNjAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMDEsImV4cCI6MTYyMDY2NDgwMSwiaWF0IjoxNjIwNjYwMzAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.mNASWAR6biq83JhuuoWzfve_vJgcYgUE8qWKDzdIUCEq2zt4cvCPbrco2yzyL3FhhA9Aej3y3976fIyuwCNLnNGR-Tj3RYE_N4EURi6c1jPE0vmUqPgkYldd53aC_88nTLsFHNENNB0VzTi7nUvCVH3Kfz2TgbicyGIu7qAwWuu41OJ0JveFNQrgiCqmpsn3vgTudSbjw0y3hkvWiZMZ9Vdvx58sKCD_nCRrnJHodyELNRpd8_Znfe6zh5uk_doGOW_D_SYIH8icGpRtMEccvOLAYcifUaIXjAu58GA4sy6rEzuiqboK_tNg-Ga-rAY0i6ovOUUNAUI_Qil5cSeGdg" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "1a4a4d4dbb2dab2b55cd8ccf16b18cac", + "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": "close", + "Content-Length": "701", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:01 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": "1c0a422a-93d5-466c-8f58-ba058d308748" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "1994312384" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(False)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(False)Async.json new file mode 100644 index 000000000000..aa6a39d51355 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(False)Async.json @@ -0,0 +1,582 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "c1911aa934f3627766f5f383e7e3c56d", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:06 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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "227eda8c-34d9-4c42-956c-4b456e001285" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "80", + "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 )", + "x-ms-client-request-id": "1846f1776c397d224f3a8a50278d4369", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "grant_type=access_token\u0026service=localtestacr04.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:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "4ce2af47-b1a8-47d4-82df-47c73bd791ac", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" + }, + "ResponseBody": { + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "fa8944fc55ca251d04410cd0589464ce", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:06 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "218e6528-deb7-4d54-9e0a-6c8108650282", + "x-ms-ratelimit-remaining-calls-per-second": "165.633333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0NGY0ZTA3Ny05Y2M3LTRhZTItOTliOC1lY2FiZmUzMjZlOTciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjYsImV4cCI6MTYyMDY2NDg2NiwiaWF0IjoxNjIwNjYwMzY2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.46PPAMpaozLzBG57w4LmbZK86vNXQ-YqGy2Zvor3P19OsyOqNkufBTY__hRFMYpAfms3mF3yaFk4NtE8ZThtPRW3ibX_I5_4zjvnJF-jdiLliKmO9sGxgs7pcTAvZYkn_SepiweSqX54wl4Rvn-T33PwDIt5zDe9T0e5VJep_8MnZxl5rUbTMa2EhtqpSNq5YL8QqasyUEP_U6KF6Uar5hRF7T4-77sKPy3drO0qgM5baIsbSrDTb3MAYedn4REPSyyFfoZS1SMQHVuf59rqw8HKLZf8jPT35uOrCX8t-dzI3p7fIxe-UYaU4WNzMtJyOYrwvNm46x0bnsOEBV_8Xw" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "c1911aa934f3627766f5f383e7e3c56d", + "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": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:06 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": "a213f73a-ec75-40b8-82a3-b9836185fab7" + }, + "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 + } + } + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "ddd85acbf7563d8ef71372b9aa263ad8", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "fd31f48c-648d-4cec-b796-a3438900e664" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "a28789b1ca5921a3d42114f75f5225bb", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:07 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "44d68415-cbf2-42dc-a3d6-e710217a1c80", + "x-ms-ratelimit-remaining-calls-per-second": "165.616667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzMGUyZjdiMy0xZmU5LTRjNDctYTRlMy1hZGZmZjBmNjIwM2MiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjcsImV4cCI6MTYyMDY2NDg2NywiaWF0IjoxNjIwNjYwMzY3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.2gMp17swfczHo7lAUqwV6IUSSt3iWmmkBRCMFR2hdDugZ0pfrW2hz2D0EhGeLoCoFnMfcGKl_6dcGLNtpTUfx5R15BgI1SPua9a60tEXFnuhF8WAeDtpntKeQxaNmQaA9lHuOjbTIgtEEoOcI397NMCEUqzmrBdhhFjazqCHEH4xAUDcdLOF9phq5eOliKlrUZZKfUc8ePPIDOHwLGNl68zRPsZT7PsFQ0vnxkNQSdWULnBhFXRmzb3Y-jbyGzWqKTjdOqOnfgcyOMQtURRmp4Ku3GsmV6SLEFpcBw48pvs51W8q5g2Ofm-LR8JEYFpPebqzb1kdBdAFDQFQ_8A1TQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "ddd85acbf7563d8ef71372b9aa263ad8", + "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": "709", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:07 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "10ad052b-b3ca-4cf9-b0c1-19f385f184cd" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "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 + } + }, + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:50.1872003Z", + "lastUpdateTime": "2021-05-10T15:39:50.1872003Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "cd85bbd566b50413b64c02b6e3647ade", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "71835e10-53ee-4a1e-9c2d-82ce0f2ed531" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "cf1f3307c10c0074b6b60934e396dda5", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:07 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "37e709bb-9d48-4eac-bd3f-aa399b3f241b", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3YjZhYTg5OC03ZThlLTRlMGUtOTQ0NS03NThmMjc3ZjVjYzQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjcsImV4cCI6MTYyMDY2NDg2NywiaWF0IjoxNjIwNjYwMzY3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.GVAIG9AKBNMPIAKES8SNtX9K7_PFCHB8hA3pcK-iHTLaj9xNiUzrM8hzZhRsAN_Rms1tEsTfK1EnbL6AF3XmxE5_P-wnkl0upGR2Gzu40IpZu6SxHlsdcYxxKv06BUI_oGDviEln4ZG7JVV_fZMddO9uCyzbokqVBhXFF_LUnMhnc6fRdChZaVl08XujHwX2S1EGRopjkuuErtcQ_O-WTA3Qm0f7gHJLNlyIj6DaYTBf4BnUYUeCkgI8BdHDWUkO-svi2YAOj63qOuk-HBMinjX-ArYg_Nd3j8fFhpTQeZ8zm5woO0hFCS4ZRNKrR8NJZoXvvnAFUWC6ycpmamhXiQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "cd85bbd566b50413b64c02b6e3647ade", + "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": "701", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:07 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "acfb91f1-e42c-44cf-bbb5-aacee1993ba8" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.1357818Z", + "lastUpdateTime": "2021-05-10T15:39:25.1357818Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:25.0744682Z", + "lastUpdateTime": "2021-05-10T15:39:25.0744682Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "eee3b6ee6da14b237582ec0cc8ed3e6f", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41: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", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "97e2c653-6e6c-4058-bfe6-1cdfa9f9b176" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "2bf035a6553213ae478516ff5dde201f", + "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", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:07 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "0fe0c46c-12f7-4538-a27a-d22220af40fd", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlOTQzNjU3ZC04ZmE2LTQ2MzEtOTUyYi1mMmFkZjQyMTFlZDciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzNjcsImV4cCI6MTYyMDY2NDg2NywiaWF0IjoxNjIwNjYwMzY3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.duitJpehdXHoYUbaQuv7D_PEmDAv33sNzHsulWj-7bg-8aG6_-PdnumG25TPz_VqcPgefqedGlazR10sIrOHz-kZUoFFQtZ6fY49eCXxrIIUxQEqP_j7Kp-tsuFZPYeTxqg7pO76aVeqNMC5_qcp7OWVyMB1ShQ18sxaQRm6vHn9yatKX_2cEmDc1tISUivtO1gjR8R_3omuh_4qRK8SJ1SjHpnYz3uh2lAMj0QE96ClPZIwKSkq4b0OcjwK_5tpMD_hB4D_tLpiFpy3IuIIsnzZragjHJHAelc8uqdQzPZh7ffuwktxpYnvy-8FzfernqS6gfFVBh5yJ3Ntn_eLHQ" + } + }, + { + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "eee3b6ee6da14b237582ec0cc8ed3e6f", + "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": "701", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:07 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": "2f82da69-ff0e-4285-9b14-a2485104c9cd" + }, + "ResponseBody": { + "registry": "localtestacr04.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.7211858Z", + "lastUpdateTime": "2021-05-10T15:39:24.7211858Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-10T15:39:24.8594406Z", + "lastUpdateTime": "2021-05-10T15:39:24.8594406Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", + "RandomSeed": "867645027" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(True).json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(True).json new file mode 100644 index 000000000000..688e5f318ced --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(True).json @@ -0,0 +1,555 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "c971592b4c0578135759c552bb5dfac8", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:39: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "302831bc-4d21-4378-86a4-71d20d9e28ef" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "208682a2a5486bc8dfaa9bc75c7fae76", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "76666449-d8cd-45af-87ef-9e8b0f7ec8e8", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "c971592b4c0578135759c552bb5dfac8", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 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": "21a2e3b5-8999-48db-bcb5-742975f5859d" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "82ea946403e19bd47ea5ad7e0b8eb4f5", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c032473c-5c7e-442b-86c4-0eb8ac326fcc" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "0fd04206389b85ac9106e95ab04b1cd7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "c4ce64a2-3d45-4acf-b5d2-61acfc1d9739", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "82ea946403e19bd47ea5ad7e0b8eb4f5", + "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": "713", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "4484f0d8-7cbc-407d-b37c-77dbb81dc4e7" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-08T00:24:56.1702111Z", + "lastUpdateTime": "2021-05-08T00:24:56.1702111Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "27ed4faa78739ee7adeba2a2f7495f50", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "e1a6eec0-0678-49b0-9ce6-4f123126d7df" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "19c1a5f69eaf2bdae764f1db1a7aeb32", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "6c38d919-a338-49d1-adcd-eec1bb4b1692", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "27ed4faa78739ee7adeba2a2f7495f50", + "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": "703", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5c1cb98f-f7f0-435e-b0bc-f4afdfa33285" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:38.2864098Z", + "lastUpdateTime": "2021-05-07T19:07:38.2864098Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.887259Z", + "lastUpdateTime": "2021-05-07T19:07:39.887259Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "bcd3d6898ca08d825b3162b0960a8d47", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cc2bdb71-4743-488a-9fce-1e6e640540c4" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "0a6498a6028a0c2874c1400e860c8433", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "a41ec383-b744-4f18-8615-6db8e014ae09", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "bcd3d6898ca08d825b3162b0960a8d47", + "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": "705", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:00 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": "23263034-6fb7-4536-99dd-ecc560e5201c" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:40.5916505Z", + "lastUpdateTime": "2021-05-07T19:07:40.5916505Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.1419449Z", + "lastUpdateTime": "2021-05-07T19:07:39.1419449Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "347950786" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(True)Async.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(True)Async.json new file mode 100644 index 000000000000..ec0f6d4fae18 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanGetTagsWithCustomPageSize(True)Async.json @@ -0,0 +1,555 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "10b933adb9b006db2ba9dcc6f5b801f4", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "a43ce67a-b262-40c9-a455-f5667ff71ac3" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "d89ff65bed4ef0593e63bf9bc15ad0b5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "82486952-e947-4955-8e8c-1527bc51da02", + "x-ms-ratelimit-remaining-calls-per-second": "166.216667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMDc1YzFmNC1mMTIzLTQxMzYtOTBlOC05ODI1MjNmNGQzODAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMzY0LCJleHAiOjE2MjA2NjE1NjQsImlhdCI6MTYyMDY2MDM2NCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.b-kIdXRNAquS2Rxp6aQFlaYDQwc9dBayNbnBgl7CpEbd426SrjhgOSwxrY-hUz2ZyGmWqUPaJaxOvO4DsW1dLrwgSPeHi7jzqXsMMyeQXSZyhys-viBaVkoiBRvz1o3zTTGCoEH6C74APvYQkzAxNPLRZScPjb213DLP-f1zb1w7Hazmmrr_WcVHAhq5eTr6XYZfuoMZBNlZlO1WC8XAxtKhH54rSqfjjuA1cjo2EdAT92tpCelknEhat-nL0KStbzBwPrwAu4katgaGJZFTOsyLCYFKRthP93YrttKsKR1D-oPKPQK-RlgyubCJ5d1ZKKRiYcmvRsI1UbIMDCNqfg" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "10b933adb9b006db2ba9dcc6f5b801f4", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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": "88573605-b394-4cfe-9cbf-768baef728fb" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "d046f57ff21e864e1d0d7de9f0f5dfd0", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "65280256-9c97-4549-b002-09a9072e8195" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "0f0a2936be78bfbad9c9d24dfa3f45d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:04 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "8fe6a3c1-cffe-476b-8576-e2c46cbfd9a5", + "x-ms-ratelimit-remaining-calls-per-second": "166.2" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMDc1YzFmNC1mMTIzLTQxMzYtOTBlOC05ODI1MjNmNGQzODAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMzY0LCJleHAiOjE2MjA2NjE1NjQsImlhdCI6MTYyMDY2MDM2NCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.b-kIdXRNAquS2Rxp6aQFlaYDQwc9dBayNbnBgl7CpEbd426SrjhgOSwxrY-hUz2ZyGmWqUPaJaxOvO4DsW1dLrwgSPeHi7jzqXsMMyeQXSZyhys-viBaVkoiBRvz1o3zTTGCoEH6C74APvYQkzAxNPLRZScPjb213DLP-f1zb1w7Hazmmrr_WcVHAhq5eTr6XYZfuoMZBNlZlO1WC8XAxtKhH54rSqfjjuA1cjo2EdAT92tpCelknEhat-nL0KStbzBwPrwAu4katgaGJZFTOsyLCYFKRthP93YrttKsKR1D-oPKPQK-RlgyubCJ5d1ZKKRiYcmvRsI1UbIMDCNqfg" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?n=2\u0026digest=sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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 )", + "x-ms-client-request-id": "d046f57ff21e864e1d0d7de9f0f5dfd0", + "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": "713", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:05 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "6411a523-e1e3-4673-bc0a-f2b184ead7d5" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "newest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-08T00:24:56.1702111Z", + "lastUpdateTime": "2021-05-08T00:24:56.1702111Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "004627d8317269d5a719ba416f70ff48", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:05 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d395ce79-9eb4-4dde-bc64-b085c1e9d659" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "9765ee83c050c13c3a86f75520018bde", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:05 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "dc1ac020-2910-434d-98b2-698bb7fcbf47", + "x-ms-ratelimit-remaining-calls-per-second": "166.183333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMDc1YzFmNC1mMTIzLTQxMzYtOTBlOC05ODI1MjNmNGQzODAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMzY0LCJleHAiOjE2MjA2NjE1NjQsImlhdCI6MTYyMDY2MDM2NCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.b-kIdXRNAquS2Rxp6aQFlaYDQwc9dBayNbnBgl7CpEbd426SrjhgOSwxrY-hUz2ZyGmWqUPaJaxOvO4DsW1dLrwgSPeHi7jzqXsMMyeQXSZyhys-viBaVkoiBRvz1o3zTTGCoEH6C74APvYQkzAxNPLRZScPjb213DLP-f1zb1w7Hazmmrr_WcVHAhq5eTr6XYZfuoMZBNlZlO1WC8XAxtKhH54rSqfjjuA1cjo2EdAT92tpCelknEhat-nL0KStbzBwPrwAu4katgaGJZFTOsyLCYFKRthP93YrttKsKR1D-oPKPQK-RlgyubCJ5d1ZKKRiYcmvRsI1UbIMDCNqfg" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=newest\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "004627d8317269d5a719ba416f70ff48", + "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": "703", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:05 GMT", + "Docker-Distribution-Api-Version": "registry/2.0", + "Link": "\u003C/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=\u003E; rel=\u0022next\u0022", + "Server": "openresty", + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains", + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "971b6a0b-d85b-42da-902b-f5555c8d94df" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v1", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:38.2864098Z", + "lastUpdateTime": "2021-05-07T19:07:38.2864098Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v2", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.887259Z", + "lastUpdateTime": "2021-05-07T19:07:39.887259Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "c910acc7dfaf045d54a1685f04795068", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:05 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "184a6bc5-5b43-4cc6-820e-35e32c7f76d8" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "0bc989c9aed91781ea85c5eb397f49a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "close", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:05 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "1b97a28a-3ac0-4f59-a25b-13e1f496d38e", + "x-ms-ratelimit-remaining-calls-per-second": "166.166667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMDc1YzFmNC1mMTIzLTQxMzYtOTBlOC05ODI1MjNmNGQzODAiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMzY0LCJleHAiOjE2MjA2NjE1NjQsImlhdCI6MTYyMDY2MDM2NCwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.b-kIdXRNAquS2Rxp6aQFlaYDQwc9dBayNbnBgl7CpEbd426SrjhgOSwxrY-hUz2ZyGmWqUPaJaxOvO4DsW1dLrwgSPeHi7jzqXsMMyeQXSZyhys-viBaVkoiBRvz1o3zTTGCoEH6C74APvYQkzAxNPLRZScPjb213DLP-f1zb1w7Hazmmrr_WcVHAhq5eTr6XYZfuoMZBNlZlO1WC8XAxtKhH54rSqfjjuA1cjo2EdAT92tpCelknEhat-nL0KStbzBwPrwAu4katgaGJZFTOsyLCYFKRthP93YrttKsKR1D-oPKPQK-RlgyubCJ5d1ZKKRiYcmvRsI1UbIMDCNqfg" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags?last=v2\u0026n=2\u0026orderby=", + "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 )", + "x-ms-client-request-id": "c910acc7dfaf045d54a1685f04795068", + "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": "705", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:05 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": "abb1a45b-46a1-4594-914e-475d16a86cd3" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tags": [ + { + "name": "v3", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:40.5916505Z", + "lastUpdateTime": "2021-05-07T19:07:40.5916505Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + }, + { + "name": "v4", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:39.1419449Z", + "lastUpdateTime": "2021-05-07T19:07:39.1419449Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1862798192" + } +} \ No newline at end of file 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 c3a116ee61cb..56daef644963 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,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "61c7efbc1adaa4aef1e2a257f38603c8", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:00 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5813384b-b815-4dd5-895d-13ceb6bc3c04" + "X-Ms-Correlation-Request-Id": "0d2a4948-31c7-4f5c-ada1-83353eeae35f" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b3358c5e0f9d4b1e14085ce0514ef6a8", "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=localtestacr04.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:00 GMT", + "Date": "Mon, 10 May 2021 15:40:34 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "1c6b1449-902b-4a4a-9191-b36a2df56929", - "x-ms-ratelimit-remaining-calls-per-second": "165.483333" + "X-Ms-Correlation-Request-Id": "909e923b-7de4-441a-9110-48459b0e56d5", + "x-ms-ratelimit-remaining-calls-per-second": "166.45" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDB9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5fea9bdc3b7d4509f6e10b7e9ada5861", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:00 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "6390e07f-e3d4-4096-ae6e-fd5b3fef7227", - "x-ms-ratelimit-remaining-calls-per-second": "165.466667" + "X-Ms-Correlation-Request-Id": "c07af60b-d32f-4d64-a6ff-3bf23f4c297e", + "x-ms-ratelimit-remaining-calls-per-second": "166.433333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0ZGEzNzU5My01OTMwLTRlMzUtYmQ2YS1iMzQ5OGViMmY1MzIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.IJmL9h2I6gcy-hAaV3fG0EHnyhJR87D25csHr-qm8Jqe7pd2ITTbxG9i_LkMFSAJitiOuhTd-s-m1cnzLwYLxUKo6mrkqRwrhavQfiYxVMBoMHcUVyXetvbQnXpepOTvn60pyfovpk0UqsxUNUySLzHh_fQd-Q-sHGy365uxRyYAAYmoJqQCy5C-jjEYUIQ76bvZX6D_qEReMeZvBm2uA5y7D16xQJrWRqr4k-cMKqkCx6d9wtu4eMy0zsKG49QPFFRtCOC78Emurh-c5LqKr33Qr0x32KjdMUiSJcshrqlrK-pYSGliYKGJ27oGDNa6YuSZI8zvJD4__zbX74UW1A" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "61c7efbc1adaa4aef1e2a257f38603c8", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:00 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8d683215-cdfe-4b6c-880f-ac98f230f0b4" + "X-Ms-Correlation-Request-Id": "9ef48f02-6a81-4430-b7f4-e235ba3af525" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dc51e1977feeac32d07c4dd1bdce52a2", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "51c3cbc1-03c7-41ee-a122-407c20117d02" + "X-Ms-Correlation-Request-Id": "7190190b-5b68-4c63-9596-c8670d4e9f3f" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "577bfaeba49b234b83f0bcbc049fb03a", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:01 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3432d83c-a720-4201-87c1-6dcbb33c0a50", - "x-ms-ratelimit-remaining-calls-per-second": "165.45" + "X-Ms-Correlation-Request-Id": "38f0864c-adb0-44e9-aacf-9183b449bbd2", + "x-ms-ratelimit-remaining-calls-per-second": "166.416667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhNTEyZGQ5Zi02YzU0LTQ2ZGQtODg3NC00OTc4NjkwY2RlNzYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.mM-_ZZf46wqbjC36B_9wtUHaZZbxr35eDaWmmZl41DXiutivzxVb0QafxRoA8UetyX0QNSn05EKAdgFetyyZz6Z8WVdKWSU89eIorcTxcXF5BYRgPLm9LJtTD4VB-S0HaIrLx_LqzIU-9jppT5WFd5V-_x3va1wx-E4gwRPUME0oIDq53kmMNQKCKdz4BoUBsPPsgsiSwHcdnde0nd5wPcDZz9_Y7errbxPO-51W8rbT0h2RMlLmW-74162FFUsd4PwmY-90PAFY4bXm7bIZRnoariFsgn9PL9lTId0wrTvKpIhfjUbx7Oyzdtr9mMVWpzMIpIju4POOP37KHG2L_Q" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "dc51e1977feeac32d07c4dd1bdce52a2", "x-ms-return-client-request-id": "true" }, @@ -249,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "7abdf54b-314c-4140-8d51-092e7f0e7262" + "X-Ms-Correlation-Request-Id": "3b06f35a-8f67-47af-82b4-a51100b2110d" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -333,13 +333,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "84", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6f48fbaf1afc5cb9693e8f01ee378728", "x-ms-return-client-request-id": "true" }, @@ -360,16 +360,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "54b85aae-7523-4084-8a8b-7d734d4637f6" + "X-Ms-Correlation-Request-Id": "cb4a680c-4b71-4fcb-b695-56a7ba9a70ee" }, "ResponseBody": { "errors": [ @@ -388,41 +388,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a092698e015ef3c5952e59fdc276a830", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:01 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "bae301ad-0398-401e-885b-f84ef154c633", - "x-ms-ratelimit-remaining-calls-per-second": "165.433333" + "X-Ms-Correlation-Request-Id": "248d7669-e472-435d-9981-2094c870c00d", + "x-ms-ratelimit-remaining-calls-per-second": "166.4" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiMzk1OGVkZi1jNjdkLTQ1ZDEtYWRiNi04MmUzZWRkMjIxYzkiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.sXqOY7Eb77Ck9QUucLg_WyYC0Nj726UquoGEchB0tx2QDaziVoIE3GDuqYopUqKQSHbw1WYH-RwjxB3OIaVH1vcWFMBtJi6IJTpmEaHeXqz8whYpLZSHD7BQB9kjRBT9PP8aNGKql-_8N3-xaV3_2K4dDqqO2IAEYG93QeZ4VBUTblSX68GAWWbM8KPYpxlQnHT8SwQTtgz57IWnc_TdI8OQPOOtsMA0FpXAmXDG-09Ev_cRnkVCdHSZy_oz-NRMYwUWYDBzzYkrVN2ShN9U7i7ZtB7FeUBjcmhSbSIcG8ZN2UiI2GmEBn5-W8w69Yso_8KmDn2P26lVhYhp-ZU5aA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6f48fbaf1afc5cb9693e8f01ee378728", "x-ms-return-client-request-id": "true" }, @@ -443,7 +443,7 @@ "Connection": "keep-alive", "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -451,16 +451,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c6d7306f-37da-4757-8228-2b20a76c2c80" + "X-Ms-Correlation-Request-Id": "6790b99a-7a01-4925-8a54-234b4f0488a4" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -527,11 +527,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c22212cce385d1a5401fee5d144a354b", "x-ms-return-client-request-id": "true" }, @@ -547,16 +547,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "122f4f53-f04c-445c-a1d0-3a62e508ab7c" + "X-Ms-Correlation-Request-Id": "ffb261e7-7142-4f6f-a04c-b89d81472fa5" }, "ResponseBody": { "errors": [ @@ -575,39 +575,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9b2d9468100caedc3554d9cec1bc99f2", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:01 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3b1e8a33-31f6-4e63-b859-7de755bac3bd", - "x-ms-ratelimit-remaining-calls-per-second": "165.416667" + "X-Ms-Correlation-Request-Id": "9cb6a5da-5273-4a14-889a-96008f393a06", + "x-ms-ratelimit-remaining-calls-per-second": "166.383333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxMzc1YTRlYy1iMzlkLTQyMjItOGQ0ZS01ODNhZmI3NzM0NzAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.MH3vZqMdpDaibb5MPTbc-j0KLTSBQAsHmeTj6elmHso9nGQIyQKMXSJfZqOKadjqCYjfn2cZgLTl-e35B2GeEfO07Lef2TMflz-B-0GA4mwMYJl9Y4pwOPM97iA0qlaw46k6Y697uwRT5Mqq6GH9-fLnALKhRK5P0QfhGtwnDN8E1j5n8f9V2-Mq-g1oB8IojYOlQ3hN2imp3E9q8SCInwG2VBrsj0qUByLeNdWO8LOx3qzapMJTEsXc9K2ox-FOFwwC9YDO4k1QX6ig88M-JFHTYgP0WbOndU8M4jLSa-0BbKJcGnucKx_h-N89Pc5yo74JJ4-q6VQNntYmw7YT8w" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c22212cce385d1a5401fee5d144a354b", "x-ms-return-client-request-id": "true" }, @@ -623,7 +623,7 @@ "Connection": "keep-alive", "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -631,16 +631,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b704e6cb-4da4-403a-8500-b9069ba4665e" + "X-Ms-Correlation-Request-Id": "73fd99b8-d482-429a-951a-dedf44d0c208" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -707,13 +707,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", "x-ms-return-client-request-id": "true" }, @@ -734,16 +734,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "3764c7ef-9474-4d64-9c5e-c05426ce02f9" + "X-Ms-Correlation-Request-Id": "36fc6e80-32de-4db5-8764-92cb8dc7b3c3" }, "ResponseBody": { "errors": [ @@ -762,41 +762,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2e950df80d49bb2436738d3109d60f84", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:01 GMT", + "Date": "Mon, 10 May 2021 15:40:35 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c3389858-bad4-48f8-8fe1-d31b51c39791", - "x-ms-ratelimit-remaining-calls-per-second": "165.4" + "X-Ms-Correlation-Request-Id": "b412996d-0695-4d74-9118-2a36253059d1", + "x-ms-ratelimit-remaining-calls-per-second": "166.366667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIxZTg1N2E4NC00OWI2LTRlY2YtYmM2ZS1mMmEwZTcyNGE1ZDEiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzUsImV4cCI6MTYyMDY2NDgzNSwiaWF0IjoxNjIwNjYwMzM1LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.ZXMM3v46ZmSXqosbNu4sWxUs76JJ3RQS4IhIi053MrmDC-WjlaCGFRq8QWvTabC-h4Vivg13LInSt0GUJf6qDSiXa-2OIpufH1xMe5nGc7BqLd79XfUhVwBT1NF8fHWsBkDiZjBiPVv3vFsVVQEX71LzAgF2qzlyBT0jjiR4os9q_1k2C0NnOAINM82Jw9yGasfELjoXJ4lkhjywRNvsvuVh7Cj4A030xczR5MlhMpSqTMsgx__ATET8rhQzuv2vE3H02vVQSh_gAYWdcCDCEAm2QBqfS2YcnD6LwNTr-pZ9dGgo3CcOCXUt59sy-XkTeZvIRxxQIYn5LJjlfJF3aA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "db345e95c515aba2c3c15f3f1268df4b", "x-ms-return-client-request-id": "true" }, @@ -817,7 +817,7 @@ "Connection": "keep-alive", "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -825,16 +825,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "92d916ba-2a5c-4e0f-9401-e5fec1d9d493" + "X-Ms-Correlation-Request-Id": "3154c66e-34d6-407c-b097-eb7f9a7e0b9b" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -902,7 +902,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1898042240" } } \ 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 daa4b4e9a05a..4ea022c0bd3b 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,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4f86aa8e0dab3b35144fb700b39a93b8", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:52 GMT", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "8c143e7e-4503-446f-9ce1-13b2f70435c0" + "X-Ms-Correlation-Request-Id": "1922c7a5-aea4-403c-9df0-f818c1fb6d60" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e7bc8b7a34ef97e4bf5f1e6db66de681", "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=localtestacr04.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:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2fe7b3b4-5a89-4e9b-8456-96b4176ec778", - "x-ms-ratelimit-remaining-calls-per-second": "165.05" + "X-Ms-Correlation-Request-Id": "c3ddfb66-ea2c-4b4e-82af-86b00ad7bf84", + "x-ms-ratelimit-remaining-calls-per-second": "165.716667" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0OTN9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d02bb403909a6e9b96e2971d16d43c34", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f8328938-1bb2-4fa6-91f2-232189cdd25f", - "x-ms-ratelimit-remaining-calls-per-second": "165.033333" + "X-Ms-Correlation-Request-Id": "05b7610e-1429-453e-9b86-b05f470bf435", + "x-ms-ratelimit-remaining-calls-per-second": "165.7" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3NDg4ODlhZi03ZjljLTRjNTUtODliYS0zOWI4NzQ3MmZiNWIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.gv5F6WpN91VJwdlh-enONNYRAtM6XUVNaLZM1X54qupE9hO60qV0eOPcTNdHqLTAsWA0mLCUNWgXsstIPVTKWsH8VIiNjoKFVvm0WLkyVgcMzIvF9zMx2l5v52PuMzPJ8ohIHiaxNC8_iNt9qyw-BuG4tgv2U_7XQ8bocXiWu_uDV0paoj6nakZia0JpaD9DorASOALzrooYAEF7aXp3VRyQvG6XoTouWxkrpuVpRBjfdCXjw8-4J_fnJd-yISXKYXsAJiLFFYOelnSi51DHz2F7-yEeZrCgeyrBNiMlDpQmHM-YKHPMvbci_QKKxijA5H-U9J5t_dqc_azN5Nmmiw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4f86aa8e0dab3b35144fb700b39a93b8", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4e2e5e05-6c8c-4321-bb7e-e9aa5921453e" + "X-Ms-Correlation-Request-Id": "6ffd7637-142b-4a31-ba4f-3ffc7f16bdaf" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,11 +153,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "17924c7477ed599cc6ee8f4ceec885a7", "x-ms-return-client-request-id": "true" }, @@ -173,16 +173,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "a72fd89b-d3fa-47c5-8d48-e7d9dc2a33b0" + "X-Ms-Correlation-Request-Id": "1a8f5273-7286-436e-a967-069b587026d4" }, "ResponseBody": { "errors": [ @@ -201,39 +201,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "fffc3668c26eea1def4e510c9dc681eb", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "c9fd77d1-80b3-4aab-a53e-efaf1c9d9138", - "x-ms-ratelimit-remaining-calls-per-second": "165.016667" + "X-Ms-Correlation-Request-Id": "90d505ed-17ee-4166-a3b8-88dcea33360b", + "x-ms-ratelimit-remaining-calls-per-second": "165.683333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI3OTJkODgxOS1lMzIxLTQyNjQtYTE2Yi01NGEwYWIwYmQxZjgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.0jsclRG_JOQINYw_Hb73Kec0Be_9C8QSJIKV48fOGGKe-I9UbW9KgpNj5HymueWRQ88Ea6RzXxYog7YVHkzcRBo7zXfs1C8Cm-0dqPBkBlpBi7s8qxBwczr5Y4HpA-ZgoIQyi7ufansLH05J17D3VV0W7RtZbYfaVWpT5R80YfFubfZvq5ODgP2EH1S6p8lvgqzXOe-lUVUKbLRXbzIPILR0Xc6KnflMf-c-TQ61vEjFnSwFOfX7PNblM7pvACHyYYXeopq5ln5QzUmDTidCsk-2z4N48Bwf8cUBEYlikYzNSH8vaZozp9hAOQLY_vCEsFyY7y_ahsD8nVwVHuShoA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "17924c7477ed599cc6ee8f4ceec885a7", "x-ms-return-client-request-id": "true" }, @@ -249,7 +249,7 @@ "Connection": "keep-alive", "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -257,16 +257,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "5f9ae9c6-a182-4aa2-b72f-357103501f8f" + "X-Ms-Correlation-Request-Id": "beff1083-3229-41b0-ac2e-64a868f9ba74" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -333,13 +333,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "84", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "69f8ea22ceda8c9318d20aab004f7fce", "x-ms-return-client-request-id": "true" }, @@ -360,16 +360,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41: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_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "779f8c7c-7f6e-4139-ba05-a294cb470d14" + "X-Ms-Correlation-Request-Id": "925edc62-7d48-4018-afdf-7e3ed6a5a025" }, "ResponseBody": { "errors": [ @@ -388,41 +388,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e0b5f05d3dd7b2c52ea8279f268fbcff", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "a5742708-133a-4358-ba59-098771f9aedd", - "x-ms-ratelimit-remaining-calls-per-second": "165" + "X-Ms-Correlation-Request-Id": "194144c3-0e04-4381-ac83-4fc2564a48ee", + "x-ms-ratelimit-remaining-calls-per-second": "165.666667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI1ZDE0ZGY3OC1hNDUwLTQwM2QtOTQyYS0wNjA1ZDA1YjUzMDAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.UTgx5KU20Ugq1dyEGmRSYqprFRwlQIPhV-seETXysGBKEN2TVauXMmTIzgfia2LszSAt8zqA52T5iTcKYm-wGYxtNqdJwTR7a7a3j86agISMmbmSPgOcfMr5ORFaSxt8H-lgQhk8n2VoavgW6U4f1s3-iSSy7YzRdQrkKHX5ZdWOobgpcTBqcPx0y3sncnOMpSxvsI9R8aOJ5sP0hi99SbA77pSQ9B9xGarwrzXa-6ZKSlW7DfSqJ41KIpw8Ioc8CPDAYAVFECWAAc0HHrvI7GEozSw8HQ1CkOyam9Q360Keuwv8dPVuXwm75oy9wsM_agmlsSsV0Jq2_s0pr1JNcw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "69f8ea22ceda8c9318d20aab004f7fce", "x-ms-return-client-request-id": "true" }, @@ -443,7 +443,7 @@ "Connection": "keep-alive", "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -451,16 +451,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "35bbed6c-f943-46fc-aa24-3d5b54c1e820" + "X-Ms-Correlation-Request-Id": "f2169a76-36ea-41ae-8073-8216d89288dd" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -527,11 +527,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0429a36d1bcf99cda26fe69cb772e9a0", "x-ms-return-client-request-id": "true" }, @@ -547,16 +547,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "4f21631d-f4ab-44e8-8e5b-1082b624162c" + "X-Ms-Correlation-Request-Id": "9a31071d-2fa7-4356-a08e-d35e81c903c9" }, "ResponseBody": { "errors": [ @@ -575,39 +575,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "acaf83cea011e51424463b32a6f46688", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "073a1ea0-5fd1-4645-9170-b3d9203e1160", - "x-ms-ratelimit-remaining-calls-per-second": "164.983333" + "X-Ms-Correlation-Request-Id": "d42c0a94-a265-499a-883f-e9a5df2186bd", + "x-ms-ratelimit-remaining-calls-per-second": "165.65" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIzMWJmZjkzZi1hZGJmLTQwN2QtOWNkOS05NzAzMDM4OWZkZTAiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.odWP9-nxVDE_L170gLYTT9w1k_TtxPWHO555dilDmX0s3BLqvcsdY2ERqh0TJUITnaTdO3Dwlz0uvwRFJyeVRTQtK9Ic5xn0ULy5_WXA11gnI1QmSjSCXCN1rrwQSYGRAENuLT62LiYWKN69LhqfnzspDQuvuP3xg2oQKCP9Z59gYHmIn-YT2ZMLGBJQlhR8HM0l-_6HddyIK3i1842Tpbq27oyy9nLkKt5ANvYL4NxVoC-nf-DqOnezcXk8mzlC9CUWdwb_i0OPmSbfntAuM4Ei6k7QRvbx6x-iNFs_kAOn853e_j3yARGBprsWUGpS3kZPJYgDjKEizQdWioBcEA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0429a36d1bcf99cda26fe69cb772e9a0", "x-ms-return-client-request-id": "true" }, @@ -623,7 +623,7 @@ "Connection": "keep-alive", "Content-Length": "1612", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -631,16 +631,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "0935e45a-0292-475e-a4de-8521878bfbbd" + "X-Ms-Correlation-Request-Id": "8f1a2970-a11f-4c84-b0a2-253fb77b1475" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -707,13 +707,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", "x-ms-return-client-request-id": "true" }, @@ -734,16 +734,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:53 GMT", + "Date": "Mon, 10 May 2021 15:41: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_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "65ee0e7d-1565-4d68-aebe-7416b4df7bf9" + "X-Ms-Correlation-Request-Id": "7d0697f7-3233-4b5f-8483-20ae90c6da97" }, "ResponseBody": { "errors": [ @@ -762,41 +762,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a3d187be0fe0ccee8f44df89df9af2ae", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:54 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "f5ade8eb-dcb4-46f1-8f5e-85a81e971704", - "x-ms-ratelimit-remaining-calls-per-second": "164.966667" + "X-Ms-Correlation-Request-Id": "4f932c95-ab8c-433b-8531-b78478083e01", + "x-ms-ratelimit-remaining-calls-per-second": "165.633333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJlOGMxNTVkMS01ZGE0LTRmNmQtYmUxNy0xNTFhZjNhYmUyNzMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDEsImV4cCI6MTYyMDY2NDkwMSwiaWF0IjoxNjIwNjYwNDAxLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.QdU0PlVRnN-SS-hI7iTBfznrY95bqtbu5svEApXF8etcx4dqMGh3hWKm9TOh-Tbc9j209QF4PUCnwL5SBHvcUCLMjtjiubWZnU0hAbHVxuT0-CUcWl2Zwh3GFWk59KePv8tl9qCWxgTz0lzeEQZYG9dI6FL6lZEl2ehmKc9DRKF9nBWmu-3FmXBFyamlbyjl7OdFraMbiO1K3TruJW9sLor2X6v8OQUQb7U708tTl0-BHHdkuN3Eoeh8AFQH-lb8HT6-assTirEP6Wudq7N9u2M7xNLAGJatSfLgGXJcllLoSKFk0Zn3xjgnVXqSZz9-K_6SQO9ex-SN-YSoMI874Q" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5c3e0a157b2642fe231b3d675629fabc", "x-ms-return-client-request-id": "true" }, @@ -817,7 +817,7 @@ "Connection": "keep-alive", "Content-Length": "1608", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:54 GMT", + "Date": "Mon, 10 May 2021 15:41:41 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -825,16 +825,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "53dd61b5-be06-43e7-bb72-5ebc7ebdda03" + "X-Ms-Correlation-Request-Id": "2fecabbb-e31c-436c-9b6c-f8bc986cfb34" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "manifest": { "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", "imageSize": 5325, - "createdTime": "2021-05-06T00:53:01.3797231Z", - "lastUpdateTime": "2021-05-06T00:53:01.3797231Z", + "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", @@ -902,7 +902,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "33394124" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties_Anonymous.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties_Anonymous.json new file mode 100644 index 000000000000..2605855edafa --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties_Anonymous.json @@ -0,0 +1,271 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "869b10de278a4d71563132bb3c6dbd06", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:36 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "9427556a-52ce-4a54-a866-fda9b39fcd61" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "e38132fa4906765d9184a6158858ed52", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:36 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "f16ea4c4-20de-4526-9229-d149a53a7ce3", + "x-ms-ratelimit-remaining-calls-per-second": "166.5" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "869b10de278a4d71563132bb3c6dbd06", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:36 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": "5d4c9890-675a-461e-8f8f-0d482988702b" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestMethod": "PATCH", + "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 )", + "x-ms-client-request-id": "c209c9c97ea017be788476508c26dcb0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:36 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cf1f4144-fcd5-4ac5-872c-84ef9f2fd7bf" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "e54b1767f8f39422b225f505805cc4fe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:36 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "41f41409-32e7-4203-8d89-b70e42e01411", + "x-ms-ratelimit-remaining-calls-per-second": "166.483333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c209c9c97ea017be788476508c26dcb0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:36 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cab1f1a7-7e0d-4119-8cf3-0bd9999e249d" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1046916320" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties_AnonymousAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties_AnonymousAsync.json new file mode 100644 index 000000000000..f902961ffe0d --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetManifestProperties_AnonymousAsync.json @@ -0,0 +1,271 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "49028e9c3335b3268241f519cc61ce07", + "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": "221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:42 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "92bb7461-f0ba-4a91-b625-3c0cee486ddc" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_read" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "138", + "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 )", + "x-ms-client-request-id": "6bcd9df5bf00e8fcd1b737d6dd8ee4b1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_read\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:42 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "b7372d83-9033-450b-a74c-bc9392c32d8e", + "x-ms-ratelimit-remaining-calls-per-second": "166.6" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmODJiOWFkZi0wNDBiLTRjNzUtYmMwYS1mMjJmZTVlNDZiNTEiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwNDAyLCJleHAiOjE2MjA2NjE2MDIsImlhdCI6MTYyMDY2MDQwMiwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.S_sVmPMwli2vbpNHG7OKjg7fXBwYP8uVRjv7qU4vMVDnzu8TsDFfyq_18gh1swgAwsiCpniPLUQqBReux5NWJFCYlybAmGVTODkg2pc7arP2K21db15yMAz846JgPBkXKeM83DTxmLXuIb_H2-pP1lcoDHw5GwFXloawvQDh_HK0qGyx5V7doembFm0DRy8odvPs6bQ8HgxOQVOx2T6NYL3845_BcojM4JGiaFiqtTcl4khBAg1mJqlRgrDVzT2-pZ-qetFHPDoEaBDxUC7ljBegO4DU-tl066uU0DtZ2_oQgKFGYgm9DdyuxrJE2QFlZR20x9RjaODi_pQw3GSmLg" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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 )", + "x-ms-client-request-id": "49028e9c3335b3268241f519cc61ce07", + "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": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:42 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": "749cc09e-954c-4b09-9826-69923fbb7aed" + }, + "ResponseBody": { + "registry": "localtestacr04anon.azurecr.io", + "imageName": "library/hello-world", + "tag": { + "name": "latest", + "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "createdTime": "2021-05-07T19:07:37.7415439Z", + "lastUpdateTime": "2021-05-07T19:07:37.7415439Z", + "signed": false, + "changeableAttributes": { + "deleteEnabled": true, + "writeEnabled": true, + "readEnabled": true, + "listEnabled": true + } + } + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "RequestMethod": "PATCH", + "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 )", + "x-ms-client-request-id": "ed34f4803e719da29f7acf4951abc434", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:42 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "cc2a7e66-f452-40bb-903d-47f3b9b59680" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "da499b7920ecddef921a787dfb4fd6f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:42 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "1475158d-599e-4d82-9940-d574b9334327", + "x-ms-ratelimit-remaining-calls-per-second": "166.583333" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmODJiOWFkZi0wNDBiLTRjNzUtYmMwYS1mMjJmZTVlNDZiNTEiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwNDAyLCJleHAiOjE2MjA2NjE2MDIsImlhdCI6MTYyMDY2MDQwMiwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.S_sVmPMwli2vbpNHG7OKjg7fXBwYP8uVRjv7qU4vMVDnzu8TsDFfyq_18gh1swgAwsiCpniPLUQqBReux5NWJFCYlybAmGVTODkg2pc7arP2K21db15yMAz846JgPBkXKeM83DTxmLXuIb_H2-pP1lcoDHw5GwFXloawvQDh_HK0qGyx5V7doembFm0DRy8odvPs6bQ8HgxOQVOx2T6NYL3845_BcojM4JGiaFiqtTcl4khBAg1mJqlRgrDVzT2-pZ-qetFHPDoEaBDxUC7ljBegO4DU-tl066uU0DtZ2_oQgKFGYgm9DdyuxrJE2QFlZR20x9RjaODi_pQw3GSmLg" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_manifests/sha256%3Af2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", + "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "ed34f4803e719da29f7acf4951abc434", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:42 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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "d46cc6e0-9998-4710-b955-ea386164e1b3" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "1229420536" + } +} \ 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 25d643023f57..4f1d8824abb9 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5e34df74440e4d0ab80895827407f5e0", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:01 GMT", + "Date": "Mon, 10 May 2021 15:40:36 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1a5e812d-fcb3-4edf-8e5f-4d0c54568eb6" + "X-Ms-Correlation-Request-Id": "3867a58a-8279-4ceb-850e-03356d92eb56" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ea2fb4f775982df0fe96f8e09b98af91", "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=localtestacr04.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:02 GMT", + "Date": "Mon, 10 May 2021 15:40:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "4ec5b5af-afe7-4950-b1bc-8821b208b63f", - "x-ms-ratelimit-remaining-calls-per-second": "165.383333" + "X-Ms-Correlation-Request-Id": "611f2c3b-659c-49df-a64d-0f0446cb7102", + "x-ms-ratelimit-remaining-calls-per-second": "166.35" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0NDJ9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDExNzJ9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "02bdbf162186f454e26d29025454c45b", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:02 GMT", + "Date": "Mon, 10 May 2021 15:40:36 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "b7eda8d1-e4eb-41b9-9c94-c99e01659039", - "x-ms-ratelimit-remaining-calls-per-second": "165.366667" + "X-Ms-Correlation-Request-Id": "2f65d655-70bc-4865-b7c5-43d250ec1744", + "x-ms-ratelimit-remaining-calls-per-second": "166.333333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJiZjFjNjU3NC1lNzdlLTQ0MzktYTE4NS04ZjMwODdlYTIyZDMiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzYsImV4cCI6MTYyMDY2NDgzNiwiaWF0IjoxNjIwNjYwMzM2LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.XVBhFkWR8L1HQ5wQSmdVe--C6SZBTpRPNXnCbdYewbd20TO90pYvc1SUi-0JAmU_RVNplNvi2e8QbBcWbB_ZxEvyn36QT6cejh8IImVIn-85H6CLvm2GmP28FyOH0AMPPaEVPbnMQ60im6XnZ7K7HdpqntUUUhIiIZXVweZuc2v9rQWxx7FeynuLjftErA3MR9uHZxvQ3dhcJzIfJOPkiqQtQceqrbgsKzcuWEohki4obyfUorLKeBOvC9nnjnfW__iPBD0Zv7CUFMxbXNIRshCW_AvES7NHt0hqWZrxd6ArTAqFP8W1uPPRCINtAVGlc2QLH_N2J_JFAd-JAP5dPw" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5e34df74440e4d0ab80895827407f5e0", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:02 GMT", + "Date": "Mon, 10 May 2021 15:40:36 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "cd5e2b5f-7fd7-46fc-96a1-b1178ead84a2" + "X-Ms-Correlation-Request-Id": "3459ea48-bcb8-4b3b-b799-7a19d3d0d11f" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,13 +153,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "84", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a783e95f2ce0fe1bef0760774c29b11f", "x-ms-return-client-request-id": "true" }, @@ -180,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:02 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "d4adae6d-30a1-4635-b1b5-06e9331e091c" + "X-Ms-Correlation-Request-Id": "ff50c8ac-4c7c-4fec-a848-ab64a866ed57" }, "ResponseBody": { "errors": [ @@ -208,41 +208,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b56c0459f34ad559603a072b4beed9a9", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:02 GMT", + "Date": "Mon, 10 May 2021 15:40:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "04a6b307-5723-47c0-ae8f-149101da72de", - "x-ms-ratelimit-remaining-calls-per-second": "165.35" + "X-Ms-Correlation-Request-Id": "022ef321-0ffc-49ce-ad6d-5958e54b6720", + "x-ms-ratelimit-remaining-calls-per-second": "166.316667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJjNDI1ODEwZi0xZjYxLTQ5M2ItYTgzNy0zNzI2NWQzMzA0ZmQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzcsImV4cCI6MTYyMDY2NDgzNywiaWF0IjoxNjIwNjYwMzM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.m4X-S4GKnmR5nZOfvA4QgxM-ppae4w8oyDzf9oxS7_t3UiOCchL6_9ajksge9iIPwAH6ZahijDkFg1ed6bqEuclDbMJJtA1R2dGOEh_-WU8k6kW_rit7cV9DOSc0bvf64D0N2qcYrcSF9148WjfgzJGyZpAxKHy7TQPF0zPALs1AeTCwS8Y7pNcQu4PEdZadxkF4sicT8onP7OAA0RpirSLBS6AKZqAsNaPfVp0KOyGPvXKtkcpv66mNumpU0iA1jtFPZgihWnDY5-2gEJSIC3-ijeFOoueIBYGHf6tu4uc2DC6C1w7JWbrvV6eUv2uGqk9wzlpSkFuMraB2h2xY4g" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a783e95f2ce0fe1bef0760774c29b11f", "x-ms-return-client-request-id": "true" }, @@ -263,7 +263,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:02 GMT", + "Date": "Mon, 10 May 2021 15:40:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -271,16 +271,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "95496f0c-fce7-4eb1-b5df-ff8f6e1f30a4" + "X-Ms-Correlation-Request-Id": "70d00e1e-ced1-4aaf-b5e5-3504304e063b" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -292,11 +292,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b1819cd20815e9b0a4be137fc1dda8b9", "x-ms-return-client-request-id": "true" }, @@ -312,16 +312,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:02 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f15e9a28-b030-44b4-847a-cd24f8283bfd" + "X-Ms-Correlation-Request-Id": "5143812c-21f1-4437-8c37-687552b531bf" }, "ResponseBody": { "errors": [ @@ -340,39 +340,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4fa80abb0fe86c1190ad47a525f0b200", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:02 GMT", + "Date": "Mon, 10 May 2021 15:40:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "12cbf347-3652-40c3-9173-7acf6a04d5ba", - "x-ms-ratelimit-remaining-calls-per-second": "165.333333" + "X-Ms-Correlation-Request-Id": "3adfbf29-062d-4a26-8a4c-183b23d5e14a", + "x-ms-ratelimit-remaining-calls-per-second": "166.3" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmMWY2ZjVkYy1mZWQ0LTQxYTItODkxNC1jZmJkZWI0ZWE0Y2IiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzcsImV4cCI6MTYyMDY2NDgzNywiaWF0IjoxNjIwNjYwMzM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.jqvgjx2a1VTnfBYIZHZzV3Vz27PQrRI94NQK5Am-yiAtNu5WcHT8lFREtU1Nlva1TW0FILNbY1_iFion4Y995xx71NXXiqxyY_t6j5d86wzviC0B-aUOSqG4lhq-EON1VwrqmqlUOEvnkQClrOo2ttuNzaz5tvvMRmbMkm5lTRpxLyzWFrPH3up5aoiUMZYiIiWdrZ5dyQJuHAEvIe0UWI1_lxSRKY0Nbijcu3MDQLpGLKl4jQWlux_Q_OOECWKgSssonBvdxkoyv46982J8h_ANnHT8LhYZqTtdhdPJ8ia6dl4bk6beOXeM75DElJemzN-if8cv7iyR-TAl40F0ng" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b1819cd20815e9b0a4be137fc1dda8b9", "x-ms-return-client-request-id": "true" }, @@ -388,7 +388,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:02 GMT", + "Date": "Mon, 10 May 2021 15:40:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -396,16 +396,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "1e7b5d1c-e8c1-4a1f-bbb8-3ae7f1b79ff3" + "X-Ms-Correlation-Request-Id": "ab774f75-4efc-46e0-b737-343e45f5d602" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -417,13 +417,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "afa5b62effa8500a5382108bdfda1483", "x-ms-return-client-request-id": "true" }, @@ -444,16 +444,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:02 GMT", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr01.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr01.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "f8c97e24-86a6-48bf-8549-b55f3272ba61" + "X-Ms-Correlation-Request-Id": "d97a05f5-9589-4aa2-a95b-1da4f5e66042" }, "ResponseBody": { "errors": [ @@ -472,41 +472,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "416f4d928945c3c18b142167c10bc4b4", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:02 GMT", + "Date": "Mon, 10 May 2021 15:40:37 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "0b358bf7-7b9c-4e73-a806-2fd7f57315a9", - "x-ms-ratelimit-remaining-calls-per-second": "165.316667" + "X-Ms-Correlation-Request-Id": "a9c55922-4de0-414c-9798-343c7ca25edb", + "x-ms-ratelimit-remaining-calls-per-second": "166.283333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiIyYTFjNzFlZi1kMDk0LTRhOGEtOWY5ZS0zNDFjOWUzZTQzODgiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjAzMzcsImV4cCI6MTYyMDY2NDgzNywiaWF0IjoxNjIwNjYwMzM3LCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.fv7buae1CIQToNfOlj8OXOl0BtK5M4i4HY_i9vBjLtJmQPk5hjwGPPL-7LYoEYjzncI69fG0KndLUH62O9Ey6678WUuF11BXJXVH2tEY0-blNfblXYy4NtSRuRKKPcajtz6yPCC2Nl5Z5PpSZymsh5H0TAl73CzuLBp4FNYfWsJS1zAW6curACWRseMjfGvIB8_ZII4D_1SUm67sOkSBOhZBvcde2SZ6BCF0TF-A4nuHMStXrG70JqF9qr62pRJUdiudf8zHN44txnkHICLKeij4RYv6tR2Qc-jU-5U_c7Eydh1z6xX5sEYkZj8pTT5ouK79UMtAjwsYegQ1kf2I8w" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "afa5b62effa8500a5382108bdfda1483", "x-ms-return-client-request-id": "true" }, @@ -527,7 +527,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:02 GMT", + "Date": "Mon, 10 May 2021 15:40:37 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -535,16 +535,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "88ffe612-29e9-4bf0-83a2-5a7920183c17" + "X-Ms-Correlation-Request-Id": "e32dc3fd-91ed-4dae-b6ef-60d3862e43e4" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -557,7 +557,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "312710081" } } \ 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 ce8b01b13aa9..9d4132b3b122 100644 --- a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagPropertiesAsync.json @@ -1,11 +1,11 @@ { "Entries": [ { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7df72e6935223381f58f33299dab5ec7", "x-ms-return-client-request-id": "true" }, @@ -21,16 +21,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:54 GMT", + "Date": "Mon, 10 May 2021 15:41:42 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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "862db2ad-82ce-48d1-97dd-d3b5f72d8ebd" + "X-Ms-Correlation-Request-Id": "5af8dfa8-7b97-4d45-b040-783edfda141f" }, "ResponseBody": { "errors": [ @@ -49,66 +49,66 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/exchange", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/exchange", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "337ccc2bcd0970b99cf69afca9ec6400", "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=localtestacr04.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:54 GMT", + "Date": "Mon, 10 May 2021 15:41:42 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2c72e9d0-9d0f-4b17-bb9a-fae4edf4fdcf", - "x-ms-ratelimit-remaining-calls-per-second": "164.95" + "X-Ms-Correlation-Request-Id": "18bca6d3-4dfe-4052-aaad-e45d18ae9cef", + "x-ms-ratelimit-remaining-calls-per-second": "165.6" }, "ResponseBody": { - "refresh_token": "Sanitized.eyJleHAiOjI1NjYzNDI0OTR9.Sanitized" + "refresh_token": "Sanitized.eyJleHAiOjI1NjY3NDEyMzd9.Sanitized" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "782f896fa8c7b7b6b51e54b5a519bafb", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:54 GMT", + "Date": "Mon, 10 May 2021 15:41:42 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "3c0c88fa-756d-4986-8133-87ed682e1e03", - "x-ms-ratelimit-remaining-calls-per-second": "164.916667" + "X-Ms-Correlation-Request-Id": "5c29b244-d056-47ac-ab70-0f52893ba73b", + "x-ms-ratelimit-remaining-calls-per-second": "165.583333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJkYzUyODYxNy02Y2E2LTQwNTYtOWY0MS01YzM4OTNkZmZiYWYiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDIsImV4cCI6MTYyMDY2NDkwMiwiaWF0IjoxNjIwNjYwNDAyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.0bx1Q6y3AtWRFCx0CTS17TycNNP5DkitNK7oHo_aq8_JEPu1Ty-L0sibYl_gimQfLNiX8Pf-3q2yz3U6fG2pVAcDeY-MnMbRi5ToFokbV47SvnJP6YxYtipE-lyTziv2_rumE-seXy-fwXRJ5xJMOl0HLlziCTkpznJM_PBtggw8-Zz_Nyjez_YvOqGpkFZUKincXSgAhvLdCmqlrjWGMdkozj7h_RnfkAJkF--TxcL7mpTW3PqoR9p4Mgi5s0wV0L4JjpNvk_PbZO4X8zwrF-daVGzewALcG7iAe0zDvBjH_tmg_HfBosjOgCYRW4cEVCGuLE0jj9j2oICI4dYbrA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7df72e6935223381f58f33299dab5ec7", "x-ms-return-client-request-id": "true" }, @@ -124,7 +124,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:54 GMT", + "Date": "Mon, 10 May 2021 15:41:42 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -132,16 +132,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c1608b5e-6cf3-439c-b6ce-3944efd0198d" + "X-Ms-Correlation-Request-Id": "20b4b3d3-bd40-41f9-8158-d79a013b4645" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -153,13 +153,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "84", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d9fa87c4e249bc87587e02c9b848908", "x-ms-return-client-request-id": "true" }, @@ -180,16 +180,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:54 GMT", + "Date": "Mon, 10 May 2021 15:41: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_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "c0056981-8d10-497d-8055-e7837f8e4d70" + "X-Ms-Correlation-Request-Id": "634e64c9-ef90-478c-aa1a-39f6ded58784" }, "ResponseBody": { "errors": [ @@ -208,41 +208,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "14ba322ae67c82ff16c47deb7803ca82", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:54 GMT", + "Date": "Mon, 10 May 2021 15:41:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "843c9469-3fa4-4bd6-b10b-93ae04218fd4", - "x-ms-ratelimit-remaining-calls-per-second": "164.9" + "X-Ms-Correlation-Request-Id": "0a92300b-5946-42da-be64-e7914417bc63", + "x-ms-ratelimit-remaining-calls-per-second": "165.566667" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0ZTEyNWEyMi04Yzg1LTQwOGYtYmI5MC1kN2ExMDg0MTEyNjQiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDMsImV4cCI6MTYyMDY2NDkwMywiaWF0IjoxNjIwNjYwNDAzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.ypdYQWYcR4D6WQeMD8d5Wv8p1tlApBMNtoaYU_CkPW9gk-FRzTDqDvm6T8yo5efoernp9aCRcmbEj9vznbwYv2h9SSl9UPxoDK6nu5KUTEF-rAnhXYFOGZUigIPTqdvEuscJRIH_XvAk06UnQGOrVdM3Te6Vm8eqHD2pJTbYD7Fm1Nz5h1L-6YMYubXuTI8I_BdL7e4Mu-tyHfftr-kO65Z2C-0bNoGUiLpbQbnRtmjI8hy7hJOhxUzLLi8uofkzYfNu4y6H3trPgIc_n9KOz-CNXmc74bgZQ1MUgbjH5Re7s4AHPmSeDT_MQhvJN6xi30siOBvxtKGLE0ZE1OjjLA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d9fa87c4e249bc87587e02c9b848908", "x-ms-return-client-request-id": "true" }, @@ -263,7 +263,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:55 GMT", + "Date": "Mon, 10 May 2021 15:41:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -271,16 +271,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "78c300fc-b458-44ce-a104-621902047690" + "X-Ms-Correlation-Request-Id": "ea6e26ae-d592-4aee-b0a8-e388aab637b1" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -292,11 +292,11 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "00809e3b074c20dcc1930240c7891c30", "x-ms-return-client-request-id": "true" }, @@ -312,16 +312,16 @@ "Connection": "keep-alive", "Content-Length": "221", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:55 GMT", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_read\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "efaf071d-07f6-4f35-a069-b5d279162143" + "X-Ms-Correlation-Request-Id": "9e3d1384-98c2-49e0-a0af-afd2de3d1034" }, "ResponseBody": { "errors": [ @@ -340,39 +340,39 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "139", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "738a4c94a65f967fa91c475fd0dd2371", "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=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%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:55 GMT", + "Date": "Mon, 10 May 2021 15:41:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "ecb28d6f-5000-476e-8a38-8c0cd8fa0aec", - "x-ms-ratelimit-remaining-calls-per-second": "164.883333" + "X-Ms-Correlation-Request-Id": "61aefb0e-3b92-4cb5-9be6-c74d74d56167", + "x-ms-ratelimit-remaining-calls-per-second": "165.55" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI4YjJhNmNhMC1kMmQ1LTRkMDAtOGI5Zi1iMjNlNWFmOWVjYWIiLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDMsImV4cCI6MTYyMDY2NDkwMywiaWF0IjoxNjIwNjYwNDAzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV9yZWFkIl19XSwicm9sZXMiOltdLCJncmFudF90eXBlIjoiYWNjZXNzX3Rva2VuIn0.hPPkywk2B2kA0z7cPq8gP5W2djDqDSNZb_Qw292moWdbXHMj6ciolloXjQugkiR_pVA1FdYxYj20IoxvG9B3NGgUaQ7plxCLttmHk3YCdJzwXY35EtaYvDvksr3qbGsESdZ9UbYJNCeGuuwQEnOsgpHz-Rfub4iMKBfzGNTPGWooQb3i0P75KPcaX2FmpWPy2F-bjKOpABOZtkXZ8JIY7CSYtbm_D38XdPtAVSHGO2bDKeyT1S4qYYaslFYkd-AkBuuQXSdHI0Yr3K8nVB9nFrCToiL0cjGL5-JndA5Bz1vAHxQAGtM_2HvnZ8ghxAdb1IuGpa0XDNdc49mv7C6CoA" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "00809e3b074c20dcc1930240c7891c30", "x-ms-return-client-request-id": "true" }, @@ -388,7 +388,7 @@ "Connection": "keep-alive", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:55 GMT", + "Date": "Mon, 10 May 2021 15:41:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -396,16 +396,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "147b0d0e-2ce4-4b31-9592-bf3c3c1e0913" + "X-Ms-Correlation-Request-Id": "d5f681b7-0a9c-46bc-a91a-11328a40e138" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": false, @@ -417,13 +417,13 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Content-Length": "80", "Content-Type": "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "fcf15dbc880423bb559953e8e3bfbb8c", "x-ms-return-client-request-id": "true" }, @@ -444,16 +444,16 @@ "Connection": "keep-alive", "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:55 GMT", + "Date": "Mon, 10 May 2021 15:41: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_write\u0022", + "WWW-Authenticate": "Bearer realm=\u0022https://localtestacr04.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "b5e6520f-e1e8-4ea7-b8a8-d37096dfea14" + "X-Ms-Correlation-Request-Id": "419e5ce7-6a4d-4511-9059-82894076f2a2" }, "ResponseBody": { "errors": [ @@ -472,41 +472,41 @@ } }, { - "RequestUri": "https://localtestacr01.azurecr.io/oauth2/token", + "RequestUri": "https://localtestacr04.azurecr.io/oauth2/token", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Content-Length": "140", "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2c564da7577894231eea572fc07c50e4", "x-ms-return-client-request-id": "true" }, - "RequestBody": "grant_type=refresh_token\u0026service=localtestacr01.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized", + "RequestBody": "service=localtestacr04.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\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:55 GMT", + "Date": "Mon, 10 May 2021 15:41:43 GMT", "Server": "openresty", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", - "X-Ms-Correlation-Request-Id": "2141acc6-39c7-4769-94fa-9686ffb8fcaf", - "x-ms-ratelimit-remaining-calls-per-second": "164.866667" + "X-Ms-Correlation-Request-Id": "5b06201c-c3d1-48ad-ba63-90da2a7048db", + "x-ms-ratelimit-remaining-calls-per-second": "165.533333" }, "ResponseBody": { - "access_token": "Sanitized" + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiI0MjI1MjY2OS1kZTBlLTQwOTUtOGUxZC00MDRjMmVlYzFhZjciLCJzdWIiOiI2NmZjYTY2Yy1iOTkwLTQzODEtYjM3Yi01ODhhMTc5OGNlNjUiLCJuYmYiOjE2MjA2NjA0MDMsImV4cCI6MTYyMDY2NDkwMywiaWF0IjoxNjIwNjYwNDAzLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJsb2NhbHRlc3RhY3IwNC5henVyZWNyLmlvIiwidmVyc2lvbiI6IjIuMCIsInJpZCI6ImJmNmNlNzhlYzM2MjQ1OWQ4ODRmN2NlNjMxNGY1YWJmIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJsaWJyYXJ5L2hlbGxvLXdvcmxkIiwiYWN0aW9ucyI6WyJtZXRhZGF0YV93cml0ZSJdfV0sInJvbGVzIjpbXSwiZ3JhbnRfdHlwZSI6ImFjY2Vzc190b2tlbiJ9.hgcmtYfEqJUlmXLMGM74JRL4la-Z8xRZ78EwLYSBKYyd9UCJ0rnGIfy4vU3okOv0ysHjom6NggQfsNw0PWwqINB0T1bSY6kpEBcsAVhZKp7gqG4iS7BEr-vDcnloOu5mUDG9xZvnozVEhXDObEiO5xNL5kHI1sf1BVbRT-6Aj1EA3Ed6Lf90aG1jWU7V8Jzo1RR_gODChfBKePBgnqFFrZeyP6GlFu5noyYIEA0X4Z8LiE-7NJUa4ChlEM2SVLezSP1dInsyujJere5HP-lByfvhctH3vsMeScz_xcB6sXS6XV2g2adB_JRi0HPuLRt4oNe9Kxjo299MSCvtPLfi3w" } }, { - "RequestUri": "https://localtestacr01.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestUri": "https://localtestacr04.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", "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.20210505.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Containers.ContainerRegistry/1.0.0-alpha.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "fcf15dbc880423bb559953e8e3bfbb8c", "x-ms-return-client-request-id": "true" }, @@ -527,7 +527,7 @@ "Connection": "keep-alive", "Content-Length": "393", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 06 May 2021 00:54:55 GMT", + "Date": "Mon, 10 May 2021 15:41:43 GMT", "Docker-Distribution-Api-Version": "registry/2.0", "Server": "openresty", "Strict-Transport-Security": [ @@ -535,16 +535,16 @@ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": "nosniff", - "X-Ms-Correlation-Request-Id": "9726f1a6-b837-4169-a5e7-8169884587c7" + "X-Ms-Correlation-Request-Id": "5567eac3-6fc0-48a3-a0a5-362864fb9939" }, "ResponseBody": { - "registry": "localtestacr01.azurecr.io", + "registry": "localtestacr04.azurecr.io", "imageName": "library/hello-world", "tag": { "name": "latest", "digest": "sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519", - "createdTime": "2021-05-06T00:53:01.4496936Z", - "lastUpdateTime": "2021-05-06T00:53:01.4496936Z", + "createdTime": "2021-05-10T15:39:23.7063677Z", + "lastUpdateTime": "2021-05-10T15:39:23.7063677Z", "signed": false, "changeableAttributes": { "deleteEnabled": true, @@ -557,7 +557,7 @@ } ], "Variables": { - "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr01.azurecr.io", + "CONTAINERREGISTRY_ENDPOINT": "https://localtestacr04.azurecr.io", "RandomSeed": "1979592264" } } \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties_Anonymous.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties_Anonymous.json new file mode 100644 index 000000000000..c80ff685191a --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties_Anonymous.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestMethod": "PATCH", + "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 )", + "x-ms-client-request-id": "3cda678ebd7fed9d491fbcac75c762fc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "c1d61580-2aad-465f-91fa-3659e1a32173" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "5b9ec631ab7b465fa4ddffc9d7f1ac19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40:37 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "13017612-a119-4969-9e68-2f31f3cc4e16", + "x-ms-ratelimit-remaining-calls-per-second": "166.466667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJhOTUwZGFhZS1mYzkyLTQ1NjYtYmE3MC1mNjM2MzJkZWE4YmMiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwMjM1LCJleHAiOjE2MjA2NjE0MzUsImlhdCI6MTYyMDY2MDIzNSwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.XpkH9RDBF5Dgd_d41KKnbAwpw0wAx8cThAY-DkzHyjQHdWXbVR8RdUzI6kXfkGO-FBEN3CT8O-ZRQKPNn9ZDeqfUiFVcdWK5wvdj-le6AbtGrxxd_qhZMU7_SVXAySWHQ6Eu13lCCDJ-r1Um8rE_nrYIvdtMDbMD03op3ZYeYZfKe4leOGGibeoit_DvF1KvF2aTz99Moz8XvAYfVY43nUpPvIbLr53KzHoT3U4NqkYmUpdmFRXKAmF5J5mRKlR8UBXOqlFVE3M1lJy2bYQqYcso9BVaeUt2SuRW9zVyFGjRKx6cYoQgCMhIie3qru62hbfdE3obeG9TQRWpUmfj7A" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "3cda678ebd7fed9d491fbcac75c762fc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:40: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "42550c49-ab17-447e-910f-6708df4d1348" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "620837463" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties_AnonymousAsync.json b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties_AnonymousAsync.json new file mode 100644 index 000000000000..765c7326e4f8 --- /dev/null +++ b/sdk/containerregistry/Azure.Containers.ContainerRegistry/tests/SessionRecords/RegistryArtifactLiveTests/CanSetTagProperties_AnonymousAsync.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "RequestMethod": "PATCH", + "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 )", + "x-ms-client-request-id": "0e63869ab15c68d4e8a6551e2a9b238d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "b40053d5-c411-4fba-9c61-706f6af72062" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/oauth2/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "139", + "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 )", + "x-ms-client-request-id": "38892463a066f55839db6ac17e4f5bb3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "service=localtestacr04anon.azurecr.io\u0026scope=repository%3alibrary%2fhello-world%3ametadata_write\u0026refresh_token=Sanitized\u0026grant_type=password", + "StatusCode": 200, + "ResponseHeaders": { + "Connection": "keep-alive", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41:43 GMT", + "Server": "openresty", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "X-Ms-Correlation-Request-Id": "c5fb1dba-e4e7-4a96-8b2d-12c5a1fa425f", + "x-ms-ratelimit-remaining-calls-per-second": "166.566667" + }, + "ResponseBody": { + "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjQ1NlA6WjNCRjpCQ0tPOkpUN0w6MlNLSTpVQUpZOkRCSU46VU5KWTpHWUZHOjdMQTI6WUpNSzpWUkVaIn0.eyJqdGkiOiJmODJiOWFkZi0wNDBiLTRjNzUtYmMwYS1mMjJmZTVlNDZiNTEiLCJzdWIiOiJhY3JfYW5vbl9wdWxsIiwibmJmIjoxNjIwNjYwNDAyLCJleHAiOjE2MjA2NjE2MDIsImlhdCI6MTYyMDY2MDQwMiwiaXNzIjoiQXp1cmUgQ29udGFpbmVyIFJlZ2lzdHJ5IiwiYXVkIjoibG9jYWx0ZXN0YWNyMDRhbm9uLmF6dXJlY3IuaW8iLCJ2ZXJzaW9uIjoiMS4wIiwicmlkIjoiYjVjNzM5YWYxYzllNDkzZmIyOTc5NDgxOTBlNTZjNjMiLCJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6IioiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6W10sImdyYW50X3R5cGUiOiJhY2Nlc3NfdG9rZW4ifQ.S_sVmPMwli2vbpNHG7OKjg7fXBwYP8uVRjv7qU4vMVDnzu8TsDFfyq_18gh1swgAwsiCpniPLUQqBReux5NWJFCYlybAmGVTODkg2pc7arP2K21db15yMAz846JgPBkXKeM83DTxmLXuIb_H2-pP1lcoDHw5GwFXloawvQDh_HK0qGyx5V7doembFm0DRy8odvPs6bQ8HgxOQVOx2T6NYL3845_BcojM4JGiaFiqtTcl4khBAg1mJqlRgrDVzT2-pZ-qetFHPDoEaBDxUC7ljBegO4DU-tl066uU0DtZ2_oQgKFGYgm9DdyuxrJE2QFlZR20x9RjaODi_pQw3GSmLg" + } + }, + { + "RequestUri": "https://localtestacr04anon.azurecr.io/acr/v1/library%2Fhello-world/_tags/latest", + "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.20210510.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "0e63869ab15c68d4e8a6551e2a9b238d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "deleteEnabled": false, + "writeEnabled": false, + "listEnabled": false, + "readEnabled": false + }, + "StatusCode": 401, + "ResponseHeaders": { + "Access-Control-Expose-Headers": [ + "Docker-Content-Digest", + "WWW-Authenticate", + "Link", + "X-Ms-Correlation-Request-Id" + ], + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 10 May 2021 15:41: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://localtestacr04anon.azurecr.io/oauth2/token\u0022,service=\u0022localtestacr04anon.azurecr.io\u0022,scope=\u0022repository:library/hello-world:metadata_write\u0022,error=\u0022insufficient_scope\u0022", + "X-Content-Type-Options": "nosniff", + "X-Ms-Correlation-Request-Id": "5782f488-8041-4bab-a58d-127c65ac753d" + }, + "ResponseBody": { + "errors": [ + { + "code": "UNAUTHORIZED", + "message": "authentication required, visit https://aka.ms/acr/authorization for more information.", + "detail": [ + { + "Type": "repository", + "Name": "library/hello-world", + "Action": "metadata_write" + } + ] + } + ] + } + } + ], + "Variables": { + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": "https://localtestacr04anon.azurecr.io", + "RandomSeed": "332482180" + } +} \ No newline at end of file diff --git a/sdk/containerregistry/test-resources-post.ps1 b/sdk/containerregistry/test-resources-post.ps1 index b3ffabc03eee..725fa0dbbb8f 100644 --- a/sdk/containerregistry/test-resources-post.ps1 +++ b/sdk/containerregistry/test-resources-post.ps1 @@ -7,19 +7,38 @@ param ( Import-AzContainerRegistryImage ` -ResourceGroupName $DeploymentOutputs['CONTAINERREGISTRY_RESOURCE_GROUP'] ` - -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_USERNAME'] ` + -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_REGISTRY_NAME'] ` -SourceImage 'library/hello-world' -SourceRegistryUri 'registry.hub.docker.com' ` -TargetTag @('library/hello-world:latest', 'library/hello-world:v1', 'library/hello-world:v2', 'library/hello-world:v3', 'library/hello-world:v4') ` -Mode 'Force' Import-AzContainerRegistryImage ` -ResourceGroupName $DeploymentOutputs['CONTAINERREGISTRY_RESOURCE_GROUP'] ` - -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_USERNAME'] ` + -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_REGISTRY_NAME'] ` -SourceImage 'library/alpine' -SourceRegistryUri 'registry.hub.docker.com' ` -Mode 'Force' Import-AzContainerRegistryImage ` -ResourceGroupName $DeploymentOutputs['CONTAINERREGISTRY_RESOURCE_GROUP'] ` - -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_USERNAME'] ` + -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_REGISTRY_NAME'] ` + -SourceImage 'library/busybox' -SourceRegistryUri 'registry.hub.docker.com' ` + -Mode 'Force' + +Import-AzContainerRegistryImage ` + -ResourceGroupName $DeploymentOutputs['CONTAINERREGISTRY_RESOURCE_GROUP'] ` + -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_ANONREGISTRY_NAME'] ` + -SourceImage 'library/hello-world' -SourceRegistryUri 'registry.hub.docker.com' ` + -TargetTag @('library/hello-world:latest', 'library/hello-world:v1', 'library/hello-world:v2', 'library/hello-world:v3', 'library/hello-world:v4') ` + -Mode 'Force' + +Import-AzContainerRegistryImage ` + -ResourceGroupName $DeploymentOutputs['CONTAINERREGISTRY_RESOURCE_GROUP'] ` + -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_ANONREGISTRY_NAME'] ` + -SourceImage 'library/alpine' -SourceRegistryUri 'registry.hub.docker.com' ` + -Mode 'Force' + +Import-AzContainerRegistryImage ` + -ResourceGroupName $DeploymentOutputs['CONTAINERREGISTRY_RESOURCE_GROUP'] ` + -RegistryName $DeploymentOutputs['CONTAINERREGISTRY_ANONREGISTRY_NAME'] ` -SourceImage 'library/busybox' -SourceRegistryUri 'registry.hub.docker.com' ` -Mode 'Force' diff --git a/sdk/containerregistry/test-resources.json b/sdk/containerregistry/test-resources.json index b4cd0bae1311..bc88af61d0e8 100644 --- a/sdk/containerregistry/test-resources.json +++ b/sdk/containerregistry/test-resources.json @@ -2,69 +2,72 @@ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { - "baseName": { - "type": "string", - "defaultValue": "[resourceGroup().name]", - "metadata": { - "description": "The base resource name." - } - }, - "tenantId": { - "type": "string", - "metadata": { - "description": "The tenant ID to which the application and resources belong." - } - }, - "testApplicationOid": { - "type": "string", - "metadata": { - "description": "The client OID to grant access to test resources." - } - }, - "location": { - "type": "string", - "defaultValue": "[resourceGroup().location]", - "metadata": { - "description": "The location of the resource. By default, this is the same as the resource group." - } + "baseName": { + "type": "string", + "defaultValue": "[resourceGroup().name]", + "metadata": { + "description": "The base resource name." } + }, + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]", + "metadata": { + "description": "The location of the resource. By default, this is the same as the resource group." + } + } }, "variables": { - "apiVersion": "2019-05-01", - "endpointValue": "[format('https://{0}.azurecr.io', parameters('baseName'))]" + "apiVersion": "2020-11-01-preview", + "endpointValue": "[format('https://{0}.azurecr.io', parameters('baseName'))]", + "anonRegistryName": "[format('{0}anon', parameters('baseName'))]", + "anonEndpointValue": "[format('https://{0}.azurecr.io', variables('anonRegistryName'))]" }, "resources": [ - { - "type": "Microsoft.ContainerRegistry/registries", - "apiVersion": "[variables('apiVersion')]", - "name": "[parameters('baseName')]", - "location": "[parameters('location')]", - "properties": { - "endpoint": "[variables('endpointValue')]", - "adminUserEnabled": true - }, - "sku": { - "name": "Basic", - "tier": "Basic" - } - } - ], - "outputs": { - "CONTAINERREGISTRY_REGISTRY_NAME": { - "type": "string", - "value": "[parameters('baseName')]" - }, - "CONTAINERREGISTRY_ENDPOINT": { - "type": "string", - "value": "[variables('endpointValue')]" + { + "type": "Microsoft.ContainerRegistry/registries", + "apiVersion": "[variables('apiVersion')]", + "name": "[parameters('baseName')]", + "location": "[parameters('location')]", + "properties": { + "endpoint": "[variables('endpointValue')]", }, - "CONTAINERREGISTRY_USERNAME": { - "type": "string", - "value": "[listCredentials(parameters('baseName'), variables('apiVersion')).username]" + "sku": { + "name": "Basic", + "tier": "Basic" + } + }, + { + "type": "Microsoft.ContainerRegistry/registries", + "apiVersion": "[variables('apiVersion')]", + "name": "[variables('anonRegistryName')]", + "location": "[parameters('location')]", + "properties": { + "endpoint": "[variables('anonEndpointValue')]", + "anonymousPullEnabled": true }, - "CONTAINERREGISTRY_PASSWORD": { - "type": "string", - "value": "[listCredentials(parameters('baseName'), variables('apiVersion')).passwords[0].value]" + "sku": { + "name": "Standard", + "tier": "Standard" } + } + ], + "outputs": { + "CONTAINERREGISTRY_REGISTRY_NAME": { + "type": "string", + "value": "[parameters('baseName')]" + }, + "CONTAINERREGISTRY_ENDPOINT": { + "type": "string", + "value": "[variables('endpointValue')]" + }, + "CONTAINERREGISTRY_ANONREGISTRY_NAME": { + "type": "string", + "value": "[variables('anonRegistryName')]" + }, + "CONTAINERREGISTRY_ANONREGISTRY_ENDPOINT": { + "type": "string", + "value": "[variables('anonEndpointValue')]" + } } -} + } \ No newline at end of file diff --git a/sdk/core/Azure.Core.Experimental/CHANGELOG.md b/sdk/core/Azure.Core.Experimental/CHANGELOG.md index bab01ab5270b..cb2e2c879693 100644 --- a/sdk/core/Azure.Core.Experimental/CHANGELOG.md +++ b/sdk/core/Azure.Core.Experimental/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 0.1.0-preview.13 (Unreleased) + + ## 0.1.0-preview.12 (2021-05-11) ### New Features diff --git a/sdk/core/Azure.Core.Experimental/src/Azure.Core.Experimental.csproj b/sdk/core/Azure.Core.Experimental/src/Azure.Core.Experimental.csproj index 0f97e3fde679..b57bd62199da 100644 --- a/sdk/core/Azure.Core.Experimental/src/Azure.Core.Experimental.csproj +++ b/sdk/core/Azure.Core.Experimental/src/Azure.Core.Experimental.csproj @@ -2,7 +2,7 @@ Experimental types that might eventually move to Azure.Core Microsoft Azure Client Pipeline Experimental Extensions - 0.1.0-preview.12 + 0.1.0-preview.13 Microsoft Azure Client Pipeline enable $(RequiredTargetFrameworks) diff --git a/sdk/core/Azure.Core.TestFramework/README.md b/sdk/core/Azure.Core.TestFramework/README.md index eb2790ac712b..ec3ada409663 100644 --- a/sdk/core/Azure.Core.TestFramework/README.md +++ b/sdk/core/Azure.Core.TestFramework/README.md @@ -265,7 +265,8 @@ For example: } ``` -Another sanitizer property that is available for sanitizing Json payloads is the `JsonPathSanitizers`. This property contains a list of [Json Path](https://www.newtonsoft.com/json/help/html/QueryJsonSelectToken.htm) format strings that will be validated against the body. If a match exists, the value will be sanitized. +Another sanitizer feature that is available for sanitizing Json payloads is the `AddJsonPathSanitizer`. +This method allows adding a [Json Path](https://www.newtonsoft.com/json/help/html/QueryJsonSelectToken.htm) format strings that will be validated against the body. If a match exists, the value will be sanitized. ```c# public class FormRecognizerRecordedTestSanitizer : RecordedTestSanitizer @@ -273,12 +274,20 @@ Another sanitizer property that is available for sanitizing Json payloads is the public FormRecognizerRecordedTestSanitizer() : base() { - JsonPathSanitizers.Add("$..accessToken"); - JsonPathSanitizers.Add("$..source"); + AddJsonPathSanitizer("$..accessToken"); + AddJsonPathSanitizer("$..source"); } } ``` +Sometimes it's useful to be able to have a custom replacement values for JsonPath-based sanitization (connection strings, JWT tokens). +To enable this the `AddJsonPathSanitizer` provides an additional callback that would be called for every match. + +```C# +AddJsonPathSanitizer("$..jwt_token", token => SanitizeJwt(token)); +``` + + ### Matching When tests are run in replay mode, HTTP method, Uri and headers are used to match the request to the recordings. Some headers change on every request and are not controlled by the client code and should be ignored during the matching. Common headers like `Date`, `x-ms-date`, `x-ms-client-request-id`, `User-Agent`, `Request-Id` are ignored by default but if more headers need to be ignored, use `RecordMatcher` extensions point. diff --git a/sdk/core/Azure.Core.TestFramework/src/RecordedTestSanitizer.cs b/sdk/core/Azure.Core.TestFramework/src/RecordedTestSanitizer.cs index 1f6f0a4e8ae9..e1802637ce53 100644 --- a/sdk/core/Azure.Core.TestFramework/src/RecordedTestSanitizer.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordedTestSanitizer.cs @@ -14,7 +14,7 @@ namespace Azure.Core.TestFramework public class RecordedTestSanitizer { public const string SanitizeValue = "Sanitized"; - public List JsonPathSanitizers { get; } = new List(); + private List<(string JsonPath, Func Sanitizer)> JsonPathSanitizers { get; } = new(); /// /// This is just a temporary workaround to avoid breaking tests that need to be re-recorded @@ -32,6 +32,11 @@ public class RecordedTestSanitizer public List SanitizedHeaders { get; } = new List { "Authorization" }; + public void AddJsonPathSanitizer(string jsonPath, Func sanitizer = null) + { + JsonPathSanitizers.Add((jsonPath, sanitizer ?? (_ => JToken.FromObject(SanitizeValue)))); + } + public virtual string SanitizeUri(string uri) { return uri; @@ -66,11 +71,11 @@ public virtual string SanitizeTextBody(string contentType, string body) jsonO = JToken.Parse(body); } - foreach (string jsonPath in JsonPathSanitizers) + foreach (var (jsonPath, sanitizer) in JsonPathSanitizers) { foreach (JToken token in jsonO.SelectTokens(jsonPath)) { - token.Replace(JToken.FromObject(SanitizeValue)); + token.Replace(sanitizer(token)); } } return JsonConvert.SerializeObject(jsonO, SerializerSettings); diff --git a/sdk/core/Azure.Core/CHANGELOG.md b/sdk/core/Azure.Core/CHANGELOG.md index d92d2c92103c..d163ec52d433 100644 --- a/sdk/core/Azure.Core/CHANGELOG.md +++ b/sdk/core/Azure.Core/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 1.15.0-beta.1 (Unreleased) + + ## 1.14.0 (2021-05-11) ### Added diff --git a/sdk/core/Azure.Core/src/Azure.Core.csproj b/sdk/core/Azure.Core/src/Azure.Core.csproj index 6177ff909957..988589971780 100644 --- a/sdk/core/Azure.Core/src/Azure.Core.csproj +++ b/sdk/core/Azure.Core/src/Azure.Core.csproj @@ -2,9 +2,9 @@ This is the implementation of the Azure Client Pipeline Microsoft Azure Client Pipeline - 1.14.0 + 1.15.0-beta.1 - 1.13.0 + 1.14.0 Microsoft Azure Client Pipeline enable $(DefineConstants);AZURE_NULLABLE diff --git a/sdk/core/Azure.Core/src/Azure.Core.props b/sdk/core/Azure.Core/src/Azure.Core.props deleted file mode 100644 index 40224c9755bb..000000000000 --- a/sdk/core/Azure.Core/src/Azure.Core.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - $(NullableContextOptions) - - - $(DefineConstants);AZURE_NULLABLE - - - - - diff --git a/sdk/core/Azure.Core/tests/RecordSessionTests.cs b/sdk/core/Azure.Core/tests/RecordSessionTests.cs index 47cc02ddc5bf..c0ee6b14b6f2 100644 --- a/sdk/core/Azure.Core/tests/RecordSessionTests.cs +++ b/sdk/core/Azure.Core/tests/RecordSessionTests.cs @@ -376,7 +376,7 @@ public void RecordingSessionSanitizeSanitizesVariables() public void RecordingSessionSanitizeTextBody(string jsonPath, string body, string expected) { var sanitizer = new RecordedTestSanitizer(); - sanitizer.JsonPathSanitizers.Add(jsonPath); + sanitizer.AddJsonPathSanitizer(jsonPath); string response = sanitizer.SanitizeTextBody(default, body); @@ -387,8 +387,8 @@ public void RecordingSessionSanitizeTextBody(string jsonPath, string body, strin public void RecordingSessionSanitizeTextBodyMultipleValues() { var sanitizer = new RecordedTestSanitizer(); - sanitizer.JsonPathSanitizers.Add("$..secret"); - sanitizer.JsonPathSanitizers.Add("$..topSecret"); + sanitizer.AddJsonPathSanitizer("$..secret"); + sanitizer.AddJsonPathSanitizer("$..topSecret"); var body = "{\"secret\":\"I should be sanitized\",\"key\":\"value\",\"topSecret\":\"I should be sanitized\"}"; var expected = "{\"secret\":\"Sanitized\",\"key\":\"value\",\"topSecret\":\"Sanitized\"}"; diff --git a/sdk/core/Microsoft.Azure.Core.NewtonsoftJson/src/Microsoft.Azure.Core.NewtonsoftJson.csproj b/sdk/core/Microsoft.Azure.Core.NewtonsoftJson/src/Microsoft.Azure.Core.NewtonsoftJson.csproj index c747c8165a9d..05b61e8ebe48 100644 --- a/sdk/core/Microsoft.Azure.Core.NewtonsoftJson/src/Microsoft.Azure.Core.NewtonsoftJson.csproj +++ b/sdk/core/Microsoft.Azure.Core.NewtonsoftJson/src/Microsoft.Azure.Core.NewtonsoftJson.csproj @@ -12,6 +12,7 @@ + @@ -20,5 +21,4 @@ - diff --git a/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Azure.IoT.DeviceUpdate.csproj b/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Azure.IoT.DeviceUpdate.csproj index 530934928f79..62e99c021e8b 100644 --- a/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Azure.IoT.DeviceUpdate.csproj +++ b/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Azure.IoT.DeviceUpdate.csproj @@ -11,6 +11,10 @@ $(NoWarn);CS1591;AZC0001;AZC0012 + + + + @@ -23,6 +27,4 @@ - - diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Azure.DigitalTwins.Core.csproj b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Azure.DigitalTwins.Core.csproj index e6203b750b27..cfb005896948 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Azure.DigitalTwins.Core.csproj +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Azure.DigitalTwins.Core.csproj @@ -17,6 +17,7 @@ + @@ -54,5 +55,4 @@ - diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj index 20f12cf8c794..d74a49ac4009 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj @@ -10,12 +10,11 @@ + - - diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/tests/Infrastructure/EventGridLiveTestBase.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/tests/Infrastructure/EventGridLiveTestBase.cs index 416d9b6962d0..46f50654543c 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/tests/Infrastructure/EventGridLiveTestBase.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/tests/Infrastructure/EventGridLiveTestBase.cs @@ -12,7 +12,7 @@ public EventGridLiveTestBase(bool isAsync) : base(isAsync/*, RecordedTestMode.Re Sanitizer = new RecordedTestSanitizer(); Sanitizer.SanitizedHeaders.Add(Constants.SasKeyName); Sanitizer.SanitizedHeaders.Add(Constants.SasTokenName); - Sanitizer.JsonPathSanitizers.Add("$..traceparent"); + Sanitizer.AddJsonPathSanitizer("$..traceparent"); } } } diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md index 0515d9261cb5..3646b9cc4258 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/CHANGELOG.md @@ -1,7 +1,12 @@ # Release History -## 3.0.0-beta.2 (Unreleased) +## 3.0.0-beta.2 (2021-05-11) +### Changes + +#### New Features + +- Binding to the `CloudEvent` type is now supported. ## 3.0.0-beta.1 (2021-03-23) diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj index 6f06c7f05c43..6091d27c541b 100644 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj @@ -17,6 +17,7 @@ + @@ -26,9 +27,6 @@ - - - diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj b/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj index 080e135ca32d..6547e4a94fb5 100644 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj @@ -12,6 +12,7 @@ + @@ -29,9 +30,6 @@ - - - diff --git a/sdk/eventhub/Azure.Messaging.EventHubs/src/Azure.Messaging.EventHubs.csproj b/sdk/eventhub/Azure.Messaging.EventHubs/src/Azure.Messaging.EventHubs.csproj index 7d390e77b5ce..c27ac0dae164 100644 --- a/sdk/eventhub/Azure.Messaging.EventHubs/src/Azure.Messaging.EventHubs.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs/src/Azure.Messaging.EventHubs.csproj @@ -14,6 +14,7 @@ + @@ -23,9 +24,6 @@ - - - diff --git a/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/CHANGELOG.md b/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/CHANGELOG.md index 9b3e33c0d737..fd53b25c0513 100644 --- a/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/CHANGELOG.md +++ b/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 4.4.0-beta.1 (Unreleased) + + ## 4.3.2 (2021-04-26) Update package description to include pointer to the new Azure.Messaging.EventHubs.Processor package and the migration guide. diff --git a/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/src/Microsoft.Azure.EventHubs.Processor.csproj b/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/src/Microsoft.Azure.EventHubs.Processor.csproj index 8b8e1377e2d6..5495027b0c7d 100644 --- a/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/src/Microsoft.Azure.EventHubs.Processor.csproj +++ b/sdk/eventhub/Microsoft.Azure.EventHubs.Processor/src/Microsoft.Azure.EventHubs.Processor.csproj @@ -1,8 +1,9 @@ Please note, a newer package Azure.Messaging.EventHubs.Processor is available as of February 2020. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Read the migration guide at https://aka.ms/azsdk/net/migrate/eh for more details. - 4.3.2 - 4.3.1 + 4.4.0-beta.1 + + 4.3.2 Azure;Event Hubs;EventHubs;.NET;AMQP;IoT;Event Processor Host https://github.com/Azure/azure-sdk-for-net/releases $(OutputPath)$(TargetFramework)\Microsoft.Azure.EventHubs.Processor.xml diff --git a/sdk/eventhub/Microsoft.Azure.EventHubs/CHANGELOG.md b/sdk/eventhub/Microsoft.Azure.EventHubs/CHANGELOG.md index 71737c33031d..13e0382f3445 100644 --- a/sdk/eventhub/Microsoft.Azure.EventHubs/CHANGELOG.md +++ b/sdk/eventhub/Microsoft.Azure.EventHubs/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 4.4.0-beta.1 (Unreleased) + + ## 4.3.2 (2021-04-15) Update package description to include pointer to the new Azure.Messaging.EventHubs package and the migration guide. diff --git a/sdk/eventhub/Microsoft.Azure.EventHubs/src/Microsoft.Azure.EventHubs.csproj b/sdk/eventhub/Microsoft.Azure.EventHubs/src/Microsoft.Azure.EventHubs.csproj index 14efb83c51ab..54422349e6db 100644 --- a/sdk/eventhub/Microsoft.Azure.EventHubs/src/Microsoft.Azure.EventHubs.csproj +++ b/sdk/eventhub/Microsoft.Azure.EventHubs/src/Microsoft.Azure.EventHubs.csproj @@ -1,8 +1,9 @@ Please note, a newer package Azure.Messaging.EventHubs is available as of February 2020. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Read the migration guide at https://aka.ms/azsdk/net/migrate/eh for more details. - 4.3.2 - 4.3.1 + 4.4.0-beta.1 + + 4.3.2 Azure;Event Hubs;EventHubs;.NET;AMQP;IoT https://github.com/Azure/azure-sdk-for-net/releases $(OutputPath)$(TargetFramework)\Microsoft.Azure.EventHubs.xml diff --git a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md index 8aea4ef47903..3134bd99dd14 100644 --- a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md +++ b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md @@ -1,7 +1,12 @@ # Release History -## 5.0.0-beta.5 (Unreleased) +## 5.0.0-beta.5 (2021-05-11) +### Changes + +#### Key Bug Fixes + +- The web proxy specified in configuration is now respected. ## 5.0.0-beta.4 (2021-04-06) diff --git a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/README.md b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/README.md index 9c154a666e50..834c90f5698c 100644 --- a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/README.md +++ b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/README.md @@ -36,7 +36,7 @@ For the local development use the `local.settings.json` file to store the connec { "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", - "": "Endpoint=sb://.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Jya7Eh76HU92ibsxuk1ITN8CM8Bt76YLKf5ISjU3jZ8=" + "": "Endpoint=sb://.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Jya7Eh76HU92ibsxuk1ITN8CM8Bt76YLKf5ISjU3jZ8=" } } ``` @@ -45,14 +45,15 @@ When deployed use the [application settings](https://docs.microsoft.com/azure/az #### Managed identity authentication -If your environment has [managed identity](https://docs.microsoft.com/azure/app-service/overview-managed-identity?tabs=dotnet) enabled you can use it to authenticate the Event Hubs extension. -To use managed identity provide the `__fullyQualifiedNamespace` configuration setting. +If your environment has [managed identity](https://docs.microsoft.com/azure/app-service/overview-managed-identity?tabs=dotnet) enabled you can use it to authenticate the Event Hubs extension. Before doing so, you will need to ensure that permissions have been configured as described in the [Azure Functions developer guide]( https://docs.microsoft.com/azure/azure-functions/functions-reference#grant-permission-to-the-identity). + +To use managed identity provide the `__fullyQualifiedNamespace` configuration setting. ```json { "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", - "__fullyQualifiedNamespace": ".servicebus.windows.net" + "__fullyQualifiedNamespace": "{event_hubs_namespace}.servicebus.windows.net" } } ``` @@ -60,7 +61,7 @@ To use managed identity provide the `__fullyQualifiedNamespace` Or in the case of deployed app set the same setting in [application settings](https://docs.microsoft.com/azure/azure-functions/functions-how-to-use-azure-function-app-settings): ``` -__fullyQualifiedNamespace=.servicebus.windows.net +__fullyQualifiedNamespace={event_hubs_namespace}.servicebus.windows.net ``` ## Key concepts diff --git a/sdk/extensions/Microsoft.Extensions.Azure/CHANGELOG.md b/sdk/extensions/Microsoft.Extensions.Azure/CHANGELOG.md index 9467b9a3d504..5f0003a8cc3e 100644 --- a/sdk/extensions/Microsoft.Extensions.Azure/CHANGELOG.md +++ b/sdk/extensions/Microsoft.Extensions.Azure/CHANGELOG.md @@ -1,7 +1,12 @@ # Release History -## 1.1.0-beta.3 (Unreleased) +## 1.1.0-beta.3 (2021-05-11) +### Changes + +#### New Features + +- The `AddClient` method that allows registering any Azure SDK client with a custom factory function. ## 1.1.0-beta.2 (2021-02-09) diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/Azure.AI.FormRecognizer.csproj b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/Azure.AI.FormRecognizer.csproj index 59cbcc63c090..a5a0445261e9 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/src/Azure.AI.FormRecognizer.csproj +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/src/Azure.AI.FormRecognizer.csproj @@ -9,6 +9,7 @@ + @@ -27,6 +28,4 @@ - - diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Assets/multipageReceiptBlankPage.pdf b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Assets/multipageReceiptBlankPage.pdf new file mode 100644 index 000000000000..52bfcc32e0d1 Binary files /dev/null and b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Assets/multipageReceiptBlankPage.pdf differ diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Assets/multipleReceipt.pdf b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Assets/multipleReceipt.pdf new file mode 100644 index 000000000000..f4546ecc2a23 Binary files /dev/null and b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Assets/multipleReceipt.pdf differ diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs index d11bb954dd46..93b8d4bdeb39 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs @@ -1,12 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Azure.AI.FormRecognizer.Models; using Azure.Core.TestFramework; using NUnit.Framework; diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/RecognizeReceiptsLiveTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/RecognizeReceiptsLiveTests.cs index a7b27639f519..ed4a10b4b5da 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/RecognizeReceiptsLiveTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/RecognizeReceiptsLiveTests.cs @@ -286,7 +286,7 @@ public async Task StartRecognizeReceiptsPopulatesExtractedReceiptPng(bool useStr [RecordedTest] [TestCase(true)] - [TestCase(false)] + [TestCase(false, Ignore = "File not in Github")] [ServiceVersion(Min = FormRecognizerClientOptions.ServiceVersion.V2_1_Preview_3)] public async Task StartRecognizeReceiptsCanParseMultipageForm(bool useStream) { @@ -296,7 +296,7 @@ public async Task StartRecognizeReceiptsCanParseMultipageForm(bool useStream) if (useStream) { - using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceMultipage); + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.ReceipMultipage); using (Recording.DisableRequestBodyRecording()) { operation = await client.StartRecognizeReceiptsAsync(stream, options); @@ -304,7 +304,7 @@ public async Task StartRecognizeReceiptsCanParseMultipageForm(bool useStream) } else { - var uri = FormRecognizerTestEnvironment.CreateUri(TestFile.InvoiceMultipage); + var uri = FormRecognizerTestEnvironment.CreateUri(TestFile.ReceipMultipage); operation = await client.StartRecognizeReceiptsFromUriAsync(uri, options); } @@ -326,17 +326,16 @@ public async Task StartRecognizeReceiptsCanParseMultipageForm(bool useStream) expectedLastPageNumber: expectedPageNumber); // Basic sanity test to make sure pages are ordered correctly. + var sampleField = recognizedForm.Fields["Total"]; + Assert.IsNotNull(sampleField.ValueData); if (formIndex == 0) { - var sampleField = recognizedForm.Fields["MerchantAddress"]; - - Assert.IsNotNull(sampleField.ValueData); - Assert.AreEqual("Maple City, Massachusetts.", sampleField.ValueData.Text); + Assert.AreEqual("$14.50", sampleField.ValueData.Text); } else if (formIndex == 1) { - Assert.IsFalse(recognizedForm.Fields.TryGetValue("MerchantAddress", out _)); + Assert.AreEqual("$ 1203.39", sampleField.ValueData.Text); } } } @@ -381,7 +380,7 @@ public async Task StartRecognizeReceiptsCanParseMultipageFormWithBlankPage() var options = new RecognizeReceiptsOptions() { IncludeFieldElements = true }; RecognizeReceiptsOperation operation; - using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceMultipageBlank); + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.ReceipMultipageWithBlankPage); using (Recording.DisableRequestBodyRecording()) { operation = await client.StartRecognizeReceiptsAsync(stream, options); @@ -409,7 +408,7 @@ public async Task StartRecognizeReceiptsCanParseMultipageFormWithBlankPage() if (formIndex == 0 || formIndex == 2) { var sampleField = recognizedForm.Fields["Total"]; - var expectedValueData = formIndex == 0 ? "430.00" : "4300.00"; + var expectedValueData = formIndex == 0 ? "$14.50" : "$ 1203.39"; Assert.IsNotNull(sampleField.ValueData); Assert.AreEqual(expectedValueData, sampleField.ValueData.Text); @@ -518,7 +517,7 @@ public async Task StartRecognizeReceiptsWithOnePageArgument(string pages, int ex var client = CreateFormRecognizerClient(); RecognizeReceiptsOperation operation; - using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceMultipageBlank); + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.ReceipMultipage); using (Recording.DisableRequestBodyRecording()) { operation = await client.StartRecognizeReceiptsAsync(stream, new RecognizeReceiptsOptions() { Pages = { pages } }); @@ -538,7 +537,7 @@ public async Task StartRecognizeReceiptsWithMultiplePageArgument(string page1, s var client = CreateFormRecognizerClient(); RecognizeReceiptsOperation operation; - using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.InvoiceMultipageBlank); + using var stream = FormRecognizerTestEnvironment.CreateStream(TestFile.ReceipMultipageWithBlankPage); using (Recording.DisableRequestBodyRecording()) { operation = await client.StartRecognizeReceiptsAsync(stream, new RecognizeReceiptsOptions() { Pages = { page1, page2 } }); diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs index f3131cb61a30..056ba4d0075a 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs @@ -10,8 +10,8 @@ public class FormRecognizerRecordedTestSanitizer : RecordedTestSanitizer public FormRecognizerRecordedTestSanitizer() : base() { - JsonPathSanitizers.Add("$..accessToken"); - JsonPathSanitizers.Add("$..source"); + AddJsonPathSanitizer("$..accessToken"); + AddJsonPathSanitizer("$..source"); SanitizedHeaders.Add(Constants.AuthorizationHeader); } } diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/TestFile.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/TestFile.cs index 90e4cad16024..c8e360f99a31 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/TestFile.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/TestFile.cs @@ -28,6 +28,12 @@ public static class TestFile /// An itemized en-US receipt. public const string ReceiptPng = "contoso-allinone.png"; + /// A file with multiple receipts, one per page. + public const string ReceipMultipage = "multipleReceipt.pdf"; + + /// A three-page receipt file in which the second page is blank. + public const string ReceipMultipageWithBlankPage = "multipageReceiptBlankPage.pdf"; + /// A business card file. public const string BusinessCardJpg = "businessCard.jpg"; diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True).json index 949520488ba6..a6f522593992 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True).json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True).json @@ -1,247 +1,2661 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "711607", + "Content-Length": "252365", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-d11dfa1f67baf94d91f00e6a00c25747-e810d1cb57167148-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-eca0b34ea77dd845b235617be1d35b3b-f24f07ca849ea741-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "47aaf217be71ddb53d7a55448d2a01d3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "2055ac7b-962e-4d54-88f2-9b96aead0eb6", + "apim-request-id": "618ceffc-45ad-4c76-afd8-8ac40f3a5447", "Content-Length": "0", - "Date": "Wed, 24 Mar 2021 21:48:36 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", + "Date": "Thu, 06 May 2021 18:31:54 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/618ceffc-45ad-4c76-afd8-8ac40f3a5447", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "262" + "x-envoy-upstream-service-time": "99" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/618ceffc-45ad-4c76-afd8-8ac40f3a5447", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c6f4a1d1b6fc5e9732c370ae4dfc6a8e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "54c9cca7-830d-4d40-ae59-6f320039e3ad", - "Content-Length": "109", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "status": "notStarted", - "createdDateTime": "2021-03-24T21:48:37Z", - "lastUpdatedDateTime": "2021-03-24T21:48:37Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f4fd38b6be0d3b33520eba6e6b409d12", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e0617293-f6aa-4a15-bc8a-92ef811213ac", + "apim-request-id": "43089fe2-f4cf-4862-aeb2-e164b03d7522", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:38 GMT", + "Date": "Thu, 06 May 2021 18:31:54 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "11" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:48:37Z", - "lastUpdatedDateTime": "2021-03-24T21:48:37Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f12c7b46d1c261895b4b14ad4e078f41", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c496ec42-2340-485f-b096-bb76fc3e7026", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:48:37Z", - "lastUpdatedDateTime": "2021-03-24T21:48:37Z" + "createdDateTime": "2021-05-06T18:31:54Z", + "lastUpdatedDateTime": "2021-05-06T18:31:55Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/618ceffc-45ad-4c76-afd8-8ac40f3a5447", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "558dc7100d2c12c56eb974edfb29f3f2", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f4fd38b6be0d3b33520eba6e6b409d12", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2e06b046-9209-48eb-9e3d-a43a12aff654", + "apim-request-id": "ede49b72-8897-4f29-8bc5-70c17131e5dd", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:40 GMT", + "Date": "Thu, 06 May 2021 18:31:56 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:48:37Z", - "lastUpdatedDateTime": "2021-03-24T21:48:37Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "d2685d2578d0e5cbaf9b99c2a985ec4a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "325b5e13-2364-4daa-90f4-3b779047c960", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "23" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:48:37Z", - "lastUpdatedDateTime": "2021-03-24T21:48:37Z" + "createdDateTime": "2021-05-06T18:31:54Z", + "lastUpdatedDateTime": "2021-05-06T18:31:55Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/618ceffc-45ad-4c76-afd8-8ac40f3a5447", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a35d797f48b238e6b51983095d9b6632", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "f12c7b46d1c261895b4b14ad4e078f41", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ed3478d9-fc3b-4b64-809a-5bc2d89bc006", + "apim-request-id": "ecab690c-6900-44de-a2c1-630e0c9589b9", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:43 GMT", + "Date": "Thu, 06 May 2021 18:31:57 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:48:37Z", - "lastUpdatedDateTime": "2021-03-24T21:48:37Z" + "createdDateTime": "2021-05-06T18:31:54Z", + "lastUpdatedDateTime": "2021-05-06T18:31:55Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/618ceffc-45ad-4c76-afd8-8ac40f3a5447", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "f1882258bd9e9770fba8a591740368e8", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "558dc7100d2c12c56eb974edfb29f3f2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fc52bcf5-a63f-4eb3-b288-007a87f13847", - "Content-Length": "106", + "apim-request-id": "42322b7c-75af-4d86-b708-a9252c22a140", + "Content-Length": "22004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:44 GMT", + "Date": "Thu, 06 May 2021 18:31:58 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "24" }, "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:48:37Z", - "lastUpdatedDateTime": "2021-03-24T21:48:37Z" + "status": "succeeded", + "createdDateTime": "2021-05-06T18:31:54Z", + "lastUpdatedDateTime": "2021-05-06T18:31:58Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0.5729, + "width": 8.5, + "height": 11, + "unit": "inch", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 1.9036, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8594, + 2.8912 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 + ], + "confidence": 0.755 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Contoso", + "boundingBox": [ + 2.8776, + 2.5146, + 4.2611, + 2.3817, + 4.2943, + 2.6918, + 2.8997, + 2.8248 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 2.8776, + 2.5257, + 4.2057, + 2.3927, + 4.2279, + 2.7029, + 2.8997, + 2.8248 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "123 Main Street", + "boundingBox": [ + 1.8815, + 3.0131, + 3.11, + 3.2679, + 3.0547, + 3.4894, + 1.8483, + 3.2457 + ], + "words": [ + { + "text": "123", + "boundingBox": [ + 1.8926, + 3.0242, + 2.125, + 3.0685, + 2.0918, + 3.3011, + 1.8483, + 3.2457 + ], + "confidence": 0.994 + }, + { + "text": "Main", + "boundingBox": [ + 2.1803, + 3.0796, + 2.5566, + 3.1682, + 2.5124, + 3.3897, + 2.1361, + 3.3122 + ], + "confidence": 0.994 + }, + { + "text": "Street", + "boundingBox": [ + 2.6009, + 3.1793, + 3.099, + 3.29, + 3.0547, + 3.4894, + 2.5566, + 3.4008 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Redmond, WA 98052", + "boundingBox": [ + 1.8594, + 3.3454, + 3.4863, + 3.5559, + 3.4531, + 3.7996, + 1.8372, + 3.6002 + ], + "words": [ + { + "text": "Redmond,", + "boundingBox": [ + 1.8704, + 3.3565, + 2.623, + 3.4783, + 2.6009, + 3.711, + 1.8372, + 3.5891 + ], + "confidence": 0.993 + }, + { + "text": "WA", + "boundingBox": [ + 2.6673, + 3.4783, + 2.8997, + 3.5116, + 2.8776, + 3.7442, + 2.6452, + 3.7221 + ], + "confidence": 0.996 + }, + { + "text": "98052", + "boundingBox": [ + 2.944, + 3.5227, + 3.4642, + 3.567, + 3.4531, + 3.7885, + 2.9329, + 3.7553 + ], + "confidence": 0.993 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.9878999999999998, + 2.9661, + 4.143, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "words": [ + { + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "6/10/2019 13:59", + "boundingBox": [ + 1.7708, + 4.6636, + 3.0547, + 4.7523, + 3.0326, + 5.0181, + 1.7598, + 4.9295 + ], + "words": [ + { + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "confidence": 0.993 + }, + { + "text": "13:59", + "boundingBox": [ + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sales Associate: Paul", + "boundingBox": [ + 1.7487, + 5.0292, + 3.597, + 5.1067, + 3.5859, + 5.3615, + 1.7376, + 5.284 + ], + "words": [ + { + "text": "Sales", + "boundingBox": [ + 1.7708, + 5.0403, + 2.2135, + 5.0735, + 2.2025, + 5.3061, + 1.7487, + 5.2618 + ], + "confidence": 0.996 + }, + { + "text": "Associate:", + "boundingBox": [ + 2.2578, + 5.0735, + 3.1211, + 5.1067, + 3.11, + 5.3505, + 2.2467, + 5.3061 + ], + "confidence": 0.922 + }, + { + "text": "Paul", + "boundingBox": [ + 3.1654, + 5.1067, + 3.6081, + 5.1067, + 3.597, + 5.3615, + 3.1543, + 5.3505 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 Cappuccino", + "boundingBox": [ + 1.6934, + 5.7382, + 2.9993, + 5.7936, + 2.9883, + 6.0705, + 1.6823, + 6.0262 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 + ], + "confidence": 0.995 + }, + { + "text": "Cappuccino", + "boundingBox": [ + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 + ], + "confidence": 0.705 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$2.20", + "boundingBox": [ + 4.2943, + 5.7492, + 4.8034, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 + ], + "words": [ + { + "text": "$2.20", + "boundingBox": [ + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 BACON \u0026 EGGS", + "boundingBox": [ + 1.6491, + 6.4914, + 3.2318, + 6.5025, + 3.2318, + 6.7684, + 1.6491, + 6.7573 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "BACON", + "boundingBox": [ + 1.8704, + 6.5025, + 2.5013, + 6.5136, + 2.4902, + 6.7684, + 1.8704, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "\u0026", + "boundingBox": [ + 2.5456, + 6.5136, + 2.6784, + 6.5136, + 2.6673, + 6.7684, + 2.5456, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "EGGS", + "boundingBox": [ + 2.7337, + 6.5136, + 3.2318, + 6.5136, + 3.2318, + 6.7795, + 2.7227, + 6.7684 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sunny-side-up", + "boundingBox": [ + 1.9811, + 6.9124, + 3.2539, + 6.9124, + 3.2539, + 7.1893, + 1.9811, + 7.1782 + ], + "words": [ + { + "text": "Sunny-side-up", + "boundingBox": [ + 2.0033, + 6.9124, + 3.265, + 6.9235, + 3.2539, + 7.2004, + 2.0033, + 7.1893 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$9.5", + "boundingBox": [ + 4.3717, + 6.8459, + 4.8145, + 6.8348, + 4.8145, + 7.1229, + 4.3717, + 7.1339 + ], + "words": [ + { + "text": "$9.5", + "boundingBox": [ + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sub-Total", + "boundingBox": [ + 2.291, + 7.6878, + 3.2982, + 7.6657, + 3.3092, + 7.9426, + 2.291, + 7.9757999999999996 + ], + "words": [ + { + "text": "Sub-Total", + "boundingBox": [ + 2.3021, + 7.6878, + 3.3092, + 7.6657, + 3.3092, + 7.9537, + 2.3021, + 7.9869 + ], + "confidence": 0.892 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9141, + 7.9537, + 4.2721, + 7.9648 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 4.2611, + 7.6546, + 4.3385, + 7.6546, + 4.3385, + 7.9648, + 4.2611, + 7.9648 + ], + "confidence": 0.994 + }, + { + "text": "11.70", + "boundingBox": [ + 4.3939, + 7.6546, + 4.9141, + 7.6546, + 4.9251, + 7.9537, + 4.4049, + 7.9648 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Tax", + "boundingBox": [ + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.7005, + 8.3746, + 2.3021, + 8.3857 + ], + "words": [ + { + "text": "Tax", + "boundingBox": [ + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.6895, + 8.3857, + 2.3021, + 8.3857 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 1.17", + "boundingBox": [ + 4.3828, + 8.0423, + 4.9362, + 8.0534, + 4.9251, + 8.3746, + 4.3717, + 8.3746 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 4.3717, + 8.0423, + 4.4492, + 8.0423, + 4.4492, + 8.3746, + 4.3717, + 8.3635 + ], + "confidence": 0.994 + }, + { + "text": "1.17", + "boundingBox": [ + 4.5156, + 8.0423, + 4.9251, + 8.0423, + 4.9251, + 8.3746, + 4.5156, + 8.3746 + ], + "confidence": 0.992 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Tip", + "boundingBox": [ + 2.2689, + 8.4965, + 2.612, + 8.5076, + 2.6009, + 8.8399, + 2.2689, + 8.8288 + ], + "words": [ + { + "text": "Tip", + "boundingBox": [ + 2.2799, + 8.4965, + 2.6009, + 8.5076, + 2.5898, + 8.8399, + 2.2799, + 8.8288 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 11623", + "boundingBox": [ + 4.084, + 8.4079, + 4.8809, + 8.4079, + 4.8698, + 8.7734, + 4.0729, + 8.7734 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 4.0729, + 8.4079, + 4.1615, + 8.4079, + 4.1615, + 8.7734, + 4.0729, + 8.7734 + ], + "confidence": 0.999 + }, + { + "text": "11623", + "boundingBox": [ + 4.2389, + 8.4079, + 4.8477, + 8.4079, + 4.8477, + 8.7734, + 4.2389, + 8.7734 + ], + "confidence": 0.27 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.469 + } + } + }, + { + "text": "Total", + "boundingBox": [ + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8223, + 9.2165, + 2.2799, + 9.2387 + ], + "words": [ + { + "text": "Total", + "boundingBox": [ + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8333, + 9.2054, + 2.291, + 9.2276 + ], + "confidence": 0.979 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$14.50", + "boundingBox": [ + 4.0951, + 8.8731, + 5.1576, + 8.9174, + 5.1465, + 9.2719, + 4.084, + 9.2276 + ], + "words": [ + { + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "confidence": 0.351 + } + ], + "appearance": { + "style": { + "name": "handwriting", + "confidence": 0.772 + } + } + } + ] + }, + { + "page": 2, + "angle": 0.4374, + "width": 8.5, + "height": 11, + "unit": "inch", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 2.8112, + 1.8499, + 4.1393, + 1.8278, + 4.1504, + 2.1601, + 2.8223, + 2.1934 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 2.8223, + 1.8499, + 4.1283, + 1.8389, + 4.1393, + 2.1601, + 2.8333, + 2.2044 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Contoso", + "boundingBox": [ + 1.959, + 2.7583, + 2.5234, + 2.7915, + 2.5124, + 2.9688, + 1.9479, + 2.9355 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 + ], + "confidence": 0.933 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "123 Main Street", + "boundingBox": [ + 1.959, + 3.0574, + 2.944, + 3.0796, + 2.944, + 3.2679, + 1.9479, + 3.2568 + ], + "words": [ + { + "text": "123", + "boundingBox": [ + 1.9701, + 3.0685, + 2.1361, + 3.0685, + 2.125, + 3.2679, + 1.959, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Main", + "boundingBox": [ + 2.1693, + 3.0796, + 2.4792, + 3.0796, + 2.4681, + 3.2679, + 2.1582, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Street", + "boundingBox": [ + 2.5124, + 3.0796, + 2.9551, + 3.0906, + 2.944, + 3.279, + 2.5124, + 3.2679 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Redmond, WA 98052", + "boundingBox": [ + 1.9258, + 3.3786, + 3.265, + 3.3676, + 3.265, + 3.567, + 1.9258, + 3.578 + ], + "words": [ + { + "text": "Redmond,", + "boundingBox": [ + 1.9368, + 3.3786, + 2.5456, + 3.3897, + 2.5456, + 3.578, + 1.9368, + 3.578 + ], + "confidence": 0.94 + }, + { + "text": "WA", + "boundingBox": [ + 2.5898, + 3.3897, + 2.778, + 3.3897, + 2.7669, + 3.578, + 2.5788, + 3.578 + ], + "confidence": 0.997 + }, + { + "text": "98052", + "boundingBox": [ + 2.8223, + 3.3786, + 3.265, + 3.3786, + 3.2539, + 3.578, + 2.8112, + 3.578 + ], + "confidence": 0.993 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "123-456-7890", + "boundingBox": [ + 1.8926, + 3.9878999999999998, + 2.8776, + 4.0101, + 2.8665, + 4.2205, + 1.8926, + 4.1873 + ], + "words": [ + { + "text": "123-456-7890", + "boundingBox": [ + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "6/10/2019 13:59", + "boundingBox": [ + 1.8704, + 4.6526, + 2.8997, + 4.6526, + 2.8997, + 4.8741, + 1.8704, + 4.863 + ], + "words": [ + { + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "confidence": 0.994 + }, + { + "text": "13:59", + "boundingBox": [ + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sales Associate: Paul", + "boundingBox": [ + 1.8704, + 4.996, + 3.3203, + 5.007, + 3.3203, + 5.2064, + 1.8704, + 5.1954 + ], + "words": [ + { + "text": "Sales", + "boundingBox": [ + 1.8926, + 4.996, + 2.2135, + 5.007, + 2.2135, + 5.2064, + 1.8815, + 5.1954 + ], + "confidence": 0.996 + }, + { + "text": "Associate:", + "boundingBox": [ + 2.2578, + 5.007, + 2.9329, + 5.007, + 2.9329, + 5.2064, + 2.2467, + 5.2064 + ], + "confidence": 0.979 + }, + { + "text": "Paul", + "boundingBox": [ + 2.9772, + 5.007, + 3.3314, + 5.007, + 3.3203, + 5.2064, + 2.9661, + 5.2064 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 Surface Pro 6", + "boundingBox": [ + 1.9811, + 5.6606, + 3.0436, + 5.6717, + 3.0436, + 5.8822, + 1.9701, + 5.8711 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 + ], + "confidence": 0.994 + }, + { + "text": "Surface", + "boundingBox": [ + 2.0807, + 5.6606, + 2.612, + 5.6717, + 2.6009, + 5.8822, + 2.0697, + 5.8711 + ], + "confidence": 0.949 + }, + { + "text": "Pro", + "boundingBox": [ + 2.6563, + 5.6717, + 2.8665, + 5.6717, + 2.8555, + 5.8822, + 2.6452, + 5.8822 + ], + "confidence": 0.979 + }, + { + "text": "6", + "boundingBox": [ + 2.8997, + 5.6717, + 3.0326, + 5.6828, + 3.0215, + 5.8822, + 2.8997, + 5.8822 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "256GB/Intel Core i5 /", + "boundingBox": [ + 2.0807, + 5.9929, + 3.5306, + 6.004, + 3.5306, + 6.2256, + 2.0807, + 6.2145 + ], + "words": [ + { + "text": "256GB/Intel", + "boundingBox": [ + 2.0918, + 6.004, + 2.9329, + 6.004, + 2.9219, + 6.2256, + 2.0918, + 6.2145 + ], + "confidence": 0.795 + }, + { + "text": "Core", + "boundingBox": [ + 2.9661, + 6.004, + 3.2539, + 6.004, + 3.2428, + 6.2256, + 2.9661, + 6.2256 + ], + "confidence": 0.991 + }, + { + "text": "i5", + "boundingBox": [ + 3.2982, + 6.004, + 3.4089, + 6.004, + 3.3978, + 6.2256, + 3.2871, + 6.2256 + ], + "confidence": 0.966 + }, + { + "text": "/", + "boundingBox": [ + 3.4421, + 6.004, + 3.5306, + 6.004, + 3.5195, + 6.2256, + 3.431, + 6.2256 + ], + "confidence": 0.964 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "8GB RAM (Black)", + "boundingBox": [ + 2.0807, + 6.3364, + 3.2096, + 6.3474, + 3.2096, + 6.569, + 2.0807, + 6.5468 + ], + "words": [ + { + "text": "8GB", + "boundingBox": [ + 2.0807, + 6.3474, + 2.3353, + 6.3474, + 2.3242, + 6.5579, + 2.0807, + 6.5468 + ], + "confidence": 0.994 + }, + { + "text": "RAM", + "boundingBox": [ + 2.3685, + 6.3474, + 2.6673, + 6.3474, + 2.6563, + 6.5579, + 2.3685, + 6.5579 + ], + "confidence": 0.997 + }, + { + "text": "(Black)", + "boundingBox": [ + 2.7005, + 6.3474, + 3.2096, + 6.3585, + 3.1986, + 6.569, + 2.7005, + 6.5579 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 999.00", + "boundingBox": [ + 3.7962, + 6.3696, + 4.4271, + 6.3807, + 4.416, + 6.5801, + 3.7852, + 6.5801 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.7962, + 6.3696, + 3.8626, + 6.3696, + 3.8626, + 6.5801, + 3.7962, + 6.569 + ], + "confidence": 0.997 + }, + { + "text": "999.00", + "boundingBox": [ + 3.9069, + 6.3696, + 4.4049, + 6.3696, + 4.4049, + 6.5801, + 3.9069, + 6.5801 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 SurfacePen", + "boundingBox": [ + 1.9258, + 7.0453, + 2.8997, + 7.0342, + 2.8997, + 7.2447, + 1.9368, + 7.2558 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 + ], + "confidence": 0.994 + }, + { + "text": "SurfacePen", + "boundingBox": [ + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 99.99", + "boundingBox": [ + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.3939, + 7.289, + 3.8737, + 7.289 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.8737, + 7.0675, + 3.9622, + 7.0675, + 3.9622, + 7.289, + 3.8737, + 7.289 + ], + "confidence": 0.994 + }, + { + "text": "99.99", + "boundingBox": [ + 4.0065, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 4.0065, + 7.289 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sub-Total", + "boundingBox": [ + 2.3796, + 7.721, + 3.0879, + 7.721, + 3.0879, + 7.9315, + 2.3796, + 7.9204 + ], + "words": [ + { + "text": "Sub-Total", + "boundingBox": [ + 2.3906, + 7.721, + 3.099, + 7.7321, + 3.0879, + 7.9315, + 2.3906, + 7.9315 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 1098.99", + "boundingBox": [ + 3.752, + 7.7654, + 4.416, + 7.7543, + 4.416, + 7.9537, + 3.752, + 7.9869 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.752, + 7.7654, + 3.8184, + 7.7654, + 3.8184, + 7.9869, + 3.763, + 7.9869 + ], + "confidence": 0.997 + }, + { + "text": "1098.99", + "boundingBox": [ + 3.8626, + 7.7654, + 4.4049, + 7.7543, + 4.416, + 7.9648, + 3.8626, + 7.9869 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Tax", + "boundingBox": [ + 2.7005, + 8.0644, + 2.9661, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 + ], + "words": [ + { + "text": "Tax", + "boundingBox": [ + 2.7005, + 8.0644, + 2.9551, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 + ], + "confidence": 0.997 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 104.40", + "boundingBox": [ + 3.8073, + 8.0977, + 4.4049, + 8.0977, + 4.4049, + 8.3082, + 3.8073, + 8.3192 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.8073, + 8.0977, + 3.8737, + 8.0977, + 3.8737, + 8.3192, + 3.8073, + 8.3192 + ], + "confidence": 0.994 + }, + { + "text": "104.40", + "boundingBox": [ + 3.918, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.918, + 8.3192 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Total", + "boundingBox": [ + 2.623, + 8.7734, + 2.9993, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 + ], + "words": [ + { + "text": "Total", + "boundingBox": [ + 2.623, + 8.7734, + 2.9883, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 + ], + "confidence": 0.989 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 1203.39", + "boundingBox": [ + 3.7188, + 8.7623, + 4.3828, + 8.8177, + 4.3717, + 9.0282, + 3.7077, + 8.9728 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.7298, + 8.7623, + 3.7962, + 8.7734, + 3.7852, + 8.9839, + 3.7188, + 8.9839 + ], + "confidence": 0.994 + }, + { + "text": "1203.39", + "boundingBox": [ + 3.8405, + 8.7734, + 4.3939, + 8.8288, + 4.3717, + 9.0393, + 3.8294, + 8.995 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:receipt", + "pageRange": [ + 1, + 1 + ], + "fields": { + "Items": { + "type": "array", + "valueArray": [ + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", + "boundingBox": [ + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 + ], + "page": 1, + "confidence": 0.735, + "elements": [ + "#/readResults/0/lines/7/words/1" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 + ], + "page": 1, + "confidence": 0.966, + "elements": [ + "#/readResults/0/lines/7/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 2.2, + "text": "$2.20", + "boundingBox": [ + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 + ], + "page": 1, + "confidence": 0.977, + "elements": [ + "#/readResults/0/lines/8/words/0" + ] + } + } + }, + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", + "boundingBox": [ + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 + ], + "page": 1, + "confidence": 0.903, + "elements": [ + "#/readResults/0/lines/9/words/1", + "#/readResults/0/lines/9/words/2", + "#/readResults/0/lines/9/words/3" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 + ], + "page": 1, + "confidence": 0.966, + "elements": [ + "#/readResults/0/lines/9/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 9.5, + "text": "$9.5", + "boundingBox": [ + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 + ], + "page": 1, + "confidence": 0.917, + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + } + } + } + ] + }, + "MerchantAddress": { + "type": "string", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 + ], + "page": 1, + "confidence": 0.973, + "elements": [ + "#/readResults/0/lines/2/words/0", + "#/readResults/0/lines/2/words/1", + "#/readResults/0/lines/2/words/2", + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2" + ] + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 + ], + "page": 1, + "confidence": 0.973, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "MerchantPhoneNumber": { + "type": "phoneNumber", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "page": 1, + "confidence": 0.987, + "elements": [ + "#/readResults/0/lines/4/words/0" + ] + }, + "ReceiptType": { + "type": "string", + "valueString": "Itemized", + "confidence": 0.989 + }, + "Subtotal": { + "type": "number", + "valueNumber": 11.7, + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 + ], + "page": 1, + "confidence": 0.777, + "elements": [ + "#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1" + ] + }, + "Tax": { + "type": "number", + "valueNumber": 1.17, + "text": "$ 1.17", + "boundingBox": [ + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 + ], + "page": 1, + "confidence": 0.985, + "elements": [ + "#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1" + ] + }, + "Total": { + "type": "number", + "valueNumber": 14.5, + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "page": 1, + "confidence": 0.958, + "elements": [ + "#/readResults/0/lines/19/words/0" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987, + "elements": [ + "#/readResults/0/lines/5/words/0" + ] + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 + ], + "page": 1, + "confidence": 0.984, + "elements": [ + "#/readResults/0/lines/5/words/1" + ] + } + } + }, + { + "docType": "prebuilt:receipt", + "pageRange": [ + 2, + 2 + ], + "fields": { + "Items": { + "type": "array", + "valueArray": [ + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", + "boundingBox": [ + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 + ], + "page": 2, + "confidence": 0.855, + "elements": [ + "#/readResults/1/lines/7/words/1", + "#/readResults/1/lines/7/words/2", + "#/readResults/1/lines/7/words/3" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 + ], + "page": 2, + "confidence": 0.961, + "elements": [ + "#/readResults/1/lines/7/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 999, + "text": "$ 999.00", + "boundingBox": [ + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 + ], + "page": 2, + "confidence": 0.935, + "elements": [ + "#/readResults/1/lines/10/words/0", + "#/readResults/1/lines/10/words/1" + ] + } + } + }, + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", + "boundingBox": [ + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 + ], + "page": 2, + "confidence": 0.479, + "elements": [ + "#/readResults/1/lines/11/words/1" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 + ], + "page": 2, + "confidence": 0.961, + "elements": [ + "#/readResults/1/lines/11/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 99.99, + "text": "$ 99.99", + "boundingBox": [ + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 + ], + "page": 2, + "confidence": 0.935, + "elements": [ + "#/readResults/1/lines/12/words/0", + "#/readResults/1/lines/12/words/1" + ] + } + } + } + ] + }, + "MerchantAddress": { + "type": "string", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 + ], + "page": 2, + "confidence": 0.976, + "elements": [ + "#/readResults/1/lines/2/words/0", + "#/readResults/1/lines/2/words/1", + "#/readResults/1/lines/2/words/2", + "#/readResults/1/lines/3/words/0", + "#/readResults/1/lines/3/words/1", + "#/readResults/1/lines/3/words/2" + ] + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 + ], + "page": 2, + "confidence": 0.974, + "elements": [ + "#/readResults/1/lines/1/words/0" + ] + }, + "MerchantPhoneNumber": { + "type": "phoneNumber", + "text": "123-456-7890", + "boundingBox": [ + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 + ], + "page": 2, + "confidence": 0.988, + "elements": [ + "#/readResults/1/lines/4/words/0" + ] + }, + "ReceiptType": { + "type": "string", + "valueString": "Itemized", + "confidence": 0.99 + }, + "Subtotal": { + "type": "number", + "valueNumber": 1098.99, + "text": "$ 1098.99", + "boundingBox": [ + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 + ], + "page": 2, + "confidence": 0.776, + "elements": [ + "#/readResults/1/lines/14/words/0", + "#/readResults/1/lines/14/words/1" + ] + }, + "Tax": { + "type": "number", + "valueNumber": 104.4, + "text": "$ 104.40", + "boundingBox": [ + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 + ], + "page": 2, + "confidence": 0.986, + "elements": [ + "#/readResults/1/lines/16/words/0", + "#/readResults/1/lines/16/words/1" + ] + }, + "Total": { + "type": "number", + "valueNumber": 1203.39, + "text": "$ 1203.39", + "boundingBox": [ + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 + ], + "page": 2, + "confidence": 0.973, + "elements": [ + "#/readResults/1/lines/18/words/0", + "#/readResults/1/lines/18/words/1" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "page": 2, + "confidence": 0.987, + "elements": [ + "#/readResults/1/lines/5/words/0" + ] + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 + ], + "page": 2, + "confidence": 0.986, + "elements": [ + "#/readResults/1/lines/5/words/1" + ] + } + } + } + ] + } } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/2055ac7b-962e-4d54-88f2-9b96aead0eb6", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "826e29cc4fcbdd3f762f1cb7f5c28814", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "027c8cc7-68ab-4f53-bd88-7dac095c186e", - "Content-Length": "32020", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:48:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": "{\u0022status\u0022:\u0022succeeded\u0022,\u0022createdDateTime\u0022:\u00222021-03-24T21:48:37Z\u0022,\u0022lastUpdatedDateTime\u0022:\u00222021-03-24T21:48:45Z\u0022,\u0022analyzeResult\u0022:{\u0022version\u0022:\u00222.1.0\u0022,\u0022readResults\u0022:[{\u0022page\u0022:1,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Registration\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,6.2379,1.5733,6.2379,2.005,2.2268,2.005],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,3.703,1.5733,3.703,1.9207,2.2268,1.9207],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Registration\u0022,\u0022boundingBox\u0022:[3.8661,1.5883,6.2379,1.5883,6.2379,2.005,3.8661,2.005],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd. Conference will be held on May 28-29, 2020 at the Elm Conference Center in\u0022,\u0022boundingBox\u0022:[1.0078,2.5846,7.0776,2.5846,7.0776,2.7293,1.0078,2.7293],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,2.5919,1.5548,2.5919,1.5548,2.7013,1.0078,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,2.5856,1.843,2.5856,1.843,2.7013,1.6125,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[1.8996,2.5846,2.6636,2.5846,2.6636,2.7013,1.8996,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022will\u0022,\u0022boundingBox\u0022:[2.7122,2.5852,2.9307,2.5852,2.9307,2.7003,2.7122,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022be\u0022,\u0022boundingBox\u0022:[2.9922,2.5852,3.1419,2.5852,3.1419,2.7013,2.9922,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022held\u0022,\u0022boundingBox\u0022:[3.1987,2.5852,3.4704,2.5852,3.4704,2.7013,3.1987,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.53,2.62,3.6846,2.62,3.6846,2.7013,3.53,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022May\u0022,\u0022boundingBox\u0022:[3.7498,2.5934,4.0422,2.5934,4.0422,2.7293,3.7498,2.7293],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228-29,\u0022,\u0022boundingBox\u0022:[4.0877,2.5914,4.5042,2.5914,4.5042,2.7236,4.0877,2.7236],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020\u0022,\u0022boundingBox\u0022:[4.5586,2.5914,4.884,2.5914,4.884,2.7017,4.5586,2.7017],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022at\u0022,\u0022boundingBox\u0022:[4.9351,2.6014,5.0577,2.6014,5.0577,2.7013,4.9351,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[5.1033,2.5852,5.3202,2.5852,5.3202,2.7013,5.1033,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Elm\u0022,\u0022boundingBox\u0022:[5.3787,2.5852,5.6051,2.5852,5.6051,2.7003,5.3787,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[5.6624,2.5846,6.4263,2.5846,6.4263,2.7013,5.6624,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Center\u0022,\u0022boundingBox\u0022:[6.4796,2.5919,6.9234,2.5919,6.9234,2.7013,6.4796,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.9765,2.5905,7.0776,2.5905,7.0776,2.7003,6.9765,2.7003],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Maple City, Massachusetts. The conference has sold out of its 1,500 tickets, with a 400 person\u0022,\u0022boundingBox\u0022:[1.014,2.8029,7.3457,2.8029,7.3457,2.9478,1.014,2.9478],\u0022words\u0022:[{\u0022text\u0022:\u0022Maple\u0022,\u0022boundingBox\u0022:[1.014,2.8036,1.4242,2.8036,1.4242,2.9478,1.014,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022City,\u0022,\u0022boundingBox\u0022:[1.4763,2.8089,1.7576,2.8089,1.7576,2.9478,1.4763,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Massachusetts.\u0022,\u0022boundingBox\u0022:[1.8195,2.8036,2.8383,2.8036,2.8383,2.9197,1.8195,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022The\u0022,\u0022boundingBox\u0022:[2.8883,2.8036,3.1326,2.8036,3.1326,2.9197,2.8883,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022conference\u0022,\u0022boundingBox\u0022:[3.1842,2.8029,3.9301,2.8029,3.9301,2.9197,3.1842,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022has\u0022,\u0022boundingBox\u0022:[3.9871,2.8036,4.2019,2.8036,4.2019,2.9197,3.9871,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022sold\u0022,\u0022boundingBox\u0022:[4.2529,2.8036,4.5104,2.8036,4.5104,2.9197,4.2529,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[4.5701,2.8197,4.7871,2.8197,4.7871,2.9197,4.5701,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022of\u0022,\u0022boundingBox\u0022:[4.8373,2.8029,4.9701,2.8029,4.9701,2.9197,4.8373,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022its\u0022,\u0022boundingBox\u0022:[5.0169,2.8089,5.1601,2.8089,5.1601,2.9197,5.0169,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u00221,500\u0022,\u0022boundingBox\u0022:[5.2167,2.81,5.5766,2.81,5.5766,2.9418,5.2167,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022tickets,\u0022,\u0022boundingBox\u0022:[5.6227,2.8036,6.0928,2.8036,6.0928,2.9418,5.6227,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022with\u0022,\u0022boundingBox\u0022:[6.1461,2.8036,6.4308,2.8036,6.4308,2.9195,6.1461,2.9195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[6.488,2.8383,6.548,2.8383,6.548,2.9197,6.488,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022400\u0022,\u0022boundingBox\u0022:[6.6016,2.81,6.8449,2.81,6.8449,2.9197,6.6016,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022person\u0022,\u0022boundingBox\u0022:[6.8998,2.8383,7.3457,2.8383,7.3457,2.9478,6.8998,2.9478],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022waitlist. Vendor applications are being accepted through Feb 28, 2020. Please fill in the form\u0022,\u0022boundingBox\u0022:[1.0043,3.0229,7.2482,3.0229,7.2482,3.1678,1.0043,3.1678],\u0022words\u0022:[{\u0022text\u0022:\u0022waitlist.\u0022,\u0022boundingBox\u0022:[1.0043,3.0236,1.5194,3.0236,1.5194,3.1397,1.0043,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.5733,3.0239,2.0654,3.0239,2.0654,3.1397,1.5733,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022applications\u0022,\u0022boundingBox\u0022:[2.1132,3.0236,2.9143,3.0236,2.9143,3.1678,2.1132,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022are\u0022,\u0022boundingBox\u0022:[2.9675,3.0583,3.1726,3.0583,3.1726,3.1397,2.9675,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022being\u0022,\u0022boundingBox\u0022:[3.2306,3.0236,3.5889,3.0236,3.5889,3.1678,3.2306,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022accepted\u0022,\u0022boundingBox\u0022:[3.6388,3.0239,4.2336,3.0239,4.2336,3.1678,3.6388,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022through\u0022,\u0022boundingBox\u0022:[4.2862,3.0236,4.8127,3.0236,4.8127,3.1678,4.2862,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Feb\u0022,\u0022boundingBox\u0022:[4.8815,3.0236,5.1133,3.0236,5.1133,3.14,4.8815,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228,\u0022,\u0022boundingBox\u0022:[5.163,3.0297,5.361,3.0297,5.361,3.162,5.163,3.162],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020.\u0022,\u0022boundingBox\u0022:[5.413,3.0297,5.7774,3.0297,5.7774,3.14,5.413,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Please\u0022,\u0022boundingBox\u0022:[5.8406,3.0236,6.2537,3.0236,6.2537,3.1397,5.8406,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022fill\u0022,\u0022boundingBox\u0022:[6.3022,3.0229,6.4539,3.0229,6.4539,3.1387,6.3022,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.5131,3.0289,6.6158,3.0289,6.6158,3.1387,6.5131,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[6.6673,3.0236,6.8842,3.0236,6.8842,3.1397,6.6673,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022form\u0022,\u0022boundingBox\u0022:[6.9317,3.0229,7.2482,3.0229,7.2482,3.1397,6.9317,3.1397],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022below, and attach a check made out to:\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,3.6599,3.2436,3.6599,3.3818,1.0125,3.3818],\u0022words\u0022:[{\u0022text\u0022:\u0022below,\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,1.4459,3.2436,1.4459,3.3818,1.0125,3.3818],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022and\u0022,\u0022boundingBox\u0022:[1.5024,3.2439,1.7371,3.2439,1.7371,3.3597,1.5024,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022attach\u0022,\u0022boundingBox\u0022:[1.7968,3.2436,2.2047,3.2436,2.2047,3.3597,1.7968,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[2.2619,3.2783,2.3219,3.2783,2.3219,3.3597,2.2619,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022check\u0022,\u0022boundingBox\u0022:[2.379,3.2436,2.7529,3.2436,2.7529,3.3597,2.379,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022made\u0022,\u0022boundingBox\u0022:[2.8076,3.2439,3.17,3.2439,3.17,3.3597,2.8076,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[3.2251,3.2597,3.4421,3.2597,3.4421,3.3597,3.2251,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022to:\u0022,\u0022boundingBox\u0022:[3.4869,3.2597,3.6599,3.2597,3.6599,3.3597,3.4869,3.3597],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,3.5802,1.5548,3.5802,1.5548,3.6897,1.0078,3.6897],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,3.5739,1.843,3.5739,1.843,3.6897,1.6125,3.6897],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u00222345 Dogwood Lane\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,3.9378,1.0093,3.9378],\u0022words\u0022:[{\u0022text\u0022:\u00222345\u0022,\u0022boundingBox\u0022:[1.0093,3.8,1.3297,3.8,1.3297,3.9097,1.0093,3.9097],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Dogwood\u0022,\u0022boundingBox\u0022:[1.3899,3.7939,2.0149,3.7939,2.0149,3.9378,1.3899,3.9378],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Lane\u0022,\u0022boundingBox\u0022:[2.0788,3.8012,2.3768,3.8012,2.3768,3.9097,2.0788,3.9097],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.014,4.0136,2.3377,4.0136,2.3377,4.1518,1.014,4.1518],\u0022words\u0022:[{\u0022text\u0022:\u0022Birch,\u0022,\u0022boundingBox\u0022:[1.014,4.0136,1.3745,4.0136,1.3745,4.1518,1.014,4.1518],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Kansas\u0022,\u0022boundingBox\u0022:[1.4375,4.0212,1.8819,4.0212,1.8819,4.1297,1.4375,4.1297],\u0022confidence\u0022:1},{\u0022text\u0022:\u002298123\u0022,\u0022boundingBox\u0022:[1.9318,4.02,2.3377,4.02,2.3377,4.1297,1.9318,4.1297],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022words\u0022:[{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022words\u0022:[{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022words\u0022:[{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.3842,4.9086,1.3842,5.0247,1.0857,5.0247],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4423,4.915,1.9831,4.915,1.9831,5.0528,1.4423,5.0528],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.8726,4.9169,3.8726,5.033,3.214,5.033],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.4295,4.9169,3.4295,5.033,3.214,5.033],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,4.9169,3.8726,4.9169,3.8726,5.033,3.492,5.033],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Pre-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.7267,5.1302,4.7267,5.2744,3.214,5.2744],\u0022words\u0022:[{\u0022text\u0022:\u0022Pre-keynote\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.0183,5.1302,4.0183,5.2744,3.214,5.2744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.0665,5.1302,4.4475,5.1302,4.4475,5.2463,4.0665,5.2463],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.4903,5.165,4.7267,5.165,4.7267,5.2744,4.4903,5.2744],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,5.3495,4.2093,5.3495,4.2093,5.4861,3.214,5.4861],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,5.3495,3.5163,5.3495,3.5163,5.4861,3.214,5.4861],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,5.3767,3.7244,5.3767,3.7244,5.458,3.5686,5.458],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,5.358,4.2093,5.358,4.2093,5.4861,3.7888,5.4861],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,5.5552,5.201,5.5552,5.201,5.6994,3.214,5.6994],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.5552,3.4295,5.5552,3.4295,5.6713,3.214,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.492,5.59,3.7989,5.59,3.7989,5.6994,3.492,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8519,5.5556,3.9991,5.5556,3.9991,5.6713,3.8519,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0599,5.5605,4.1626,5.5605,4.1626,5.6703,4.0599,5.6703],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2248,5.59,4.7839,5.59,4.7839,5.6994,4.2248,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8367,5.5556,5.201,5.5556,5.201,5.6994,4.8367,5.6994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022words\u0022:[{\u0022text\u0022:\u0022Silver\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,1.4443,5.9786,1.4443,6.0947,1.0842,6.0947],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4904,5.985,2.0339,5.985,2.0339,6.1228,1.4904,6.1228],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.8726,5.9869,3.8726,6.103,3.214,6.103],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.4295,5.9869,3.4295,6.103,3.214,6.103],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,5.9869,3.8726,5.9869,3.8726,6.103,3.492,6.103],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Post-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.7938,6.1986,4.7938,6.3428,3.214,6.3428],\u0022words\u0022:[{\u0022text\u0022:\u0022Post-keynote\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.0878,6.1986,4.0878,6.3428,3.214,6.3428],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.1348,6.1986,4.5158,6.1986,4.5158,6.3147,4.1348,6.3147],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.5586,6.2333,4.7938,6.2333,4.7938,6.3428,4.5586,6.3428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,6.4179,4.2093,6.4179,4.2093,6.5544,3.214,6.5544],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,6.4179,3.5163,6.4179,3.5163,6.5544,3.214,6.5544],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,6.445,3.7244,6.445,3.7244,6.5263,3.5686,6.5263],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,6.4264,4.2093,6.4264,4.2093,6.5544,3.7888,6.5544],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,6.6229,5.2314,6.6229,5.2314,6.7678,3.214,6.7678],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[3.214,6.6229,3.4739,6.6229,3.4739,6.7397,3.214,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.5224,6.6583,3.8326,6.6583,3.8326,6.7678,3.5224,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8843,6.6239,4.0315,6.6239,4.0315,6.7397,3.8843,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0923,6.6289,4.195,6.6289,4.195,6.7387,4.0923,6.7387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2563,6.6583,4.8148,6.6583,4.8148,6.7678,4.2563,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8695,6.6239,5.2314,6.6239,5.2314,6.7678,4.8695,6.7678],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022words\u0022:[{\u0022text\u0022:\u0022Bronze\u0022,\u0022boundingBox\u0022:[1.0923,6.8417,1.545,6.8417,1.545,6.9497,1.0923,6.9497],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.5951,6.84,2.1362,6.84,2.1362,6.9778,1.5951,6.9778],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.8726,6.8419,3.8726,6.958,3.214,6.958],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.4295,6.8419,3.4295,6.958,3.214,6.958],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,6.8419,3.8726,6.8419,3.8726,6.958,3.492,6.958],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,7.0629,4.2093,7.0629,4.2093,7.1994,3.214,7.1994],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,7.0629,3.5163,7.0629,3.5163,7.1994,3.214,7.1994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,7.09,3.7244,7.09,3.7244,7.1713,3.5686,7.1713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,7.0714,4.2093,7.0714,4.2093,7.1994,3.7888,7.1994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.2672,5.3419,7.2672,5.3419,7.4111,3.2082,7.4111],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.2717,3.4817,7.2717,3.4817,7.3845,3.2082,7.3845],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.2672,4.1018,7.2672,4.1018,7.383,3.533,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.3017,4.307,7.3017,4.307,7.383,4.1512,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.3017,4.9253,7.3017,4.9253,7.4111,4.3682,7.4111],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.2672,5.3419,7.2672,5.3419,7.4111,4.981,7.4111],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.3079,7.6819,1.3079,7.798,1.0923,7.798],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.3718,7.6819,1.7537,7.6819,1.7537,7.798,1.3718,7.798],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.8726,7.6902,3.8726,7.8063,3.214,7.8063],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.4295,7.6902,3.4295,7.8063,3.214,7.8063],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,7.6902,3.8726,7.6902,3.8726,7.8063,3.492,7.8063],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022words\u0022:[{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.9022,5.3419,7.9022,5.3419,8.0461,3.2082,8.0461],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.9067,3.4817,7.9067,3.4817,8.0195,3.2082,8.0195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.9022,4.1018,7.9022,4.1018,8.018,3.533,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.9367,4.307,7.9367,4.307,8.018,4.1512,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.9367,4.9253,7.9367,4.9253,8.0461,4.3682,8.0461],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.9022,5.3419,7.9022,5.3419,8.0461,4.981,8.0461],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.3522,8.3162,1.3522,8.433,1.0923,8.433],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.4022,8.3169,1.7854,8.3169,1.7854,8.433,1.4022,8.433],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.8726,8.3252,3.8726,8.4413,3.214,8.4413],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.4295,8.3252,3.4295,8.4413,3.214,8.4413],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,8.3252,3.8726,8.3252,3.8726,8.4413,3.492,8.4413],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022words\u0022:[{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002225% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2093,8.5372,5.3419,8.5372,5.3419,8.6811,3.2093,8.6811],\u0022words\u0022:[{\u0022text\u0022:\u002225%\u0022,\u0022boundingBox\u0022:[3.2093,8.5417,3.4817,8.5417,3.4817,8.6545,3.2093,8.6545],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,8.5372,4.1018,8.5372,4.1018,8.653,3.533,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,8.5717,4.307,8.5717,4.307,8.653,4.1512,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,8.5717,4.9253,8.5717,4.9253,8.6811,4.3682,8.6811],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,8.5372,5.3419,8.5372,5.3419,8.6811,4.981,8.6811],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]},{\u0022page\u0022:2,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Details:\u0022,\u0022boundingBox\u0022:[1.0044,2.1771,2.35,2.1771,2.35,2.3315,1.0044,2.3315],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.0044,2.1778,1.6496,2.1778,1.6496,2.3315,1.0044,2.3315],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Details:\u0022,\u0022boundingBox\u0022:[1.7239,2.1771,2.35,2.1771,2.35,2.3315,1.7239,2.3315],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Company Name: Southridge Video\u0022,\u0022boundingBox\u0022:[1.0065,2.7686,3.3477,2.7686,3.3477,2.9128,1.0065,2.9128],\u0022words\u0022:[{\u0022text\u0022:\u0022Company\u0022,\u0022boundingBox\u0022:[1.0065,2.7749,1.651,2.7749,1.651,2.9126,1.0065,2.9126],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Name:\u0022,\u0022boundingBox\u0022:[1.7019,2.7764,2.1376,2.7764,2.1376,2.885,1.7019,2.885],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Southridge\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,2.9184,2.7686,2.9184,2.9128,2.1925,2.9128],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contact: Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.0065,3.0986,3.5766,3.0986,3.5766,3.2428,1.0065,3.2428],\u0022words\u0022:[{\u0022text\u0022:\u0022Contact:\u0022,\u0022boundingBox\u0022:[1.0065,3.1049,1.5706,3.1049,1.5706,3.215,1.0065,3.215],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.6205,3.0986,3.5766,3.0986,3.5766,3.2428,1.6205,3.2428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Preferred Package: Gold\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,2.6542,3.4296,2.6542,3.5744,1.0115,3.5744],\u0022words\u0022:[{\u0022text\u0022:\u0022Preferred\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,1.6499,3.4296,1.6499,3.5467,1.0115,3.5467],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Package:\u0022,\u0022boundingBox\u0022:[1.7092,3.4302,2.2978,3.4302,2.2978,3.5744,1.7092,3.5744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[2.3557,3.4302,2.6542,3.4302,2.6542,3.5463,2.3557,3.5463],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Special Requests: N/a\u0022,\u0022boundingBox\u0022:[1.0052,3.7537,2.4783,3.7537,2.4783,3.9043,1.0052,3.9043],\u0022words\u0022:[{\u0022text\u0022:\u0022Special\u0022,\u0022boundingBox\u0022:[1.0052,3.7602,1.475,3.7602,1.475,3.9043,1.0052,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Requests:\u0022,\u0022boundingBox\u0022:[1.5342,3.7684,2.1899,3.7684,2.1899,3.9043,1.5342,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022N/a\u0022,\u0022boundingBox\u0022:[2.254,3.7537,2.4783,3.7537,2.4783,3.8976,2.254,3.8976],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]}],\u0022documentResults\u0022:[{\u0022docType\u0022:\u0022prebuilt:receipt\u0022,\u0022pageRange\u0022:[1,1],\u0022fields\u0022:{\u0022Items\u0022:{\u0022type\u0022:\u0022array\u0022,\u0022valueArray\u0022:[{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Gold Sponsor\u0022,\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022page\u0022:1,\u0022confidence\u0022:0.72,\u0022elements\u0022:[\u0022#/readResults/0/lines/13/words/0\u0022,\u0022#/readResults/0/lines/13/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:1500,\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022page\u0022:1,\u0022confidence\u0022:0.949,\u0022elements\u0022:[\u0022#/readResults/0/lines/16/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Silver Sponsor\u0022,\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022page\u0022:1,\u0022confidence\u0022:0.72,\u0022elements\u0022:[\u0022#/readResults/0/lines/24/words/0\u0022,\u0022#/readResults/0/lines/24/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:1200,\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022page\u0022:1,\u0022confidence\u0022:0.95,\u0022elements\u0022:[\u0022#/readResults/0/lines/27/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Bronze Sponsor\u0022,\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022page\u0022:1,\u0022confidence\u0022:0.72,\u0022elements\u0022:[\u0022#/readResults/0/lines/34/words/0\u0022,\u0022#/readResults/0/lines/34/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:1000,\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022page\u0022:1,\u0022confidence\u0022:0.95,\u0022elements\u0022:[\u0022#/readResults/0/lines/37/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Full Booth\u0022,\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022page\u0022:1,\u0022confidence\u0022:0.721,\u0022elements\u0022:[\u0022#/readResults/0/lines/43/words/0\u0022,\u0022#/readResults/0/lines/43/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:600,\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022page\u0022:1,\u0022confidence\u0022:0.949,\u0022elements\u0022:[\u0022#/readResults/0/lines/46/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Half Booth\u0022,\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022page\u0022:1,\u0022confidence\u0022:0.751,\u0022elements\u0022:[\u0022#/readResults/0/lines/50/words/0\u0022,\u0022#/readResults/0/lines/50/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:350,\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022page\u0022:1,\u0022confidence\u0022:0.947,\u0022elements\u0022:[\u0022#/readResults/0/lines/53/words/0\u0022]}}}]},\u0022MerchantAddress\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Maple City, Massachusetts.\u0022,\u0022text\u0022:\u0022Maple City, Massachusetts.\u0022,\u0022boundingBox\u0022:[1.014,2.8036,2.8383,2.8036,2.8383,2.9478,1.014,2.9478],\u0022page\u0022:1,\u0022confidence\u0022:0.855,\u0022elements\u0022:[\u0022#/readResults/0/lines/3/words/0\u0022,\u0022#/readResults/0/lines/3/words/1\u0022,\u0022#/readResults/0/lines/3/words/2\u0022]},\u0022MerchantName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Contoso Ltd.\u0022,\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,2.5856,1.843,2.5856,1.843,2.7013,1.0078,2.7013],\u0022page\u0022:1,\u0022confidence\u0022:0.907,\u0022elements\u0022:[\u0022#/readResults/0/lines/2/words/0\u0022,\u0022#/readResults/0/lines/2/words/1\u0022]},\u0022ReceiptType\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Itemized\u0022,\u0022confidence\u0022:0.764}}},{\u0022docType\u0022:\u0022prebuilt:receipt\u0022,\u0022pageRange\u0022:[2,2],\u0022fields\u0022:{\u0022MerchantName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Video\u0022,\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022page\u0022:2,\u0022confidence\u0022:0.432,\u0022elements\u0022:[\u0022#/readResults/1/lines/2/words/3\u0022]},\u0022ReceiptType\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Itemized\u0022,\u0022confidence\u0022:0.772}}}]}}" } ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "450138379" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True)Async.json index 9b78e893079b..e17a39a92b57 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True)Async.json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageForm(True)Async.json @@ -1,247 +1,2688 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "711607", + "Content-Length": "252365", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-14222b6e5c5a27428ad1c6dec258e750-15a871bc8454174e-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-c61a9b39b0f99c48b043458b0e1b8e1d-6ca068ec9e26b34f-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9572eff9105097d344045d510f70330f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "d76b0998-676e-4c04-a286-d55ed25df495", + "apim-request-id": "c79533bd-5a81-4fc5-b38b-2b85ac5b2769", "Content-Length": "0", - "Date": "Wed, 24 Mar 2021 21:50:48 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", + "Date": "Thu, 06 May 2021 18:32:25 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/c79533bd-5a81-4fc5-b38b-2b85ac5b2769", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "296" + "x-envoy-upstream-service-time": "82" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/c79533bd-5a81-4fc5-b38b-2b85ac5b2769", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c6b27911d51bcd151f24507b56e8cfaf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cce6675f-d035-471f-9dd3-ee64f535c572", - "Content-Length": "106", + "apim-request-id": "d68a1436-a1d4-4c77-a75d-6a05f1789862", + "Content-Length": "109", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:48 GMT", + "Date": "Thu, 06 May 2021 18:32:25 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "15" }, "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:50:48Z", - "lastUpdatedDateTime": "2021-03-24T21:50:48Z" + "status": "notStarted", + "createdDateTime": "2021-05-06T18:32:26Z", + "lastUpdatedDateTime": "2021-05-06T18:32:26Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/c79533bd-5a81-4fc5-b38b-2b85ac5b2769", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8b9bfa21d7b5d22306836341c0e759ea", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1e3f8c7c-72b6-4968-bc8c-f548280cc834", + "apim-request-id": "11ad3ab9-b635-483d-8a20-a5c876a3f80b", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:49 GMT", + "Date": "Thu, 06 May 2021 18:32:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "11" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:50:48Z", - "lastUpdatedDateTime": "2021-03-24T21:50:48Z" + "createdDateTime": "2021-05-06T18:32:26Z", + "lastUpdatedDateTime": "2021-05-06T18:32:26Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/c79533bd-5a81-4fc5-b38b-2b85ac5b2769", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "8cadf570c6ca2341daa4762bc057415b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f7359c1f-729e-4008-8ced-687e4ac1a1ff", + "apim-request-id": "e5d80f0a-cebf-47e8-8abc-ab6d5ef649ce", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:50 GMT", + "Date": "Thu, 06 May 2021 18:32:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "38" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:50:48Z", - "lastUpdatedDateTime": "2021-03-24T21:50:48Z" + "createdDateTime": "2021-05-06T18:32:26Z", + "lastUpdatedDateTime": "2021-05-06T18:32:26Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/c79533bd-5a81-4fc5-b38b-2b85ac5b2769", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1530ad34a7d53a5a56e0c09872d40c37", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9a6585d0-79b7-456a-93aa-410ae4625286", + "apim-request-id": "07920956-0d20-4afd-ba88-802aec1855e6", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:51 GMT", + "Date": "Thu, 06 May 2021 18:32:29 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "16" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:50:48Z", - "lastUpdatedDateTime": "2021-03-24T21:50:48Z" + "createdDateTime": "2021-05-06T18:32:26Z", + "lastUpdatedDateTime": "2021-05-06T18:32:26Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/c79533bd-5a81-4fc5-b38b-2b85ac5b2769", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "600b65cb423b5ae4b878b11160f811ae", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b9048263-87f8-45c2-96a8-e6c7916d2276", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:50:48Z", - "lastUpdatedDateTime": "2021-03-24T21:50:48Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "130c074143b7c8149b7336ea06a9b006", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1e8ff1da-240b-40e7-9161-cbed292bc79e", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "22" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:50:48Z", - "lastUpdatedDateTime": "2021-03-24T21:50:48Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "5a5f3e97e04bf120c9d55d5df649d95e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7808f380-89fc-4694-b562-24fd3676c2b9", - "Content-Length": "106", + "apim-request-id": "27648e9a-46e9-4a5e-840a-c1e50f3038ba", + "Content-Length": "22004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:55 GMT", + "Date": "Thu, 06 May 2021 18:32:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "26" }, "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:50:48Z", - "lastUpdatedDateTime": "2021-03-24T21:50:48Z" + "status": "succeeded", + "createdDateTime": "2021-05-06T18:32:26Z", + "lastUpdatedDateTime": "2021-05-06T18:32:30Z", + "analyzeResult": { + "version": "2.1.0", + "readResults": [ + { + "page": 1, + "angle": 0.5729, + "width": 8.5, + "height": 11, + "unit": "inch", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 1.9036, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8594, + 2.8912 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 + ], + "confidence": 0.755 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Contoso", + "boundingBox": [ + 2.8776, + 2.5146, + 4.2611, + 2.3817, + 4.2943, + 2.6918, + 2.8997, + 2.8248 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 2.8776, + 2.5257, + 4.2057, + 2.3927, + 4.2279, + 2.7029, + 2.8997, + 2.8248 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "123 Main Street", + "boundingBox": [ + 1.8815, + 3.0131, + 3.11, + 3.2679, + 3.0547, + 3.4894, + 1.8483, + 3.2457 + ], + "words": [ + { + "text": "123", + "boundingBox": [ + 1.8926, + 3.0242, + 2.125, + 3.0685, + 2.0918, + 3.3011, + 1.8483, + 3.2457 + ], + "confidence": 0.994 + }, + { + "text": "Main", + "boundingBox": [ + 2.1803, + 3.0796, + 2.5566, + 3.1682, + 2.5124, + 3.3897, + 2.1361, + 3.3122 + ], + "confidence": 0.994 + }, + { + "text": "Street", + "boundingBox": [ + 2.6009, + 3.1793, + 3.099, + 3.29, + 3.0547, + 3.4894, + 2.5566, + 3.4008 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Redmond, WA 98052", + "boundingBox": [ + 1.8594, + 3.3454, + 3.4863, + 3.5559, + 3.4531, + 3.7996, + 1.8372, + 3.6002 + ], + "words": [ + { + "text": "Redmond,", + "boundingBox": [ + 1.8704, + 3.3565, + 2.623, + 3.4783, + 2.6009, + 3.711, + 1.8372, + 3.5891 + ], + "confidence": 0.993 + }, + { + "text": "WA", + "boundingBox": [ + 2.6673, + 3.4783, + 2.8997, + 3.5116, + 2.8776, + 3.7442, + 2.6452, + 3.7221 + ], + "confidence": 0.996 + }, + { + "text": "98052", + "boundingBox": [ + 2.944, + 3.5227, + 3.4642, + 3.567, + 3.4531, + 3.7885, + 2.9329, + 3.7553 + ], + "confidence": 0.993 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.9878999999999998, + 2.9661, + 4.143, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "words": [ + { + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "6/10/2019 13:59", + "boundingBox": [ + 1.7708, + 4.6636, + 3.0547, + 4.7523, + 3.0326, + 5.0181, + 1.7598, + 4.9295 + ], + "words": [ + { + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "confidence": 0.993 + }, + { + "text": "13:59", + "boundingBox": [ + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sales Associate: Paul", + "boundingBox": [ + 1.7487, + 5.0292, + 3.597, + 5.1067, + 3.5859, + 5.3615, + 1.7376, + 5.284 + ], + "words": [ + { + "text": "Sales", + "boundingBox": [ + 1.7708, + 5.0403, + 2.2135, + 5.0735, + 2.2025, + 5.3061, + 1.7487, + 5.2618 + ], + "confidence": 0.996 + }, + { + "text": "Associate:", + "boundingBox": [ + 2.2578, + 5.0735, + 3.1211, + 5.1067, + 3.11, + 5.3505, + 2.2467, + 5.3061 + ], + "confidence": 0.922 + }, + { + "text": "Paul", + "boundingBox": [ + 3.1654, + 5.1067, + 3.6081, + 5.1067, + 3.597, + 5.3615, + 3.1543, + 5.3505 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 Cappuccino", + "boundingBox": [ + 1.6934, + 5.7382, + 2.9993, + 5.7936, + 2.9883, + 6.0705, + 1.6823, + 6.0262 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 + ], + "confidence": 0.995 + }, + { + "text": "Cappuccino", + "boundingBox": [ + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 + ], + "confidence": 0.705 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$2.20", + "boundingBox": [ + 4.2943, + 5.7492, + 4.8034, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 + ], + "words": [ + { + "text": "$2.20", + "boundingBox": [ + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 BACON \u0026 EGGS", + "boundingBox": [ + 1.6491, + 6.4914, + 3.2318, + 6.5025, + 3.2318, + 6.7684, + 1.6491, + 6.7573 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "BACON", + "boundingBox": [ + 1.8704, + 6.5025, + 2.5013, + 6.5136, + 2.4902, + 6.7684, + 1.8704, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "\u0026", + "boundingBox": [ + 2.5456, + 6.5136, + 2.6784, + 6.5136, + 2.6673, + 6.7684, + 2.5456, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "EGGS", + "boundingBox": [ + 2.7337, + 6.5136, + 3.2318, + 6.5136, + 3.2318, + 6.7795, + 2.7227, + 6.7684 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sunny-side-up", + "boundingBox": [ + 1.9811, + 6.9124, + 3.2539, + 6.9124, + 3.2539, + 7.1893, + 1.9811, + 7.1782 + ], + "words": [ + { + "text": "Sunny-side-up", + "boundingBox": [ + 2.0033, + 6.9124, + 3.265, + 6.9235, + 3.2539, + 7.2004, + 2.0033, + 7.1893 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$9.5", + "boundingBox": [ + 4.3717, + 6.8459, + 4.8145, + 6.8348, + 4.8145, + 7.1229, + 4.3717, + 7.1339 + ], + "words": [ + { + "text": "$9.5", + "boundingBox": [ + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sub-Total", + "boundingBox": [ + 2.291, + 7.6878, + 3.2982, + 7.6657, + 3.3092, + 7.9426, + 2.291, + 7.9757999999999996 + ], + "words": [ + { + "text": "Sub-Total", + "boundingBox": [ + 2.3021, + 7.6878, + 3.3092, + 7.6657, + 3.3092, + 7.9537, + 2.3021, + 7.9869 + ], + "confidence": 0.892 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9141, + 7.9537, + 4.2721, + 7.9648 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 4.2611, + 7.6546, + 4.3385, + 7.6546, + 4.3385, + 7.9648, + 4.2611, + 7.9648 + ], + "confidence": 0.994 + }, + { + "text": "11.70", + "boundingBox": [ + 4.3939, + 7.6546, + 4.9141, + 7.6546, + 4.9251, + 7.9537, + 4.4049, + 7.9648 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Tax", + "boundingBox": [ + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.7005, + 8.3746, + 2.3021, + 8.3857 + ], + "words": [ + { + "text": "Tax", + "boundingBox": [ + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.6895, + 8.3857, + 2.3021, + 8.3857 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 1.17", + "boundingBox": [ + 4.3828, + 8.0423, + 4.9362, + 8.0534, + 4.9251, + 8.3746, + 4.3717, + 8.3746 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 4.3717, + 8.0423, + 4.4492, + 8.0423, + 4.4492, + 8.3746, + 4.3717, + 8.3635 + ], + "confidence": 0.994 + }, + { + "text": "1.17", + "boundingBox": [ + 4.5156, + 8.0423, + 4.9251, + 8.0423, + 4.9251, + 8.3746, + 4.5156, + 8.3746 + ], + "confidence": 0.992 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Tip", + "boundingBox": [ + 2.2689, + 8.4965, + 2.612, + 8.5076, + 2.6009, + 8.8399, + 2.2689, + 8.8288 + ], + "words": [ + { + "text": "Tip", + "boundingBox": [ + 2.2799, + 8.4965, + 2.6009, + 8.5076, + 2.5898, + 8.8399, + 2.2799, + 8.8288 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 11623", + "boundingBox": [ + 4.084, + 8.4079, + 4.8809, + 8.4079, + 4.8698, + 8.7734, + 4.0729, + 8.7734 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 4.0729, + 8.4079, + 4.1615, + 8.4079, + 4.1615, + 8.7734, + 4.0729, + 8.7734 + ], + "confidence": 0.999 + }, + { + "text": "11623", + "boundingBox": [ + 4.2389, + 8.4079, + 4.8477, + 8.4079, + 4.8477, + 8.7734, + 4.2389, + 8.7734 + ], + "confidence": 0.27 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.469 + } + } + }, + { + "text": "Total", + "boundingBox": [ + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8223, + 9.2165, + 2.2799, + 9.2387 + ], + "words": [ + { + "text": "Total", + "boundingBox": [ + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8333, + 9.2054, + 2.291, + 9.2276 + ], + "confidence": 0.979 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$14.50", + "boundingBox": [ + 4.0951, + 8.8731, + 5.1576, + 8.9174, + 5.1465, + 9.2719, + 4.084, + 9.2276 + ], + "words": [ + { + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "confidence": 0.351 + } + ], + "appearance": { + "style": { + "name": "handwriting", + "confidence": 0.772 + } + } + } + ] + }, + { + "page": 2, + "angle": 0.4374, + "width": 8.5, + "height": 11, + "unit": "inch", + "lines": [ + { + "text": "Contoso", + "boundingBox": [ + 2.8112, + 1.8499, + 4.1393, + 1.8278, + 4.1504, + 2.1601, + 2.8223, + 2.1934 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 2.8223, + 1.8499, + 4.1283, + 1.8389, + 4.1393, + 2.1601, + 2.8333, + 2.2044 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Contoso", + "boundingBox": [ + 1.959, + 2.7583, + 2.5234, + 2.7915, + 2.5124, + 2.9688, + 1.9479, + 2.9355 + ], + "words": [ + { + "text": "Contoso", + "boundingBox": [ + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 + ], + "confidence": 0.933 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "123 Main Street", + "boundingBox": [ + 1.959, + 3.0574, + 2.944, + 3.0796, + 2.944, + 3.2679, + 1.9479, + 3.2568 + ], + "words": [ + { + "text": "123", + "boundingBox": [ + 1.9701, + 3.0685, + 2.1361, + 3.0685, + 2.125, + 3.2679, + 1.959, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Main", + "boundingBox": [ + 2.1693, + 3.0796, + 2.4792, + 3.0796, + 2.4681, + 3.2679, + 2.1582, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Street", + "boundingBox": [ + 2.5124, + 3.0796, + 2.9551, + 3.0906, + 2.944, + 3.279, + 2.5124, + 3.2679 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Redmond, WA 98052", + "boundingBox": [ + 1.9258, + 3.3786, + 3.265, + 3.3676, + 3.265, + 3.567, + 1.9258, + 3.578 + ], + "words": [ + { + "text": "Redmond,", + "boundingBox": [ + 1.9368, + 3.3786, + 2.5456, + 3.3897, + 2.5456, + 3.578, + 1.9368, + 3.578 + ], + "confidence": 0.94 + }, + { + "text": "WA", + "boundingBox": [ + 2.5898, + 3.3897, + 2.778, + 3.3897, + 2.7669, + 3.578, + 2.5788, + 3.578 + ], + "confidence": 0.997 + }, + { + "text": "98052", + "boundingBox": [ + 2.8223, + 3.3786, + 3.265, + 3.3786, + 3.2539, + 3.578, + 2.8112, + 3.578 + ], + "confidence": 0.993 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "123-456-7890", + "boundingBox": [ + 1.8926, + 3.9878999999999998, + 2.8776, + 4.0101, + 2.8665, + 4.2205, + 1.8926, + 4.1873 + ], + "words": [ + { + "text": "123-456-7890", + "boundingBox": [ + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 + ], + "confidence": 0.987 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "6/10/2019 13:59", + "boundingBox": [ + 1.8704, + 4.6526, + 2.8997, + 4.6526, + 2.8997, + 4.8741, + 1.8704, + 4.863 + ], + "words": [ + { + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "confidence": 0.994 + }, + { + "text": "13:59", + "boundingBox": [ + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sales Associate: Paul", + "boundingBox": [ + 1.8704, + 4.996, + 3.3203, + 5.007, + 3.3203, + 5.2064, + 1.8704, + 5.1954 + ], + "words": [ + { + "text": "Sales", + "boundingBox": [ + 1.8926, + 4.996, + 2.2135, + 5.007, + 2.2135, + 5.2064, + 1.8815, + 5.1954 + ], + "confidence": 0.996 + }, + { + "text": "Associate:", + "boundingBox": [ + 2.2578, + 5.007, + 2.9329, + 5.007, + 2.9329, + 5.2064, + 2.2467, + 5.2064 + ], + "confidence": 0.979 + }, + { + "text": "Paul", + "boundingBox": [ + 2.9772, + 5.007, + 3.3314, + 5.007, + 3.3203, + 5.2064, + 2.9661, + 5.2064 + ], + "confidence": 0.991 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 Surface Pro 6", + "boundingBox": [ + 1.9811, + 5.6606, + 3.0436, + 5.6717, + 3.0436, + 5.8822, + 1.9701, + 5.8711 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 + ], + "confidence": 0.994 + }, + { + "text": "Surface", + "boundingBox": [ + 2.0807, + 5.6606, + 2.612, + 5.6717, + 2.6009, + 5.8822, + 2.0697, + 5.8711 + ], + "confidence": 0.949 + }, + { + "text": "Pro", + "boundingBox": [ + 2.6563, + 5.6717, + 2.8665, + 5.6717, + 2.8555, + 5.8822, + 2.6452, + 5.8822 + ], + "confidence": 0.979 + }, + { + "text": "6", + "boundingBox": [ + 2.8997, + 5.6717, + 3.0326, + 5.6828, + 3.0215, + 5.8822, + 2.8997, + 5.8822 + ], + "confidence": 0.996 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "256GB/Intel Core i5 /", + "boundingBox": [ + 2.0807, + 5.9929, + 3.5306, + 6.004, + 3.5306, + 6.2256, + 2.0807, + 6.2145 + ], + "words": [ + { + "text": "256GB/Intel", + "boundingBox": [ + 2.0918, + 6.004, + 2.9329, + 6.004, + 2.9219, + 6.2256, + 2.0918, + 6.2145 + ], + "confidence": 0.795 + }, + { + "text": "Core", + "boundingBox": [ + 2.9661, + 6.004, + 3.2539, + 6.004, + 3.2428, + 6.2256, + 2.9661, + 6.2256 + ], + "confidence": 0.991 + }, + { + "text": "i5", + "boundingBox": [ + 3.2982, + 6.004, + 3.4089, + 6.004, + 3.3978, + 6.2256, + 3.2871, + 6.2256 + ], + "confidence": 0.966 + }, + { + "text": "/", + "boundingBox": [ + 3.4421, + 6.004, + 3.5306, + 6.004, + 3.5195, + 6.2256, + 3.431, + 6.2256 + ], + "confidence": 0.964 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "8GB RAM (Black)", + "boundingBox": [ + 2.0807, + 6.3364, + 3.2096, + 6.3474, + 3.2096, + 6.569, + 2.0807, + 6.5468 + ], + "words": [ + { + "text": "8GB", + "boundingBox": [ + 2.0807, + 6.3474, + 2.3353, + 6.3474, + 2.3242, + 6.5579, + 2.0807, + 6.5468 + ], + "confidence": 0.994 + }, + { + "text": "RAM", + "boundingBox": [ + 2.3685, + 6.3474, + 2.6673, + 6.3474, + 2.6563, + 6.5579, + 2.3685, + 6.5579 + ], + "confidence": 0.997 + }, + { + "text": "(Black)", + "boundingBox": [ + 2.7005, + 6.3474, + 3.2096, + 6.3585, + 3.1986, + 6.569, + 2.7005, + 6.5579 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 999.00", + "boundingBox": [ + 3.7962, + 6.3696, + 4.4271, + 6.3807, + 4.416, + 6.5801, + 3.7852, + 6.5801 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.7962, + 6.3696, + 3.8626, + 6.3696, + 3.8626, + 6.5801, + 3.7962, + 6.569 + ], + "confidence": 0.997 + }, + { + "text": "999.00", + "boundingBox": [ + 3.9069, + 6.3696, + 4.4049, + 6.3696, + 4.4049, + 6.5801, + 3.9069, + 6.5801 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "1 SurfacePen", + "boundingBox": [ + 1.9258, + 7.0453, + 2.8997, + 7.0342, + 2.8997, + 7.2447, + 1.9368, + 7.2558 + ], + "words": [ + { + "text": "1", + "boundingBox": [ + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 + ], + "confidence": 0.994 + }, + { + "text": "SurfacePen", + "boundingBox": [ + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 99.99", + "boundingBox": [ + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.3939, + 7.289, + 3.8737, + 7.289 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.8737, + 7.0675, + 3.9622, + 7.0675, + 3.9622, + 7.289, + 3.8737, + 7.289 + ], + "confidence": 0.994 + }, + { + "text": "99.99", + "boundingBox": [ + 4.0065, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 4.0065, + 7.289 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Sub-Total", + "boundingBox": [ + 2.3796, + 7.721, + 3.0879, + 7.721, + 3.0879, + 7.9315, + 2.3796, + 7.9204 + ], + "words": [ + { + "text": "Sub-Total", + "boundingBox": [ + 2.3906, + 7.721, + 3.099, + 7.7321, + 3.0879, + 7.9315, + 2.3906, + 7.9315 + ], + "confidence": 0.994 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 1098.99", + "boundingBox": [ + 3.752, + 7.7654, + 4.416, + 7.7543, + 4.416, + 7.9537, + 3.752, + 7.9869 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.752, + 7.7654, + 3.8184, + 7.7654, + 3.8184, + 7.9869, + 3.763, + 7.9869 + ], + "confidence": 0.997 + }, + { + "text": "1098.99", + "boundingBox": [ + 3.8626, + 7.7654, + 4.4049, + 7.7543, + 4.416, + 7.9648, + 3.8626, + 7.9869 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Tax", + "boundingBox": [ + 2.7005, + 8.0644, + 2.9661, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 + ], + "words": [ + { + "text": "Tax", + "boundingBox": [ + 2.7005, + 8.0644, + 2.9551, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 + ], + "confidence": 0.997 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 104.40", + "boundingBox": [ + 3.8073, + 8.0977, + 4.4049, + 8.0977, + 4.4049, + 8.3082, + 3.8073, + 8.3192 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.8073, + 8.0977, + 3.8737, + 8.0977, + 3.8737, + 8.3192, + 3.8073, + 8.3192 + ], + "confidence": 0.994 + }, + { + "text": "104.40", + "boundingBox": [ + 3.918, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.918, + 8.3192 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "Total", + "boundingBox": [ + 2.623, + 8.7734, + 2.9993, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 + ], + "words": [ + { + "text": "Total", + "boundingBox": [ + 2.623, + 8.7734, + 2.9883, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 + ], + "confidence": 0.989 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + }, + { + "text": "$ 1203.39", + "boundingBox": [ + 3.7188, + 8.7623, + 4.3828, + 8.8177, + 4.3717, + 9.0282, + 3.7077, + 8.9728 + ], + "words": [ + { + "text": "$", + "boundingBox": [ + 3.7298, + 8.7623, + 3.7962, + 8.7734, + 3.7852, + 8.9839, + 3.7188, + 8.9839 + ], + "confidence": 0.994 + }, + { + "text": "1203.39", + "boundingBox": [ + 3.8405, + 8.7734, + 4.3939, + 8.8288, + 4.3717, + 9.0393, + 3.8294, + 8.995 + ], + "confidence": 0.995 + } + ], + "appearance": { + "style": { + "name": "other", + "confidence": 0.878 + } + } + } + ] + } + ], + "documentResults": [ + { + "docType": "prebuilt:receipt", + "pageRange": [ + 1, + 1 + ], + "fields": { + "Items": { + "type": "array", + "valueArray": [ + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", + "boundingBox": [ + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 + ], + "page": 1, + "confidence": 0.735, + "elements": [ + "#/readResults/0/lines/7/words/1" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 + ], + "page": 1, + "confidence": 0.966, + "elements": [ + "#/readResults/0/lines/7/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 2.2, + "text": "$2.20", + "boundingBox": [ + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 + ], + "page": 1, + "confidence": 0.977, + "elements": [ + "#/readResults/0/lines/8/words/0" + ] + } + } + }, + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", + "boundingBox": [ + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 + ], + "page": 1, + "confidence": 0.903, + "elements": [ + "#/readResults/0/lines/9/words/1", + "#/readResults/0/lines/9/words/2", + "#/readResults/0/lines/9/words/3" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 + ], + "page": 1, + "confidence": 0.966, + "elements": [ + "#/readResults/0/lines/9/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 9.5, + "text": "$9.5", + "boundingBox": [ + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 + ], + "page": 1, + "confidence": 0.917, + "elements": [ + "#/readResults/0/lines/11/words/0" + ] + } + } + } + ] + }, + "MerchantAddress": { + "type": "string", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 + ], + "page": 1, + "confidence": 0.973, + "elements": [ + "#/readResults/0/lines/2/words/0", + "#/readResults/0/lines/2/words/1", + "#/readResults/0/lines/2/words/2", + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2" + ] + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 + ], + "page": 1, + "confidence": 0.973, + "elements": [ + "#/readResults/0/lines/0/words/0" + ] + }, + "MerchantPhoneNumber": { + "type": "phoneNumber", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "page": 1, + "confidence": 0.987, + "elements": [ + "#/readResults/0/lines/4/words/0" + ] + }, + "ReceiptType": { + "type": "string", + "valueString": "Itemized", + "confidence": 0.989 + }, + "Subtotal": { + "type": "number", + "valueNumber": 11.7, + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 + ], + "page": 1, + "confidence": 0.777, + "elements": [ + "#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1" + ] + }, + "Tax": { + "type": "number", + "valueNumber": 1.17, + "text": "$ 1.17", + "boundingBox": [ + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 + ], + "page": 1, + "confidence": 0.985, + "elements": [ + "#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1" + ] + }, + "Total": { + "type": "number", + "valueNumber": 14.5, + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "page": 1, + "confidence": 0.958, + "elements": [ + "#/readResults/0/lines/19/words/0" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987, + "elements": [ + "#/readResults/0/lines/5/words/0" + ] + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 + ], + "page": 1, + "confidence": 0.984, + "elements": [ + "#/readResults/0/lines/5/words/1" + ] + } + } + }, + { + "docType": "prebuilt:receipt", + "pageRange": [ + 2, + 2 + ], + "fields": { + "Items": { + "type": "array", + "valueArray": [ + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", + "boundingBox": [ + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 + ], + "page": 2, + "confidence": 0.855, + "elements": [ + "#/readResults/1/lines/7/words/1", + "#/readResults/1/lines/7/words/2", + "#/readResults/1/lines/7/words/3" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 + ], + "page": 2, + "confidence": 0.961, + "elements": [ + "#/readResults/1/lines/7/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 999, + "text": "$ 999.00", + "boundingBox": [ + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 + ], + "page": 2, + "confidence": 0.935, + "elements": [ + "#/readResults/1/lines/10/words/0", + "#/readResults/1/lines/10/words/1" + ] + } + } + }, + { + "type": "object", + "valueObject": { + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", + "boundingBox": [ + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 + ], + "page": 2, + "confidence": 0.479, + "elements": [ + "#/readResults/1/lines/11/words/1" + ] + }, + "Quantity": { + "type": "number", + "valueNumber": 1, + "text": "1", + "boundingBox": [ + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 + ], + "page": 2, + "confidence": 0.961, + "elements": [ + "#/readResults/1/lines/11/words/0" + ] + }, + "TotalPrice": { + "type": "number", + "valueNumber": 99.99, + "text": "$ 99.99", + "boundingBox": [ + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 + ], + "page": 2, + "confidence": 0.935, + "elements": [ + "#/readResults/1/lines/12/words/0", + "#/readResults/1/lines/12/words/1" + ] + } + } + } + ] + }, + "MerchantAddress": { + "type": "string", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 + ], + "page": 2, + "confidence": 0.976, + "elements": [ + "#/readResults/1/lines/2/words/0", + "#/readResults/1/lines/2/words/1", + "#/readResults/1/lines/2/words/2", + "#/readResults/1/lines/3/words/0", + "#/readResults/1/lines/3/words/1", + "#/readResults/1/lines/3/words/2" + ] + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 + ], + "page": 2, + "confidence": 0.974, + "elements": [ + "#/readResults/1/lines/1/words/0" + ] + }, + "MerchantPhoneNumber": { + "type": "phoneNumber", + "text": "123-456-7890", + "boundingBox": [ + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 + ], + "page": 2, + "confidence": 0.988, + "elements": [ + "#/readResults/1/lines/4/words/0" + ] + }, + "ReceiptType": { + "type": "string", + "valueString": "Itemized", + "confidence": 0.99 + }, + "Subtotal": { + "type": "number", + "valueNumber": 1098.99, + "text": "$ 1098.99", + "boundingBox": [ + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 + ], + "page": 2, + "confidence": 0.776, + "elements": [ + "#/readResults/1/lines/14/words/0", + "#/readResults/1/lines/14/words/1" + ] + }, + "Tax": { + "type": "number", + "valueNumber": 104.4, + "text": "$ 104.40", + "boundingBox": [ + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 + ], + "page": 2, + "confidence": 0.986, + "elements": [ + "#/readResults/1/lines/16/words/0", + "#/readResults/1/lines/16/words/1" + ] + }, + "Total": { + "type": "number", + "valueNumber": 1203.39, + "text": "$ 1203.39", + "boundingBox": [ + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 + ], + "page": 2, + "confidence": 0.973, + "elements": [ + "#/readResults/1/lines/18/words/0", + "#/readResults/1/lines/18/words/1" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "page": 2, + "confidence": 0.987, + "elements": [ + "#/readResults/1/lines/5/words/0" + ] + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 + ], + "page": 2, + "confidence": 0.986, + "elements": [ + "#/readResults/1/lines/5/words/1" + ] + } + } + } + ] + } } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d76b0998-676e-4c04-a286-d55ed25df495", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6a5611cef9c7887f5143c5c80cfa530f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6853c7c9-7faa-472a-baa0-911efd1f9056", - "Content-Length": "32020", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:50:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": "{\u0022status\u0022:\u0022succeeded\u0022,\u0022createdDateTime\u0022:\u00222021-03-24T21:50:48Z\u0022,\u0022lastUpdatedDateTime\u0022:\u00222021-03-24T21:50:55Z\u0022,\u0022analyzeResult\u0022:{\u0022version\u0022:\u00222.1.0\u0022,\u0022readResults\u0022:[{\u0022page\u0022:1,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Registration\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,6.2379,1.5733,6.2379,2.005,2.2268,2.005],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[2.2268,1.5733,3.703,1.5733,3.703,1.9207,2.2268,1.9207],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Registration\u0022,\u0022boundingBox\u0022:[3.8661,1.5883,6.2379,1.5883,6.2379,2.005,3.8661,2.005],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd. Conference will be held on May 28-29, 2020 at the Elm Conference Center in\u0022,\u0022boundingBox\u0022:[1.0078,2.5846,7.0776,2.5846,7.0776,2.7293,1.0078,2.7293],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,2.5919,1.5548,2.5919,1.5548,2.7013,1.0078,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,2.5856,1.843,2.5856,1.843,2.7013,1.6125,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[1.8996,2.5846,2.6636,2.5846,2.6636,2.7013,1.8996,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022will\u0022,\u0022boundingBox\u0022:[2.7122,2.5852,2.9307,2.5852,2.9307,2.7003,2.7122,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022be\u0022,\u0022boundingBox\u0022:[2.9922,2.5852,3.1419,2.5852,3.1419,2.7013,2.9922,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022held\u0022,\u0022boundingBox\u0022:[3.1987,2.5852,3.4704,2.5852,3.4704,2.7013,3.1987,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.53,2.62,3.6846,2.62,3.6846,2.7013,3.53,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022May\u0022,\u0022boundingBox\u0022:[3.7498,2.5934,4.0422,2.5934,4.0422,2.7293,3.7498,2.7293],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228-29,\u0022,\u0022boundingBox\u0022:[4.0877,2.5914,4.5042,2.5914,4.5042,2.7236,4.0877,2.7236],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020\u0022,\u0022boundingBox\u0022:[4.5586,2.5914,4.884,2.5914,4.884,2.7017,4.5586,2.7017],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022at\u0022,\u0022boundingBox\u0022:[4.9351,2.6014,5.0577,2.6014,5.0577,2.7013,4.9351,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[5.1033,2.5852,5.3202,2.5852,5.3202,2.7013,5.1033,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Elm\u0022,\u0022boundingBox\u0022:[5.3787,2.5852,5.6051,2.5852,5.6051,2.7003,5.3787,2.7003],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Conference\u0022,\u0022boundingBox\u0022:[5.6624,2.5846,6.4263,2.5846,6.4263,2.7013,5.6624,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Center\u0022,\u0022boundingBox\u0022:[6.4796,2.5919,6.9234,2.5919,6.9234,2.7013,6.4796,2.7013],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.9765,2.5905,7.0776,2.5905,7.0776,2.7003,6.9765,2.7003],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Maple City, Massachusetts. The conference has sold out of its 1,500 tickets, with a 400 person\u0022,\u0022boundingBox\u0022:[1.014,2.8029,7.3457,2.8029,7.3457,2.9478,1.014,2.9478],\u0022words\u0022:[{\u0022text\u0022:\u0022Maple\u0022,\u0022boundingBox\u0022:[1.014,2.8036,1.4242,2.8036,1.4242,2.9478,1.014,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022City,\u0022,\u0022boundingBox\u0022:[1.4763,2.8089,1.7576,2.8089,1.7576,2.9478,1.4763,2.9478],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Massachusetts.\u0022,\u0022boundingBox\u0022:[1.8195,2.8036,2.8383,2.8036,2.8383,2.9197,1.8195,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022The\u0022,\u0022boundingBox\u0022:[2.8883,2.8036,3.1326,2.8036,3.1326,2.9197,2.8883,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022conference\u0022,\u0022boundingBox\u0022:[3.1842,2.8029,3.9301,2.8029,3.9301,2.9197,3.1842,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022has\u0022,\u0022boundingBox\u0022:[3.9871,2.8036,4.2019,2.8036,4.2019,2.9197,3.9871,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022sold\u0022,\u0022boundingBox\u0022:[4.2529,2.8036,4.5104,2.8036,4.5104,2.9197,4.2529,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[4.5701,2.8197,4.7871,2.8197,4.7871,2.9197,4.5701,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022of\u0022,\u0022boundingBox\u0022:[4.8373,2.8029,4.9701,2.8029,4.9701,2.9197,4.8373,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022its\u0022,\u0022boundingBox\u0022:[5.0169,2.8089,5.1601,2.8089,5.1601,2.9197,5.0169,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u00221,500\u0022,\u0022boundingBox\u0022:[5.2167,2.81,5.5766,2.81,5.5766,2.9418,5.2167,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022tickets,\u0022,\u0022boundingBox\u0022:[5.6227,2.8036,6.0928,2.8036,6.0928,2.9418,5.6227,2.9418],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022with\u0022,\u0022boundingBox\u0022:[6.1461,2.8036,6.4308,2.8036,6.4308,2.9195,6.1461,2.9195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[6.488,2.8383,6.548,2.8383,6.548,2.9197,6.488,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022400\u0022,\u0022boundingBox\u0022:[6.6016,2.81,6.8449,2.81,6.8449,2.9197,6.6016,2.9197],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022person\u0022,\u0022boundingBox\u0022:[6.8998,2.8383,7.3457,2.8383,7.3457,2.9478,6.8998,2.9478],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022waitlist. Vendor applications are being accepted through Feb 28, 2020. Please fill in the form\u0022,\u0022boundingBox\u0022:[1.0043,3.0229,7.2482,3.0229,7.2482,3.1678,1.0043,3.1678],\u0022words\u0022:[{\u0022text\u0022:\u0022waitlist.\u0022,\u0022boundingBox\u0022:[1.0043,3.0236,1.5194,3.0236,1.5194,3.1397,1.0043,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.5733,3.0239,2.0654,3.0239,2.0654,3.1397,1.5733,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022applications\u0022,\u0022boundingBox\u0022:[2.1132,3.0236,2.9143,3.0236,2.9143,3.1678,2.1132,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022are\u0022,\u0022boundingBox\u0022:[2.9675,3.0583,3.1726,3.0583,3.1726,3.1397,2.9675,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022being\u0022,\u0022boundingBox\u0022:[3.2306,3.0236,3.5889,3.0236,3.5889,3.1678,3.2306,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022accepted\u0022,\u0022boundingBox\u0022:[3.6388,3.0239,4.2336,3.0239,4.2336,3.1678,3.6388,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022through\u0022,\u0022boundingBox\u0022:[4.2862,3.0236,4.8127,3.0236,4.8127,3.1678,4.2862,3.1678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Feb\u0022,\u0022boundingBox\u0022:[4.8815,3.0236,5.1133,3.0236,5.1133,3.14,4.8815,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u002228,\u0022,\u0022boundingBox\u0022:[5.163,3.0297,5.361,3.0297,5.361,3.162,5.163,3.162],\u0022confidence\u0022:1},{\u0022text\u0022:\u00222020.\u0022,\u0022boundingBox\u0022:[5.413,3.0297,5.7774,3.0297,5.7774,3.14,5.413,3.14],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Please\u0022,\u0022boundingBox\u0022:[5.8406,3.0236,6.2537,3.0236,6.2537,3.1397,5.8406,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022fill\u0022,\u0022boundingBox\u0022:[6.3022,3.0229,6.4539,3.0229,6.4539,3.1387,6.3022,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[6.5131,3.0289,6.6158,3.0289,6.6158,3.1387,6.5131,3.1387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022the\u0022,\u0022boundingBox\u0022:[6.6673,3.0236,6.8842,3.0236,6.8842,3.1397,6.6673,3.1397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022form\u0022,\u0022boundingBox\u0022:[6.9317,3.0229,7.2482,3.0229,7.2482,3.1397,6.9317,3.1397],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022below, and attach a check made out to:\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,3.6599,3.2436,3.6599,3.3818,1.0125,3.3818],\u0022words\u0022:[{\u0022text\u0022:\u0022below,\u0022,\u0022boundingBox\u0022:[1.0125,3.2436,1.4459,3.2436,1.4459,3.3818,1.0125,3.3818],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022and\u0022,\u0022boundingBox\u0022:[1.5024,3.2439,1.7371,3.2439,1.7371,3.3597,1.5024,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022attach\u0022,\u0022boundingBox\u0022:[1.7968,3.2436,2.2047,3.2436,2.2047,3.3597,1.7968,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022a\u0022,\u0022boundingBox\u0022:[2.2619,3.2783,2.3219,3.2783,2.3219,3.3597,2.2619,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022check\u0022,\u0022boundingBox\u0022:[2.379,3.2436,2.7529,3.2436,2.7529,3.3597,2.379,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022made\u0022,\u0022boundingBox\u0022:[2.8076,3.2439,3.17,3.2439,3.17,3.3597,2.8076,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022out\u0022,\u0022boundingBox\u0022:[3.2251,3.2597,3.4421,3.2597,3.4421,3.3597,3.2251,3.3597],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022to:\u0022,\u0022boundingBox\u0022:[3.4869,3.2597,3.6599,3.2597,3.6599,3.3597,3.4869,3.3597],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,3.5739,1.843,3.5739,1.843,3.6897,1.0078,3.6897],\u0022words\u0022:[{\u0022text\u0022:\u0022Contoso\u0022,\u0022boundingBox\u0022:[1.0078,3.5802,1.5548,3.5802,1.5548,3.6897,1.0078,3.6897],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Ltd.\u0022,\u0022boundingBox\u0022:[1.6125,3.5739,1.843,3.5739,1.843,3.6897,1.6125,3.6897],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u00222345 Dogwood Lane\u0022,\u0022boundingBox\u0022:[1.0093,3.7939,2.3768,3.7939,2.3768,3.9378,1.0093,3.9378],\u0022words\u0022:[{\u0022text\u0022:\u00222345\u0022,\u0022boundingBox\u0022:[1.0093,3.8,1.3297,3.8,1.3297,3.9097,1.0093,3.9097],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Dogwood\u0022,\u0022boundingBox\u0022:[1.3899,3.7939,2.0149,3.7939,2.0149,3.9378,1.3899,3.9378],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Lane\u0022,\u0022boundingBox\u0022:[2.0788,3.8012,2.3768,3.8012,2.3768,3.9097,2.0788,3.9097],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Birch, Kansas 98123\u0022,\u0022boundingBox\u0022:[1.014,4.0136,2.3377,4.0136,2.3377,4.1518,1.014,4.1518],\u0022words\u0022:[{\u0022text\u0022:\u0022Birch,\u0022,\u0022boundingBox\u0022:[1.014,4.0136,1.3745,4.0136,1.3745,4.1518,1.014,4.1518],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Kansas\u0022,\u0022boundingBox\u0022:[1.4375,4.0212,1.8819,4.0212,1.8819,4.1297,1.4375,4.1297],\u0022confidence\u0022:1},{\u0022text\u0022:\u002298123\u0022,\u0022boundingBox\u0022:[1.9318,4.02,2.3377,4.02,2.3377,4.1297,1.9318,4.1297],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022words\u0022:[{\u0022text\u0022:\u0022Rates:\u0022,\u0022boundingBox\u0022:[1.0204,4.4248,1.5303,4.4248,1.5303,4.5682,1.0204,4.5682],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022words\u0022:[{\u0022text\u0022:\u0022Package\u0022,\u0022boundingBox\u0022:[1.0923,4.6986,1.6232,4.6986,1.6232,4.8428,1.0923,4.8428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Included\u0022,\u0022boundingBox\u0022:[2.713,4.6986,3.2707,4.6986,3.2707,4.8147,2.713,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022words\u0022:[{\u0022text\u0022:\u0022Price\u0022,\u0022boundingBox\u0022:[5.838,4.7039,6.1513,4.7039,6.1513,4.8147,5.838,4.8147],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022words\u0022:[{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.3842,4.9086,1.3842,5.0247,1.0857,5.0247],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4423,4.915,1.9831,4.915,1.9831,5.0528,1.4423,5.0528],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,4.954,3.018,4.954,3.018,5.0145,2.9586,5.0145],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.8726,4.9169,3.8726,5.033,3.214,5.033],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,4.9169,3.4295,4.9169,3.4295,5.033,3.214,5.033],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,4.9169,3.8726,4.9169,3.8726,5.033,3.492,5.033],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.1673,3.018,5.1673,3.018,5.2279,2.9586,5.2279],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Pre-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.7267,5.1302,4.7267,5.2744,3.214,5.2744],\u0022words\u0022:[{\u0022text\u0022:\u0022Pre-keynote\u0022,\u0022boundingBox\u0022:[3.214,5.1302,4.0183,5.1302,4.0183,5.2744,3.214,5.2744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.0665,5.1302,4.4475,5.1302,4.4475,5.2463,4.0665,5.2463],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.4903,5.165,4.7267,5.165,4.7267,5.2744,4.4903,5.2744],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.379,3.018,5.379,3.018,5.4395,2.9586,5.4395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,5.3495,4.2093,5.3495,4.2093,5.4861,3.214,5.4861],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,5.3495,3.5163,5.3495,3.5163,5.4861,3.214,5.4861],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,5.3767,3.7244,5.3767,3.7244,5.458,3.5686,5.458],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,5.358,4.2093,5.358,4.2093,5.4861,3.7888,5.4861],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.5923,3.018,5.5923,3.018,5.6529,2.9586,5.6529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,5.5552,5.201,5.5552,5.201,5.6994,3.214,5.6994],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.5552,3.4295,5.5552,3.4295,5.6713,3.214,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.492,5.59,3.7989,5.59,3.7989,5.6994,3.492,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8519,5.5556,3.9991,5.5556,3.9991,5.6713,3.8519,5.6713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0599,5.5605,4.1626,5.5605,4.1626,5.6703,4.0599,5.6703],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2248,5.59,4.7839,5.59,4.7839,5.6994,4.2248,5.6994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8367,5.5556,5.201,5.5556,5.201,5.6994,4.8367,5.6994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,5.804,3.018,5.804,3.018,5.8645,2.9586,5.8645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022words\u0022:[{\u0022text\u0022:\u0022Silver\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,1.4443,5.9786,1.4443,6.0947,1.0842,6.0947],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.4904,5.985,2.0339,5.985,2.0339,6.1228,1.4904,6.1228],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.024,3.018,6.024,3.018,6.0845,2.9586,6.0845],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.8726,5.9869,3.8726,6.103,3.214,6.103],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,5.9869,3.4295,5.9869,3.4295,6.103,3.214,6.103],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,5.9869,3.8726,5.9869,3.8726,6.103,3.492,6.103],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.2356,3.018,6.2356,3.018,6.2962,2.9586,6.2962],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Post-keynote thank you\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.7938,6.1986,4.7938,6.3428,3.214,6.3428],\u0022words\u0022:[{\u0022text\u0022:\u0022Post-keynote\u0022,\u0022boundingBox\u0022:[3.214,6.1986,4.0878,6.1986,4.0878,6.3428,3.214,6.3428],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022thank\u0022,\u0022boundingBox\u0022:[4.1348,6.1986,4.5158,6.1986,4.5158,6.3147,4.1348,6.3147],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022you\u0022,\u0022boundingBox\u0022:[4.5586,6.2333,4.7938,6.2333,4.7938,6.3428,4.5586,6.3428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.4473,3.018,6.4473,3.018,6.5079,2.9586,6.5079],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,6.4179,4.2093,6.4179,4.2093,6.5544,3.214,6.5544],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,6.4179,3.5163,6.4179,3.5163,6.5544,3.214,6.5544],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,6.445,3.7244,6.445,3.7244,6.5263,3.5686,6.5263],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,6.4264,4.2093,6.4264,4.2093,6.5544,3.7888,6.5544],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.6606,3.018,6.6606,3.018,6.7212,2.9586,6.7212],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half page ad in program guide\u0022,\u0022boundingBox\u0022:[3.214,6.6229,5.2314,6.6229,5.2314,6.7678,3.214,6.7678],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[3.214,6.6229,3.4739,6.6229,3.4739,6.7397,3.214,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022page\u0022,\u0022boundingBox\u0022:[3.5224,6.6583,3.8326,6.6583,3.8326,6.7678,3.5224,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022ad\u0022,\u0022boundingBox\u0022:[3.8843,6.6239,4.0315,6.6239,4.0315,6.7397,3.8843,6.7397],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022in\u0022,\u0022boundingBox\u0022:[4.0923,6.6289,4.195,6.6289,4.195,6.7387,4.0923,6.7387],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.2563,6.6583,4.8148,6.6583,4.8148,6.7678,4.2563,6.7678],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.8695,6.6239,5.2314,6.6239,5.2314,6.7678,4.8695,6.7678],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022words\u0022:[{\u0022text\u0022:\u0022Bronze\u0022,\u0022boundingBox\u0022:[1.0923,6.8417,1.545,6.8417,1.545,6.9497,1.0923,6.9497],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Sponsor\u0022,\u0022boundingBox\u0022:[1.5951,6.84,2.1362,6.84,2.1362,6.9778,1.5951,6.9778],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,6.879,3.018,6.879,3.018,6.9395,2.9586,6.9395],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.8726,6.8419,3.8726,6.958,3.214,6.958],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,6.8419,3.4295,6.8419,3.4295,6.958,3.214,6.958],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,6.8419,3.8726,6.8419,3.8726,6.958,3.492,6.958],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022words\u0022:[{\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.0923,3.018,7.0923,3.018,7.1529,2.9586,7.1529],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Logo on poster\u0022,\u0022boundingBox\u0022:[3.214,7.0629,4.2093,7.0629,4.2093,7.1994,3.214,7.1994],\u0022words\u0022:[{\u0022text\u0022:\u0022Logo\u0022,\u0022boundingBox\u0022:[3.214,7.0629,3.5163,7.0629,3.5163,7.1994,3.214,7.1994],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[3.5686,7.09,3.7244,7.09,3.7244,7.1713,3.5686,7.1713],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022poster\u0022,\u0022boundingBox\u0022:[3.7888,7.0714,4.2093,7.0714,4.2093,7.1994,3.7888,7.1994],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.304,3.018,7.304,3.018,7.3645,2.9586,7.3645],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.2672,5.3419,7.2672,5.3419,7.4111,3.2082,7.4111],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.2717,3.4817,7.2717,3.4817,7.3845,3.2082,7.3845],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.2672,4.1018,7.2672,4.1018,7.383,3.533,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.3017,4.307,7.3017,4.307,7.383,4.1512,7.383],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.3017,4.9253,7.3017,4.9253,7.4111,4.3682,7.4111],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.2672,5.3419,7.2672,5.3419,7.4111,4.981,7.4111],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,7.4706,4.2429,7.4706,4.2429,7.5863,3.2075,7.5863],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.3079,7.6819,1.3079,7.798,1.0923,7.798],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.3718,7.6819,1.7537,7.6819,1.7537,7.798,1.3718,7.798],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.7273,3.018,7.7273,3.018,7.7879,2.9586,7.7879],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.8726,7.6902,3.8726,7.8063,3.214,7.8063],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,7.6902,3.4295,7.6902,3.4295,7.8063,3.214,7.8063],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,7.6902,3.8726,7.6902,3.8726,7.8063,3.492,7.8063],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022words\u0022:[{\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,7.939,3.018,7.939,3.018,7.9995,2.9586,7.9995],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002250% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2082,7.9022,5.3419,7.9022,5.3419,8.0461,3.2082,8.0461],\u0022words\u0022:[{\u0022text\u0022:\u002250%\u0022,\u0022boundingBox\u0022:[3.2082,7.9067,3.4817,7.9067,3.4817,8.0195,3.2082,8.0195],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,7.9022,4.1018,7.9022,4.1018,8.018,3.533,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,7.9367,4.307,7.9367,4.307,8.018,4.1512,8.018],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,7.9367,4.9253,7.9367,4.9253,8.0461,4.3682,8.0461],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,7.9022,5.3419,7.9022,5.3419,8.0461,4.981,8.0461],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.1056,4.2429,8.1056,4.2429,8.2213,3.2075,8.2213],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022words\u0022:[{\u0022text\u0022:\u0022Half\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.3522,8.3162,1.3522,8.433,1.0923,8.433],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Booth\u0022,\u0022boundingBox\u0022:[1.4022,8.3169,1.7854,8.3169,1.7854,8.433,1.4022,8.433],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.3623,3.018,8.3623,3.018,8.4229,2.9586,8.4229],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Full booth\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.8726,8.3252,3.8726,8.4413,3.214,8.4413],\u0022words\u0022:[{\u0022text\u0022:\u0022Full\u0022,\u0022boundingBox\u0022:[3.214,8.3252,3.4295,8.3252,3.4295,8.4413,3.214,8.4413],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022booth\u0022,\u0022boundingBox\u0022:[3.492,8.3252,3.8726,8.3252,3.8726,8.4413,3.492,8.4413],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022words\u0022:[{\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022words\u0022:[{\u0022text\u0022:\u0022\uF0B7\u0022,\u0022boundingBox\u0022:[2.9586,8.574,3.018,8.574,3.018,8.6345,2.9586,8.6345],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u002225% discount on program guide\u0022,\u0022boundingBox\u0022:[3.2093,8.5372,5.3419,8.5372,5.3419,8.6811,3.2093,8.6811],\u0022words\u0022:[{\u0022text\u0022:\u002225%\u0022,\u0022boundingBox\u0022:[3.2093,8.5417,3.4817,8.5417,3.4817,8.6545,3.2093,8.6545],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022discount\u0022,\u0022boundingBox\u0022:[3.533,8.5372,4.1018,8.5372,4.1018,8.653,3.533,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022on\u0022,\u0022boundingBox\u0022:[4.1512,8.5717,4.307,8.5717,4.307,8.653,4.1512,8.653],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022program\u0022,\u0022boundingBox\u0022:[4.3682,8.5717,4.9253,8.5717,4.9253,8.6811,4.3682,8.6811],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022guide\u0022,\u0022boundingBox\u0022:[4.981,8.5372,5.3419,8.5372,5.3419,8.6811,4.981,8.6811],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022words\u0022:[{\u0022text\u0022:\u0022advertisements\u0022,\u0022boundingBox\u0022:[3.2075,8.7406,4.2429,8.7406,4.2429,8.8563,3.2075,8.8563],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]},{\u0022page\u0022:2,\u0022angle\u0022:0,\u0022width\u0022:8.5,\u0022height\u0022:11,\u0022unit\u0022:\u0022inch\u0022,\u0022lines\u0022:[{\u0022text\u0022:\u0022Vendor #:121\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,7.4833,1.0667,7.4833,1.2403,6.1276,1.2403],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[6.1276,1.0667,6.8657,1.0667,6.8657,1.2403,6.1276,1.2403],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022#:121\u0022,\u0022boundingBox\u0022:[6.9307,1.0759,7.4833,1.0759,7.4833,1.2391,6.9307,1.2391],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Vendor Details:\u0022,\u0022boundingBox\u0022:[1.0044,2.1771,2.35,2.1771,2.35,2.3315,1.0044,2.3315],\u0022words\u0022:[{\u0022text\u0022:\u0022Vendor\u0022,\u0022boundingBox\u0022:[1.0044,2.1778,1.6496,2.1778,1.6496,2.3315,1.0044,2.3315],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Details:\u0022,\u0022boundingBox\u0022:[1.7239,2.1771,2.35,2.1771,2.35,2.3315,1.7239,2.3315],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Company Name: Southridge Video\u0022,\u0022boundingBox\u0022:[1.0065,2.7686,3.3477,2.7686,3.3477,2.9128,1.0065,2.9128],\u0022words\u0022:[{\u0022text\u0022:\u0022Company\u0022,\u0022boundingBox\u0022:[1.0065,2.7749,1.651,2.7749,1.651,2.9126,1.0065,2.9126],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Name:\u0022,\u0022boundingBox\u0022:[1.7019,2.7764,2.1376,2.7764,2.1376,2.885,1.7019,2.885],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Southridge\u0022,\u0022boundingBox\u0022:[2.1925,2.7686,2.9184,2.7686,2.9184,2.9128,2.1925,2.9128],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Contact: Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.0065,3.0986,3.5766,3.0986,3.5766,3.2428,1.0065,3.2428],\u0022words\u0022:[{\u0022text\u0022:\u0022Contact:\u0022,\u0022boundingBox\u0022:[1.0065,3.1049,1.5706,3.1049,1.5706,3.215,1.0065,3.215],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Jamie@southridgevideo.com\u0022,\u0022boundingBox\u0022:[1.6205,3.0986,3.5766,3.0986,3.5766,3.2428,1.6205,3.2428],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Preferred Package: Gold\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,2.6542,3.4296,2.6542,3.5744,1.0115,3.5744],\u0022words\u0022:[{\u0022text\u0022:\u0022Preferred\u0022,\u0022boundingBox\u0022:[1.0115,3.4296,1.6499,3.4296,1.6499,3.5467,1.0115,3.5467],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Package:\u0022,\u0022boundingBox\u0022:[1.7092,3.4302,2.2978,3.4302,2.2978,3.5744,1.7092,3.5744],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Gold\u0022,\u0022boundingBox\u0022:[2.3557,3.4302,2.6542,3.4302,2.6542,3.5463,2.3557,3.5463],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}},{\u0022text\u0022:\u0022Special Requests: N/a\u0022,\u0022boundingBox\u0022:[1.0052,3.7537,2.4783,3.7537,2.4783,3.9043,1.0052,3.9043],\u0022words\u0022:[{\u0022text\u0022:\u0022Special\u0022,\u0022boundingBox\u0022:[1.0052,3.7602,1.475,3.7602,1.475,3.9043,1.0052,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022Requests:\u0022,\u0022boundingBox\u0022:[1.5342,3.7684,2.1899,3.7684,2.1899,3.9043,1.5342,3.9043],\u0022confidence\u0022:1},{\u0022text\u0022:\u0022N/a\u0022,\u0022boundingBox\u0022:[2.254,3.7537,2.4783,3.7537,2.4783,3.8976,2.254,3.8976],\u0022confidence\u0022:1}],\u0022appearance\u0022:{\u0022style\u0022:{\u0022name\u0022:\u0022other\u0022,\u0022confidence\u0022:1}}}]}],\u0022documentResults\u0022:[{\u0022docType\u0022:\u0022prebuilt:receipt\u0022,\u0022pageRange\u0022:[1,1],\u0022fields\u0022:{\u0022Items\u0022:{\u0022type\u0022:\u0022array\u0022,\u0022valueArray\u0022:[{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Gold Sponsor\u0022,\u0022text\u0022:\u0022Gold Sponsor\u0022,\u0022boundingBox\u0022:[1.0857,4.9086,1.9831,4.9086,1.9831,5.0528,1.0857,5.0528],\u0022page\u0022:1,\u0022confidence\u0022:0.72,\u0022elements\u0022:[\u0022#/readResults/0/lines/13/words/0\u0022,\u0022#/readResults/0/lines/13/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:1500,\u0022text\u0022:\u0022$1,500\u0022,\u0022boundingBox\u0022:[5.8328,4.8977,6.2829,4.8977,6.2829,5.0468,5.8328,5.0468],\u0022page\u0022:1,\u0022confidence\u0022:0.949,\u0022elements\u0022:[\u0022#/readResults/0/lines/16/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Silver Sponsor\u0022,\u0022text\u0022:\u0022Silver Sponsor\u0022,\u0022boundingBox\u0022:[1.0842,5.9786,2.0339,5.9786,2.0339,6.1228,1.0842,6.1228],\u0022page\u0022:1,\u0022confidence\u0022:0.72,\u0022elements\u0022:[\u0022#/readResults/0/lines/24/words/0\u0022,\u0022#/readResults/0/lines/24/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:1200,\u0022text\u0022:\u0022$1,200\u0022,\u0022boundingBox\u0022:[5.8328,5.9677,6.2829,5.9677,6.2829,6.1168,5.8328,6.1168],\u0022page\u0022:1,\u0022confidence\u0022:0.95,\u0022elements\u0022:[\u0022#/readResults/0/lines/27/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Bronze Sponsor\u0022,\u0022text\u0022:\u0022Bronze Sponsor\u0022,\u0022boundingBox\u0022:[1.0923,6.84,2.1362,6.84,2.1362,6.9778,1.0923,6.9778],\u0022page\u0022:1,\u0022confidence\u0022:0.72,\u0022elements\u0022:[\u0022#/readResults/0/lines/34/words/0\u0022,\u0022#/readResults/0/lines/34/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:1000,\u0022text\u0022:\u0022$1,000\u0022,\u0022boundingBox\u0022:[5.8328,6.8227,6.2829,6.8227,6.2829,6.9718,5.8328,6.9718],\u0022page\u0022:1,\u0022confidence\u0022:0.95,\u0022elements\u0022:[\u0022#/readResults/0/lines/37/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Full Booth\u0022,\u0022text\u0022:\u0022Full Booth\u0022,\u0022boundingBox\u0022:[1.0923,7.6819,1.7537,7.6819,1.7537,7.798,1.0923,7.798],\u0022page\u0022:1,\u0022confidence\u0022:0.721,\u0022elements\u0022:[\u0022#/readResults/0/lines/43/words/0\u0022,\u0022#/readResults/0/lines/43/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:600,\u0022text\u0022:\u0022$600\u0022,\u0022boundingBox\u0022:[5.8328,7.6711,6.1586,7.6711,6.1586,7.8165,5.8328,7.8165],\u0022page\u0022:1,\u0022confidence\u0022:0.949,\u0022elements\u0022:[\u0022#/readResults/0/lines/46/words/0\u0022]}}},{\u0022type\u0022:\u0022object\u0022,\u0022valueObject\u0022:{\u0022Name\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Half Booth\u0022,\u0022text\u0022:\u0022Half Booth\u0022,\u0022boundingBox\u0022:[1.0923,8.3162,1.7854,8.3162,1.7854,8.433,1.0923,8.433],\u0022page\u0022:1,\u0022confidence\u0022:0.751,\u0022elements\u0022:[\u0022#/readResults/0/lines/50/words/0\u0022,\u0022#/readResults/0/lines/50/words/1\u0022]},\u0022TotalPrice\u0022:{\u0022type\u0022:\u0022number\u0022,\u0022valueNumber\u0022:350,\u0022text\u0022:\u0022$350\u0022,\u0022boundingBox\u0022:[5.8328,8.3061,6.1586,8.3061,6.1586,8.4515,5.8328,8.4515],\u0022page\u0022:1,\u0022confidence\u0022:0.947,\u0022elements\u0022:[\u0022#/readResults/0/lines/53/words/0\u0022]}}}]},\u0022MerchantAddress\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Maple City, Massachusetts.\u0022,\u0022text\u0022:\u0022Maple City, Massachusetts.\u0022,\u0022boundingBox\u0022:[1.014,2.8036,2.8383,2.8036,2.8383,2.9478,1.014,2.9478],\u0022page\u0022:1,\u0022confidence\u0022:0.855,\u0022elements\u0022:[\u0022#/readResults/0/lines/3/words/0\u0022,\u0022#/readResults/0/lines/3/words/1\u0022,\u0022#/readResults/0/lines/3/words/2\u0022]},\u0022MerchantName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Contoso Ltd.\u0022,\u0022text\u0022:\u0022Contoso Ltd.\u0022,\u0022boundingBox\u0022:[1.0078,2.5856,1.843,2.5856,1.843,2.7013,1.0078,2.7013],\u0022page\u0022:1,\u0022confidence\u0022:0.907,\u0022elements\u0022:[\u0022#/readResults/0/lines/2/words/0\u0022,\u0022#/readResults/0/lines/2/words/1\u0022]},\u0022ReceiptType\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Itemized\u0022,\u0022confidence\u0022:0.764}}},{\u0022docType\u0022:\u0022prebuilt:receipt\u0022,\u0022pageRange\u0022:[2,2],\u0022fields\u0022:{\u0022MerchantName\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Video\u0022,\u0022text\u0022:\u0022Video\u0022,\u0022boundingBox\u0022:[2.9691,2.7689,3.3477,2.7689,3.3477,2.8847,2.9691,2.8847],\u0022page\u0022:2,\u0022confidence\u0022:0.432,\u0022elements\u0022:[\u0022#/readResults/1/lines/2/words/3\u0022]},\u0022ReceiptType\u0022:{\u0022type\u0022:\u0022string\u0022,\u0022valueString\u0022:\u0022Itemized\u0022,\u0022confidence\u0022:0.772}}}]}}" } ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "164585980" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPage.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPage.json index 45b420878f01..d209d90bccdf 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPage.json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPage.json @@ -1,3365 +1,2042 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252962", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a0e8f712d404b2479c9f25ecb1b9acce-0181a0e37dbbd048-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-74affefdfbef694bb137b4919a0eb725-bf43ee8d6ef20842-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "b042092feed43c981ded68466d5079d0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "5b0a0c5a-1c30-438b-b3d9-3d0b86eac953", + "apim-request-id": "9e6eb0e6-fc19-4ced-9720-eeee0ec2aab9", "Content-Length": "0", - "Date": "Wed, 24 Mar 2021 21:47:14 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/5b0a0c5a-1c30-438b-b3d9-3d0b86eac953", + "Date": "Thu, 06 May 2021 18:31:47 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9e6eb0e6-fc19-4ced-9720-eeee0ec2aab9", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "99" + "x-envoy-upstream-service-time": "134" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/5b0a0c5a-1c30-438b-b3d9-3d0b86eac953", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9e6eb0e6-fc19-4ced-9720-eeee0ec2aab9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "510b7727852c62d58361328a5b8d5b92", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c50a9229-d6e7-421e-83a4-318824e51284", - "Content-Length": "109", + "apim-request-id": "943f8c87-f5f9-4225-9914-6a515e4e5dad", + "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:47:14 GMT", + "Date": "Thu, 06 May 2021 18:31:47 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "35" + "x-envoy-upstream-service-time": "16" }, "ResponseBody": { - "status": "notStarted", - "createdDateTime": "2021-03-24T21:47:14Z", - "lastUpdatedDateTime": "2021-03-24T21:47:14Z" + "status": "running", + "createdDateTime": "2021-05-06T18:31:47Z", + "lastUpdatedDateTime": "2021-05-06T18:31:47Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/5b0a0c5a-1c30-438b-b3d9-3d0b86eac953", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9e6eb0e6-fc19-4ced-9720-eeee0ec2aab9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "15a14d64e5ac7c57a6d8c3c8ba359635", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "32e5a78e-3960-4165-9bc8-842e742998b0", + "apim-request-id": "27896bf9-e423-40b7-827c-57ce9219c0c1", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:47:15 GMT", + "Date": "Thu, 06 May 2021 18:31:48 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "18" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:47:14Z", - "lastUpdatedDateTime": "2021-03-24T21:47:15Z" + "createdDateTime": "2021-05-06T18:31:47Z", + "lastUpdatedDateTime": "2021-05-06T18:31:47Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/5b0a0c5a-1c30-438b-b3d9-3d0b86eac953", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9e6eb0e6-fc19-4ced-9720-eeee0ec2aab9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f0f16203b17faafb34e02c72bc0ee090", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f76b4fb2-7c6b-4338-bdc6-9d0c1e0af89d", + "apim-request-id": "20b647fa-8164-4e9b-a34d-541f7bffb13e", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:47:16 GMT", + "Date": "Thu, 06 May 2021 18:31:49 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "18" + "x-envoy-upstream-service-time": "15" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:47:14Z", - "lastUpdatedDateTime": "2021-03-24T21:47:15Z" + "createdDateTime": "2021-05-06T18:31:47Z", + "lastUpdatedDateTime": "2021-05-06T18:31:47Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/5b0a0c5a-1c30-438b-b3d9-3d0b86eac953", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9e6eb0e6-fc19-4ced-9720-eeee0ec2aab9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1fe1d59264ae4123208faa53c20ca74e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b662874d-6a61-40c6-8823-4737c7183ba4", + "apim-request-id": "f6b1daa3-ba33-4187-bcce-0e45465c7e32", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:47:17 GMT", + "Date": "Thu, 06 May 2021 18:31:50 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "14" + "x-envoy-upstream-service-time": "11" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:47:14Z", - "lastUpdatedDateTime": "2021-03-24T21:47:15Z" + "createdDateTime": "2021-05-06T18:31:47Z", + "lastUpdatedDateTime": "2021-05-06T18:31:47Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/5b0a0c5a-1c30-438b-b3d9-3d0b86eac953", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9e6eb0e6-fc19-4ced-9720-eeee0ec2aab9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f987fdcb6b9bb31251f7e0ccb9e4c098", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8f7a5b36-08fc-41c1-9844-94f8b8207ba6", - "Content-Length": "33712", + "apim-request-id": "60e6bbdb-c191-4d29-98f6-eac985311632", + "Content-Length": "22124", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:47:18 GMT", + "Date": "Thu, 06 May 2021 18:31:51 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "27" + "x-envoy-upstream-service-time": "25" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-24T21:47:14Z", - "lastUpdatedDateTime": "2021-03-24T21:47:18Z", + "createdDateTime": "2021-05-06T18:31:47Z", + "lastUpdatedDateTime": "2021-05-06T18:31:51Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch", "lines": [ { - "text": "Company A Invoice", + "text": "Contoso", "boundingBox": [ - 0.8861, - 1.1217, - 2.3783, - 1.1217, - 2.3783, - 1.2812, - 0.8861, - 1.2812 + 1.9036, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8594, + 2.8912 ], "words": [ { - "text": "Company", - "boundingBox": [ - 0.8861, - 1.1232, - 1.6203, - 1.1232, - 1.6203, - 1.2812, - 0.8861, - 1.2812 - ], - "confidence": 1 - }, - { - "text": "A", - "boundingBox": [ - 1.6696, - 1.1242, - 1.7749, - 1.1242, - 1.7749, - 1.2473, - 1.6696, - 1.2473 - ], - "confidence": 1 - }, - { - "text": "Invoice", + "text": "Contoso", "boundingBox": [ - 1.8389, - 1.1217, - 2.3783, - 1.1217, - 2.3783, - 1.2485, - 1.8389, - 1.2485 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], - "confidence": 1 + "confidence": 0.755 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Invoice For:", + "text": "Contoso", "boundingBox": [ - 6.0211, - 1.0656, - 7.0357, - 1.0656, - 7.0357, - 1.2121, - 6.0211, - 1.2121 + 2.8776, + 2.5146, + 4.2611, + 2.3817, + 4.2943, + 2.6918, + 2.8997, + 2.8248 ], "words": [ { - "text": "Invoice", - "boundingBox": [ - 6.0211, - 1.0656, - 6.6362, - 1.0656, - 6.6362, - 1.2121, - 6.0211, - 1.2121 - ], - "confidence": 1 - }, - { - "text": "For:", + "text": "Contoso", "boundingBox": [ - 6.7147, - 1.0691, - 7.0357, - 1.0691, - 7.0357, - 1.2121, - 6.7147, - 1.2121 + 2.8776, + 2.5257, + 4.2057, + 2.3927, + 4.2279, + 2.7029, + 2.8997, + 2.8248 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Address:", + "text": "123 Main Street", "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 + 1.8815, + 3.0131, + 3.11, + 3.2679, + 3.0547, + 3.4894, + 1.8483, + 3.2457 ], "words": [ { - "text": "Address:", + "text": "123", "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 + 1.8926, + 3.0242, + 2.125, + 3.0685, + 2.0918, + 3.3011, + 1.8483, + 3.2457 ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Bilbo Baggins", - "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 - ], - "words": [ + "confidence": 0.994 + }, { - "text": "Bilbo", + "text": "Main", "boundingBox": [ - 6.0164, - 1.4503, - 6.3392, - 1.4503, - 6.3392, - 1.5649, - 6.0164, - 1.5649 + 2.1803, + 3.0796, + 2.5566, + 3.1682, + 2.5124, + 3.3897, + 2.1361, + 3.3122 ], - "confidence": 1 + "confidence": 0.994 }, { - "text": "Baggins", + "text": "Street", "boundingBox": [ - 6.396, - 1.4556, - 6.8967, - 1.4556, - 6.8967, - 1.5931, - 6.396, - 1.5931 + 2.6009, + 3.1793, + 3.099, + 3.29, + 3.0547, + 3.4894, + 2.5566, + 3.4008 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "123 Hobbit Lane", + "text": "Redmond, WA 98052", "boundingBox": [ - 6.0165, - 1.6707, - 7.1006, - 1.6707, - 7.1006, - 1.7854, - 6.0165, - 1.7854 + 1.8594, + 3.3454, + 3.4863, + 3.5559, + 3.4531, + 3.7996, + 1.8372, + 3.6002 ], "words": [ { - "text": "123", + "text": "Redmond,", "boundingBox": [ - 6.0165, - 1.6772, - 6.2434, - 1.6772, - 6.2434, - 1.7854, - 6.0165, - 1.7854 + 1.8704, + 3.3565, + 2.623, + 3.4783, + 2.6009, + 3.711, + 1.8372, + 3.5891 ], - "confidence": 1 + "confidence": 0.993 }, { - "text": "Hobbit", + "text": "WA", "boundingBox": [ - 6.3033, - 1.6707, - 6.7463, - 1.6707, - 6.7463, - 1.7854, - 6.3033, - 1.7854 + 2.6673, + 3.4783, + 2.8997, + 3.5116, + 2.8776, + 3.7442, + 2.6452, + 3.7221 ], - "confidence": 1 + "confidence": 0.996 }, { - "text": "Lane", + "text": "98052", "boundingBox": [ - 6.803, - 1.6782, - 7.1006, - 1.6782, - 7.1006, - 1.7854, - 6.803, - 1.7854 + 2.944, + 3.5227, + 3.4642, + 3.567, + 3.4531, + 3.7885, + 2.9329, + 3.7553 ], - "confidence": 1 + "confidence": 0.993 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "567 Main St.", + "text": "987-654-3210", "boundingBox": [ - 0.8852, - 1.846, - 1.713, - 1.846, - 1.713, - 1.9554, - 0.8852, - 1.9554 + 1.8151, + 3.9878999999999998, + 2.9661, + 4.143, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "words": [ { - "text": "567", - "boundingBox": [ - 0.8852, - 1.8472, - 1.1203, - 1.8472, - 1.1203, - 1.9554, - 0.8852, - 1.9554 - ], - "confidence": 1 - }, - { - "text": "Main", - "boundingBox": [ - 1.1777, - 1.846, - 1.5022, - 1.846, - 1.5022, - 1.9554, - 1.1777, - 1.9554 - ], - "confidence": 1 - }, - { - "text": "St.", + "text": "987-654-3210", "boundingBox": [ - 1.5558, - 1.8472, - 1.713, - 1.8472, - 1.713, - 1.9554, - 1.5558, - 1.9554 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], - "confidence": 1 + "confidence": 0.987 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Redmond, WA", + "text": "6/10/2019 13:59", "boundingBox": [ - 6.0164, - 1.891, - 6.9793, - 1.891, - 6.9793, - 2.0275, - 6.0164, - 2.0275 + 1.7708, + 4.6636, + 3.0547, + 4.7523, + 3.0326, + 5.0181, + 1.7598, + 4.9295 ], "words": [ { - "text": "Redmond,", + "text": "6/10/2019", "boundingBox": [ - 6.0164, - 1.891, - 6.6861, - 1.891, - 6.6861, - 2.0275, - 6.0164, - 2.0275 + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 ], - "confidence": 1 + "confidence": 0.993 }, { - "text": "WA", + "text": "13:59", "boundingBox": [ - 6.7408, - 1.8982, - 6.9793, - 1.8982, - 6.9793, - 2.0044, - 6.7408, - 2.0044 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Redmond, WA", + "text": "Sales Associate: Paul", "boundingBox": [ - 0.891, - 2.061, - 1.8537, - 2.061, - 1.8537, - 2.1975, - 0.891, - 2.1975 + 1.7487, + 5.0292, + 3.597, + 5.1067, + 3.5859, + 5.3615, + 1.7376, + 5.284 ], "words": [ { - "text": "Redmond,", + "text": "Sales", "boundingBox": [ - 0.891, - 2.061, - 1.5605, - 2.061, - 1.5605, - 2.1975, - 0.891, - 2.1975 + 1.7708, + 5.0403, + 2.2135, + 5.0735, + 2.2025, + 5.3061, + 1.7487, + 5.2618 ], - "confidence": 1 + "confidence": 0.996 }, { - "text": "WA", + "text": "Associate:", "boundingBox": [ - 1.6152, - 2.0682, - 1.8537, - 2.0682, - 1.8537, - 2.1744, - 1.6152, - 2.1744 + 2.2578, + 5.0735, + 3.1211, + 5.1067, + 3.11, + 5.3505, + 2.2467, + 5.3061 ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "555-555-5555", - "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 - ], - "words": [ + "confidence": 0.922 + }, { - "text": "555-555-5555", + "text": "Paul", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 3.1654, + 5.1067, + 3.6081, + 5.1067, + 3.597, + 5.3615, + 3.1543, + 5.3505 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "555-555-5555", + "text": "1 Cappuccino", "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 + 1.6934, + 5.7382, + 2.9993, + 5.7936, + 2.9883, + 6.0705, + 1.6823, + 6.0262 ], "words": [ { - "text": "555-555-5555", + "text": "1", + "boundingBox": [ + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 + ], + "confidence": 0.995 + }, + { + "text": "Cappuccino", "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], - "confidence": 1 + "confidence": 0.705 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Item", + "text": "$2.20", "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 + 4.2943, + 5.7492, + 4.8034, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "words": [ { - "text": "Item", + "text": "$2.20", "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Quantity", + "text": "1 BACON \u0026 EGGS", "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 + 1.6491, + 6.4914, + 3.2318, + 6.5025, + 3.2318, + 6.7684, + 1.6491, + 6.7573 ], "words": [ { - "text": "Quantity", + "text": "1", + "boundingBox": [ + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "BACON", + "boundingBox": [ + 1.8704, + 6.5025, + 2.5013, + 6.5136, + 2.4902, + 6.7684, + 1.8704, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "\u0026", + "boundingBox": [ + 2.5456, + 6.5136, + 2.6784, + 6.5136, + 2.6673, + 6.7684, + 2.5456, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "EGGS", "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 + 2.7337, + 6.5136, + 3.2318, + 6.5136, + 3.2318, + 6.7795, + 2.7227, + 6.7684 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Price", + "text": "Sunny-side-up", "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 + 1.9811, + 6.9124, + 3.2539, + 6.9124, + 3.2539, + 7.1893, + 1.9811, + 7.1782 ], "words": [ { - "text": "Price", + "text": "Sunny-side-up", "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 + 2.0033, + 6.9124, + 3.265, + 6.9235, + 3.2539, + 7.2004, + 2.0033, + 7.1893 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "A", + "text": "$9.5", "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 + 4.3717, + 6.8459, + 4.8145, + 6.8348, + 4.8145, + 7.1229, + 4.3717, + 7.1339 ], "words": [ { - "text": "A", + "text": "$9.5", "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "1", + "text": "Sub-Total", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 2.291, + 7.6878, + 3.2982, + 7.6657, + 3.3092, + 7.9426, + 2.291, + 7.9757999999999996 ], "words": [ { - "text": "1", + "text": "Sub-Total", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 2.3021, + 7.6878, + 3.3092, + 7.6657, + 3.3092, + 7.9537, + 2.3021, + 7.9869 ], - "confidence": 1 + "confidence": 0.892 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "10.99", + "text": "$ 11.70", "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9141, + 7.9537, + 4.2721, + 7.9648 ], "words": [ { - "text": "10.99", + "text": "$", + "boundingBox": [ + 4.2611, + 7.6546, + 4.3385, + 7.6546, + 4.3385, + 7.9648, + 4.2611, + 7.9648 + ], + "confidence": 0.994 + }, + { + "text": "11.70", "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 + 4.3939, + 7.6546, + 4.9141, + 7.6546, + 4.9251, + 7.9537, + 4.4049, + 7.9648 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "B", + "text": "Tax", "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.7005, + 8.3746, + 2.3021, + 8.3857 ], "words": [ { - "text": "B", + "text": "Tax", "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.6895, + 8.3857, + 2.3021, + 8.3857 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "2", + "text": "$ 1.17", "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 + 4.3828, + 8.0423, + 4.9362, + 8.0534, + 4.9251, + 8.3746, + 4.3717, + 8.3746 ], "words": [ { - "text": "2", + "text": "$", + "boundingBox": [ + 4.3717, + 8.0423, + 4.4492, + 8.0423, + 4.4492, + 8.3746, + 4.3717, + 8.3635 + ], + "confidence": 0.994 + }, + { + "text": "1.17", "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 + 4.5156, + 8.0423, + 4.9251, + 8.0423, + 4.9251, + 8.3746, + 4.5156, + 8.3746 ], - "confidence": 1 + "confidence": 0.992 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "14.67", + "text": "Tip", "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 + 2.2689, + 8.4965, + 2.612, + 8.5076, + 2.6009, + 8.8399, + 2.2689, + 8.8288 ], "words": [ { - "text": "14.67", + "text": "Tip", "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 + 2.2799, + 8.4965, + 2.6009, + 8.5076, + 2.5898, + 8.8399, + 2.2799, + 8.8288 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "C", + "text": "$ 11623", "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 + 4.084, + 8.4079, + 4.8809, + 8.4079, + 4.8698, + 8.7734, + 4.0729, + 8.7734 ], "words": [ { - "text": "C", + "text": "$", + "boundingBox": [ + 4.0729, + 8.4079, + 4.1615, + 8.4079, + 4.1615, + 8.7734, + 4.0729, + 8.7734 + ], + "confidence": 0.999 + }, + { + "text": "11623", "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 + 4.2389, + 8.4079, + 4.8477, + 8.4079, + 4.8477, + 8.7734, + 4.2389, + 8.7734 ], - "confidence": 1 + "confidence": 0.27 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.469 } } }, { - "text": "4", + "text": "Total", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8223, + 9.2165, + 2.2799, + 9.2387 ], "words": [ { - "text": "4", + "text": "Total", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8333, + 9.2054, + 2.291, + 9.2276 ], - "confidence": 1 + "confidence": 0.979 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "15.66", + "text": "$14.50", "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 + 4.0951, + 8.8731, + 5.1576, + 8.9174, + 5.1465, + 9.2719, + 4.084, + 9.2276 ], "words": [ { - "text": "15.66", + "text": "$14.50", "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], - "confidence": 1 + "confidence": 0.351 } ], "appearance": { "style": { - "name": "other", - "confidence": 1 + "name": "handwriting", + "confidence": 0.772 } } - }, + } + ] + }, + { + "page": 2, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + }, + { + "page": 3, + "angle": 0.4374, + "width": 8.5, + "height": 11, + "unit": "inch", + "lines": [ { - "text": "D", + "text": "Contoso", "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 + 2.8112, + 1.8499, + 4.1393, + 1.8278, + 4.1504, + 2.1601, + 2.8223, + 2.1934 ], "words": [ { - "text": "D", + "text": "Contoso", "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 + 2.8223, + 1.8499, + 4.1283, + 1.8389, + 4.1393, + 2.1601, + 2.8333, + 2.2044 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "1", + "text": "Contoso", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.959, + 2.7583, + 2.5234, + 2.7915, + 2.5124, + 2.9688, + 1.9479, + 2.9355 ], "words": [ { - "text": "1", + "text": "Contoso", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], - "confidence": 1 + "confidence": 0.933 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "12.00", + "text": "123 Main Street", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 1.959, + 3.0574, + 2.944, + 3.0796, + 2.944, + 3.2679, + 1.9479, + 3.2568 ], "words": [ { - "text": "12.00", + "text": "123", + "boundingBox": [ + 1.9701, + 3.0685, + 2.1361, + 3.0685, + 2.125, + 3.2679, + 1.959, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Main", + "boundingBox": [ + 2.1693, + 3.0796, + 2.4792, + 3.0796, + 2.4681, + 3.2679, + 2.1582, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Street", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 2.5124, + 3.0796, + 2.9551, + 3.0906, + 2.944, + 3.279, + 2.5124, + 3.2679 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "E", + "text": "Redmond, WA 98052", "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 + 1.9258, + 3.3786, + 3.265, + 3.3676, + 3.265, + 3.567, + 1.9258, + 3.578 ], "words": [ { - "text": "E", + "text": "Redmond,", + "boundingBox": [ + 1.9368, + 3.3786, + 2.5456, + 3.3897, + 2.5456, + 3.578, + 1.9368, + 3.578 + ], + "confidence": 0.94 + }, + { + "text": "WA", + "boundingBox": [ + 2.5898, + 3.3897, + 2.778, + 3.3897, + 2.7669, + 3.578, + 2.5788, + 3.578 + ], + "confidence": 0.997 + }, + { + "text": "98052", "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 + 2.8223, + 3.3786, + 3.265, + 3.3786, + 3.2539, + 3.578, + 2.8112, + 3.578 ], - "confidence": 1 + "confidence": 0.993 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "4", + "text": "123-456-7890", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8926, + 3.9878999999999998, + 2.8776, + 4.0101, + 2.8665, + 4.2205, + 1.8926, + 4.1873 ], "words": [ { - "text": "4", + "text": "123-456-7890", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], - "confidence": 1 + "confidence": 0.987 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "10.00", + "text": "6/10/2019 13:59", "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 + 1.8704, + 4.6526, + 2.8997, + 4.6526, + 2.8997, + 4.8741, + 1.8704, + 4.863 ], "words": [ { - "text": "10.00", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "confidence": 0.994 + }, + { + "text": "13:59", "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "F", + "text": "Sales Associate: Paul", "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 + 1.8704, + 4.996, + 3.3203, + 5.007, + 3.3203, + 5.2064, + 1.8704, + 5.1954 ], "words": [ { - "text": "F", + "text": "Sales", "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 + 1.8926, + 4.996, + 2.2135, + 5.007, + 2.2135, + 5.2064, + 1.8815, + 5.1954 + ], + "confidence": 0.996 + }, + { + "text": "Associate:", + "boundingBox": [ + 2.2578, + 5.007, + 2.9329, + 5.007, + 2.9329, + 5.2064, + 2.2467, + 5.2064 + ], + "confidence": 0.979 + }, + { + "text": "Paul", + "boundingBox": [ + 2.9772, + 5.007, + 3.3314, + 5.007, + 3.3203, + 5.2064, + 2.9661, + 5.2064 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "6", + "text": "1 Surface Pro 6", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.9811, + 5.6606, + 3.0436, + 5.6717, + 3.0436, + 5.8822, + 1.9701, + 5.8711 ], "words": [ + { + "text": "1", + "boundingBox": [ + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 + ], + "confidence": 0.994 + }, + { + "text": "Surface", + "boundingBox": [ + 2.0807, + 5.6606, + 2.612, + 5.6717, + 2.6009, + 5.8822, + 2.0697, + 5.8711 + ], + "confidence": 0.949 + }, + { + "text": "Pro", + "boundingBox": [ + 2.6563, + 5.6717, + 2.8665, + 5.6717, + 2.8555, + 5.8822, + 2.6452, + 5.8822 + ], + "confidence": 0.979 + }, { "text": "6", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 2.8997, + 5.6717, + 3.0326, + 5.6828, + 3.0215, + 5.8822, + 2.8997, + 5.8822 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "12.00", + "text": "256GB/Intel Core i5 /", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 2.0807, + 5.9929, + 3.5306, + 6.004, + 3.5306, + 6.2256, + 2.0807, + 6.2145 ], "words": [ { - "text": "12.00", + "text": "256GB/Intel", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 2.0918, + 6.004, + 2.9329, + 6.004, + 2.9219, + 6.2256, + 2.0918, + 6.2145 ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "G", - "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 - ], - "words": [ + "confidence": 0.795 + }, { - "text": "G", + "text": "Core", "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 + 2.9661, + 6.004, + 3.2539, + 6.004, + 3.2428, + 6.2256, + 2.9661, + 6.2256 ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "words": [ + "confidence": 0.991 + }, { - "text": "8", + "text": "i5", "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 + 3.2982, + 6.004, + 3.4089, + 6.004, + 3.3978, + 6.2256, + 3.2871, + 6.2256 ], - "confidence": 1 + "confidence": 0.966 + }, + { + "text": "/", + "boundingBox": [ + 3.4421, + 6.004, + 3.5306, + 6.004, + 3.5195, + 6.2256, + 3.431, + 6.2256 + ], + "confidence": 0.964 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "22.00", + "text": "8GB RAM (Black)", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 2.0807, + 6.3364, + 3.2096, + 6.3474, + 3.2096, + 6.569, + 2.0807, + 6.5468 ], "words": [ { - "text": "22.00", + "text": "8GB", + "boundingBox": [ + 2.0807, + 6.3474, + 2.3353, + 6.3474, + 2.3242, + 6.5579, + 2.0807, + 6.5468 + ], + "confidence": 0.994 + }, + { + "text": "RAM", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 2.3685, + 6.3474, + 2.6673, + 6.3474, + 2.6563, + 6.5579, + 2.3685, + 6.5579 ], - "confidence": 1 + "confidence": 0.997 + }, + { + "text": "(Black)", + "boundingBox": [ + 2.7005, + 6.3474, + 3.2096, + 6.3585, + 3.1986, + 6.569, + 2.7005, + 6.5579 + ], + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Subtotal: 300.00", + "text": "$ 999.00", "boundingBox": [ - 5.5075, - 4.8981, - 6.632, - 4.8981, - 6.632, - 5.0131, - 5.5075, - 5.0131 + 3.7962, + 6.3696, + 4.4271, + 6.3807, + 4.416, + 6.5801, + 3.7852, + 6.5801 ], "words": [ { - "text": "Subtotal:", + "text": "$", "boundingBox": [ - 5.5075, - 4.8981, - 6.1249, - 4.8981, - 6.1249, - 5.0131, - 5.5075, - 5.0131 + 3.7962, + 6.3696, + 3.8626, + 6.3696, + 3.8626, + 6.5801, + 3.7962, + 6.569 ], - "confidence": 1 + "confidence": 0.997 }, { - "text": "300.00", + "text": "999.00", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 3.9069, + 6.3696, + 4.4049, + 6.3696, + 4.4049, + 6.5801, + 3.9069, + 6.5801 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Tax: 30.00", + "text": "1 SurfacePen", "boundingBox": [ - 5.5034, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.5034, - 5.2333 + 1.9258, + 7.0453, + 2.8997, + 7.0342, + 2.8997, + 7.2447, + 1.9368, + 7.2558 ], "words": [ { - "text": "Tax:", + "text": "1", "boundingBox": [ - 5.5034, - 5.1263, - 5.7812, - 5.1263, - 5.7812, - 5.2333, - 5.5034, - 5.2333 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], - "confidence": 1 + "confidence": 0.994 }, { - "text": "30.00", + "text": "SurfacePen", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Tip: 100.00", + "text": "$ 99.99", "boundingBox": [ - 5.5034, - 5.3412, - 6.2587, - 5.3412, - 6.2587, - 5.481, - 5.5034, - 5.481 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.3939, + 7.289, + 3.8737, + 7.289 ], "words": [ { - "text": "Tip:", + "text": "$", "boundingBox": [ - 5.5034, - 5.3412, - 5.7515, - 5.3412, - 5.7515, - 5.481, - 5.5034, - 5.481 + 3.8737, + 7.0675, + 3.9622, + 7.0675, + 3.9622, + 7.289, + 3.8737, + 7.289 ], - "confidence": 1 + "confidence": 0.994 }, { - "text": "100.00", + "text": "99.99", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 4.0065, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 4.0065, + 7.289 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Total: 430.00", + "text": "Sub-Total", "boundingBox": [ - 5.5034, - 5.5583, - 6.3987, - 5.5583, - 6.3987, - 5.6733, - 5.5034, - 5.6733 + 2.3796, + 7.721, + 3.0879, + 7.721, + 3.0879, + 7.9315, + 2.3796, + 7.9204 ], "words": [ { - "text": "Total:", - "boundingBox": [ - 5.5034, - 5.5583, - 5.8915, - 5.5583, - 5.8915, - 5.6733, - 5.5034, - 5.6733 - ], - "confidence": 1 - }, - { - "text": "430.00", + "text": "Sub-Total", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.3906, + 7.721, + 3.099, + 7.7321, + 3.0879, + 7.9315, + 2.3906, + 7.9315 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Signature: ____Bilbo Baggins__________", + "text": "$ 1098.99", "boundingBox": [ - 1.0055, - 6.6553, - 3.8342, - 6.6553, - 3.8342, - 6.7981, - 1.0055, - 6.7981 + 3.752, + 7.7654, + 4.416, + 7.7543, + 4.416, + 7.9537, + 3.752, + 7.9869 ], "words": [ { - "text": "Signature:", - "boundingBox": [ - 1.0055, - 6.6581, - 1.6987, - 6.6581, - 1.6987, - 6.7981, - 1.0055, - 6.7981 - ], - "confidence": 1 - }, - { - "text": "____Bilbo", + "text": "$", "boundingBox": [ - 1.747, - 6.6553, - 2.4278, - 6.6553, - 2.4278, - 6.7981, - 1.747, - 6.7981 + 3.752, + 7.7654, + 3.8184, + 7.7654, + 3.8184, + 7.9869, + 3.763, + 7.9869 ], - "confidence": 1 + "confidence": 0.997 }, { - "text": "Baggins__________", + "text": "1098.99", "boundingBox": [ - 2.4823, - 6.6581, - 3.8342, - 6.6581, - 3.8342, - 6.7981, - 2.4823, - 6.7981 + 3.8626, + 7.7654, + 4.4049, + 7.7543, + 4.416, + 7.9648, + 3.8626, + 7.9869 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } - } - ] - }, - { - "page": 2, - "angle": 0, - "width": 8.5, - "height": 11, - "unit": "inch" - }, - { - "page": 3, - "angle": 0, - "width": 8.5, - "height": 11, - "unit": "inch", - "lines": [ + }, { - "text": "Company B Invoice", + "text": "Tax", "boundingBox": [ - 0.8861, - 1.1217, - 2.3734, - 1.1217, - 2.3734, - 1.2812, - 0.8861, - 1.2812 + 2.7005, + 8.0644, + 2.9661, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 ], "words": [ { - "text": "Company", - "boundingBox": [ - 0.8861, - 1.1232, - 1.6203, - 1.1232, - 1.6203, - 1.2812, - 0.8861, - 1.2812 - ], - "confidence": 1 - }, - { - "text": "B", - "boundingBox": [ - 1.6836, - 1.1248, - 1.764, - 1.1248, - 1.764, - 1.2469, - 1.6836, - 1.2469 - ], - "confidence": 1 - }, - { - "text": "Invoice", + "text": "Tax", "boundingBox": [ - 1.8336, - 1.1217, - 2.3734, - 1.1217, - 2.3734, - 1.2485, - 1.8336, - 1.2485 + 2.7005, + 8.0644, + 2.9551, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 ], - "confidence": 1 + "confidence": 0.997 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Invoice For:", + "text": "$ 104.40", "boundingBox": [ - 6.0211, - 1.0656, - 7.0357, - 1.0656, - 7.0357, - 1.2121, - 6.0211, - 1.2121 + 3.8073, + 8.0977, + 4.4049, + 8.0977, + 4.4049, + 8.3082, + 3.8073, + 8.3192 ], "words": [ { - "text": "Invoice", + "text": "$", "boundingBox": [ - 6.0211, - 1.0656, - 6.6362, - 1.0656, - 6.6362, - 1.2121, - 6.0211, - 1.2121 + 3.8073, + 8.0977, + 3.8737, + 8.0977, + 3.8737, + 8.3192, + 3.8073, + 8.3192 ], - "confidence": 1 + "confidence": 0.994 }, { - "text": "For:", + "text": "104.40", "boundingBox": [ - 6.7147, - 1.0691, - 7.0357, - 1.0691, - 7.0357, - 1.2121, - 6.7147, - 1.2121 + 3.918, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.918, + 8.3192 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Address:", + "text": "Total", "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 + 2.623, + 8.7734, + 2.9993, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 ], "words": [ { - "text": "Address:", + "text": "Total", "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 + 2.623, + 8.7734, + 2.9883, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 ], - "confidence": 1 + "confidence": 0.989 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Frodo Baggins", + "text": "$ 1203.39", "boundingBox": [ - 6.0164, - 1.4506, - 6.9506, - 1.4506, - 6.9506, - 1.5931, - 6.0164, - 1.5931 + 3.7188, + 8.7623, + 4.3828, + 8.8177, + 4.3717, + 9.0282, + 3.7077, + 8.9728 ], "words": [ { - "text": "Frodo", + "text": "$", "boundingBox": [ - 6.0164, - 1.4506, - 6.3895, - 1.4506, - 6.3895, - 1.5649, - 6.0164, - 1.5649 + 3.7298, + 8.7623, + 3.7962, + 8.7734, + 3.7852, + 8.9839, + 3.7188, + 8.9839 ], - "confidence": 1 + "confidence": 0.994 }, { - "text": "Baggins", + "text": "1203.39", "boundingBox": [ - 6.45, - 1.4556, - 6.9506, - 1.4556, - 6.9506, - 1.5931, - 6.45, - 1.5931 + 3.8405, + 8.7734, + 4.3939, + 8.8288, + 4.3717, + 9.0393, + 3.8294, + 8.995 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 - } - } - }, - { - "text": "123 Hobbit Lane", - "boundingBox": [ - 6.0165, - 1.6707, - 7.1006, - 1.6707, - 7.1006, - 1.7854, - 6.0165, - 1.7854 - ], - "words": [ - { - "text": "123", - "boundingBox": [ - 6.0165, - 1.6772, - 6.2434, - 1.6772, - 6.2434, - 1.7854, - 6.0165, - 1.7854 - ], - "confidence": 1 - }, - { - "text": "Hobbit", - "boundingBox": [ - 6.3033, - 1.6707, - 6.7463, - 1.6707, - 6.7463, - 1.7854, - 6.3033, - 1.7854 - ], - "confidence": 1 - }, - { - "text": "Lane", - "boundingBox": [ - 6.803, - 1.6782, - 7.1006, - 1.6782, - 7.1006, - 1.7854, - 6.803, - 1.7854 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "567 Main St.", - "boundingBox": [ - 0.8852, - 1.846, - 1.713, - 1.846, - 1.713, - 1.9554, - 0.8852, - 1.9554 - ], - "words": [ - { - "text": "567", - "boundingBox": [ - 0.8852, - 1.8472, - 1.1203, - 1.8472, - 1.1203, - 1.9554, - 0.8852, - 1.9554 - ], - "confidence": 1 - }, - { - "text": "Main", - "boundingBox": [ - 1.1777, - 1.846, - 1.5022, - 1.846, - 1.5022, - 1.9554, - 1.1777, - 1.9554 - ], - "confidence": 1 - }, - { - "text": "St.", - "boundingBox": [ - 1.5558, - 1.8472, - 1.713, - 1.8472, - 1.713, - 1.9554, - 1.5558, - 1.9554 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Redmond, WA", - "boundingBox": [ - 6.0164, - 1.891, - 6.9793, - 1.891, - 6.9793, - 2.0275, - 6.0164, - 2.0275 - ], - "words": [ - { - "text": "Redmond,", - "boundingBox": [ - 6.0164, - 1.891, - 6.6861, - 1.891, - 6.6861, - 2.0275, - 6.0164, - 2.0275 - ], - "confidence": 1 - }, - { - "text": "WA", - "boundingBox": [ - 6.7408, - 1.8982, - 6.9793, - 1.8982, - 6.9793, - 2.0044, - 6.7408, - 2.0044 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Redmond, WA", - "boundingBox": [ - 0.891, - 2.061, - 1.8537, - 2.061, - 1.8537, - 2.1975, - 0.891, - 2.1975 - ], - "words": [ - { - "text": "Redmond,", - "boundingBox": [ - 0.891, - 2.061, - 1.5605, - 2.061, - 1.5605, - 2.1975, - 0.891, - 2.1975 - ], - "confidence": 1 - }, - { - "text": "WA", - "boundingBox": [ - 1.6152, - 2.0682, - 1.8537, - 2.0682, - 1.8537, - 2.1744, - 1.6152, - 2.1744 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "555-555-5555", - "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 - ], - "words": [ - { - "text": "555-555-5555", - "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "555-555-5555", - "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 - ], - "words": [ - { - "text": "555-555-5555", - "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Item", - "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 - ], - "words": [ - { - "text": "Item", - "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Quantity", - "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 - ], - "words": [ - { - "text": "Quantity", - "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Price", - "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 - ], - "words": [ - { - "text": "Price", - "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "A", - "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 - ], - "words": [ - { - "text": "A", - "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "words": [ - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "words": [ - { - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "B", - "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 - ], - "words": [ - { - "text": "B", - "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "words": [ - { - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "words": [ - { - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "C", - "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 - ], - "words": [ - { - "text": "C", - "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "words": [ - { - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "words": [ - { - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "D", - "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 - ], - "words": [ - { - "text": "D", - "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 - ], - "words": [ - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "words": [ - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "E", - "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 - ], - "words": [ - { - "text": "E", - "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "40", - "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 - ], - "words": [ - { - "text": "40", - "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "100.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 - ], - "words": [ - { - "text": "100.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "F", - "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 - ], - "words": [ - { - "text": "F", - "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "60", - "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 - ], - "words": [ - { - "text": "60", - "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 - ], - "words": [ - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "G", - "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 - ], - "words": [ - { - "text": "G", - "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "words": [ - { - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "220.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 - ], - "words": [ - { - "text": "220.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Subtotal: 3000.00", - "boundingBox": [ - 5.5075, - 4.8981, - 6.7158, - 4.8981, - 6.7158, - 5.0131, - 5.5075, - 5.0131 - ], - "words": [ - { - "text": "Subtotal:", - "boundingBox": [ - 5.5075, - 4.8981, - 6.1249, - 4.8981, - 6.1249, - 5.0131, - 5.5075, - 5.0131 - ], - "confidence": 1 - }, - { - "text": "3000.00", - "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Tax: 300.00", - "boundingBox": [ - 5.5034, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.5034, - 5.2333 - ], - "words": [ - { - "text": "Tax:", - "boundingBox": [ - 5.5034, - 5.1263, - 5.7812, - 5.1263, - 5.7812, - 5.2333, - 5.5034, - 5.2333 - ], - "confidence": 1 - }, - { - "text": "300.00", - "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Tip: 1000.00", - "boundingBox": [ - 5.5034, - 5.3412, - 6.3422, - 5.3412, - 6.3422, - 5.481, - 5.5034, - 5.481 - ], - "words": [ - { - "text": "Tip:", - "boundingBox": [ - 5.5034, - 5.3412, - 5.7515, - 5.3412, - 5.7515, - 5.481, - 5.5034, - 5.481 - ], - "confidence": 1 - }, - { - "text": "1000.00", - "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Total: 4300.00", - "boundingBox": [ - 5.5034, - 5.5583, - 6.4825, - 5.5583, - 6.4825, - 5.6733, - 5.5034, - 5.6733 - ], - "words": [ - { - "text": "Total:", - "boundingBox": [ - 5.5034, - 5.5583, - 5.8915, - 5.5583, - 5.8915, - 5.6733, - 5.5034, - 5.6733 - ], - "confidence": 1 - }, - { - "text": "4300.00", - "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Signature: ____Frodo Baggins__________", - "boundingBox": [ - 1.0055, - 6.6556, - 3.8842, - 6.6556, - 3.8842, - 6.7981, - 1.0055, - 6.7981 - ], - "words": [ - { - "text": "Signature:", - "boundingBox": [ - 1.0055, - 6.6581, - 1.6987, - 6.6581, - 1.6987, - 6.7981, - 1.0055, - 6.7981 - ], - "confidence": 1 - }, - { - "text": "____Frodo", - "boundingBox": [ - 1.747, - 6.6556, - 2.4778, - 6.6556, - 2.4778, - 6.7981, - 1.747, - 6.7981 - ], - "confidence": 1 - }, - { - "text": "Baggins__________", - "boundingBox": [ - 2.5325, - 6.6581, - 3.8842, - 6.6581, - 3.8842, - 6.7981, - 2.5325, - 6.7981 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 + "confidence": 0.878 } } } @@ -3380,179 +2057,64 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", - "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 - ], - "page": 1, - "confidence": 0.971, - "elements": [ - "#/readResults/0/lines/14/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952, - "elements": [ - "#/readResults/0/lines/15/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", - "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 - ], - "page": 1, - "confidence": 0.971, - "elements": [ - "#/readResults/0/lines/17/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954, - "elements": [ - "#/readResults/0/lines/18/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971, + "confidence": 0.735, "elements": [ - "#/readResults/0/lines/20/words/0" + "#/readResults/0/lines/7/words/1" ] }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958, - "elements": [ - "#/readResults/0/lines/21/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971, + "confidence": 0.966, "elements": [ - "#/readResults/0/lines/23/words/0" + "#/readResults/0/lines/7/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957, + "confidence": 0.977, "elements": [ - "#/readResults/0/lines/24/words/0" + "#/readResults/0/lines/8/words/0" ] } } @@ -3560,134 +2122,66 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971, + "confidence": 0.903, "elements": [ - "#/readResults/0/lines/26/words/0" + "#/readResults/0/lines/9/words/1", + "#/readResults/0/lines/9/words/2", + "#/readResults/0/lines/9/words/3" ] }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961, - "elements": [ - "#/readResults/0/lines/27/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971, + "confidence": 0.966, "elements": [ - "#/readResults/0/lines/29/words/0" + "#/readResults/0/lines/9/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 - ], - "page": 1, - "confidence": 0.549, - "elements": [ - "#/readResults/0/lines/30/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.394, + "confidence": 0.917, "elements": [ - "#/readResults/0/lines/33/words/0" - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 1, - "confidence": 0.97, - "elements": [ - "#/readResults/0/lines/32/words/0" + "#/readResults/0/lines/11/words/0" ] } } @@ -3696,152 +2190,174 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", - "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97, + "confidence": 0.973, "elements": [ - "#/readResults/0/lines/5/words/0", - "#/readResults/0/lines/5/words/1", - "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0", - "#/readResults/0/lines/7/words/1" + "#/readResults/0/lines/2/words/0", + "#/readResults/0/lines/2/words/1", + "#/readResults/0/lines/2/words/2", + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2" ] }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", - "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661, + "confidence": 0.973, "elements": [ - "#/readResults/0/lines/3/words/0", - "#/readResults/0/lines/3/words/1" + "#/readResults/0/lines/0/words/0" ] }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", - "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987, "elements": [ - "#/readResults/0/lines/8/words/0" + "#/readResults/0/lines/4/words/0" ] }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", - "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + "valueNumber": 11.7, + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983, + "confidence": 0.777, "elements": [ - "#/readResults/0/lines/34/words/1" + "#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1" ] }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", - "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + "valueNumber": 1.17, + "text": "$ 1.17", + "boundingBox": [ + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987, + "confidence": 0.985, "elements": [ - "#/readResults/0/lines/35/words/1" + "#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1" ] }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "page": 1, + "confidence": 0.958, + "elements": [ + "#/readResults/0/lines/19/words/0" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 ], "page": 1, - "confidence": 0.942, + "confidence": 0.987, "elements": [ - "#/readResults/0/lines/36/words/1" + "#/readResults/0/lines/5/words/0" ] }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], "page": 1, - "confidence": 0.981, + "confidence": 0.984, "elements": [ - "#/readResults/0/lines/37/words/1" + "#/readResults/0/lines/5/words/1" ] } } @@ -3867,224 +2383,67 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "page": 3, - "confidence": 0.487, - "elements": [ - "#/readResults/2/lines/14/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 100.99, - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "page": 3, - "confidence": 0.929, - "elements": [ - "#/readResults/2/lines/15/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 20, - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "page": 3, - "confidence": 0.277, - "elements": [ - "#/readResults/2/lines/17/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 140.67, - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 3, - "confidence": 0.929, - "elements": [ - "#/readResults/2/lines/18/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 40, - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "page": 3, - "confidence": 0.544, - "elements": [ - "#/readResults/2/lines/20/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 150.66, - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 3, - "confidence": 0.922, - "elements": [ - "#/readResults/2/lines/21/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], "page": 3, - "confidence": 0.395, + "confidence": 0.855, "elements": [ - "#/readResults/2/lines/23/words/0" + "#/readResults/2/lines/7/words/1", + "#/readResults/2/lines/7/words/2", + "#/readResults/2/lines/7/words/3" ] }, - "TotalPrice": { - "type": "number", - "valueNumber": 120, - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "page": 3, - "confidence": 0.958, - "elements": [ - "#/readResults/2/lines/24/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { + "Quantity": { "type": "number", - "valueNumber": 40, - "text": "40", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], "page": 3, - "confidence": 0.547, + "confidence": 0.961, "elements": [ - "#/readResults/2/lines/26/words/0" + "#/readResults/2/lines/7/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], "page": 3, - "confidence": 0.924, + "confidence": 0.935, "elements": [ - "#/readResults/2/lines/27/words/0" + "#/readResults/2/lines/10/words/0", + "#/readResults/2/lines/10/words/1" ] } } @@ -4092,89 +2451,65 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 60, - "text": "60", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], "page": 3, - "confidence": 0.396, + "confidence": 0.479, "elements": [ - "#/readResults/2/lines/29/words/0" + "#/readResults/2/lines/11/words/1" ] }, - "TotalPrice": { + "Quantity": { "type": "number", - "valueNumber": 120, - "text": "120.00", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], "page": 3, "confidence": 0.961, "elements": [ - "#/readResults/2/lines/30/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 80, - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 3, - "confidence": 0.966, - "elements": [ - "#/readResults/2/lines/32/words/0" + "#/readResults/2/lines/11/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 220, - "text": "220.00", + "valueNumber": 99.99, + "text": "$ 99.99", "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 ], "page": 3, - "confidence": 0.954, + "confidence": 0.935, "elements": [ - "#/readResults/2/lines/33/words/0" + "#/readResults/2/lines/12/words/0", + "#/readResults/2/lines/12/words/1" ] } } @@ -4183,131 +2518,174 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", - "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 + ], + "page": 3, + "confidence": 0.976, + "elements": [ + "#/readResults/2/lines/2/words/0", + "#/readResults/2/lines/2/words/1", + "#/readResults/2/lines/2/words/2", + "#/readResults/2/lines/3/words/0", + "#/readResults/2/lines/3/words/1", + "#/readResults/2/lines/3/words/2" + ] + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], "page": 3, - "confidence": 0.962, + "confidence": 0.974, "elements": [ - "#/readResults/2/lines/5/words/0", - "#/readResults/2/lines/5/words/1", - "#/readResults/2/lines/5/words/2", - "#/readResults/2/lines/7/words/0", - "#/readResults/2/lines/7/words/1" + "#/readResults/2/lines/1/words/0" ] }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], "page": 3, - "confidence": 0.987, + "confidence": 0.988, "elements": [ - "#/readResults/2/lines/8/words/0" + "#/readResults/2/lines/4/words/0" ] }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.989 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 3000, - "text": "3000.00", - "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 + "valueNumber": 1098.99, + "text": "$ 1098.99", + "boundingBox": [ + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], "page": 3, - "confidence": 0.982, + "confidence": 0.776, "elements": [ - "#/readResults/2/lines/34/words/1" + "#/readResults/2/lines/14/words/0", + "#/readResults/2/lines/14/words/1" ] }, "Tax": { "type": "number", - "valueNumber": 300, - "text": "300.00", - "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 + "valueNumber": 104.4, + "text": "$ 104.40", + "boundingBox": [ + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], "page": 3, - "confidence": 0.987, + "confidence": 0.986, "elements": [ - "#/readResults/2/lines/35/words/1" + "#/readResults/2/lines/16/words/0", + "#/readResults/2/lines/16/words/1" ] }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 1000, - "text": "1000.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", + "boundingBox": [ + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 + ], + "page": 3, + "confidence": 0.973, + "elements": [ + "#/readResults/2/lines/18/words/0", + "#/readResults/2/lines/18/words/1" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 ], "page": 3, - "confidence": 0.789, + "confidence": 0.987, "elements": [ - "#/readResults/2/lines/36/words/1" + "#/readResults/2/lines/5/words/0" ] }, - "Total": { - "type": "number", - "valueNumber": 4300, - "text": "4300.00", + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], "page": 3, - "confidence": 0.98, + "confidence": 0.986, "elements": [ - "#/readResults/2/lines/37/words/1" + "#/readResults/2/lines/5/words/1" ] } } @@ -4319,7 +2697,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "156614949" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPageAsync.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPageAsync.json index 2d88697eb7d2..c6bab6edf522 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPageAsync.json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsCanParseMultipageFormWithBlankPageAsync.json @@ -1,3453 +1,2076 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252962", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-d36dc7c343dac742906fe66ec28faa56-52cd704a9a9abe43-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-068ff6d3282b3a42ac6c9dc22019036b-09f0c1300108f346-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7b5c1b275047fce87c4a45aa5dce0d98", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "apim-request-id": "57290675-6ddc-4073-9d6f-7d3cf80896c9", "Content-Length": "0", - "Date": "Wed, 24 Mar 2021 21:49:16 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "Date": "Thu, 06 May 2021 18:32:19 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/57290675-6ddc-4073-9d6f-7d3cf80896c9", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "267" + "x-envoy-upstream-service-time": "105" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/57290675-6ddc-4073-9d6f-7d3cf80896c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e77295d8eda9d21d1ee7e18f16698e97", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ae74867a-a409-4cc5-aeda-76da81528a83", - "Content-Length": "109", + "apim-request-id": "56b4a736-bb2a-4537-82fb-b2b38c1525ad", + "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:16 GMT", + "Date": "Thu, 06 May 2021 18:32:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "14" + "x-envoy-upstream-service-time": "13" }, "ResponseBody": { - "status": "notStarted", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:16Z" + "status": "running", + "createdDateTime": "2021-05-06T18:32:19Z", + "lastUpdatedDateTime": "2021-05-06T18:32:20Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/57290675-6ddc-4073-9d6f-7d3cf80896c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4054b13d5560074084994921f9674be5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d2511148-62e2-461a-9ffc-912e6d021933", + "apim-request-id": "0b8b193b-8dd4-40f8-811f-2d7c6c611589", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:17 GMT", + "Date": "Thu, 06 May 2021 18:32:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:17Z" + "createdDateTime": "2021-05-06T18:32:19Z", + "lastUpdatedDateTime": "2021-05-06T18:32:20Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/57290675-6ddc-4073-9d6f-7d3cf80896c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "bdd22c03b43f3a1bfd895d5f6e58e512", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "75312e7a-4343-4da4-aa0f-64aca4905ef7", + "apim-request-id": "431abd91-759f-4914-abc3-ba9cdf7986a6", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:18 GMT", + "Date": "Thu, 06 May 2021 18:32:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "14" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:17Z" + "createdDateTime": "2021-05-06T18:32:19Z", + "lastUpdatedDateTime": "2021-05-06T18:32:20Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/57290675-6ddc-4073-9d6f-7d3cf80896c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ac6cadbccd7a8237546a630fa3fcd8b6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3bb2c816-b230-43a9-ae52-50c5e9842d13", + "apim-request-id": "e8a5c28b-9680-455f-b062-56faf3344bf5", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:19 GMT", + "Date": "Thu, 06 May 2021 18:32:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:17Z" + "createdDateTime": "2021-05-06T18:32:19Z", + "lastUpdatedDateTime": "2021-05-06T18:32:20Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/57290675-6ddc-4073-9d6f-7d3cf80896c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "ea8bfc9bd1978957951a42d7f8e1982b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9372c762-5b86-4984-a7d4-c22d7c2ec734", + "apim-request-id": "a9434781-2c62-47ee-ba35-0a91e659f416", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:20 GMT", + "Date": "Thu, 06 May 2021 18:32:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "17" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:17Z" + "createdDateTime": "2021-05-06T18:32:19Z", + "lastUpdatedDateTime": "2021-05-06T18:32:20Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/57290675-6ddc-4073-9d6f-7d3cf80896c9", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4c6537b49efa366bf44f68d4500b9601", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "90d78236-280f-4acf-a1d2-78d5bc0a9c11", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "14" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:17Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "72c3a6b0fbcdea7b55e3175f8a608a73", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d2ac1c94-acd8-4ee4-8b27-de266240bb0e", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:17Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e7c6bf09-5070-44bd-8d3e-f1ada21fd947", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210324.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "6c5b38d28c97fdbc9055f64769833889", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9ee2cd2c-9735-4c52-bdb9-652111c1c8ff", - "Content-Length": "33712", + "apim-request-id": "b20e04ea-4aa4-4b07-b1ef-f1deaf7bc12c", + "Content-Length": "22124", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 24 Mar 2021 21:49:24 GMT", + "Date": "Thu, 06 May 2021 18:32:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "29" + "x-envoy-upstream-service-time": "26" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-24T21:49:16Z", - "lastUpdatedDateTime": "2021-03-24T21:49:24Z", + "createdDateTime": "2021-05-06T18:32:19Z", + "lastUpdatedDateTime": "2021-05-06T18:32:25Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch", "lines": [ { - "text": "Company A Invoice", + "text": "Contoso", "boundingBox": [ - 0.8861, - 1.1217, - 2.3783, - 1.1217, - 2.3783, - 1.2812, - 0.8861, - 1.2812 + 1.9036, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8594, + 2.8912 ], "words": [ { - "text": "Company", - "boundingBox": [ - 0.8861, - 1.1232, - 1.6203, - 1.1232, - 1.6203, - 1.2812, - 0.8861, - 1.2812 - ], - "confidence": 1 - }, - { - "text": "A", - "boundingBox": [ - 1.6696, - 1.1242, - 1.7749, - 1.1242, - 1.7749, - 1.2473, - 1.6696, - 1.2473 - ], - "confidence": 1 - }, - { - "text": "Invoice", + "text": "Contoso", "boundingBox": [ - 1.8389, - 1.1217, - 2.3783, - 1.1217, - 2.3783, - 1.2485, - 1.8389, - 1.2485 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], - "confidence": 1 + "confidence": 0.755 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Invoice For:", + "text": "Contoso", "boundingBox": [ - 6.0211, - 1.0656, - 7.0357, - 1.0656, - 7.0357, - 1.2121, - 6.0211, - 1.2121 + 2.8776, + 2.5146, + 4.2611, + 2.3817, + 4.2943, + 2.6918, + 2.8997, + 2.8248 ], "words": [ { - "text": "Invoice", - "boundingBox": [ - 6.0211, - 1.0656, - 6.6362, - 1.0656, - 6.6362, - 1.2121, - 6.0211, - 1.2121 - ], - "confidence": 1 - }, - { - "text": "For:", + "text": "Contoso", "boundingBox": [ - 6.7147, - 1.0691, - 7.0357, - 1.0691, - 7.0357, - 1.2121, - 6.7147, - 1.2121 + 2.8776, + 2.5257, + 4.2057, + 2.3927, + 4.2279, + 2.7029, + 2.8997, + 2.8248 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Address:", + "text": "123 Main Street", "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 + 1.8815, + 3.0131, + 3.11, + 3.2679, + 3.0547, + 3.4894, + 1.8483, + 3.2457 ], "words": [ { - "text": "Address:", + "text": "123", + "boundingBox": [ + 1.8926, + 3.0242, + 2.125, + 3.0685, + 2.0918, + 3.3011, + 1.8483, + 3.2457 + ], + "confidence": 0.994 + }, + { + "text": "Main", + "boundingBox": [ + 2.1803, + 3.0796, + 2.5566, + 3.1682, + 2.5124, + 3.3897, + 2.1361, + 3.3122 + ], + "confidence": 0.994 + }, + { + "text": "Street", "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 + 2.6009, + 3.1793, + 3.099, + 3.29, + 3.0547, + 3.4894, + 2.5566, + 3.4008 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Bilbo Baggins", + "text": "Redmond, WA 98052", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.8594, + 3.3454, + 3.4863, + 3.5559, + 3.4531, + 3.7996, + 1.8372, + 3.6002 ], "words": [ { - "text": "Bilbo", + "text": "Redmond,", + "boundingBox": [ + 1.8704, + 3.3565, + 2.623, + 3.4783, + 2.6009, + 3.711, + 1.8372, + 3.5891 + ], + "confidence": 0.993 + }, + { + "text": "WA", "boundingBox": [ - 6.0164, - 1.4503, - 6.3392, - 1.4503, - 6.3392, - 1.5649, - 6.0164, - 1.5649 + 2.6673, + 3.4783, + 2.8997, + 3.5116, + 2.8776, + 3.7442, + 2.6452, + 3.7221 ], - "confidence": 1 + "confidence": 0.996 }, { - "text": "Baggins", + "text": "98052", "boundingBox": [ - 6.396, - 1.4556, - 6.8967, - 1.4556, - 6.8967, - 1.5931, - 6.396, - 1.5931 + 2.944, + 3.5227, + 3.4642, + 3.567, + 3.4531, + 3.7885, + 2.9329, + 3.7553 ], - "confidence": 1 + "confidence": 0.993 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "123 Hobbit Lane", + "text": "987-654-3210", "boundingBox": [ - 6.0165, - 1.6707, - 7.1006, - 1.6707, - 7.1006, - 1.7854, - 6.0165, - 1.7854 + 1.8151, + 3.9878999999999998, + 2.9661, + 4.143, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "words": [ { - "text": "123", - "boundingBox": [ - 6.0165, - 1.6772, - 6.2434, - 1.6772, - 6.2434, - 1.7854, - 6.0165, - 1.7854 - ], - "confidence": 1 - }, - { - "text": "Hobbit", - "boundingBox": [ - 6.3033, - 1.6707, - 6.7463, - 1.6707, - 6.7463, - 1.7854, - 6.3033, - 1.7854 - ], - "confidence": 1 - }, - { - "text": "Lane", + "text": "987-654-3210", "boundingBox": [ - 6.803, - 1.6782, - 7.1006, - 1.6782, - 7.1006, - 1.7854, - 6.803, - 1.7854 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], - "confidence": 1 + "confidence": 0.987 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "567 Main St.", + "text": "6/10/2019 13:59", "boundingBox": [ - 0.8852, - 1.846, - 1.713, - 1.846, - 1.713, - 1.9554, - 0.8852, - 1.9554 + 1.7708, + 4.6636, + 3.0547, + 4.7523, + 3.0326, + 5.0181, + 1.7598, + 4.9295 ], "words": [ { - "text": "567", - "boundingBox": [ - 0.8852, - 1.8472, - 1.1203, - 1.8472, - 1.1203, - 1.9554, - 0.8852, - 1.9554 - ], - "confidence": 1 - }, - { - "text": "Main", + "text": "6/10/2019", "boundingBox": [ - 1.1777, - 1.846, - 1.5022, - 1.846, - 1.5022, - 1.9554, - 1.1777, - 1.9554 + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 ], - "confidence": 1 + "confidence": 0.993 }, { - "text": "St.", + "text": "13:59", "boundingBox": [ - 1.5558, - 1.8472, - 1.713, - 1.8472, - 1.713, - 1.9554, - 1.5558, - 1.9554 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Redmond, WA", + "text": "Sales Associate: Paul", "boundingBox": [ - 6.0164, - 1.891, - 6.9793, - 1.891, - 6.9793, - 2.0275, - 6.0164, - 2.0275 + 1.7487, + 5.0292, + 3.597, + 5.1067, + 3.5859, + 5.3615, + 1.7376, + 5.284 ], "words": [ { - "text": "Redmond,", + "text": "Sales", "boundingBox": [ - 6.0164, - 1.891, - 6.6861, - 1.891, - 6.6861, - 2.0275, - 6.0164, - 2.0275 + 1.7708, + 5.0403, + 2.2135, + 5.0735, + 2.2025, + 5.3061, + 1.7487, + 5.2618 ], - "confidence": 1 + "confidence": 0.996 }, { - "text": "WA", + "text": "Associate:", + "boundingBox": [ + 2.2578, + 5.0735, + 3.1211, + 5.1067, + 3.11, + 5.3505, + 2.2467, + 5.3061 + ], + "confidence": 0.922 + }, + { + "text": "Paul", "boundingBox": [ - 6.7408, - 1.8982, - 6.9793, - 1.8982, - 6.9793, - 2.0044, - 6.7408, - 2.0044 + 3.1654, + 5.1067, + 3.6081, + 5.1067, + 3.597, + 5.3615, + 3.1543, + 5.3505 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Redmond, WA", + "text": "1 Cappuccino", "boundingBox": [ - 0.891, - 2.061, - 1.8537, - 2.061, - 1.8537, - 2.1975, - 0.891, - 2.1975 + 1.6934, + 5.7382, + 2.9993, + 5.7936, + 2.9883, + 6.0705, + 1.6823, + 6.0262 ], "words": [ { - "text": "Redmond,", + "text": "1", "boundingBox": [ - 0.891, - 2.061, - 1.5605, - 2.061, - 1.5605, - 2.1975, - 0.891, - 2.1975 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], - "confidence": 1 + "confidence": 0.995 }, { - "text": "WA", + "text": "Cappuccino", "boundingBox": [ - 1.6152, - 2.0682, - 1.8537, - 2.0682, - 1.8537, - 2.1744, - 1.6152, - 2.1744 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], - "confidence": 1 + "confidence": 0.705 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "555-555-5555", + "text": "$2.20", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 4.2943, + 5.7492, + 4.8034, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "words": [ { - "text": "555-555-5555", + "text": "$2.20", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "555-555-5555", + "text": "1 BACON \u0026 EGGS", "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 + 1.6491, + 6.4914, + 3.2318, + 6.5025, + 3.2318, + 6.7684, + 1.6491, + 6.7573 ], "words": [ { - "text": "555-555-5555", + "text": "1", + "boundingBox": [ + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "BACON", + "boundingBox": [ + 1.8704, + 6.5025, + 2.5013, + 6.5136, + 2.4902, + 6.7684, + 1.8704, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "\u0026", + "boundingBox": [ + 2.5456, + 6.5136, + 2.6784, + 6.5136, + 2.6673, + 6.7684, + 2.5456, + 6.7684 + ], + "confidence": 0.996 + }, + { + "text": "EGGS", "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 + 2.7337, + 6.5136, + 3.2318, + 6.5136, + 3.2318, + 6.7795, + 2.7227, + 6.7684 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Item", + "text": "Sunny-side-up", "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 + 1.9811, + 6.9124, + 3.2539, + 6.9124, + 3.2539, + 7.1893, + 1.9811, + 7.1782 ], "words": [ { - "text": "Item", + "text": "Sunny-side-up", "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 + 2.0033, + 6.9124, + 3.265, + 6.9235, + 3.2539, + 7.2004, + 2.0033, + 7.1893 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Quantity", + "text": "$9.5", "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 + 4.3717, + 6.8459, + 4.8145, + 6.8348, + 4.8145, + 7.1229, + 4.3717, + 7.1339 ], "words": [ { - "text": "Quantity", + "text": "$9.5", "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Price", + "text": "Sub-Total", "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 + 2.291, + 7.6878, + 3.2982, + 7.6657, + 3.3092, + 7.9426, + 2.291, + 7.9757999999999996 ], "words": [ { - "text": "Price", + "text": "Sub-Total", "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 + 2.3021, + 7.6878, + 3.3092, + 7.6657, + 3.3092, + 7.9537, + 2.3021, + 7.9869 ], - "confidence": 1 + "confidence": 0.892 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "A", + "text": "$ 11.70", "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9141, + 7.9537, + 4.2721, + 7.9648 ], "words": [ { - "text": "A", + "text": "$", + "boundingBox": [ + 4.2611, + 7.6546, + 4.3385, + 7.6546, + 4.3385, + 7.9648, + 4.2611, + 7.9648 + ], + "confidence": 0.994 + }, + { + "text": "11.70", "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 + 4.3939, + 7.6546, + 4.9141, + 7.6546, + 4.9251, + 7.9537, + 4.4049, + 7.9648 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "1", + "text": "Tax", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.7005, + 8.3746, + 2.3021, + 8.3857 ], "words": [ { - "text": "1", + "text": "Tax", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 2.3021, + 8.1088, + 2.6895, + 8.1088, + 2.6895, + 8.3857, + 2.3021, + 8.3857 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "10.99", + "text": "$ 1.17", "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 + 4.3828, + 8.0423, + 4.9362, + 8.0534, + 4.9251, + 8.3746, + 4.3717, + 8.3746 ], "words": [ { - "text": "10.99", + "text": "$", + "boundingBox": [ + 4.3717, + 8.0423, + 4.4492, + 8.0423, + 4.4492, + 8.3746, + 4.3717, + 8.3635 + ], + "confidence": 0.994 + }, + { + "text": "1.17", "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 + 4.5156, + 8.0423, + 4.9251, + 8.0423, + 4.9251, + 8.3746, + 4.5156, + 8.3746 ], - "confidence": 1 + "confidence": 0.992 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "B", + "text": "Tip", "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 + 2.2689, + 8.4965, + 2.612, + 8.5076, + 2.6009, + 8.8399, + 2.2689, + 8.8288 ], "words": [ { - "text": "B", + "text": "Tip", "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 + 2.2799, + 8.4965, + 2.6009, + 8.5076, + 2.5898, + 8.8399, + 2.2799, + 8.8288 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "2", + "text": "$ 11623", "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 + 4.084, + 8.4079, + 4.8809, + 8.4079, + 4.8698, + 8.7734, + 4.0729, + 8.7734 ], "words": [ { - "text": "2", + "text": "$", + "boundingBox": [ + 4.0729, + 8.4079, + 4.1615, + 8.4079, + 4.1615, + 8.7734, + 4.0729, + 8.7734 + ], + "confidence": 0.999 + }, + { + "text": "11623", "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 + 4.2389, + 8.4079, + 4.8477, + 8.4079, + 4.8477, + 8.7734, + 4.2389, + 8.7734 ], - "confidence": 1 + "confidence": 0.27 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.469 } } }, { - "text": "14.67", + "text": "Total", "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8223, + 9.2165, + 2.2799, + 9.2387 ], "words": [ { - "text": "14.67", + "text": "Total", "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 + 2.2799, + 8.9507, + 2.8223, + 8.9285, + 2.8333, + 9.2054, + 2.291, + 9.2276 ], - "confidence": 1 + "confidence": 0.979 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "C", + "text": "$14.50", "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 + 4.0951, + 8.8731, + 5.1576, + 8.9174, + 5.1465, + 9.2719, + 4.084, + 9.2276 ], "words": [ { - "text": "C", + "text": "$14.50", "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], - "confidence": 1 + "confidence": 0.351 } ], "appearance": { "style": { - "name": "other", - "confidence": 1 + "name": "handwriting", + "confidence": 0.772 } } - }, + } + ] + }, + { + "page": 2, + "angle": 0, + "width": 8.5, + "height": 11, + "unit": "inch" + }, + { + "page": 3, + "angle": 0.4374, + "width": 8.5, + "height": 11, + "unit": "inch", + "lines": [ { - "text": "4", + "text": "Contoso", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 2.8112, + 1.8499, + 4.1393, + 1.8278, + 4.1504, + 2.1601, + 2.8223, + 2.1934 ], "words": [ { - "text": "4", + "text": "Contoso", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 2.8223, + 1.8499, + 4.1283, + 1.8389, + 4.1393, + 2.1601, + 2.8333, + 2.2044 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "15.66", + "text": "Contoso", "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 + 1.959, + 2.7583, + 2.5234, + 2.7915, + 2.5124, + 2.9688, + 1.9479, + 2.9355 ], "words": [ { - "text": "15.66", + "text": "Contoso", "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], - "confidence": 1 + "confidence": 0.933 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "D", + "text": "123 Main Street", "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 + 1.959, + 3.0574, + 2.944, + 3.0796, + 2.944, + 3.2679, + 1.9479, + 3.2568 ], "words": [ { - "text": "D", + "text": "123", + "boundingBox": [ + 1.9701, + 3.0685, + 2.1361, + 3.0685, + 2.125, + 3.2679, + 1.959, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Main", + "boundingBox": [ + 2.1693, + 3.0796, + 2.4792, + 3.0796, + 2.4681, + 3.2679, + 2.1582, + 3.2679 + ], + "confidence": 0.994 + }, + { + "text": "Street", "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 + 2.5124, + 3.0796, + 2.9551, + 3.0906, + 2.944, + 3.279, + 2.5124, + 3.2679 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "1", + "text": "Redmond, WA 98052", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.9258, + 3.3786, + 3.265, + 3.3676, + 3.265, + 3.567, + 1.9258, + 3.578 ], "words": [ { - "text": "1", + "text": "Redmond,", + "boundingBox": [ + 1.9368, + 3.3786, + 2.5456, + 3.3897, + 2.5456, + 3.578, + 1.9368, + 3.578 + ], + "confidence": 0.94 + }, + { + "text": "WA", + "boundingBox": [ + 2.5898, + 3.3897, + 2.778, + 3.3897, + 2.7669, + 3.578, + 2.5788, + 3.578 + ], + "confidence": 0.997 + }, + { + "text": "98052", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 2.8223, + 3.3786, + 3.265, + 3.3786, + 3.2539, + 3.578, + 2.8112, + 3.578 ], - "confidence": 1 + "confidence": 0.993 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "12.00", + "text": "123-456-7890", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 1.8926, + 3.9878999999999998, + 2.8776, + 4.0101, + 2.8665, + 4.2205, + 1.8926, + 4.1873 ], "words": [ { - "text": "12.00", + "text": "123-456-7890", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], - "confidence": 1 + "confidence": 0.987 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "E", + "text": "6/10/2019 13:59", "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 + 1.8704, + 4.6526, + 2.8997, + 4.6526, + 2.8997, + 4.8741, + 1.8704, + 4.863 ], "words": [ { - "text": "E", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "confidence": 0.994 + }, + { + "text": "13:59", "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], - "confidence": 1 + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "4", + "text": "Sales Associate: Paul", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 4.996, + 3.3203, + 5.007, + 3.3203, + 5.2064, + 1.8704, + 5.1954 ], "words": [ { - "text": "4", + "text": "Sales", + "boundingBox": [ + 1.8926, + 4.996, + 2.2135, + 5.007, + 2.2135, + 5.2064, + 1.8815, + 5.1954 + ], + "confidence": 0.996 + }, + { + "text": "Associate:", + "boundingBox": [ + 2.2578, + 5.007, + 2.9329, + 5.007, + 2.9329, + 5.2064, + 2.2467, + 5.2064 + ], + "confidence": 0.979 + }, + { + "text": "Paul", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 2.9772, + 5.007, + 3.3314, + 5.007, + 3.3203, + 5.2064, + 2.9661, + 5.2064 ], - "confidence": 1 + "confidence": 0.991 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "10.00", + "text": "1 Surface Pro 6", "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 + 1.9811, + 5.6606, + 3.0436, + 5.6717, + 3.0436, + 5.8822, + 1.9701, + 5.8711 ], "words": [ { - "text": "10.00", + "text": "1", + "boundingBox": [ + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 + ], + "confidence": 0.994 + }, + { + "text": "Surface", + "boundingBox": [ + 2.0807, + 5.6606, + 2.612, + 5.6717, + 2.6009, + 5.8822, + 2.0697, + 5.8711 + ], + "confidence": 0.949 + }, + { + "text": "Pro", "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 + 2.6563, + 5.6717, + 2.8665, + 5.6717, + 2.8555, + 5.8822, + 2.6452, + 5.8822 ], - "confidence": 1 + "confidence": 0.979 + }, + { + "text": "6", + "boundingBox": [ + 2.8997, + 5.6717, + 3.0326, + 5.6828, + 3.0215, + 5.8822, + 2.8997, + 5.8822 + ], + "confidence": 0.996 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "F", + "text": "256GB/Intel Core i5 /", "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 + 2.0807, + 5.9929, + 3.5306, + 6.004, + 3.5306, + 6.2256, + 2.0807, + 6.2145 ], "words": [ { - "text": "F", + "text": "256GB/Intel", "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 + 2.0918, + 6.004, + 2.9329, + 6.004, + 2.9219, + 6.2256, + 2.0918, + 6.2145 + ], + "confidence": 0.795 + }, + { + "text": "Core", + "boundingBox": [ + 2.9661, + 6.004, + 3.2539, + 6.004, + 3.2428, + 6.2256, + 2.9661, + 6.2256 + ], + "confidence": 0.991 + }, + { + "text": "i5", + "boundingBox": [ + 3.2982, + 6.004, + 3.4089, + 6.004, + 3.3978, + 6.2256, + 3.2871, + 6.2256 + ], + "confidence": 0.966 + }, + { + "text": "/", + "boundingBox": [ + 3.4421, + 6.004, + 3.5306, + 6.004, + 3.5195, + 6.2256, + 3.431, + 6.2256 ], - "confidence": 1 + "confidence": 0.964 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "6", + "text": "8GB RAM (Black)", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 2.0807, + 6.3364, + 3.2096, + 6.3474, + 3.2096, + 6.569, + 2.0807, + 6.5468 ], "words": [ { - "text": "6", + "text": "8GB", + "boundingBox": [ + 2.0807, + 6.3474, + 2.3353, + 6.3474, + 2.3242, + 6.5579, + 2.0807, + 6.5468 + ], + "confidence": 0.994 + }, + { + "text": "RAM", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 2.3685, + 6.3474, + 2.6673, + 6.3474, + 2.6563, + 6.5579, + 2.3685, + 6.5579 ], - "confidence": 1 + "confidence": 0.997 + }, + { + "text": "(Black)", + "boundingBox": [ + 2.7005, + 6.3474, + 3.2096, + 6.3585, + 3.1986, + 6.569, + 2.7005, + 6.5579 + ], + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "12.00", + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 3.7962, + 6.3696, + 4.4271, + 6.3807, + 4.416, + 6.5801, + 3.7852, + 6.5801 ], "words": [ { - "text": "12.00", + "text": "$", + "boundingBox": [ + 3.7962, + 6.3696, + 3.8626, + 6.3696, + 3.8626, + 6.5801, + 3.7962, + 6.569 + ], + "confidence": 0.997 + }, + { + "text": "999.00", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 3.9069, + 6.3696, + 4.4049, + 6.3696, + 4.4049, + 6.5801, + 3.9069, + 6.5801 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "G", + "text": "1 SurfacePen", "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 + 1.9258, + 7.0453, + 2.8997, + 7.0342, + 2.8997, + 7.2447, + 1.9368, + 7.2558 ], "words": [ { - "text": "G", + "text": "1", + "boundingBox": [ + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 + ], + "confidence": 0.994 + }, + { + "text": "SurfacePen", "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "8", + "text": "$ 99.99", "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.3939, + 7.289, + 3.8737, + 7.289 ], "words": [ { - "text": "8", + "text": "$", + "boundingBox": [ + 3.8737, + 7.0675, + 3.9622, + 7.0675, + 3.9622, + 7.289, + 3.8737, + 7.289 + ], + "confidence": 0.994 + }, + { + "text": "99.99", "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 + 4.0065, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 4.0065, + 7.289 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "22.00", + "text": "Sub-Total", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 2.3796, + 7.721, + 3.0879, + 7.721, + 3.0879, + 7.9315, + 2.3796, + 7.9204 ], "words": [ { - "text": "22.00", + "text": "Sub-Total", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 2.3906, + 7.721, + 3.099, + 7.7321, + 3.0879, + 7.9315, + 2.3906, + 7.9315 ], - "confidence": 1 + "confidence": 0.994 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Subtotal: 300.00", + "text": "$ 1098.99", "boundingBox": [ - 5.5075, - 4.8981, - 6.632, - 4.8981, - 6.632, - 5.0131, - 5.5075, - 5.0131 + 3.752, + 7.7654, + 4.416, + 7.7543, + 4.416, + 7.9537, + 3.752, + 7.9869 ], "words": [ { - "text": "Subtotal:", + "text": "$", "boundingBox": [ - 5.5075, - 4.8981, - 6.1249, - 4.8981, - 6.1249, - 5.0131, - 5.5075, - 5.0131 + 3.752, + 7.7654, + 3.8184, + 7.7654, + 3.8184, + 7.9869, + 3.763, + 7.9869 ], - "confidence": 1 + "confidence": 0.997 }, { - "text": "300.00", + "text": "1098.99", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 3.8626, + 7.7654, + 4.4049, + 7.7543, + 4.416, + 7.9648, + 3.8626, + 7.9869 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Tax: 30.00", + "text": "Tax", "boundingBox": [ - 5.5034, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.5034, - 5.2333 + 2.7005, + 8.0644, + 2.9661, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 ], "words": [ { - "text": "Tax:", - "boundingBox": [ - 5.5034, - 5.1263, - 5.7812, - 5.1263, - 5.7812, - 5.2333, - 5.5034, - 5.2333 - ], - "confidence": 1 - }, - { - "text": "30.00", + "text": "Tax", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 2.7005, + 8.0644, + 2.9551, + 8.0755, + 2.9551, + 8.2528, + 2.6895, + 8.2417 ], - "confidence": 1 + "confidence": 0.997 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Tip: 100.00", + "text": "$ 104.40", "boundingBox": [ - 5.5034, - 5.3412, - 6.2587, - 5.3412, - 6.2587, - 5.481, - 5.5034, - 5.481 + 3.8073, + 8.0977, + 4.4049, + 8.0977, + 4.4049, + 8.3082, + 3.8073, + 8.3192 ], "words": [ { - "text": "Tip:", + "text": "$", "boundingBox": [ - 5.5034, - 5.3412, - 5.7515, - 5.3412, - 5.7515, - 5.481, - 5.5034, - 5.481 + 3.8073, + 8.0977, + 3.8737, + 8.0977, + 3.8737, + 8.3192, + 3.8073, + 8.3192 ], - "confidence": 1 + "confidence": 0.994 }, { - "text": "100.00", + "text": "104.40", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 3.918, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.918, + 8.3192 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Total: 430.00", + "text": "Total", "boundingBox": [ - 5.5034, - 5.5583, - 6.3987, - 5.5583, - 6.3987, - 5.6733, - 5.5034, - 5.6733 + 2.623, + 8.7734, + 2.9993, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 ], "words": [ { - "text": "Total:", - "boundingBox": [ - 5.5034, - 5.5583, - 5.8915, - 5.5583, - 5.8915, - 5.6733, - 5.5034, - 5.6733 - ], - "confidence": 1 - }, - { - "text": "430.00", + "text": "Total", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.623, + 8.7734, + 2.9883, + 8.7623, + 2.9993, + 8.9617, + 2.6341, + 8.9728 ], - "confidence": 1 + "confidence": 0.989 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } }, { - "text": "Signature: ____Bilbo Baggins__________", + "text": "$ 1203.39", "boundingBox": [ - 1.0055, - 6.6553, - 3.8342, - 6.6553, - 3.8342, - 6.7981, - 1.0055, - 6.7981 + 3.7188, + 8.7623, + 4.3828, + 8.8177, + 4.3717, + 9.0282, + 3.7077, + 8.9728 ], "words": [ { - "text": "Signature:", - "boundingBox": [ - 1.0055, - 6.6581, - 1.6987, - 6.6581, - 1.6987, - 6.7981, - 1.0055, - 6.7981 - ], - "confidence": 1 - }, - { - "text": "____Bilbo", + "text": "$", "boundingBox": [ - 1.747, - 6.6553, - 2.4278, - 6.6553, - 2.4278, - 6.7981, - 1.747, - 6.7981 + 3.7298, + 8.7623, + 3.7962, + 8.7734, + 3.7852, + 8.9839, + 3.7188, + 8.9839 ], - "confidence": 1 + "confidence": 0.994 }, { - "text": "Baggins__________", + "text": "1203.39", "boundingBox": [ - 2.4823, - 6.6581, - 3.8342, - 6.6581, - 3.8342, - 6.7981, - 2.4823, - 6.7981 + 3.8405, + 8.7734, + 4.3939, + 8.8288, + 4.3717, + 9.0393, + 3.8294, + 8.995 ], - "confidence": 1 + "confidence": 0.995 } ], "appearance": { "style": { "name": "other", - "confidence": 1 + "confidence": 0.878 } } } ] - }, - { - "page": 2, - "angle": 0, - "width": 8.5, - "height": 11, - "unit": "inch" - }, - { - "page": 3, - "angle": 0, - "width": 8.5, - "height": 11, - "unit": "inch", - "lines": [ - { - "text": "Company B Invoice", - "boundingBox": [ - 0.8861, - 1.1217, - 2.3734, - 1.1217, - 2.3734, - 1.2812, - 0.8861, - 1.2812 - ], - "words": [ - { - "text": "Company", - "boundingBox": [ - 0.8861, - 1.1232, - 1.6203, - 1.1232, - 1.6203, - 1.2812, - 0.8861, - 1.2812 - ], - "confidence": 1 - }, - { - "text": "B", - "boundingBox": [ - 1.6836, - 1.1248, - 1.764, - 1.1248, - 1.764, - 1.2469, - 1.6836, - 1.2469 - ], - "confidence": 1 - }, - { - "text": "Invoice", - "boundingBox": [ - 1.8336, - 1.1217, - 2.3734, - 1.1217, - 2.3734, - 1.2485, - 1.8336, - 1.2485 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Invoice For:", - "boundingBox": [ - 6.0211, - 1.0656, - 7.0357, - 1.0656, - 7.0357, - 1.2121, - 6.0211, - 1.2121 - ], - "words": [ - { - "text": "Invoice", - "boundingBox": [ - 6.0211, - 1.0656, - 6.6362, - 1.0656, - 6.6362, - 1.2121, - 6.0211, - 1.2121 - ], - "confidence": 1 - }, - { - "text": "For:", - "boundingBox": [ - 6.7147, - 1.0691, - 7.0357, - 1.0691, - 7.0357, - 1.2121, - 6.7147, - 1.2121 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Address:", - "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 - ], - "words": [ - { - "text": "Address:", - "boundingBox": [ - 0.8791, - 1.4825, - 1.5657, - 1.4825, - 1.5657, - 1.6155, - 0.8791, - 1.6155 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Frodo Baggins", - "boundingBox": [ - 6.0164, - 1.4506, - 6.9506, - 1.4506, - 6.9506, - 1.5931, - 6.0164, - 1.5931 - ], - "words": [ - { - "text": "Frodo", - "boundingBox": [ - 6.0164, - 1.4506, - 6.3895, - 1.4506, - 6.3895, - 1.5649, - 6.0164, - 1.5649 - ], - "confidence": 1 - }, - { - "text": "Baggins", - "boundingBox": [ - 6.45, - 1.4556, - 6.9506, - 1.4556, - 6.9506, - 1.5931, - 6.45, - 1.5931 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "123 Hobbit Lane", - "boundingBox": [ - 6.0165, - 1.6707, - 7.1006, - 1.6707, - 7.1006, - 1.7854, - 6.0165, - 1.7854 - ], - "words": [ - { - "text": "123", - "boundingBox": [ - 6.0165, - 1.6772, - 6.2434, - 1.6772, - 6.2434, - 1.7854, - 6.0165, - 1.7854 - ], - "confidence": 1 - }, - { - "text": "Hobbit", - "boundingBox": [ - 6.3033, - 1.6707, - 6.7463, - 1.6707, - 6.7463, - 1.7854, - 6.3033, - 1.7854 - ], - "confidence": 1 - }, - { - "text": "Lane", - "boundingBox": [ - 6.803, - 1.6782, - 7.1006, - 1.6782, - 7.1006, - 1.7854, - 6.803, - 1.7854 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "567 Main St.", - "boundingBox": [ - 0.8852, - 1.846, - 1.713, - 1.846, - 1.713, - 1.9554, - 0.8852, - 1.9554 - ], - "words": [ - { - "text": "567", - "boundingBox": [ - 0.8852, - 1.8472, - 1.1203, - 1.8472, - 1.1203, - 1.9554, - 0.8852, - 1.9554 - ], - "confidence": 1 - }, - { - "text": "Main", - "boundingBox": [ - 1.1777, - 1.846, - 1.5022, - 1.846, - 1.5022, - 1.9554, - 1.1777, - 1.9554 - ], - "confidence": 1 - }, - { - "text": "St.", - "boundingBox": [ - 1.5558, - 1.8472, - 1.713, - 1.8472, - 1.713, - 1.9554, - 1.5558, - 1.9554 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Redmond, WA", - "boundingBox": [ - 6.0164, - 1.891, - 6.9793, - 1.891, - 6.9793, - 2.0275, - 6.0164, - 2.0275 - ], - "words": [ - { - "text": "Redmond,", - "boundingBox": [ - 6.0164, - 1.891, - 6.6861, - 1.891, - 6.6861, - 2.0275, - 6.0164, - 2.0275 - ], - "confidence": 1 - }, - { - "text": "WA", - "boundingBox": [ - 6.7408, - 1.8982, - 6.9793, - 1.8982, - 6.9793, - 2.0044, - 6.7408, - 2.0044 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Redmond, WA", - "boundingBox": [ - 0.891, - 2.061, - 1.8537, - 2.061, - 1.8537, - 2.1975, - 0.891, - 2.1975 - ], - "words": [ - { - "text": "Redmond,", - "boundingBox": [ - 0.891, - 2.061, - 1.5605, - 2.061, - 1.5605, - 2.1975, - 0.891, - 2.1975 - ], - "confidence": 1 - }, - { - "text": "WA", - "boundingBox": [ - 1.6152, - 2.0682, - 1.8537, - 2.0682, - 1.8537, - 2.1744, - 1.6152, - 2.1744 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "555-555-5555", - "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 - ], - "words": [ - { - "text": "555-555-5555", - "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "555-555-5555", - "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 - ], - "words": [ - { - "text": "555-555-5555", - "boundingBox": [ - 0.8852, - 2.2887, - 1.8119, - 2.2887, - 1.8119, - 2.3954, - 0.8852, - 2.3954 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Item", - "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 - ], - "words": [ - { - "text": "Item", - "boundingBox": [ - 1.0943, - 3.0018, - 1.3842, - 3.0018, - 1.3842, - 3.109, - 1.0943, - 3.109 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Quantity", - "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 - ], - "words": [ - { - "text": "Quantity", - "boundingBox": [ - 3.2527, - 2.9996, - 3.8367, - 2.9996, - 3.8367, - 3.1371, - 3.2527, - 3.1371 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Price", - "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 - ], - "words": [ - { - "text": "Price", - "boundingBox": [ - 5.423, - 2.9996, - 5.7372, - 2.9996, - 5.7372, - 3.109, - 5.423, - 3.109 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "A", - "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 - ], - "words": [ - { - "text": "A", - "boundingBox": [ - 1.0832, - 3.2118, - 1.174, - 3.2118, - 1.174, - 3.318, - 1.0832, - 3.318 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "words": [ - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "words": [ - { - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "B", - "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 - ], - "words": [ - { - "text": "B", - "boundingBox": [ - 1.0943, - 3.4256, - 1.1637, - 3.4256, - 1.1637, - 3.531, - 1.0943, - 3.531 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "words": [ - { - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "words": [ - { - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "C", - "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 - ], - "words": [ - { - "text": "C", - "boundingBox": [ - 1.0882, - 3.6343, - 1.1647, - 3.6343, - 1.1647, - 3.7421, - 1.0882, - 3.7421 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "words": [ - { - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "words": [ - { - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "D", - "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 - ], - "words": [ - { - "text": "D", - "boundingBox": [ - 1.0943, - 3.8456, - 1.1753, - 3.8456, - 1.1753, - 3.951, - 1.0943, - 3.951 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 - ], - "words": [ - { - "text": "10", - "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "words": [ - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "E", - "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 - ], - "words": [ - { - "text": "E", - "boundingBox": [ - 1.0943, - 4.0561, - 1.153, - 4.0561, - 1.153, - 4.1614, - 1.0943, - 4.1614 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "40", - "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 - ], - "words": [ - { - "text": "40", - "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "100.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 - ], - "words": [ - { - "text": "100.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "F", - "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 - ], - "words": [ - { - "text": "F", - "boundingBox": [ - 1.0943, - 4.2661, - 1.1497, - 4.2661, - 1.1497, - 4.3717, - 1.0943, - 4.3717 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "60", - "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 - ], - "words": [ - { - "text": "60", - "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 - ], - "words": [ - { - "text": "120.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "G", - "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 - ], - "words": [ - { - "text": "G", - "boundingBox": [ - 1.0877, - 4.4746, - 1.1735, - 4.4746, - 1.1735, - 4.5827, - 1.0877, - 4.5827 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "words": [ - { - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "220.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 - ], - "words": [ - { - "text": "220.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Subtotal: 3000.00", - "boundingBox": [ - 5.5075, - 4.8981, - 6.7158, - 4.8981, - 6.7158, - 5.0131, - 5.5075, - 5.0131 - ], - "words": [ - { - "text": "Subtotal:", - "boundingBox": [ - 5.5075, - 4.8981, - 6.1249, - 4.8981, - 6.1249, - 5.0131, - 5.5075, - 5.0131 - ], - "confidence": 1 - }, - { - "text": "3000.00", - "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Tax: 300.00", - "boundingBox": [ - 5.5034, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.5034, - 5.2333 - ], - "words": [ - { - "text": "Tax:", - "boundingBox": [ - 5.5034, - 5.1263, - 5.7812, - 5.1263, - 5.7812, - 5.2333, - 5.5034, - 5.2333 - ], - "confidence": 1 - }, - { - "text": "300.00", - "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Tip: 1000.00", - "boundingBox": [ - 5.5034, - 5.3412, - 6.3422, - 5.3412, - 6.3422, - 5.481, - 5.5034, - 5.481 - ], - "words": [ - { - "text": "Tip:", - "boundingBox": [ - 5.5034, - 5.3412, - 5.7515, - 5.3412, - 5.7515, - 5.481, - 5.5034, - 5.481 - ], - "confidence": 1 - }, - { - "text": "1000.00", - "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Total: 4300.00", - "boundingBox": [ - 5.5034, - 5.5583, - 6.4825, - 5.5583, - 6.4825, - 5.6733, - 5.5034, - 5.6733 - ], - "words": [ - { - "text": "Total:", - "boundingBox": [ - 5.5034, - 5.5583, - 5.8915, - 5.5583, - 5.8915, - 5.6733, - 5.5034, - 5.6733 - ], - "confidence": 1 - }, - { - "text": "4300.00", - "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - }, - { - "text": "Signature: ____Frodo Baggins__________", - "boundingBox": [ - 1.0055, - 6.6556, - 3.8842, - 6.6556, - 3.8842, - 6.7981, - 1.0055, - 6.7981 - ], - "words": [ - { - "text": "Signature:", - "boundingBox": [ - 1.0055, - 6.6581, - 1.6987, - 6.6581, - 1.6987, - 6.7981, - 1.0055, - 6.7981 - ], - "confidence": 1 - }, - { - "text": "____Frodo", - "boundingBox": [ - 1.747, - 6.6556, - 2.4778, - 6.6556, - 2.4778, - 6.7981, - 1.747, - 6.7981 - ], - "confidence": 1 - }, - { - "text": "Baggins__________", - "boundingBox": [ - 2.5325, - 6.6581, - 3.8842, - 6.6581, - 3.8842, - 6.7981, - 2.5325, - 6.7981 - ], - "confidence": 1 - } - ], - "appearance": { - "style": { - "name": "other", - "confidence": 1 - } - } - } - ] - } - ], - "documentResults": [ + } + ], + "documentResults": [ { "docType": "prebuilt:receipt", "pageRange": [ @@ -3461,179 +2084,64 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", - "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 - ], - "page": 1, - "confidence": 0.971, - "elements": [ - "#/readResults/0/lines/14/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952, - "elements": [ - "#/readResults/0/lines/15/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", - "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 - ], - "page": 1, - "confidence": 0.971, - "elements": [ - "#/readResults/0/lines/17/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954, - "elements": [ - "#/readResults/0/lines/18/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971, + "confidence": 0.735, "elements": [ - "#/readResults/0/lines/20/words/0" + "#/readResults/0/lines/7/words/1" ] }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958, - "elements": [ - "#/readResults/0/lines/21/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971, + "confidence": 0.966, "elements": [ - "#/readResults/0/lines/23/words/0" + "#/readResults/0/lines/7/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957, + "confidence": 0.977, "elements": [ - "#/readResults/0/lines/24/words/0" + "#/readResults/0/lines/8/words/0" ] } } @@ -3641,134 +2149,66 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971, + "confidence": 0.903, "elements": [ - "#/readResults/0/lines/26/words/0" + "#/readResults/0/lines/9/words/1", + "#/readResults/0/lines/9/words/2", + "#/readResults/0/lines/9/words/3" ] }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961, - "elements": [ - "#/readResults/0/lines/27/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971, + "confidence": 0.966, "elements": [ - "#/readResults/0/lines/29/words/0" + "#/readResults/0/lines/9/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 - ], - "page": 1, - "confidence": 0.549, - "elements": [ - "#/readResults/0/lines/30/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.394, + "confidence": 0.917, "elements": [ - "#/readResults/0/lines/33/words/0" - ] - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 1, - "confidence": 0.97, - "elements": [ - "#/readResults/0/lines/32/words/0" + "#/readResults/0/lines/11/words/0" ] } } @@ -3777,152 +2217,174 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", - "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97, + "confidence": 0.973, "elements": [ - "#/readResults/0/lines/5/words/0", - "#/readResults/0/lines/5/words/1", - "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0", - "#/readResults/0/lines/7/words/1" + "#/readResults/0/lines/2/words/0", + "#/readResults/0/lines/2/words/1", + "#/readResults/0/lines/2/words/2", + "#/readResults/0/lines/3/words/0", + "#/readResults/0/lines/3/words/1", + "#/readResults/0/lines/3/words/2" ] }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", - "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661, + "confidence": 0.973, "elements": [ - "#/readResults/0/lines/3/words/0", - "#/readResults/0/lines/3/words/1" + "#/readResults/0/lines/0/words/0" ] }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", - "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987, "elements": [ - "#/readResults/0/lines/8/words/0" + "#/readResults/0/lines/4/words/0" ] }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", - "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + "valueNumber": 11.7, + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983, + "confidence": 0.777, "elements": [ - "#/readResults/0/lines/34/words/1" + "#/readResults/0/lines/13/words/0", + "#/readResults/0/lines/13/words/1" ] }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", - "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + "valueNumber": 1.17, + "text": "$ 1.17", + "boundingBox": [ + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987, + "confidence": 0.985, "elements": [ - "#/readResults/0/lines/35/words/1" + "#/readResults/0/lines/15/words/0", + "#/readResults/0/lines/15/words/1" ] }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "page": 1, + "confidence": 0.958, + "elements": [ + "#/readResults/0/lines/19/words/0" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 ], "page": 1, - "confidence": 0.942, + "confidence": 0.987, "elements": [ - "#/readResults/0/lines/36/words/1" + "#/readResults/0/lines/5/words/0" ] }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], "page": 1, - "confidence": 0.981, + "confidence": 0.984, "elements": [ - "#/readResults/0/lines/37/words/1" + "#/readResults/0/lines/5/words/1" ] } } @@ -3948,224 +2410,67 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "page": 3, - "confidence": 0.487, - "elements": [ - "#/readResults/2/lines/14/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 100.99, - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "page": 3, - "confidence": 0.929, - "elements": [ - "#/readResults/2/lines/15/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 20, - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "page": 3, - "confidence": 0.277, - "elements": [ - "#/readResults/2/lines/17/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 140.67, - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 3, - "confidence": 0.929, - "elements": [ - "#/readResults/2/lines/18/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 40, - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "page": 3, - "confidence": 0.544, - "elements": [ - "#/readResults/2/lines/20/words/0" - ] - }, - "TotalPrice": { - "type": "number", - "valueNumber": 150.66, - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 3, - "confidence": 0.922, - "elements": [ - "#/readResults/2/lines/21/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], "page": 3, - "confidence": 0.395, + "confidence": 0.855, "elements": [ - "#/readResults/2/lines/23/words/0" + "#/readResults/2/lines/7/words/1", + "#/readResults/2/lines/7/words/2", + "#/readResults/2/lines/7/words/3" ] }, - "TotalPrice": { - "type": "number", - "valueNumber": 120, - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "page": 3, - "confidence": 0.958, - "elements": [ - "#/readResults/2/lines/24/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { + "Quantity": { "type": "number", - "valueNumber": 40, - "text": "40", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], "page": 3, - "confidence": 0.547, + "confidence": 0.961, "elements": [ - "#/readResults/2/lines/26/words/0" + "#/readResults/2/lines/7/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], "page": 3, - "confidence": 0.924, + "confidence": 0.935, "elements": [ - "#/readResults/2/lines/27/words/0" + "#/readResults/2/lines/10/words/0", + "#/readResults/2/lines/10/words/1" ] } } @@ -4173,89 +2478,65 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 60, - "text": "60", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], "page": 3, - "confidence": 0.396, + "confidence": 0.479, "elements": [ - "#/readResults/2/lines/29/words/0" + "#/readResults/2/lines/11/words/1" ] }, - "TotalPrice": { + "Quantity": { "type": "number", - "valueNumber": 120, - "text": "120.00", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], "page": 3, "confidence": 0.961, "elements": [ - "#/readResults/2/lines/30/words/0" - ] - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 80, - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 3, - "confidence": 0.966, - "elements": [ - "#/readResults/2/lines/32/words/0" + "#/readResults/2/lines/11/words/0" ] }, "TotalPrice": { "type": "number", - "valueNumber": 220, - "text": "220.00", + "valueNumber": 99.99, + "text": "$ 99.99", "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 ], "page": 3, - "confidence": 0.954, + "confidence": 0.935, "elements": [ - "#/readResults/2/lines/33/words/0" + "#/readResults/2/lines/12/words/0", + "#/readResults/2/lines/12/words/1" ] } } @@ -4264,131 +2545,174 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", - "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 + ], + "page": 3, + "confidence": 0.976, + "elements": [ + "#/readResults/2/lines/2/words/0", + "#/readResults/2/lines/2/words/1", + "#/readResults/2/lines/2/words/2", + "#/readResults/2/lines/3/words/0", + "#/readResults/2/lines/3/words/1", + "#/readResults/2/lines/3/words/2" + ] + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], "page": 3, - "confidence": 0.962, + "confidence": 0.974, "elements": [ - "#/readResults/2/lines/5/words/0", - "#/readResults/2/lines/5/words/1", - "#/readResults/2/lines/5/words/2", - "#/readResults/2/lines/7/words/0", - "#/readResults/2/lines/7/words/1" + "#/readResults/2/lines/1/words/0" ] }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], "page": 3, - "confidence": 0.987, + "confidence": 0.988, "elements": [ - "#/readResults/2/lines/8/words/0" + "#/readResults/2/lines/4/words/0" ] }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.989 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 3000, - "text": "3000.00", - "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 + "valueNumber": 1098.99, + "text": "$ 1098.99", + "boundingBox": [ + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], "page": 3, - "confidence": 0.982, + "confidence": 0.776, "elements": [ - "#/readResults/2/lines/34/words/1" + "#/readResults/2/lines/14/words/0", + "#/readResults/2/lines/14/words/1" ] }, "Tax": { "type": "number", - "valueNumber": 300, - "text": "300.00", - "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 + "valueNumber": 104.4, + "text": "$ 104.40", + "boundingBox": [ + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], "page": 3, - "confidence": 0.987, + "confidence": 0.986, "elements": [ - "#/readResults/2/lines/35/words/1" + "#/readResults/2/lines/16/words/0", + "#/readResults/2/lines/16/words/1" ] }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 1000, - "text": "1000.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", + "boundingBox": [ + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 + ], + "page": 3, + "confidence": 0.973, + "elements": [ + "#/readResults/2/lines/18/words/0", + "#/readResults/2/lines/18/words/1" + ] + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 ], "page": 3, - "confidence": 0.789, + "confidence": 0.987, "elements": [ - "#/readResults/2/lines/36/words/1" + "#/readResults/2/lines/5/words/0" ] }, - "Total": { - "type": "number", - "valueNumber": 4300, - "text": "4300.00", + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], "page": 3, - "confidence": 0.98, + "confidence": 0.986, "elements": [ - "#/readResults/2/lines/37/words/1" + "#/readResults/2/lines/5/words/1" ] } } @@ -4400,7 +2724,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "769923017" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2).json index c61a7405d671..151fe1dbeba1 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2).json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2).json @@ -1,177 +1,150 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1%2C3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1%2C3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252962", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-519f1bae86a0074896682c700f82e9c5-4e196287a84bc74b-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-619f90be23eb3945bb78d1ac7f7e0c1d-9b362933a2347142-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "752c352d810208cc970ac41df5db0a2d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "e9775c46-a5fe-49b5-9a21-58520df3fadd", + "apim-request-id": "15e8b778-1c9c-4f64-a669-a4e3b72511c8", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:17:30 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e9775c46-a5fe-49b5-9a21-58520df3fadd", + "Date": "Thu, 06 May 2021 18:32:00 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/15e8b778-1c9c-4f64-a669-a4e3b72511c8", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "85" + "x-envoy-upstream-service-time": "93" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e9775c46-a5fe-49b5-9a21-58520df3fadd", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/15e8b778-1c9c-4f64-a669-a4e3b72511c8", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2d3d1af2aab1df4aaf10da5ad7479844", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5f46feed-2ff5-4f2d-94e4-641f86ccbef9", - "Content-Length": "109", + "apim-request-id": "4e4ec699-c023-4067-80dd-0976aa68dd07", + "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:31 GMT", + "Date": "Thu, 06 May 2021 18:32:00 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" + "x-envoy-upstream-service-time": "14" }, "ResponseBody": { - "status": "notStarted", - "createdDateTime": "2021-03-29T17:17:31Z", - "lastUpdatedDateTime": "2021-03-29T17:17:31Z" + "status": "running", + "createdDateTime": "2021-05-06T18:32:00Z", + "lastUpdatedDateTime": "2021-05-06T18:32:00Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e9775c46-a5fe-49b5-9a21-58520df3fadd", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/15e8b778-1c9c-4f64-a669-a4e3b72511c8", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6feba71629569406ff5a2d9e5b6570b0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ea22a91c-49cb-42fd-9d8a-708880a6a93d", + "apim-request-id": "bcb055f2-1fbe-477f-9171-b37c75d37459", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:32 GMT", + "Date": "Thu, 06 May 2021 18:32:01 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:31Z", - "lastUpdatedDateTime": "2021-03-29T17:17:31Z" + "createdDateTime": "2021-05-06T18:32:00Z", + "lastUpdatedDateTime": "2021-05-06T18:32:00Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e9775c46-a5fe-49b5-9a21-58520df3fadd", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/15e8b778-1c9c-4f64-a669-a4e3b72511c8", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e2f87e3397f782abea4dc5f1a671304f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a322cd2b-91c3-4355-9faa-63c1092ec809", + "apim-request-id": "ba3b170f-c474-465e-95fb-2826668a2021", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:33 GMT", + "Date": "Thu, 06 May 2021 18:32:02 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:31Z", - "lastUpdatedDateTime": "2021-03-29T17:17:31Z" + "createdDateTime": "2021-05-06T18:32:00Z", + "lastUpdatedDateTime": "2021-05-06T18:32:00Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e9775c46-a5fe-49b5-9a21-58520df3fadd", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/15e8b778-1c9c-4f64-a669-a4e3b72511c8", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4e077f719af0c9d713a82d567dac834a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1d2dfa3b-14db-429b-a00e-5644767ccd21", - "Content-Length": "106", + "apim-request-id": "4622809a-d2cd-4e96-ab7f-453f0f897411", + "Content-Length": "5625", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:34 GMT", + "Date": "Thu, 06 May 2021 18:32:03 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:31Z", - "lastUpdatedDateTime": "2021-03-29T17:17:31Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/e9775c46-a5fe-49b5-9a21-58520df3fadd", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "58262aa0b54e7e4cfb6884096315ee8d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2c43d6a8-51ff-42d9-9cd9-81bada5ce59e", - "Content-Length": "7863", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" + "x-envoy-upstream-service-time": "21" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:17:31Z", - "lastUpdatedDateTime": "2021-03-29T17:17:35Z", + "createdDateTime": "2021-05-06T18:32:00Z", + "lastUpdatedDateTime": "2021-05-06T18:32:04Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" }, { "page": 3, - "angle": 0, + "angle": 0.4374, "width": 8.5, "height": 11, "unit": "inch" @@ -191,273 +164,112 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", - "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", - "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 - ], - "page": 1, - "confidence": 0.549 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.394 - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 1, - "confidence": 0.97 + "confidence": 0.917 } } } @@ -465,51 +277,51 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97 + "confidence": 0.973 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661 + "confidence": 0.973 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987 @@ -517,75 +329,92 @@ "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 11.7, + "text": "$ 11.70", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983 + "confidence": 0.777 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 1.17, + "text": "$ 1.17", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987 + "confidence": 0.985 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], "page": 1, - "confidence": 0.942 + "confidence": 0.958 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], "page": 1, - "confidence": 0.981 + "confidence": 0.984 } } }, @@ -602,273 +431,112 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], "page": 3, - "confidence": 0.487 + "confidence": 0.855 }, - "TotalPrice": { - "type": "number", - "valueNumber": 100.99, - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 20, - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "page": 3, - "confidence": 0.277 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 140.67, - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 40, - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "page": 3, - "confidence": 0.544 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 150.66, - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 3, - "confidence": 0.922 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", - "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 - ], - "page": 3, - "confidence": 0.395 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 120, - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "page": 3, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { + "Quantity": { "type": "number", - "valueNumber": 40, - "text": "40", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], "page": 3, - "confidence": 0.547 + "confidence": 0.961 }, "TotalPrice": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], "page": 3, - "confidence": 0.924 + "confidence": 0.935 } } }, { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 60, - "text": "60", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], "page": 3, - "confidence": 0.396 + "confidence": 0.479 }, - "TotalPrice": { + "Quantity": { "type": "number", - "valueNumber": 120, - "text": "120.00", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], "page": 3, "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 80, - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 3, - "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 220, - "text": "220.00", + "valueNumber": 99.99, + "text": "$ 99.99", "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 ], "page": 3, - "confidence": 0.954 + "confidence": 0.935 } } } @@ -876,110 +544,143 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 + ], + "page": 3, + "confidence": 0.976 + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], "page": 3, - "confidence": 0.962 + "confidence": 0.974 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], "page": 3, - "confidence": 0.987 + "confidence": 0.988 }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.989 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 3000, - "text": "3000.00", + "valueNumber": 1098.99, + "text": "$ 1098.99", "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], "page": 3, - "confidence": 0.982 + "confidence": 0.776 }, "Tax": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 104.4, + "text": "$ 104.40", "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], "page": 3, - "confidence": 0.987 + "confidence": 0.986 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 1000, - "text": "1000.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 ], "page": 3, - "confidence": 0.789 + "confidence": 0.973 }, - "Total": { - "type": "number", - "valueNumber": 4300, - "text": "4300.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "page": 3, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], "page": 3, - "confidence": 0.98 + "confidence": 0.986 } } } @@ -990,7 +691,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "1516201228" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2)Async.json index 8e4ace31c650..1bb7a5c828b0 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2)Async.json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1%,%3%,2)Async.json @@ -1,366 +1,177 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1%2C3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1%2C3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252962", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c0c98a18fde85746b28687aaa335686a-779cdf82bec91c4b-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-5b4a9b6e31c7534782442def2886bc98-af764afa0edcdd46-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5b1e37bb8841ca97a4b01ce68f1f0f92", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "393e8bc8-e0d3-4f84-bbad-3d6e489a2383", + "apim-request-id": "55c3b4aa-5c79-430c-b422-21437059c8d1", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:17:42 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", + "Date": "Thu, 06 May 2021 18:32:31 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55c3b4aa-5c79-430c-b422-21437059c8d1", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "259" + "x-envoy-upstream-service-time": "130" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55c3b4aa-5c79-430c-b422-21437059c8d1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4c4a8d50fe1dc607c09a8bff3275eaec", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4978476d-65a5-4e14-b234-2814a41d170d", + "apim-request-id": "62812c56-b944-4adc-a898-c68cd4074b33", "Content-Length": "109", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:42 GMT", + "Date": "Thu, 06 May 2021 18:32:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "16" }, "ResponseBody": { "status": "notStarted", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" + "createdDateTime": "2021-05-06T18:32:31Z", + "lastUpdatedDateTime": "2021-05-06T18:32:31Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55c3b4aa-5c79-430c-b422-21437059c8d1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f9ebcfb7a631183fe86cc6244cfedae8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "09f6807f-45a9-4c1c-9414-3aed056cfce6", + "apim-request-id": "dc6055a2-5bd0-4b5a-9b69-c349d89c95f3", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:43 GMT", + "Date": "Thu, 06 May 2021 18:32:32 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" + "createdDateTime": "2021-05-06T18:32:31Z", + "lastUpdatedDateTime": "2021-05-06T18:32:31Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55c3b4aa-5c79-430c-b422-21437059c8d1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "d28d53ef8146bc992f589aa7fd97972e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "27f17923-5175-4be9-99a2-7c859d77d8f2", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c02f30c61533aa614e3263b038e379c1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "251d81c9-cafe-49bd-8998-4d3c387bf50b", + "apim-request-id": "ff09a6e4-3070-4e0c-b859-40770bbd3e34", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "de10a2bf17e835a5352fc9d80b971a51", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b1d727c3-011d-4896-a0d7-9bf27f3ebccd", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:47 GMT", + "Date": "Thu, 06 May 2021 18:32:33 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" + "createdDateTime": "2021-05-06T18:32:31Z", + "lastUpdatedDateTime": "2021-05-06T18:32:31Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55c3b4aa-5c79-430c-b422-21437059c8d1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1c5e97d41acfdab5f2e383141ee8844c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f2ba8e24-f441-4b89-8614-d042d7cfddec", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "5be7d9dfb987ae468afa8a044b899eb6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "64b11381-0ed6-4de6-bd1b-0f6ac93391f3", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "a0db11175d84a5f2ed35ec049390174d", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "c02f30c61533aa614e3263b038e379c1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0c98df7c-009d-4a1d-90c0-76b38a99e98f", + "apim-request-id": "eedd1089-7cfd-47c4-9c6e-6a0d49b35849", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:51 GMT", + "Date": "Thu, 06 May 2021 18:32:34 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" + "createdDateTime": "2021-05-06T18:32:31Z", + "lastUpdatedDateTime": "2021-05-06T18:32:31Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55c3b4aa-5c79-430c-b422-21437059c8d1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "32f97daabfaf1bca51af91d58fb18e68", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c63de01f-29bf-4691-bdb1-c7cdebabae0e", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "19" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "0cfccd44e30c81c7e6426d51cc421afa", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "42284639-e004-4e95-abeb-26856e2e849c", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "ce593ce26c90580747c04fd5cc1d153c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b92a6dc9-cdc7-48a5-914f-7bc39af492b2", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:43Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/393e8bc8-e0d3-4f84-bbad-3d6e489a2383", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "c6bf83a70a94c640b5774b6d51794f0f", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "de10a2bf17e835a5352fc9d80b971a51", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "512c328a-1e35-4e44-bf0d-bcc0bfcd3df5", - "Content-Length": "7863", + "apim-request-id": "ee692e5c-99c5-4bcf-8e42-4be1f70647f4", + "Content-Length": "5625", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:55 GMT", + "Date": "Thu, 06 May 2021 18:32:35 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "24" + "x-envoy-upstream-service-time": "21" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:17:43Z", - "lastUpdatedDateTime": "2021-03-29T17:17:55Z", + "createdDateTime": "2021-05-06T18:32:31Z", + "lastUpdatedDateTime": "2021-05-06T18:32:34Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" }, { "page": 3, - "angle": 0, + "angle": 0.4374, "width": 8.5, "height": 11, "unit": "inch" @@ -380,273 +191,112 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", - "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", - "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.549 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 - ], - "page": 1, - "confidence": 0.394 - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 1, - "confidence": 0.97 + "confidence": 0.917 } } } @@ -654,51 +304,51 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97 + "confidence": 0.973 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661 + "confidence": 0.973 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987 @@ -706,75 +356,92 @@ "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 11.7, + "text": "$ 11.70", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983 + "confidence": 0.777 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 1.17, + "text": "$ 1.17", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987 + "confidence": 0.985 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], "page": 1, - "confidence": 0.942 + "confidence": 0.958 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 ], "page": 1, - "confidence": 0.981 + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 + ], + "page": 1, + "confidence": 0.984 } } }, @@ -791,273 +458,112 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "page": 3, - "confidence": 0.487 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 100.99, - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 20, - "text": "20", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], "page": 3, - "confidence": 0.277 + "confidence": 0.855 }, - "TotalPrice": { - "type": "number", - "valueNumber": 140.67, - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 40, - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "page": 3, - "confidence": 0.544 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 150.66, - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 3, - "confidence": 0.922 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", - "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 - ], - "page": 3, - "confidence": 0.395 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 120, - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "page": 3, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { + "Quantity": { "type": "number", - "valueNumber": 40, - "text": "40", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], "page": 3, - "confidence": 0.547 + "confidence": 0.961 }, "TotalPrice": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], "page": 3, - "confidence": 0.924 + "confidence": 0.935 } } }, { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 60, - "text": "60", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], "page": 3, - "confidence": 0.396 + "confidence": 0.479 }, - "TotalPrice": { + "Quantity": { "type": "number", - "valueNumber": 120, - "text": "120.00", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], "page": 3, "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 80, - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 3, - "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 220, - "text": "220.00", + "valueNumber": 99.99, + "text": "$ 99.99", "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 ], "page": 3, - "confidence": 0.954 + "confidence": 0.935 } } } @@ -1065,110 +571,143 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 + ], + "page": 3, + "confidence": 0.976 + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], "page": 3, - "confidence": 0.962 + "confidence": 0.974 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], "page": 3, - "confidence": 0.987 + "confidence": 0.988 }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.989 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 3000, - "text": "3000.00", + "valueNumber": 1098.99, + "text": "$ 1098.99", "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], "page": 3, - "confidence": 0.982 + "confidence": 0.776 }, "Tax": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 104.4, + "text": "$ 104.40", "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], "page": 3, - "confidence": 0.987 + "confidence": 0.986 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 1000, - "text": "1000.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 ], "page": 3, - "confidence": 0.789 + "confidence": 0.973 }, - "Total": { - "type": "number", - "valueNumber": 4300, - "text": "4300.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "page": 3, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], "page": 3, - "confidence": 0.98 + "confidence": 0.986 } } } @@ -1179,7 +718,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "460305275" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3).json index d1f9aa2da688..4a2c26d1cf84 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3).json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3).json @@ -1,197 +1,170 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2%2C3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2%2C3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252962", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-7b9a2a81b04bb94d8290842c3ac3f57e-145e516d00792242-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6ffcda0d38c62f4d8f5f46d4c721a9fb-588cc6a69b57b44e-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "7b4768b91e83282f4c0503118f6d91d2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", + "apim-request-id": "6f01452f-c9b9-4c39-9b98-3591d71bb9dc", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:17:36 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", + "Date": "Thu, 06 May 2021 18:32:03 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6f01452f-c9b9-4c39-9b98-3591d71bb9dc", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "83" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6f01452f-c9b9-4c39-9b98-3591d71bb9dc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c69132282043549a87b585572317ed4f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f4a5a239-365e-48cd-aa15-1dbdfd408735", + "apim-request-id": "b37f9da3-ddfb-49bf-9383-7906f8ef6a4f", "Content-Length": "109", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:36 GMT", + "Date": "Thu, 06 May 2021 18:32:03 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "14" }, "ResponseBody": { "status": "notStarted", - "createdDateTime": "2021-03-29T17:17:37Z", - "lastUpdatedDateTime": "2021-03-29T17:17:37Z" + "createdDateTime": "2021-05-06T18:32:04Z", + "lastUpdatedDateTime": "2021-05-06T18:32:04Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6f01452f-c9b9-4c39-9b98-3591d71bb9dc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "94e79698eed4f0b6d53ae4193151c03f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "26d2e1b4-249b-4939-ba48-f92e0ee93776", + "apim-request-id": "8d199b4c-fff5-43ac-a3db-72c2164b2195", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:37 GMT", + "Date": "Thu, 06 May 2021 18:32:05 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "12" + "x-envoy-upstream-service-time": "18" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:37Z", - "lastUpdatedDateTime": "2021-03-29T17:17:37Z" + "createdDateTime": "2021-05-06T18:32:04Z", + "lastUpdatedDateTime": "2021-05-06T18:32:04Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6f01452f-c9b9-4c39-9b98-3591d71bb9dc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2f06e8b3b3659953cef2f3ce99d80435", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3ae1843b-4a90-4240-aba7-eff4d325500d", + "apim-request-id": "c060f664-defb-49a7-b3d6-2e3d596a2f95", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:38 GMT", + "Date": "Thu, 06 May 2021 18:32:06 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:37Z", - "lastUpdatedDateTime": "2021-03-29T17:17:37Z" + "createdDateTime": "2021-05-06T18:32:04Z", + "lastUpdatedDateTime": "2021-05-06T18:32:04Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6f01452f-c9b9-4c39-9b98-3591d71bb9dc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f879b318fd8539fd7ba1f1093b812336", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "de3d59e2-a5f9-4d89-bb8c-797c2dc97a57", + "apim-request-id": "77b70f9c-7085-429b-8f75-709b8af145f4", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:39 GMT", + "Date": "Thu, 06 May 2021 18:32:07 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "34" + "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:37Z", - "lastUpdatedDateTime": "2021-03-29T17:17:37Z" + "createdDateTime": "2021-05-06T18:32:04Z", + "lastUpdatedDateTime": "2021-05-06T18:32:04Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6f01452f-c9b9-4c39-9b98-3591d71bb9dc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "3ba446f4bd10e4ea424ec6e2fbe857fd", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "722066f5-25ac-41f9-9c85-c1a3213be237", - "Content-Length": "106", + "apim-request-id": "fca164cf-fdf8-4810-9225-89657018362b", + "Content-Length": "5745", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:40 GMT", + "Date": "Thu, 06 May 2021 18:32:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:37Z", - "lastUpdatedDateTime": "2021-03-29T17:17:37Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/9d9fbd0d-e382-4d23-aa3e-1208e03b2d4d", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "7d00af35c8d7b5baeaccb3c3c24a5d4c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1483d556-26f8-411d-8d41-991607001a09", - "Content-Length": "7983", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "20" + "x-envoy-upstream-service-time": "18" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:17:37Z", - "lastUpdatedDateTime": "2021-03-29T17:17:42Z", + "createdDateTime": "2021-05-06T18:32:04Z", + "lastUpdatedDateTime": "2021-05-06T18:32:08Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" @@ -205,7 +178,7 @@ }, { "page": 3, - "angle": 0, + "angle": 0.4374, "width": 8.5, "height": 11, "unit": "inch" @@ -225,273 +198,112 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", - "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", - "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 - ], - "page": 1, - "confidence": 0.549 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.394 - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 1, - "confidence": 0.97 + "confidence": 0.917 } } } @@ -499,51 +311,51 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97 + "confidence": 0.973 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661 + "confidence": 0.973 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987 @@ -551,75 +363,92 @@ "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 11.7, + "text": "$ 11.70", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983 + "confidence": 0.777 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 1.17, + "text": "$ 1.17", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987 + "confidence": 0.985 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], "page": 1, - "confidence": 0.942 + "confidence": 0.958 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], "page": 1, - "confidence": 0.981 + "confidence": 0.984 } } }, @@ -644,273 +473,112 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "page": 3, - "confidence": 0.487 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 100.99, - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 20, - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "page": 3, - "confidence": 0.277 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 140.67, - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 40, - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "page": 3, - "confidence": 0.544 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 150.66, - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 3, - "confidence": 0.922 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], "page": 3, - "confidence": 0.395 + "confidence": 0.855 }, - "TotalPrice": { - "type": "number", - "valueNumber": 120, - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "page": 3, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { + "Quantity": { "type": "number", - "valueNumber": 40, - "text": "40", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], "page": 3, - "confidence": 0.547 + "confidence": 0.961 }, "TotalPrice": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], "page": 3, - "confidence": 0.924 + "confidence": 0.935 } } }, { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 60, - "text": "60", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], "page": 3, - "confidence": 0.396 + "confidence": 0.479 }, - "TotalPrice": { + "Quantity": { "type": "number", - "valueNumber": 120, - "text": "120.00", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], "page": 3, "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 80, - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 3, - "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 220, - "text": "220.00", + "valueNumber": 99.99, + "text": "$ 99.99", "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 ], "page": 3, - "confidence": 0.954 + "confidence": 0.935 } } } @@ -918,110 +586,143 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 + ], + "page": 3, + "confidence": 0.976 + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], "page": 3, - "confidence": 0.962 + "confidence": 0.974 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], "page": 3, - "confidence": 0.987 + "confidence": 0.988 }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.989 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 3000, - "text": "3000.00", + "valueNumber": 1098.99, + "text": "$ 1098.99", "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], "page": 3, - "confidence": 0.982 + "confidence": 0.776 }, "Tax": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 104.4, + "text": "$ 104.40", "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], "page": 3, - "confidence": 0.987 + "confidence": 0.986 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 1000, - "text": "1000.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 ], "page": 3, - "confidence": 0.789 + "confidence": 0.973 }, - "Total": { - "type": "number", - "valueNumber": 4300, - "text": "4300.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "page": 3, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], "page": 3, - "confidence": 0.98 + "confidence": 0.986 } } } @@ -1032,7 +733,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "52759834" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3)Async.json index 3985c4121986..e007de86d703 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3)Async.json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithMultiplePageArgument(%1-2%,%3%,3)Async.json @@ -1,224 +1,170 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2%2C3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2%2C3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252962", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a8d9cb6a77778145bf0f4782b4b29433-30272f7e1bffb54b-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-49633650591bff4ca683b4b8c8c5ec2f-27f9ae9089cfc74d-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e0268b159679714ee9441e65a72544c5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "48cea62c-332f-42f3-8c42-ca335bd511ce", + "apim-request-id": "42e7a2b0-c483-45a5-9fe6-8f6d4a343625", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:17:56 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", + "Date": "Thu, 06 May 2021 18:32:35 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/42e7a2b0-c483-45a5-9fe6-8f6d4a343625", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "127" + "x-envoy-upstream-service-time": "118" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/42e7a2b0-c483-45a5-9fe6-8f6d4a343625", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "735b18bee49867fa004f439b88bbc5cf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ca8ab337-af96-4ae2-9af5-454fe68f7d9e", - "Content-Length": "109", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "status": "notStarted", - "createdDateTime": "2021-03-29T17:17:56Z", - "lastUpdatedDateTime": "2021-03-29T17:17:56Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "786046fb85cd0a54583dfb6c6cc9a014", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6d9de034-13ea-46ae-95bf-f03fda85a3c4", + "apim-request-id": "a2aa01e6-c84d-48f5-b1ee-37f3cdcff637", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:57 GMT", + "Date": "Thu, 06 May 2021 18:32:35 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" + "x-envoy-upstream-service-time": "15" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:56Z", - "lastUpdatedDateTime": "2021-03-29T17:17:56Z" + "createdDateTime": "2021-05-06T18:32:36Z", + "lastUpdatedDateTime": "2021-05-06T18:32:36Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/42e7a2b0-c483-45a5-9fe6-8f6d4a343625", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "868e10eda5fd306b91bedf2a53b3e92e", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "786046fb85cd0a54583dfb6c6cc9a014", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d9051d40-81d0-44d9-8d60-6346b0f7ed38", + "apim-request-id": "331fd6de-a80b-4c32-bd07-be31b14b4aa6", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:58 GMT", + "Date": "Thu, 06 May 2021 18:32:36 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "11" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:56Z", - "lastUpdatedDateTime": "2021-03-29T17:17:56Z" + "createdDateTime": "2021-05-06T18:32:36Z", + "lastUpdatedDateTime": "2021-05-06T18:32:36Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/42e7a2b0-c483-45a5-9fe6-8f6d4a343625", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "61694e7eccc439f7c4511a5be88efb36", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "868e10eda5fd306b91bedf2a53b3e92e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a00fabd7-c5fd-4385-b333-8fd6f7a1275b", + "apim-request-id": "3fe0d9cc-3ddd-43a2-aa9f-77fd1b26a3ff", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:59 GMT", + "Date": "Thu, 06 May 2021 18:32:37 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:56Z", - "lastUpdatedDateTime": "2021-03-29T17:17:56Z" - } - }, - { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "77ad2eae3f2c55d2db30e70fa529b7a5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "afcb3828-6eb1-4f4e-a52a-5781edc65357", - "Content-Length": "106", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:18:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:17:56Z", - "lastUpdatedDateTime": "2021-03-29T17:17:56Z" + "createdDateTime": "2021-05-06T18:32:36Z", + "lastUpdatedDateTime": "2021-05-06T18:32:36Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/42e7a2b0-c483-45a5-9fe6-8f6d4a343625", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "1dedcd543f60214f1955c2ab8b0f4702", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "61694e7eccc439f7c4511a5be88efb36", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c21bfabd-6111-4f9f-8cf3-3e29a965c42b", + "apim-request-id": "b4812e2f-29be-448a-841f-55341f075e1d", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:18:01 GMT", + "Date": "Thu, 06 May 2021 18:32:39 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:56Z", - "lastUpdatedDateTime": "2021-03-29T17:17:56Z" + "createdDateTime": "2021-05-06T18:32:36Z", + "lastUpdatedDateTime": "2021-05-06T18:32:36Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/48cea62c-332f-42f3-8c42-ca335bd511ce", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/42e7a2b0-c483-45a5-9fe6-8f6d4a343625", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", - "x-ms-client-request-id": "247ca9c371063f017c148594e5e8949a", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "77ad2eae3f2c55d2db30e70fa529b7a5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6b5011b7-0445-4963-86b9-305162352ba3", - "Content-Length": "7983", + "apim-request-id": "91c56713-7089-4022-b054-9230e7b603ae", + "Content-Length": "5745", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:18:03 GMT", + "Date": "Thu, 06 May 2021 18:32:40 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "21" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:17:56Z", - "lastUpdatedDateTime": "2021-03-29T17:18:02Z", + "createdDateTime": "2021-05-06T18:32:36Z", + "lastUpdatedDateTime": "2021-05-06T18:32:40Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" @@ -232,7 +178,7 @@ }, { "page": 3, - "angle": 0, + "angle": 0.4374, "width": 8.5, "height": 11, "unit": "inch" @@ -252,273 +198,112 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", - "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", - "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.549 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 - ], - "page": 1, - "confidence": 0.394 - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 1, - "confidence": 0.97 + "confidence": 0.917 } } } @@ -526,51 +311,51 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97 + "confidence": 0.973 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661 + "confidence": 0.973 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987 @@ -578,75 +363,92 @@ "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 11.7, + "text": "$ 11.70", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983 + "confidence": 0.777 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 1.17, + "text": "$ 1.17", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987 + "confidence": 0.985 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], "page": 1, - "confidence": 0.942 + "confidence": 0.958 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], "page": 1, - "confidence": 0.981 + "confidence": 0.984 } } }, @@ -671,273 +473,112 @@ { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", - "boundingBox": [ - 3.2589, - 3.2108, - 3.4067, - 3.2108, - 3.4067, - 3.319, - 3.2589, - 3.319 - ], - "page": 3, - "confidence": 0.487 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 100.99, - "text": "100.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.8617, - 3.2108, - 5.8617, - 3.319, - 5.4232, - 3.319 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 20, - "text": "20", - "boundingBox": [ - 3.2541, - 3.4241, - 3.4067, - 3.4241, - 3.4067, - 3.5323, - 3.2541, - 3.5323 - ], - "page": 3, - "confidence": 0.277 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 140.67, - "text": "140.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.8622, - 3.4241, - 5.8622, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 3, - "confidence": 0.929 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 40, - "text": "40", - "boundingBox": [ - 3.2486, - 3.6341, - 3.4067, - 3.6341, - 3.4067, - 3.7423, - 3.2486, - 3.7423 - ], - "page": 3, - "confidence": 0.544 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 150.66, - "text": "150.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.8634, - 3.6341, - 5.8634, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 3, - "confidence": 0.922 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 10, - "text": "10", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2589, - 3.8441, - 3.4067, - 3.8441, - 3.4067, - 3.9523, - 3.2589, - 3.9523 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], "page": 3, - "confidence": 0.395 + "confidence": 0.855 }, - "TotalPrice": { - "type": "number", - "valueNumber": 120, - "text": "120.00", - "boundingBox": [ - 5.4232, - 3.8441, - 5.8642, - 3.8441, - 5.8642, - 3.9523, - 5.4232, - 3.9523 - ], - "page": 3, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { + "Quantity": { "type": "number", - "valueNumber": 40, - "text": "40", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2486, - 4.0546, - 3.4067, - 4.0546, - 3.4067, - 4.1627, - 3.2486, - 4.1627 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], "page": 3, - "confidence": 0.547 + "confidence": 0.961 }, "TotalPrice": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.0546, - 5.8644, - 4.0546, - 5.8644, - 4.1627, - 5.4232, - 4.1627 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], "page": 3, - "confidence": 0.924 + "confidence": 0.935 } } }, { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 60, - "text": "60", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 3.2534, - 4.2646, - 3.4067, - 4.2646, - 3.4067, - 4.3727, - 3.2534, - 4.3727 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], "page": 3, - "confidence": 0.396 + "confidence": 0.479 }, - "TotalPrice": { + "Quantity": { "type": "number", - "valueNumber": 120, - "text": "120.00", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 5.4232, - 4.2646, - 5.8642, - 4.2646, - 5.8642, - 4.3727, - 5.4232, - 4.3727 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], "page": 3, "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 80, - "text": "80", - "boundingBox": [ - 3.2514, - 4.4746, - 3.4067, - 4.4746, - 3.4067, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 3, - "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 220, - "text": "220.00", + "valueNumber": 99.99, + "text": "$ 99.99", "boundingBox": [ - 5.4184, - 4.4746, - 5.8644, - 4.4746, - 5.8644, - 4.5827, - 5.4184, - 4.5827 + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 ], "page": 3, - "confidence": 0.954 + "confidence": 0.935 } } } @@ -945,110 +586,143 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 ], "page": 3, - "confidence": 0.962 + "confidence": 0.976 + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 + ], + "page": 3, + "confidence": 0.974 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], "page": 3, - "confidence": 0.987 + "confidence": 0.988 }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.989 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 3000, - "text": "3000.00", + "valueNumber": 1098.99, + "text": "$ 1098.99", "boundingBox": [ - 6.1794, - 4.9042, - 6.7158, - 4.9042, - 6.7158, - 5.0131, - 6.1794, - 5.0131 + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], "page": 3, - "confidence": 0.982 + "confidence": 0.776 }, "Tax": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 104.4, + "text": "$ 104.40", "boundingBox": [ - 5.836, - 5.1245, - 6.2887, - 5.1245, - 6.2887, - 5.2333, - 5.836, - 5.2333 + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], "page": 3, - "confidence": 0.987 + "confidence": 0.986 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 1000, - "text": "1000.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", "boundingBox": [ - 5.811, - 5.3445, - 6.3422, - 5.3445, - 6.3422, - 5.4533, - 5.811, - 5.4533 + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 ], "page": 3, - "confidence": 0.789 + "confidence": 0.973 }, - "Total": { - "type": "number", - "valueNumber": 4300, - "text": "4300.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 + ], + "page": 3, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.4825, - 5.5645, - 6.4825, - 5.6733, - 5.942, - 5.6733 + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 ], "page": 3, - "confidence": 0.98 + "confidence": 0.986 } } } @@ -1059,7 +733,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "1521630419" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1).json index 2732c788a6f4..37816cfa75c6 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1).json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1).json @@ -1,170 +1,170 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252365", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-2d06d4e01d286f42a6fcd3082ea40031-793ee566f1f26b47-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-d7d96748d6dd384e843cf947a6f20587-fb8e34aecbcaea46-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "2c464879aefbd09df4a5a92c329bf51c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "0f702474-772c-4030-896e-b0f0f9716267", + "apim-request-id": "a880ec8b-0a45-4de2-bd3f-965093faee55", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:16:46 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0f702474-772c-4030-896e-b0f0f9716267", + "Date": "Thu, 06 May 2021 18:32:10 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a880ec8b-0a45-4de2-bd3f-965093faee55", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "498" + "x-envoy-upstream-service-time": "140" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0f702474-772c-4030-896e-b0f0f9716267", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a880ec8b-0a45-4de2-bd3f-965093faee55", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "855e82c827bb37e5cc6ff1acd1fc7c41", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fc0f6265-b7ca-4c30-be80-8de54d3211d7", + "apim-request-id": "252963fb-6411-424d-b802-dbdf70b18dd8", "Content-Length": "109", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:46 GMT", + "Date": "Thu, 06 May 2021 18:32:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "11" }, "ResponseBody": { "status": "notStarted", - "createdDateTime": "2021-03-29T17:16:46Z", - "lastUpdatedDateTime": "2021-03-29T17:16:46Z" + "createdDateTime": "2021-05-06T18:32:10Z", + "lastUpdatedDateTime": "2021-05-06T18:32:10Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0f702474-772c-4030-896e-b0f0f9716267", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a880ec8b-0a45-4de2-bd3f-965093faee55", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9e79003554b44cd713205426bf5abc76", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "40fac371-b65a-4043-bb5a-9aa458ac7d84", + "apim-request-id": "77e68db5-e8f8-4f7c-a6db-6862dee8e813", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:48 GMT", + "Date": "Thu, 06 May 2021 18:32:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "18" + "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:46Z", - "lastUpdatedDateTime": "2021-03-29T17:16:47Z" + "createdDateTime": "2021-05-06T18:32:10Z", + "lastUpdatedDateTime": "2021-05-06T18:32:10Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0f702474-772c-4030-896e-b0f0f9716267", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a880ec8b-0a45-4de2-bd3f-965093faee55", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "0f252187051c5122630e608bbdf0fef8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f0172bb9-0786-4f15-bfbc-7842ccb72202", + "apim-request-id": "646a17b0-8414-41ed-bb3c-284c0638eb8a", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:49 GMT", + "Date": "Thu, 06 May 2021 18:32:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "16" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:46Z", - "lastUpdatedDateTime": "2021-03-29T17:16:47Z" + "createdDateTime": "2021-05-06T18:32:10Z", + "lastUpdatedDateTime": "2021-05-06T18:32:10Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0f702474-772c-4030-896e-b0f0f9716267", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a880ec8b-0a45-4de2-bd3f-965093faee55", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "31f7672857227467aa12719ad2be7871", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cd6a2612-b92d-4676-8762-a93ecf566219", + "apim-request-id": "abb6ee1f-ebd2-4424-8dc0-2d58175cf7a7", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:50 GMT", + "Date": "Thu, 06 May 2021 18:32:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "25" + "x-envoy-upstream-service-time": "11" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:46Z", - "lastUpdatedDateTime": "2021-03-29T17:16:47Z" + "createdDateTime": "2021-05-06T18:32:10Z", + "lastUpdatedDateTime": "2021-05-06T18:32:10Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0f702474-772c-4030-896e-b0f0f9716267", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a880ec8b-0a45-4de2-bd3f-965093faee55", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "af257ab26dd62f25de273ba6f44b8f23", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0118e930-17f0-4157-9163-c40f950651b0", - "Content-Length": "4097", + "apim-request-id": "4823aafd-0eba-46df-a9b1-98c42d7b4329", + "Content-Length": "2901", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:51 GMT", + "Date": "Thu, 06 May 2021 18:32:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" + "x-envoy-upstream-service-time": "19" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:16:46Z", - "lastUpdatedDateTime": "2021-03-29T17:16:51Z", + "createdDateTime": "2021-05-06T18:32:10Z", + "lastUpdatedDateTime": "2021-05-06T18:32:14Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" @@ -184,273 +184,112 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", - "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", - "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", - "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 - ], - "page": 1, - "confidence": 0.549 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 - ], - "page": 1, - "confidence": 0.394 - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.97 + "confidence": 0.917 } } } @@ -458,51 +297,51 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97 + "confidence": 0.973 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661 + "confidence": 0.973 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987 @@ -510,75 +349,92 @@ "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 11.7, + "text": "$ 11.70", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983 + "confidence": 0.777 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 1.17, + "text": "$ 1.17", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987 + "confidence": 0.985 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], "page": 1, - "confidence": 0.942 + "confidence": 0.958 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], "page": 1, - "confidence": 0.981 + "confidence": 0.984 } } } @@ -589,7 +445,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "1411766238" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1)Async.json index e7e21241a4e7..121b6b7a38e6 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1)Async.json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1%,1)Async.json @@ -1,170 +1,170 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252365", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-7b18fcd9f01dce41872816d94ad62bf7-fdda1991c7bbcb49-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-8997c4c04ed3bc4e8f3273507502efc7-218063a12fdb9749-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "833757e0530970396cb09d232f645f6f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "8e3cb699-cb80-4409-ac92-7a4a3ce0c978", + "apim-request-id": "dbc46f2a-8ee5-4556-896e-c2919654b6fa", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:16:56 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8e3cb699-cb80-4409-ac92-7a4a3ce0c978", + "Date": "Thu, 06 May 2021 18:32:40 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/dbc46f2a-8ee5-4556-896e-c2919654b6fa", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "87" + "x-envoy-upstream-service-time": "112" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8e3cb699-cb80-4409-ac92-7a4a3ce0c978", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/dbc46f2a-8ee5-4556-896e-c2919654b6fa", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "4ae92006af6b5883695ffaf41b036890", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "19fb02db-47b2-43e1-a866-14f1a984dcf6", - "Content-Length": "109", + "apim-request-id": "9b7caa03-1851-4e4a-9ea6-861201961ca9", + "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:56 GMT", + "Date": "Thu, 06 May 2021 18:32:40 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { - "status": "notStarted", - "createdDateTime": "2021-03-29T17:16:56Z", - "lastUpdatedDateTime": "2021-03-29T17:16:56Z" + "status": "running", + "createdDateTime": "2021-05-06T18:32:40Z", + "lastUpdatedDateTime": "2021-05-06T18:32:41Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8e3cb699-cb80-4409-ac92-7a4a3ce0c978", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/dbc46f2a-8ee5-4556-896e-c2919654b6fa", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1e666d63d4e4bd0af613b673e2426e6c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "44702a38-5a7c-4d08-a2e1-7862fd848a4c", + "apim-request-id": "fa4470e3-2902-4870-ac0f-0c3e62427718", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:57 GMT", + "Date": "Thu, 06 May 2021 18:32:41 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:56Z", - "lastUpdatedDateTime": "2021-03-29T17:16:56Z" + "createdDateTime": "2021-05-06T18:32:40Z", + "lastUpdatedDateTime": "2021-05-06T18:32:41Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8e3cb699-cb80-4409-ac92-7a4a3ce0c978", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/dbc46f2a-8ee5-4556-896e-c2919654b6fa", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "9e48a6a237ec31acd4de1aaa59445569", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a030baaa-93ac-4241-b35b-8efdc7d0c0e2", + "apim-request-id": "2c894ce5-ba1d-43e1-9185-8c03e1793e4a", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:58 GMT", + "Date": "Thu, 06 May 2021 18:32:42 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:56Z", - "lastUpdatedDateTime": "2021-03-29T17:16:56Z" + "createdDateTime": "2021-05-06T18:32:40Z", + "lastUpdatedDateTime": "2021-05-06T18:32:41Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8e3cb699-cb80-4409-ac92-7a4a3ce0c978", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/dbc46f2a-8ee5-4556-896e-c2919654b6fa", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c2bf0d4841fd318b152c5457f90f7627", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "91ba8a9c-5851-44fb-9288-b77bc3896906", + "apim-request-id": "c715bf08-bbed-4367-8b59-7d231e1efe42", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:59 GMT", + "Date": "Thu, 06 May 2021 18:32:43 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "11" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:56Z", - "lastUpdatedDateTime": "2021-03-29T17:16:56Z" + "createdDateTime": "2021-05-06T18:32:40Z", + "lastUpdatedDateTime": "2021-05-06T18:32:41Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8e3cb699-cb80-4409-ac92-7a4a3ce0c978", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/dbc46f2a-8ee5-4556-896e-c2919654b6fa", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "75528df1c9ba2ca4c0354a06ba6064b1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6c367984-a880-4d73-860e-b0f07ceeadbc", - "Content-Length": "4097", + "apim-request-id": "ec938717-35f2-4668-9bc9-62c010527211", + "Content-Length": "2901", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:00 GMT", + "Date": "Thu, 06 May 2021 18:32:44 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "30" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:16:56Z", - "lastUpdatedDateTime": "2021-03-29T17:17:01Z", + "createdDateTime": "2021-05-06T18:32:40Z", + "lastUpdatedDateTime": "2021-05-06T18:32:44Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" @@ -184,273 +184,112 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", - "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 2, - "text": "2", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 14.67, - "text": "14.67", - "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 - ], - "page": 1, - "confidence": 0.954 - } - } - }, - { - "type": "object", - "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", - "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 - ], - "page": 1, - "confidence": 0.971 - }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.957 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.549 - } - } - }, - { - "type": "object", - "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", - "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 - ], - "page": 1, - "confidence": 0.394 - }, - "Quantity": { - "type": "number", - "valueNumber": 8, - "text": "8", - "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 - ], - "page": 1, - "confidence": 0.97 + "confidence": 0.917 } } } @@ -458,51 +297,51 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 ], "page": 1, - "confidence": 0.97 + "confidence": 0.973 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 ], "page": 1, - "confidence": 0.661 + "confidence": 0.973 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 ], "page": 1, "confidence": 0.987 @@ -510,75 +349,92 @@ "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.989 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 11.7, + "text": "$ 11.70", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 ], "page": 1, - "confidence": 0.983 + "confidence": 0.777 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 1.17, + "text": "$ 1.17", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 ], "page": 1, - "confidence": 0.987 + "confidence": 0.985 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 ], "page": 1, - "confidence": 0.942 + "confidence": 0.958 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 ], "page": 1, - "confidence": 0.981 + "confidence": 0.984 } } } @@ -589,7 +445,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "1058445954" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2).json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2).json index 0ac8dc170fce..56bab2f74641 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2).json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2).json @@ -1,150 +1,177 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252365", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-eca5977fdfe7eb48a671ad5c98c8f94a-949ac330c5330f44-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-73f0220be3ca7e4a9f6b40019e68c19e-08b2f0d7e53cc94c-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "05d0599662ede6a048fcd35778cd8446", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "23fca860-268d-45ab-986f-92f65f5bfea3", + "apim-request-id": "89dab133-53e9-47f9-b9a7-3c4141e55da1", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:16:52 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/23fca860-268d-45ab-986f-92f65f5bfea3", + "Date": "Thu, 06 May 2021 18:32:14 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/89dab133-53e9-47f9-b9a7-3c4141e55da1", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "122" + "x-envoy-upstream-service-time": "115" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/23fca860-268d-45ab-986f-92f65f5bfea3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/89dab133-53e9-47f9-b9a7-3c4141e55da1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "db621ac24db8e56cb28e1a1b5d0558c9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "94bf129c-856d-415b-abb7-5a66d85e0beb", - "Content-Length": "106", + "apim-request-id": "60db641b-cff5-4bdd-a78e-90afefeb253f", + "Content-Length": "109", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:52 GMT", + "Date": "Thu, 06 May 2021 18:32:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "14" }, "ResponseBody": { - "status": "running", - "createdDateTime": "2021-03-29T17:16:52Z", - "lastUpdatedDateTime": "2021-03-29T17:16:52Z" + "status": "notStarted", + "createdDateTime": "2021-05-06T18:32:15Z", + "lastUpdatedDateTime": "2021-05-06T18:32:15Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/23fca860-268d-45ab-986f-92f65f5bfea3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/89dab133-53e9-47f9-b9a7-3c4141e55da1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "5d0c93e0912bbb15f0e8ec78e1cd968e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8f9c13a0-b78d-42de-8407-307048527545", + "apim-request-id": "ced81d67-55a9-48d9-9dfb-6575baddd97c", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:53 GMT", + "Date": "Thu, 06 May 2021 18:32:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:52Z", - "lastUpdatedDateTime": "2021-03-29T17:16:52Z" + "createdDateTime": "2021-05-06T18:32:15Z", + "lastUpdatedDateTime": "2021-05-06T18:32:15Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/23fca860-268d-45ab-986f-92f65f5bfea3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/89dab133-53e9-47f9-b9a7-3c4141e55da1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "1eb255181e73487dedeb535f47848943", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2b5ebfe1-2c1a-493b-802d-761babd46e84", + "apim-request-id": "755411b5-f9c0-4980-8a2d-0a9fdb9d9017", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:54 GMT", + "Date": "Thu, 06 May 2021 18:32:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:16:52Z", - "lastUpdatedDateTime": "2021-03-29T17:16:52Z" + "createdDateTime": "2021-05-06T18:32:15Z", + "lastUpdatedDateTime": "2021-05-06T18:32:15Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/23fca860-268d-45ab-986f-92f65f5bfea3", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/89dab133-53e9-47f9-b9a7-3c4141e55da1", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "e47709a426c0311a04a6ebcf61f304e4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0d606351-9103-4bd5-af5b-0deb91b31a73", - "Content-Length": "4217", + "apim-request-id": "1106a05d-7806-4e24-b180-1901a5707d30", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 06 May 2021 18:32:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "status": "running", + "createdDateTime": "2021-05-06T18:32:15Z", + "lastUpdatedDateTime": "2021-05-06T18:32:15Z" + } + }, + { + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/89dab133-53e9-47f9-b9a7-3c4141e55da1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Ocp-Apim-Subscription-Key": "Sanitized", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "x-ms-client-request-id": "07038bf83952c15616c370403eb6736b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ba374754-9014-44db-b7dc-27e21c90e297", + "Content-Length": "5625", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:16:55 GMT", + "Date": "Thu, 06 May 2021 18:32:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" + "x-envoy-upstream-service-time": "19" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:16:52Z", - "lastUpdatedDateTime": "2021-03-29T17:16:55Z", + "createdDateTime": "2021-05-06T18:32:15Z", + "lastUpdatedDateTime": "2021-05-06T18:32:19Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" }, { "page": 2, - "angle": 0, + "angle": 0.4374, "width": 8.5, "height": 11, "unit": "inch" @@ -164,273 +191,379 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 2, - "text": "2", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 14.67, - "text": "14.67", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.954 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.957 + "confidence": 0.917 } } - }, + } + ] + }, + "MerchantAddress": { + "type": "string", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 + ], + "page": 1, + "confidence": 0.973 + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 + ], + "page": 1, + "confidence": 0.973 + }, + "MerchantPhoneNumber": { + "type": "phoneNumber", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "page": 1, + "confidence": 0.987 + }, + "ReceiptType": { + "type": "string", + "valueString": "Itemized", + "confidence": 0.989 + }, + "Subtotal": { + "type": "number", + "valueNumber": 11.7, + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 + ], + "page": 1, + "confidence": 0.777 + }, + "Tax": { + "type": "number", + "valueNumber": 1.17, + "text": "$ 1.17", + "boundingBox": [ + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 + ], + "page": 1, + "confidence": 0.985 + }, + "Total": { + "type": "number", + "valueNumber": 14.5, + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "page": 1, + "confidence": 0.958 + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 + ], + "page": 1, + "confidence": 0.984 + } + } + }, + { + "docType": "prebuilt:receipt", + "pageRange": [ + 2, + 2 + ], + "fields": { + "Items": { + "type": "array", + "valueArray": [ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], - "page": 1, - "confidence": 0.971 + "page": 2, + "confidence": 0.855 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], - "page": 1, - "confidence": 0.971 + "page": 2, + "confidence": 0.961 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], - "page": 1, - "confidence": 0.549 + "page": 2, + "confidence": 0.935 } } }, { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], - "page": 1, - "confidence": 0.394 + "page": 2, + "confidence": 0.479 }, "Quantity": { "type": "number", - "valueNumber": 8, - "text": "8", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], - "page": 1, - "confidence": 0.97 + "page": 2, + "confidence": 0.961 + }, + "TotalPrice": { + "type": "number", + "valueNumber": 99.99, + "text": "$ 99.99", + "boundingBox": [ + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 + ], + "page": 2, + "confidence": 0.935 } } } @@ -438,137 +571,145 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 ], - "page": 1, - "confidence": 0.97 + "page": 2, + "confidence": 0.976 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], - "page": 1, - "confidence": 0.661 + "page": 2, + "confidence": 0.974 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], - "page": 1, - "confidence": 0.987 + "page": 2, + "confidence": 0.988 }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 1098.99, + "text": "$ 1098.99", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], - "page": 1, - "confidence": 0.983 + "page": 2, + "confidence": 0.776 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 104.4, + "text": "$ 104.40", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], - "page": 1, - "confidence": 0.987 + "page": 2, + "confidence": 0.986 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 ], - "page": 1, - "confidence": 0.942 + "page": 2, + "confidence": 0.973 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 ], - "page": 1, - "confidence": 0.981 + "page": 2, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 + ], + "page": 2, + "confidence": 0.986 } } - }, - { - "docType": "prebuilt:receipt", - "pageRange": [ - 2, - 2 - ], - "fields": {} } ] } @@ -577,7 +718,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "1280836147" } } \ No newline at end of file diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2)Async.json b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2)Async.json index 9fb14ad7ee84..9bb3c0416266 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2)Async.json +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/SessionRecords/RecognizeReceiptsLiveTests/StartRecognizeReceiptsWithOnePageArgument(%1-2%,2)Async.json @@ -1,204 +1,204 @@ { "Entries": [ { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false\u0026pages=1-2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", - "Content-Length": "108935", + "Content-Length": "252365", "Content-Type": "application/pdf", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ef07ae759959fa46bd410d60f6ae7f0f-d0e7a7a845c8d744-00", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-016296242058b541a0b05a637a7241c6-c27ba0759c760a49-00", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "818aa904bf25087fb384f6ad5c97241b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "apim-request-id": "6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "apim-request-id": "a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "Content-Length": "0", - "Date": "Mon, 29 Mar 2021 17:17:01 GMT", - "Operation-Location": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "Date": "Thu, 06 May 2021 18:32:45 GMT", + "Operation-Location": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "207" + "x-envoy-upstream-service-time": "173" }, "ResponseBody": [] }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "a85208235eea48603eff8ff498012575", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "306bf912-9439-4d30-b3cd-5d57e61be889", + "apim-request-id": "0da73b34-88bd-4e0e-94ba-e0602f75069c", "Content-Length": "109", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:01 GMT", + "Date": "Thu, 06 May 2021 18:32:45 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "notStarted", - "createdDateTime": "2021-03-29T17:17:01Z", - "lastUpdatedDateTime": "2021-03-29T17:17:01Z" + "createdDateTime": "2021-05-06T18:32:45Z", + "lastUpdatedDateTime": "2021-05-06T18:32:45Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "03d4f1314a0cc6feebc370547589cbb2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b1f8a578-ec33-4f24-b1fa-a2805098ffa5", + "apim-request-id": "2d362e49-af32-406f-b938-6cb969f8f078", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:02 GMT", + "Date": "Thu, 06 May 2021 18:32:46 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "18" + "x-envoy-upstream-service-time": "13" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:01Z", - "lastUpdatedDateTime": "2021-03-29T17:17:02Z" + "createdDateTime": "2021-05-06T18:32:45Z", + "lastUpdatedDateTime": "2021-05-06T18:32:46Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "71fbd4829afea67548414326308a6fb1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7847246a-6693-4e99-8e6d-a770a2912308", + "apim-request-id": "98eccdeb-a0d1-4666-88e9-eb9e88646632", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:03 GMT", + "Date": "Thu, 06 May 2021 18:32:47 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:01Z", - "lastUpdatedDateTime": "2021-03-29T17:17:02Z" + "createdDateTime": "2021-05-06T18:32:45Z", + "lastUpdatedDateTime": "2021-05-06T18:32:46Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "6b7c805f21c2d90e098cbd27ed0cd2b4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f354f091-c96b-425f-8e0c-ab9d95a78e68", + "apim-request-id": "fb51fc36-615d-4ce8-af67-aec9dd256b5f", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:04 GMT", + "Date": "Thu, 06 May 2021 18:32:48 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:01Z", - "lastUpdatedDateTime": "2021-03-29T17:17:02Z" + "createdDateTime": "2021-05-06T18:32:45Z", + "lastUpdatedDateTime": "2021-05-06T18:32:46Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "c372dc33b30697777b2ebacb06d89660", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5adb347b-574b-46e6-9379-86e1d5ee83ea", + "apim-request-id": "d0056cd6-007b-40d8-bf5e-b1b93beed71f", "Content-Length": "106", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:05 GMT", + "Date": "Thu, 06 May 2021 18:32:49 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "14" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "status": "running", - "createdDateTime": "2021-03-29T17:17:01Z", - "lastUpdatedDateTime": "2021-03-29T17:17:02Z" + "createdDateTime": "2021-05-06T18:32:45Z", + "lastUpdatedDateTime": "2021-05-06T18:32:46Z" } }, { - "RequestUri": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/6a7c7666-6b22-4506-8839-2bc44fd1a1bf", + "RequestUri": "https://mariari-canada-central.cognitiveservices.azure.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a3c42c74-11d8-43c8-b8c3-47a5e90aef16", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210329.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-AI.FormRecognizer/3.1.0-alpha.20210506.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", "x-ms-client-request-id": "f5f4bf53600d61f0c6226871dc4eb83b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "de293208-18e1-485d-b079-7d8b6056168a", - "Content-Length": "4217", + "apim-request-id": "0e6f56b4-769d-486e-a584-7543c2de17b8", + "Content-Length": "5625", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 29 Mar 2021 17:17:06 GMT", + "Date": "Thu, 06 May 2021 18:32:51 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "83" + "x-envoy-upstream-service-time": "19" }, "ResponseBody": { "status": "succeeded", - "createdDateTime": "2021-03-29T17:17:01Z", - "lastUpdatedDateTime": "2021-03-29T17:17:07Z", + "createdDateTime": "2021-05-06T18:32:45Z", + "lastUpdatedDateTime": "2021-05-06T18:32:51Z", "analyzeResult": { "version": "2.1.0", "readResults": [ { "page": 1, - "angle": 0, + "angle": 0.5729, "width": 8.5, "height": 11, "unit": "inch" }, { "page": 2, - "angle": 0, + "angle": 0.4374, "width": 8.5, "height": 11, "unit": "inch" @@ -218,273 +218,379 @@ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 1, - "text": "1", + "Name": { + "type": "string", + "valueString": "Cappuccino", + "text": "Cappuccino", "boundingBox": [ - 3.2589, - 3.2116, - 3.3202, - 3.2116, - 3.3202, - 3.3176, - 3.2589, - 3.3176 + 1.8926, + 5.7492, + 3.0104, + 5.7936, + 2.9993, + 6.0705, + 1.8926, + 6.0373 ], "page": 1, - "confidence": 0.971 + "confidence": 0.735 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10.99, - "text": "10.99", - "boundingBox": [ - 5.4232, - 3.2108, - 5.7784, - 3.2108, - 5.7784, - 3.319, - 5.4232, - 3.319 - ], - "page": 1, - "confidence": 0.952 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 2, - "text": "2", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2541, - 3.4241, - 3.3199, - 3.4241, - 3.3199, - 3.531, - 3.2541, - 3.531 + 1.6934, + 5.7382, + 1.8372, + 5.7492, + 1.8372, + 6.0262, + 1.6934, + 6.0262 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 14.67, - "text": "14.67", + "valueNumber": 2.2, + "text": "$2.20", "boundingBox": [ - 5.4232, - 3.4241, - 5.7789, - 3.4241, - 5.7789, - 3.5323, - 5.4232, - 3.5323 + 4.3053, + 5.7492, + 4.7923, + 5.716, + 4.8034, + 5.9597, + 4.3164, + 5.9929 ], "page": 1, - "confidence": 0.954 + "confidence": 0.977 } } }, { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "BACON \u0026 EGGS", + "text": "BACON \u0026 EGGS", "boundingBox": [ - 3.2486, - 3.6351, - 3.3244, - 3.6351, - 3.3244, - 3.7413, - 3.2486, - 3.7413 + 1.8704, + 6.5015, + 3.2342, + 6.5136, + 3.2318, + 6.7805, + 1.868, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.903 }, - "TotalPrice": { - "type": "number", - "valueNumber": 15.66, - "text": "15.66", - "boundingBox": [ - 5.4232, - 3.6341, - 5.78, - 3.6341, - 5.78, - 3.7423, - 5.4232, - 3.7423 - ], - "page": 1, - "confidence": 0.958 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", "valueNumber": 1, "text": "1", "boundingBox": [ - 3.2589, - 3.845, - 3.3202, - 3.845, - 3.3202, - 3.951, - 3.2589, - 3.951 + 1.6602, + 6.4914, + 1.804, + 6.4914, + 1.804, + 6.7684, + 1.6602, + 6.7684 ], "page": 1, - "confidence": 0.971 + "confidence": 0.966 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 9.5, + "text": "$9.5", "boundingBox": [ - 5.4232, - 3.8441, - 5.7809, - 3.8441, - 5.7809, - 3.9523, - 5.4232, - 3.9523 + 4.3828, + 6.8459, + 4.8034, + 6.8348, + 4.8145, + 7.1229, + 4.3828, + 7.1339 ], "page": 1, - "confidence": 0.957 + "confidence": 0.917 } } - }, + } + ] + }, + "MerchantAddress": { + "type": "string", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", + "boundingBox": [ + 1.893, + 3.0221, + 3.5405, + 3.3517, + 3.4293, + 3.9076, + 1.7818, + 3.578 + ], + "page": 1, + "confidence": 0.973 + }, + "MerchantName": { + "type": "string", + "valueString": "Contoso", + "text": "Contoso", + "boundingBox": [ + 1.9147, + 2.6918, + 2.5677, + 2.8691, + 2.5124, + 3.0685, + 1.8704, + 2.8912 + ], + "page": 1, + "confidence": 0.973 + }, + "MerchantPhoneNumber": { + "type": "phoneNumber", + "valuePhoneNumber": "\u002B19876543210", + "text": "987-654-3210", + "boundingBox": [ + 1.8151, + 3.999, + 2.9661, + 4.1541, + 2.9329, + 4.3756, + 1.793, + 4.2205 + ], + "page": 1, + "confidence": 0.987 + }, + "ReceiptType": { + "type": "string", + "valueString": "Itemized", + "confidence": 0.989 + }, + "Subtotal": { + "type": "number", + "valueNumber": 11.7, + "text": "$ 11.70", + "boundingBox": [ + 4.2611, + 7.6546, + 4.9251, + 7.6546, + 4.9251, + 7.9648, + 4.2611, + 7.9648 + ], + "page": 1, + "confidence": 0.777 + }, + "Tax": { + "type": "number", + "valueNumber": 1.17, + "text": "$ 1.17", + "boundingBox": [ + 4.3745, + 8.0029, + 4.9488, + 8.044, + 4.9227, + 8.4085, + 4.3484, + 8.3674 + ], + "page": 1, + "confidence": 0.985 + }, + "Total": { + "type": "number", + "valueNumber": 14.5, + "text": "$14.50", + "boundingBox": [ + 4.1061, + 8.8731, + 5.1243, + 8.9174, + 5.1022, + 9.283, + 4.084, + 9.2276 + ], + "page": 1, + "confidence": 0.958 + }, + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", + "boundingBox": [ + 1.7819, + 4.6636, + 2.5456, + 4.7301, + 2.5234, + 4.996, + 1.7598, + 4.9406 + ], + "page": 1, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.6009, + 4.7412, + 3.0436, + 4.7744, + 3.0215, + 5.0181, + 2.5788, + 4.996 + ], + "page": 1, + "confidence": 0.984 + } + } + }, + { + "docType": "prebuilt:receipt", + "pageRange": [ + 2, + 2 + ], + "fields": { + "Items": { + "type": "array", + "valueArray": [ { "type": "object", "valueObject": { - "Quantity": { - "type": "number", - "valueNumber": 4, - "text": "4", + "Name": { + "type": "string", + "valueString": "Surface Pro 6", + "text": "Surface Pro 6", "boundingBox": [ - 3.2486, - 4.0556, - 3.3244, - 4.0556, - 3.3244, - 4.1617, - 3.2486, - 4.1617 + 2.0742, + 5.6545, + 3.0328, + 5.6745, + 3.0282, + 5.8911, + 2.0697, + 5.8711 ], - "page": 1, - "confidence": 0.971 + "page": 2, + "confidence": 0.855 }, - "TotalPrice": { - "type": "number", - "valueNumber": 10, - "text": "10.00", - "boundingBox": [ - 5.4232, - 4.0546, - 5.781, - 4.0546, - 5.781, - 4.1627, - 5.4232, - 4.1627 - ], - "page": 1, - "confidence": 0.961 - } - } - }, - { - "type": "object", - "valueObject": { "Quantity": { "type": "number", - "valueNumber": 6, - "text": "6", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2534, - 4.2646, - 3.3226, - 4.2646, - 3.3226, - 4.3727, - 3.2534, - 4.3727 + 1.9811, + 5.6606, + 2.0365, + 5.6606, + 2.0365, + 5.8711, + 1.9811, + 5.8711 ], - "page": 1, - "confidence": 0.971 + "page": 2, + "confidence": 0.961 }, "TotalPrice": { "type": "number", - "valueNumber": 12, - "text": "12.00", + "valueNumber": 999, + "text": "$ 999.00", "boundingBox": [ - 5.4232, - 4.2646, - 5.7809, - 4.2646, - 5.7809, - 4.3727, - 5.4232, - 4.3727 + 3.8004, + 6.3191, + 4.4224, + 6.3711, + 4.4011, + 6.6251, + 3.7792, + 6.5731 ], - "page": 1, - "confidence": 0.549 + "page": 2, + "confidence": 0.935 } } }, { "type": "object", "valueObject": { - "Price": { - "type": "number", - "valueNumber": 22, - "text": "22.00", + "Name": { + "type": "string", + "valueString": "SurfacePen", + "text": "SurfacePen", "boundingBox": [ - 5.4184, - 4.4746, - 5.781, - 4.4746, - 5.781, - 4.5827, - 5.4184, - 4.5827 + 2.0475, + 7.0453, + 2.8887, + 7.0342, + 2.8997, + 7.2447, + 2.0586, + 7.2669 ], - "page": 1, - "confidence": 0.394 + "page": 2, + "confidence": 0.479 }, "Quantity": { "type": "number", - "valueNumber": 8, - "text": "8", + "valueNumber": 1, + "text": "1", "boundingBox": [ - 3.2514, - 4.4746, - 3.3224, - 4.4746, - 3.3224, - 4.5827, - 3.2514, - 4.5827 + 1.9368, + 7.0453, + 2.0033, + 7.0453, + 2.0143, + 7.2669, + 1.9479, + 7.2669 ], - "page": 1, - "confidence": 0.97 + "page": 2, + "confidence": 0.961 + }, + "TotalPrice": { + "type": "number", + "valueNumber": 99.99, + "text": "$ 99.99", + "boundingBox": [ + 3.8737, + 7.0675, + 4.4049, + 7.0675, + 4.4049, + 7.289, + 3.8737, + 7.289 + ], + "page": 2, + "confidence": 0.935 } } } @@ -492,137 +598,145 @@ }, "MerchantAddress": { "type": "string", - "valueString": "567 Main St. Redmond, WA", - "text": "567 Main St. Redmond, WA", + "valueString": "123 Main Street Redmond, WA 98052", + "text": "123 Main Street Redmond, WA 98052", "boundingBox": [ - 0.8852, - 1.846, - 1.8537, - 1.846, - 1.8537, - 2.1975, - 0.8852, - 2.1975 + 1.9368, + 3.0685, + 3.265, + 3.0685, + 3.265, + 3.578, + 1.9368, + 3.578 ], - "page": 1, - "confidence": 0.97 + "page": 2, + "confidence": 0.976 }, "MerchantName": { "type": "string", - "valueString": "Bilbo Baggins", - "text": "Bilbo Baggins", + "valueString": "Contoso", + "text": "Contoso", "boundingBox": [ - 6.0164, - 1.4503, - 6.8967, - 1.4503, - 6.8967, - 1.5931, - 6.0164, - 1.5931 + 1.9701, + 2.7694, + 2.5013, + 2.7915, + 2.4902, + 2.9688, + 1.959, + 2.9466 ], - "page": 1, - "confidence": 0.661 + "page": 2, + "confidence": 0.974 }, "MerchantPhoneNumber": { "type": "phoneNumber", - "valuePhoneNumber": "\u002B15555555555", - "text": "555-555-5555", + "text": "123-456-7890", "boundingBox": [ - 6.0105, - 2.1187, - 6.9371, - 2.1187, - 6.9371, - 2.2254, - 6.0105, - 2.2254 + 1.8926, + 3.9878999999999998, + 2.8665, + 4.0211, + 2.8665, + 4.2205, + 1.8926, + 4.1984 ], - "page": 1, - "confidence": 0.987 + "page": 2, + "confidence": 0.988 }, "ReceiptType": { "type": "string", "valueString": "Itemized", - "confidence": 0.994 + "confidence": 0.99 }, "Subtotal": { "type": "number", - "valueNumber": 300, - "text": "300.00", + "valueNumber": 1098.99, + "text": "$ 1098.99", "boundingBox": [ - 6.1794, - 4.9042, - 6.632, - 4.9042, - 6.632, - 5.0131, - 6.1794, - 5.0131 + 3.752, + 7.7543, + 4.416, + 7.7543, + 4.416, + 7.9869, + 3.752, + 7.9869 ], - "page": 1, - "confidence": 0.983 + "page": 2, + "confidence": 0.776 }, "Tax": { "type": "number", - "valueNumber": 30, - "text": "30.00", + "valueNumber": 104.4, + "text": "$ 104.40", "boundingBox": [ - 5.836, - 5.1245, - 6.2022, - 5.1245, - 6.2022, - 5.2333, - 5.836, - 5.2333 + 3.8073, + 8.0977, + 4.3939, + 8.0977, + 4.3939, + 8.3192, + 3.8073, + 8.3192 ], - "page": 1, - "confidence": 0.987 + "page": 2, + "confidence": 0.986 }, - "Tip": { + "Total": { "type": "number", - "valueNumber": 100, - "text": "100.00", + "valueNumber": 1203.39, + "text": "$ 1203.39", "boundingBox": [ - 5.811, - 5.3445, - 6.2587, - 5.3445, - 6.2587, - 5.4533, - 5.811, - 5.4533 + 3.7298, + 8.7623, + 4.3944, + 8.8228, + 4.3743, + 9.0446, + 3.7096, + 8.9841 ], - "page": 1, - "confidence": 0.942 + "page": 2, + "confidence": 0.973 }, - "Total": { - "type": "number", - "valueNumber": 430, - "text": "430.00", + "TransactionDate": { + "type": "date", + "valueDate": "2019-06-10", + "text": "6/10/2019", "boundingBox": [ - 5.942, - 5.5645, - 6.3987, - 5.5645, - 6.3987, - 5.6733, - 5.942, - 5.6733 + 1.8815, + 4.6526, + 2.4792, + 4.6636, + 2.4792, + 4.8741, + 1.8926, + 4.8741 ], - "page": 1, - "confidence": 0.981 + "page": 2, + "confidence": 0.987 + }, + "TransactionTime": { + "type": "time", + "valueTime": "13:59:00", + "text": "13:59", + "boundingBox": [ + 2.5234, + 4.6636, + 2.9108, + 4.6636, + 2.8997, + 4.8741, + 2.5234, + 4.8741 + ], + "page": 2, + "confidence": 0.986 } } - }, - { - "docType": "prebuilt:receipt", - "pageRange": [ - 2, - 2 - ], - "fields": {} } ] } @@ -631,7 +745,7 @@ ], "Variables": { "FORM_RECOGNIZER_API_KEY": "Sanitized", - "FORM_RECOGNIZER_ENDPOINT": "https://camaiaor-formrec-eastus.cognitiveservices.azure.com/", + "FORM_RECOGNIZER_ENDPOINT": "https://mariari-canada-central.cognitiveservices.azure.com/", "RandomSeed": "604339591" } } \ No newline at end of file diff --git a/sdk/identity/Azure.Identity/perf/Azure.Identity.Perf.csproj b/sdk/identity/Azure.Identity/perf/Azure.Identity.Perf.csproj index 6a46ef3e3a9e..d5d4bdd7127a 100644 --- a/sdk/identity/Azure.Identity/perf/Azure.Identity.Perf.csproj +++ b/sdk/identity/Azure.Identity/perf/Azure.Identity.Perf.csproj @@ -26,10 +26,4 @@ - - - - - - diff --git a/sdk/identity/Azure.Identity/src/Azure.Identity.csproj b/sdk/identity/Azure.Identity/src/Azure.Identity.csproj index e8eafbd81b93..0833412fc88a 100644 --- a/sdk/identity/Azure.Identity/src/Azure.Identity.csproj +++ b/sdk/identity/Azure.Identity/src/Azure.Identity.csproj @@ -10,6 +10,7 @@ true + @@ -33,6 +34,4 @@ - - diff --git a/sdk/identity/Azure.Identity/src/MsalCacheHelperWrapper.cs b/sdk/identity/Azure.Identity/src/MsalCacheHelperWrapper.cs index caa7704f5e84..602e70acedc6 100644 --- a/sdk/identity/Azure.Identity/src/MsalCacheHelperWrapper.cs +++ b/sdk/identity/Azure.Identity/src/MsalCacheHelperWrapper.cs @@ -63,14 +63,6 @@ public virtual void UnregisterCache(ITokenCache tokenCache) _helper.UnregisterCache(tokenCache); } - /// - /// Clears the token store. - /// - public virtual void Clear() - { - _helper.Clear(); - } - /// /// Extracts the token cache data from the persistent store /// diff --git a/sdk/identity/Azure.Identity/src/TokenCache.cs b/sdk/identity/Azure.Identity/src/TokenCache.cs index 07bb72d05d5f..73f2a4dba2ed 100644 --- a/sdk/identity/Azure.Identity/src/TokenCache.cs +++ b/sdk/identity/Azure.Identity/src/TokenCache.cs @@ -24,9 +24,6 @@ internal class TokenCache private DateTimeOffset _lastUpdated; private ConditionalWeakTable _cacheAccessMap; internal Func _publicClientApplicationFactory; - // we are creating the MsalCacheHelper with a random guid based clientId to work around issue https://github.com/AzureAD/microsoft-authentication-extensions-for-dotnet/issues/98 - // This does not impact the functionality of the cacheHelper as the ClientId is only used to iterate accounts in the cache not for authentication purposes. - internal static readonly string s_msalCacheClientId = Guid.NewGuid().ToString(); private readonly bool _allowUnencryptedStorage; private readonly string _name; private readonly bool _persistToDisk; @@ -252,7 +249,7 @@ private async Task GetCacheHelperAsync(bool async, Cance private async Task GetProtectedCacheHelperAsync(bool async, string name) { - StorageCreationProperties storageProperties = new StorageCreationPropertiesBuilder(name, Constants.DefaultMsalTokenCacheDirectory, s_msalCacheClientId) + StorageCreationProperties storageProperties = new StorageCreationPropertiesBuilder(name, Constants.DefaultMsalTokenCacheDirectory) .WithMacKeyChain(Constants.DefaultMsalTokenCacheKeychainService, name) .WithLinuxKeyring(Constants.DefaultMsalTokenCacheKeyringSchema, Constants.DefaultMsalTokenCacheKeyringCollection, name, Constants.DefaultMsaltokenCacheKeyringAttribute1, Constants.DefaultMsaltokenCacheKeyringAttribute2) .Build(); @@ -264,7 +261,7 @@ private async Task GetProtectedCacheHelperAsync(bool asy private async Task GetFallbackCacheHelperAsync(bool async, string name = Constants.DefaultMsalTokenCacheName) { - StorageCreationProperties storageProperties = new StorageCreationPropertiesBuilder(name, Constants.DefaultMsalTokenCacheDirectory, s_msalCacheClientId) + StorageCreationProperties storageProperties = new StorageCreationPropertiesBuilder(name, Constants.DefaultMsalTokenCacheDirectory) .WithMacKeyChain(Constants.DefaultMsalTokenCacheKeychainService, name) .WithLinuxUnprotectedFile() .Build(); diff --git a/sdk/identity/Azure.Identity/tests/ClientSecretCredentialLiveTests.cs b/sdk/identity/Azure.Identity/tests/ClientSecretCredentialLiveTests.cs index 1edca3785e5e..fe4d759f6cde 100644 --- a/sdk/identity/Azure.Identity/tests/ClientSecretCredentialLiveTests.cs +++ b/sdk/identity/Azure.Identity/tests/ClientSecretCredentialLiveTests.cs @@ -48,8 +48,10 @@ public async Task GetToken() Assert.AreEqual(token.Token, cachedToken.Token); + var options2 = InstrumentClientOptions(new ClientSecretCredentialOptions()); + // ensure new credentials don't share tokens from the cache - var credential2 = new ClientSecretCredential(tenantId, clientId, secret, options); + var credential2 = new ClientSecretCredential(tenantId, clientId, secret, options2); AccessToken token2 = await credential2.GetTokenAsync(tokenRequestContext); diff --git a/sdk/identity/Azure.Identity/tests/IdentityRecordedTestBase.cs b/sdk/identity/Azure.Identity/tests/IdentityRecordedTestBase.cs index c79231453c95..ffa300ec0740 100644 --- a/sdk/identity/Azure.Identity/tests/IdentityRecordedTestBase.cs +++ b/sdk/identity/Azure.Identity/tests/IdentityRecordedTestBase.cs @@ -26,6 +26,9 @@ private void InitialzeRecordingSettings() Matcher.LegacyExcludedHeaders.Add("x-client-SKU"); Matcher.LegacyExcludedHeaders.Add("x-client-CPU"); Matcher.LegacyExcludedHeaders.Add("x-client-Ver"); + // x-ms-PKeyAuth is only added on MAC and Linux so recordings made on windows will fail on these platforms and vice-versa + // ignoring this header as CI must run on all platforms + Matcher.LegacyExcludedHeaders.Add("x-ms-PKeyAuth"); Sanitizer = new IdentityRecordedTestSanitizer(); } } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False).json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False).json index 472ff344dff5..fb81191493cc 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False).json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False).json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "844139a4-ec44-453b-a6d6-01bad075d419", + "client-request-id": "c2856216-8ae4-497e-8e67-57d5e51c58f8", "return-client-request-id": "true", - "traceparent": "00-c72441f778801c47a62aa502cc4ed35b-747cf2e69b083d47-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-ce5272bba0c06c4f9b721cc9d5c32069-d3dc352500442c4c-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "123e3a48e3b9e17f36526195326cb890", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "844139a4-ec44-453b-a6d6-01bad075d419", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "c2856216-8ae4-497e-8e67-57d5e51c58f8", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:43 GMT", + "Date": "Fri, 07 May 2021 18:05:35 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAYAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:43 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AuR0eFkjIhtKqH3Q5q9yOfw; expires=Sun, 06-Jun-2021 18:05:35 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQzj51C5C87k3MOAGth-zs9RovUILvHO5DN2jdrV4sHYx83zyXicwLJWI7TJGc2P6rmGzMb_6dm6kckKJ74YOjlRI5goUGcPYkKwm2OwIEH25iqF83GaT0d-xAXUTQgdk2YaXcWsqLT-R_HceRlRKvIAAnI2ZhY9ScVDAQ5cwTEQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "e1c461b4-8c9c-4857-8ea6-f3c857960700" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "40b42d85-5b89-4c4d-a252-bd75f0325200" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "844139a4-ec44-453b-a6d6-01bad075d419", + "client-request-id": "c2856216-8ae4-497e-8e67-57d5e51c58f8", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-c72441f778801c47a62aa502cc4ed35b-7e07a1e5c4a0f64f-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-ce5272bba0c06c4f9b721cc9d5c32069-e345c838f65cb945-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "1d5ac3e8db5dd0962fa4321bd098365a", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "844139a4-ec44-453b-a6d6-01bad075d419", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "c2856216-8ae4-497e-8e67-57d5e51c58f8", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:43 GMT", + "Date": "Fri, 07 May 2021 18:05:35 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAcAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Auqwf9stlTVLm_Exwp5VNcVKXQmMAQAAAG54J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:35 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "9a0496ca-801c-49b0-a98b-3b4087af0900" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "1ca4c616-9d48-4990-9416-5c5517775500" }, "ResponseBody": { "token_type": "Bearer", @@ -145,47 +147,47 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "ac863f26-ae6c-4321-aac0-befb7e7bb6fd", + "client-request-id": "a0ea6de5-c421-44e7-bdd5-d24152266f3d", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "0874e0c47961e8f14e666f6cfadfea5e", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "ac863f26-ae6c-4321-aac0-befb7e7bb6fd", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "a0ea6de5-c421-44e7-bdd5-d24152266f3d", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:44 GMT", + "Date": "Fri, 07 May 2021 18:05:35 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAgAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AgsezulLKBBOqM7RXeCP1chKXQmMAQAAAG94J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:35 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "189946a4-c45e-4f3e-9702-180fc3f00700" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "5a1fe9e4-18b6-49ee-bc56-63cf97145700" }, "ResponseBody": { "token_type": "Bearer", @@ -196,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "1128634139" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False)Async.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False)Async.json index 6f7a7703da38..bad6de99fff3 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False)Async.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(False)Async.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "d8ca9306-8bfe-4f82-9e3a-93e4be495fa7", + "client-request-id": "8a6ce4f9-d51b-4517-80f0-cc72537b1fba", "return-client-request-id": "true", - "traceparent": "00-b976f1b035143b4c85d7bf294b5c4b19-5bbc0e55614aed46-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-14967967bcc8fc469be7dd883245552e-f2bdb837f1b00044-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "4d57c05758de98add6a9652b4d3556d3", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "d8ca9306-8bfe-4f82-9e3a-93e4be495fa7", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "8a6ce4f9-d51b-4517-80f0-cc72537b1fba", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:45 GMT", + "Date": "Fri, 07 May 2021 18:05:38 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjA4AAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:45 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvDryzSOAfNGhTy25yG6yYg; expires=Sun, 06-Jun-2021 18:05:38 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr37lerHQBBvGwgjJ509tESKYvR8grMS4E4F3Dv1qcH9qbwQj7j7jhwCs_Kgk73d8CZomf13JUngrhVr1HvD6sByQUdbx70TTMl25LuACf9asnwx5bmvOIhn9rtVv5hnZTbGhN7uR0rvBfYGx4FF2lXRJJAfKJy9xxhtjbxCOjngQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "807c6725-bd54-4f86-a6f1-0353e6370600" + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "3aead5d0-d268-4e39-b381-05575b126c03" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "d8ca9306-8bfe-4f82-9e3a-93e4be495fa7", + "client-request-id": "8a6ce4f9-d51b-4517-80f0-cc72537b1fba", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-b976f1b035143b4c85d7bf294b5c4b19-8eee641e0795f348-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-14967967bcc8fc469be7dd883245552e-3e979a9767fd7442-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "bf48cdcfa500d8b8c7770e0fc1639b11", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "d8ca9306-8bfe-4f82-9e3a-93e4be495fa7", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "8a6ce4f9-d51b-4517-80f0-cc72537b1fba", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:45 GMT", + "Date": "Fri, 07 May 2021 18:05:38 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjA8AAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:46 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ah7R-2rE6uNHuj5P86DtjXRKXQmMAQAAAHJ4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:38 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "0e028df8-03ce-47b7-9c08-6501498b0800" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "7073e5f4-7dc2-4759-a597-28f39d2f4f00" }, "ResponseBody": { "token_type": "Bearer", @@ -145,47 +147,47 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "f2af49c2-cb4e-4091-b2f1-de89fde39be4", + "client-request-id": "f6020f2b-7a44-497d-8d88-b34692081da5", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "e0acaa5bf83c0b8247153eaf0ecd86e7", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "f2af49c2-cb4e-4091-b2f1-de89fde39be4", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "f6020f2b-7a44-497d-8d88-b34692081da5", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:46 GMT", + "Date": "Fri, 07 May 2021 18:05:39 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjBAAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:46 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AkBEU4ODHEZLgStfsmw96tlKXQmMAQAAAHJ4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:39 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "175c1045-45a1-4fa5-b250-765a7fdd0900" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "40b42d85-5b89-4c4d-a252-bd752e345200" }, "ResponseBody": { "token_type": "Bearer", @@ -196,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "678209588" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True).json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True).json index ea67abfd4bb0..02c33f8ae792 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True).json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True).json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "7bab3cc8-41e0-406b-b409-826b3213fc82", + "client-request-id": "5110a3b5-e7f7-40c7-9862-ceef218e8ee5", "return-client-request-id": "true", - "traceparent": "00-78725fdd6a85fc4e94541c8543aad4e4-454a6b4478054342-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-5249a4ff52758e47bd0dba0dedb4d088-cedc41574c291643-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "58ebb74a6b7ad74351799ec3ca124111", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "7bab3cc8-41e0-406b-b409-826b3213fc82", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "5110a3b5-e7f7-40c7-9862-ceef218e8ee5", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:43 GMT", + "Date": "Fri, 07 May 2021 18:05:34 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:43 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AklhI2yCTshLrrPqnvCb4JY; expires=Sun, 06-Jun-2021 18:05:34 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKVAVQRsFUbbEalwE4uZ8gP0XQlJ4mBzymlhHk-AXGyeMZsQGa5X-z3LAhsHrRPyElmRUL5kc7_Ii44ZBchXbIkLtvxzE7EwgMkliPbX-L_anNvDXOvdkRW_cYiMAHm49fDaS40XO8aZRTP3RFO82wjGkUfGt-VmL8OiwhwzRyCogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "9b23f45b-131c-4065-b450-6f9496e70700" + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "b69fbccd-4f79-43f2-85c3-a5d3afb7f000" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "7bab3cc8-41e0-406b-b409-826b3213fc82", + "client-request-id": "5110a3b5-e7f7-40c7-9862-ceef218e8ee5", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-78725fdd6a85fc4e94541c8543aad4e4-1de51a16a31ffb4d-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-5249a4ff52758e47bd0dba0dedb4d088-aef739d3a51ed046-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "250f68e8b12a37193d763e02549e0543", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "7bab3cc8-41e0-406b-b409-826b3213fc82", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "5110a3b5-e7f7-40c7-9862-ceef218e8ee5", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:43 GMT", + "Date": "Fri, 07 May 2021 18:05:34 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAUAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:43 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AppxRF496w9NuaFBM92tpNVKXQmMAQAAAG54J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:34 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "7bf28be4-fc61-48f2-81a3-5a97e5c80700" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "bb33d9b5-75c8-4be7-858b-38f3541c5300" }, "ResponseBody": { "token_type": "Bearer", @@ -145,47 +147,47 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "2e815ede-a6af-4582-8c99-261c04114af8", + "client-request-id": "ec050398-83e6-48cf-a3f1-160717291707", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "fffa83768c94c0ca4965645cccfde80b", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "2e815ede-a6af-4582-8c99-261c04114af8", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "ec050398-83e6-48cf-a3f1-160717291707", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:43 GMT", + "Date": "Fri, 07 May 2021 18:05:35 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAYAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:43 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=ApYTWvaCVPtNhVJ9bwdRI6dKXQmMAQAAAG54J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:35 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "42f13eb5-4503-4724-ab02-ea35d7270600" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "1bccd445-8738-4657-8ab5-e5f439365300" }, "ResponseBody": { "token_type": "Bearer", @@ -196,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "1743911821" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True)Async.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True)Async.json index ade52721b860..fbca749a5648 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True)Async.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromCertificatePath(True)Async.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "6c21ef40-3772-47f5-9857-abb8d674eb2a", + "client-request-id": "1940690b-7516-4906-ab1c-4d6ea170ca1b", "return-client-request-id": "true", - "traceparent": "00-b1fdf0442e2b96428b1972acf896f49d-2c1ee98c6389fd45-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-ec00701106b26a45ae686fb9b4dffb8d-202210373c2dfa49-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "44a676215343d04818b1208fb48c5a04", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "6c21ef40-3772-47f5-9857-abb8d674eb2a", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "1940690b-7516-4906-ab1c-4d6ea170ca1b", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:45 GMT", + "Date": "Fri, 07 May 2021 18:05:37 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAwAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:45 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AgxxETnlYSNNkW5TwdWaNwU; expires=Sun, 06-Jun-2021 18:05:37 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrThVgAf7oyrJULbhPZV5xQW02avByUL-X7_KwbjCK1ARFEvOnqDCUumdCZroQi-r775FVLFOQj3JT5j8sllp8IwNqBde9WYjxzc7MoLHDfs3VF0aMRJEjy9lhz0uOadGW30SqUerg-udDHwXezuaupFd92hXh4U8MZJTIqZdsASQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "7d192a6a-f6fa-4da9-8786-9f6db10b0500" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "e7c88fcf-9691-4a63-94ca-474a5d213400" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "6c21ef40-3772-47f5-9857-abb8d674eb2a", + "client-request-id": "1940690b-7516-4906-ab1c-4d6ea170ca1b", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-b1fdf0442e2b96428b1972acf896f49d-f18a69aa23245242-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-ec00701106b26a45ae686fb9b4dffb8d-65b0477176400c4a-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "3bbe3db0073ca9dbdd59d49620f5b9bf", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "6c21ef40-3772-47f5-9857-abb8d674eb2a", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "1940690b-7516-4906-ab1c-4d6ea170ca1b", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:45 GMT", + "Date": "Fri, 07 May 2021 18:05:38 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjA0AAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:45 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ak3occhYgzZMmUWwwdApPkNKXQmMAQAAAHF4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:38 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "9a0496ca-801c-49b0-a98b-3b403bb00900" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "d1e5a013-19d1-44b1-ab89-6530f4f19c00" }, "ResponseBody": { "token_type": "Bearer", @@ -145,47 +147,47 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "1f64f38f-65be-4cd8-8650-0116820ab6a8", + "client-request-id": "234b602c-052d-4eaa-92ed-d9ed41b74cde", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "199bc1e219c4e95475f90c70c13039f0", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "1f64f38f-65be-4cd8-8650-0116820ab6a8", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "234b602c-052d-4eaa-92ed-d9ed41b74cde", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:45 GMT", + "Date": "Fri, 07 May 2021 18:05:38 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjA4AAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:45 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AqMYZazGQAtOvAxzY2bklJtKXQmMAQAAAHF4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:38 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "0fa146af-fb99-42c3-a36b-20fbc8300900" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "db9dde01-c5da-40a9-b2e6-298f4c505300" }, "ResponseBody": { "token_type": "Bearer", @@ -196,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "1895107400" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2.json index 5ef1474a0d33..27befef7d269 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "1bd0b418-e19b-482d-a57f-892fae74ec9b", + "client-request-id": "bac871cf-ee3d-49bc-8d3a-9e39c0039053", "return-client-request-id": "true", - "traceparent": "00-572c5b091767d74d9d7654a940fc0448-7d578669b5921943-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-9bf809c8d9b94b428e2646011046b61c-8f61a52f3e5dde4d-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "9cb260a846b6532a46533629ee3f78cb", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "1bd0b418-e19b-482d-a57f-892fae74ec9b", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "bac871cf-ee3d-49bc-8d3a-9e39c0039053", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:42 GMT", + "Date": "Fri, 07 May 2021 18:05:30 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAA; expires=Sun, 07-Mar-2021 20:01:42 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ajq2ZREOaopOkJMOdaRM3II; expires=Sun, 06-Jun-2021 18:05:30 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5yp1d2ZUTCkbgfmOSHQMQRBwz9OYUHoaYKc2hCj1y2zuU1WMZ31Rc1RjLKubD8qipZF_ISylDd-ZODBjAdmtJrgmM7Vq-TubW-8OOIeeD-bNMSNiun17YyTYTqePxnNNzmQcndzze88ksJos7wMjwTpmSwjdQtvp6E_4sxxEqz8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "67a07765-4fbe-4ece-ba9e-810675100600" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "43a93347-97cc-4e57-993a-4254059f0700" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "1bd0b418-e19b-482d-a57f-892fae74ec9b", + "client-request-id": "bac871cf-ee3d-49bc-8d3a-9e39c0039053", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-572c5b091767d74d9d7654a940fc0448-c378ca276edea847-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-9bf809c8d9b94b428e2646011046b61c-892746c00148cc4a-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "80a13fe9af1bdcb63eee55de1a72fcc6", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "1bd0b418-e19b-482d-a57f-892fae74ec9b", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "bac871cf-ee3d-49bc-8d3a-9e39c0039053", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:42 GMT", + "Date": "Fri, 07 May 2021 18:05:31 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAEAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:42 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AmEbO0qRFkNDp_BuccNySYBKXQmMAQAAAGp4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:31 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "175c1045-45a1-4fa5-b250-765ad4db0900" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "1bccd445-8738-4657-8ab5-e5f40d355300" }, "ResponseBody": { "token_type": "Bearer", @@ -145,47 +147,47 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "427e7fe4-a78c-42e1-978a-33eec5e4c569", + "client-request-id": "22cda4c2-5dbf-412b-958e-980c0f0bccc4", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "caedfe5542dcca7eb80d3d686add6663", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "427e7fe4-a78c-42e1-978a-33eec5e4c569", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "22cda4c2-5dbf-412b-958e-980c0f0bccc4", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:42 GMT", + "Date": "Fri, 07 May 2021 18:05:32 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAIAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:42 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AhF9yC_kfxZFtvfPAJPw6UNKXQmMAQAAAGt4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:32 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "0fa146af-fb99-42c3-a36b-20fbd22f0900" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "1bccd445-8738-4657-8ab5-e5f471355300" }, "ResponseBody": { "token_type": "Bearer", @@ -196,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "1036332638" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2Async.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2Async.json index dca432472a2b..a5c1050cfd93 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2Async.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/FromX509Certificate2Async.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "fcaeb2cc-308b-44da-bbae-49a39b91e8fc", + "client-request-id": "eb6fb479-5343-4dd2-9d33-33c70ee0829c", "return-client-request-id": "true", - "traceparent": "00-91b1a68205658f41bb420e66f527121d-2e2a6e1c59ef684b-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-1f34ca37ce9e204e98a64e516ca7c107-a4c2df96fe64434c-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "cfd454c6d3182f8f3bbad0369e9104af", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "fcaeb2cc-308b-44da-bbae-49a39b91e8fc", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "eb6fb479-5343-4dd2-9d33-33c70ee0829c", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:44 GMT", + "Date": "Fri, 07 May 2021 18:05:36 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAgAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AltenNmMMwFLtxVUbQA9Wx4; expires=Sun, 06-Jun-2021 18:05:36 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtbS4CUZ7vRMEjjER8i6N9JnHxaEBBjnq6XtPL0Yc6NZKcuI5oHw-rh8WG7FG8x9v-UT-zlx0Ry0ptiHlF7EEUVSkMZAtK_Zm1jDmYM0f4G89NDvAuReOmMRGq3Q_pyuv1BWnRq7BVwYkNAHLhvbMZkpCmMnZu-X5yUvs3tVTsIIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "c629d3ee-a13a-4895-842b-7a7bc0e00800" + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "faf05e12-d156-4813-93f4-45c9182a6303" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "fcaeb2cc-308b-44da-bbae-49a39b91e8fc", + "client-request-id": "eb6fb479-5343-4dd2-9d33-33c70ee0829c", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-91b1a68205658f41bb420e66f527121d-45d6cbc4a6203a40-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-1f34ca37ce9e204e98a64e516ca7c107-03835db3927dbc40-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "bb827ed7e3afb86d40dbb204c108a284", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "fcaeb2cc-308b-44da-bbae-49a39b91e8fc", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "eb6fb479-5343-4dd2-9d33-33c70ee0829c", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:44 GMT", + "Date": "Fri, 07 May 2021 18:05:36 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAkAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AlYfvtz26xdCtfGlQdB1G3tKXQmMAQAAAG94J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:36 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "9a0496ca-801c-49b0-a98b-3b40d1af0900" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "7073e5f4-7dc2-4759-a597-28f3e52e4f00" }, "ResponseBody": { "token_type": "Bearer", @@ -145,47 +147,47 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "b4565928-7fdc-4907-8775-0aede129cbe8", + "client-request-id": "0e65a39a-6edd-477e-bd93-06866dbc3a62", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "e00d83da10fafa997f62b993d74dca46", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "b4565928-7fdc-4907-8775-0aede129cbe8", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "0e65a39a-6edd-477e-bd93-06866dbc3a62", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:44 GMT", + "Date": "Fri, 07 May 2021 18:05:36 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAoAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AswOgxLlcAlOvwPA7dzLv-dKXQmMAQAAAG94J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:36 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "0b206528-f2b2-4e8b-bd86-c96a26b80700" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "3d31bb5d-108c-4fd1-b54d-66c15fb44d00" }, "ResponseBody": { "token_type": "Bearer", @@ -196,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "1988539244" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeader.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeader.json index 529a48bf186f..7a88abbfe3f5 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeader.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeader.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "a3cb47a2-8497-411f-b6da-9d3630d39a5b", + "client-request-id": "11d272ba-f4d6-47e7-a2f1-78c57bd15dbc", "return-client-request-id": "true", - "traceparent": "00-7a1bf581fcf0714892db1b56bcdb8770-0fcd087998ce1c47-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-309bb4a0ba6d8d439ce1e4397dfd83cb-e04507f03de9ba40-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "7cc6c20a26114afde4cf881ebd9cd9db", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "a3cb47a2-8497-411f-b6da-9d3630d39a5b", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "11d272ba-f4d6-47e7-a2f1-78c57bd15dbc", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:42 GMT", + "Date": "Fri, 07 May 2021 18:05:33 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAIAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:42 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ar1WeVoFaNZOm2Lpa2V5xdc; expires=Sun, 06-Jun-2021 18:05:33 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtcduudCj1nmffzIa48SpXXIQ3O3A3UbM6Jv9C95KKCVI8ddIEbcyZdFA7GjmPkOWPpSYU1HvGMWUxnpARseuIMGfOqa5_HfmoSYhNmsSJOcIoh4FFs5cehcd3qhp5CFxg8-QdC-OXH7YnDP1fmVewGW5owdZZ1aGH0XQ8PvfYoggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "67a07765-4fbe-4ece-ba9e-810691100600" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "3e3b5f8e-016c-45dc-b726-86a13c219b00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "a3cb47a2-8497-411f-b6da-9d3630d39a5b", + "client-request-id": "11d272ba-f4d6-47e7-a2f1-78c57bd15dbc", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-7a1bf581fcf0714892db1b56bcdb8770-266433ec3a66c349-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-309bb4a0ba6d8d439ce1e4397dfd83cb-644dbf6344bd8b47-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "61628e6c00ac8678b3611b73baecfae0", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "a3cb47a2-8497-411f-b6da-9d3630d39a5b", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "11d272ba-f4d6-47e7-a2f1-78c57bd15dbc", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:42 GMT", + "Date": "Fri, 07 May 2021 18:05:33 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAMAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:42 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AsprRaox6aFHnB8qgw1edDRKXQmMAQAAAG14J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:33 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "0e028df8-03ce-47b7-9c08-65013e8a0800" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "270f6421-1b6c-48fc-9685-74c109be5400" }, "ResponseBody": { "token_type": "Bearer", @@ -143,6 +145,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "572638946" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeaderAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeaderAsync.json index 3906743b13dd..c3c0ba7078be 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeaderAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncludeX5CClaimHeaderAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "cea3b75d-f99d-4811-8603-33ec7ebeb75d", + "client-request-id": "99c4af97-8ee1-48f8-ba9d-e15cda278f85", "return-client-request-id": "true", - "traceparent": "00-9ebc51cab5ba40428ebee628273e5e8d-0150f165c94f7e43-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-526b5f26365e6a41a7a9c0ba0e2bbb2a-7220db2f694de348-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "75d684d87e8c13dc5f0f103bb42ceeba", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "cea3b75d-f99d-4811-8603-33ec7ebeb75d", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "99c4af97-8ee1-48f8-ba9d-e15cda278f85", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:44 GMT", + "Date": "Fri, 07 May 2021 18:05:36 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAoAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=ApPvpYYFSZBFgDmSzihwP1w; expires=Sun, 06-Jun-2021 18:05:36 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrlqASWW_Ip0vVgChCYHxP6eua6ILLlbvkS2qGHWMI3sG7aIMOt6GRtIpa00qjTXDNhj7ra5tCjz4C51S5VLQab9d4GcHCC8HbloGgIJ5WIIY3kcSbHsMI7iqrQpnKKEmmzZbUYi4fcN8Ni2uFDkuviTxhd8VAMn832d5ybulODvYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "2fc54cef-d00d-4238-9195-3841e5300500" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "2801698d-f49d-45af-9a37-5195f93b5c00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,48 +93,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "cea3b75d-f99d-4811-8603-33ec7ebeb75d", + "client-request-id": "99c4af97-8ee1-48f8-ba9d-e15cda278f85", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-9ebc51cab5ba40428ebee628273e5e8d-409b9573a9ecf343-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-526b5f26365e6a41a7a9c0ba0e2bbb2a-f7c35fb4e58cfc4b-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "03d87b7feafd684b36bc15c68c35ffa6", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "cea3b75d-f99d-4811-8603-33ec7ebeb75d", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "99c4af97-8ee1-48f8-ba9d-e15cda278f85", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:44 GMT", + "Date": "Fri, 07 May 2021 18:05:37 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAsAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvJbW0RHZFdHqk2ZpCsvlRZKXQmMAQAAAHB4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:37 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "7bf28be4-fc61-48f2-81a3-5a9778c90700" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "c50f07c4-9615-4aea-9b84-ac5cdf4b4f00" }, "ResponseBody": { "token_type": "Bearer", @@ -143,6 +145,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "817953015" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificate.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificate.json index a0bc459df3b6..ec29ef6e36e7 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificate.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificate.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "b1859d12-57c7-42c7-8831-f43bb142a115", + "client-request-id": "f840e3dc-cbd1-4122-a9ac-77ebe2d862fb", "return-client-request-id": "true", - "traceparent": "00-230ae6fa37cb2a46864f96cc1873eed6-c2abe1dbf6d84741-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-083f37688dc82249bb87ec183fb34a53-3b3070bbf87adc4b-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "7487ebf94314bc192ca745a1c53d3432", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "b1859d12-57c7-42c7-8831-f43bb142a115", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "f840e3dc-cbd1-4122-a9ac-77ebe2d862fb", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:42 GMT", + "Date": "Fri, 07 May 2021 18:05:33 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAMAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:42 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AnFwthkLB81KhyA52_YdzMA; expires=Sun, 06-Jun-2021 18:05:33 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevryG2EtBsSQ5G4c54JbU7kSKsAqqX8dTDIkPIQ3SrVtoy1vU75XKUMizFMbBicoITucMdlkA_QGwZfNS5XQxSH6mGHVNWM1-GBnI79SVvT1doMWpuXzTxcXCTQycc8WaFZ_D1690iShnIJ4lNw5mFyOLoBGtmyrSftFXutmvOsT1AgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "ec462316-7760-4328-ae86-452d6a9a0500" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "341124a4-1883-4c1c-a578-3adfaaad5200" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,53 +93,54 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "b1859d12-57c7-42c7-8831-f43bb142a115", + "client-request-id": "f840e3dc-cbd1-4122-a9ac-77ebe2d862fb", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-230ae6fa37cb2a46864f96cc1873eed6-37359a16a7d7e44a-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-083f37688dc82249bb87ec183fb34a53-480eb89f7e7a414c-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "84152cd451f59ae24f31e441613cab5f", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 401, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "b1859d12-57c7-42c7-8831-f43bb142a115", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "f840e3dc-cbd1-4122-a9ac-77ebe2d862fb", "Content-Length": "1117", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:43 GMT", + "Date": "Fri, 07 May 2021 18:05:34 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:43 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Akg6K8vRFaRCj6fogWU9HIZKXQmMAQAAAG14J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:34 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,700027,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "189946a4-c45e-4f3e-9702-180f58f00700" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "40b42d85-5b89-4c4d-a252-bd75a7325200" }, - "ResponseBody": "{\u0022error\u0022:\u0022invalid_client\u0022,\u0022error_description\u0022:\u0022AADSTS700027: Client assertion contains an invalid signature. [Reason - The key was not found., Thumbprint of key used by client: \\u002792C25FA606D05CE516C4EAD70D2904E20338C556\\u0027, Please visit the Azure Portal, Graph Explorer or directly use MS Graph to see configured keys for app Id \\u002726790ce1-d05c-4de7-ba73-51837152f0bc\\u0027. Review the documentation at https://docs.microsoft.com/en-us/graph/deployments to determine the corresponding service endpoint and https://docs.microsoft.com/en-us/graph/api/application-get?view=graph-rest-1.0\\u0026tabs=http to build a query request URL, such as \\u0027https://graph.microsoft.com/beta/applications/26790ce1-d05c-4de7-ba73-51837152f0bc\\u0027]\\r\\nTrace ID: 189946a4-c45e-4f3e-9702-180f58f00700\\r\\nCorrelation ID: b1859d12-57c7-42c7-8831-f43bb142a115\\r\\nTimestamp: 2021-02-05 20:01:43Z\u0022,\u0022error_codes\u0022:[700027],\u0022timestamp\u0022:\u00222021-02-05 20:01:43Z\u0022,\u0022trace_id\u0022:\u0022189946a4-c45e-4f3e-9702-180f58f00700\u0022,\u0022correlation_id\u0022:\u0022b1859d12-57c7-42c7-8831-f43bb142a115\u0022,\u0022error_uri\u0022:\u0022https://login.microsoftonline.com/error?code=700027\u0022}" + "ResponseBody": "{\u0022error\u0022:\u0022invalid_client\u0022,\u0022error_description\u0022:\u0022AADSTS700027: Client assertion contains an invalid signature. [Reason - The key was not found., Thumbprint of key used by client: \\u002792C25FA606D05CE516C4EAD70D2904E20338C556\\u0027, Please visit the Azure Portal, Graph Explorer or directly use MS Graph to see configured keys for app Id \\u002726790ce1-d05c-4de7-ba73-51837152f0bc\\u0027. Review the documentation at https://docs.microsoft.com/en-us/graph/deployments to determine the corresponding service endpoint and https://docs.microsoft.com/en-us/graph/api/application-get?view=graph-rest-1.0\\u0026tabs=http to build a query request URL, such as \\u0027https://graph.microsoft.com/beta/applications/26790ce1-d05c-4de7-ba73-51837152f0bc\\u0027]\\r\\nTrace ID: 40b42d85-5b89-4c4d-a252-bd75a7325200\\r\\nCorrelation ID: f840e3dc-cbd1-4122-a9ac-77ebe2d862fb\\r\\nTimestamp: 2021-05-07 18:05:34Z\u0022,\u0022error_codes\u0022:[700027],\u0022timestamp\u0022:\u00222021-05-07 18:05:34Z\u0022,\u0022trace_id\u0022:\u002240b42d85-5b89-4c4d-a252-bd75a7325200\u0022,\u0022correlation_id\u0022:\u0022f840e3dc-cbd1-4122-a9ac-77ebe2d862fb\u0022,\u0022error_uri\u0022:\u0022https://login.microsoftonline.com/error?code=700027\u0022}" } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "1635701826" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificateAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificateAsync.json index b28670fecf40..2c978988ddb6 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificateAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientCertificateCredentialLiveTests/IncorrectCertificateAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "0d3be0c2-4838-49fb-bbb7-b138186d5c42", + "client-request-id": "284c444f-e461-46d1-aaa0-79cf7064e073", "return-client-request-id": "true", - "traceparent": "00-d06da8057238894bb971704cc396f8ce-ed9ac491f350854a-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-3155fea9b3af8c4a8015fbae2c42b9bd-0736907c67b9b146-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "7041a5df997d07fa3c759de52363758e", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "0d3be0c2-4838-49fb-bbb7-b138186d5c42", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "284c444f-e461-46d1-aaa0-79cf7064e073", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:44 GMT", + "Date": "Fri, 07 May 2021 18:05:37 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAsAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:45 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AkDIdBXN8mpHmsYO6LHX458; expires=Sun, 06-Jun-2021 18:05:37 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYfzS0C8kT8RCAqXZOiFunFDYX39kURQkehoP003F1YnTMtcmjxNBMW4JHoRrOz5HxMX7RrCuifQfsW6hSiL1kB8I4xT6RS8nN8hG--KCsdrb1avrDf8g_0AmroxOlRsG1608r57gwP8MKcY2jSn3Zng6UPlcPWC1LPdExRUwonUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "bd61a380-9d17-4cac-9980-e79b5f0b0700" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "396a1edf-fea8-414c-ba8f-623b00d56000" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,53 +93,54 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "0d3be0c2-4838-49fb-bbb7-b138186d5c42", + "client-request-id": "284c444f-e461-46d1-aaa0-79cf7064e073", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-d06da8057238894bb971704cc396f8ce-819dd6e484a6804b-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-3155fea9b3af8c4a8015fbae2c42b9bd-a6440f3d0ed0c142-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "a4d4421974faddeb261eaa6487a84618", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 401, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "0d3be0c2-4838-49fb-bbb7-b138186d5c42", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "284c444f-e461-46d1-aaa0-79cf7064e073", "Content-Length": "1117", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:45 GMT", + "Date": "Fri, 07 May 2021 18:05:37 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjAwAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:45 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AuNLpM71MjtFtlqbk3EPBlFKXQmMAQAAAHB4J9gOAAAA; expires=Sun, 06-Jun-2021 18:05:37 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,700027,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "0e028df8-03ce-47b7-9c08-6501098b0800" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "1ca4c616-9d48-4990-9416-5c55ba775500" }, - "ResponseBody": "{\u0022error\u0022:\u0022invalid_client\u0022,\u0022error_description\u0022:\u0022AADSTS700027: Client assertion contains an invalid signature. [Reason - The key was not found., Thumbprint of key used by client: \\u002792C25FA606D05CE516C4EAD70D2904E20338C556\\u0027, Please visit the Azure Portal, Graph Explorer or directly use MS Graph to see configured keys for app Id \\u002726790ce1-d05c-4de7-ba73-51837152f0bc\\u0027. Review the documentation at https://docs.microsoft.com/en-us/graph/deployments to determine the corresponding service endpoint and https://docs.microsoft.com/en-us/graph/api/application-get?view=graph-rest-1.0\\u0026tabs=http to build a query request URL, such as \\u0027https://graph.microsoft.com/beta/applications/26790ce1-d05c-4de7-ba73-51837152f0bc\\u0027]\\r\\nTrace ID: 0e028df8-03ce-47b7-9c08-6501098b0800\\r\\nCorrelation ID: 0d3be0c2-4838-49fb-bbb7-b138186d5c42\\r\\nTimestamp: 2021-02-05 20:01:45Z\u0022,\u0022error_codes\u0022:[700027],\u0022timestamp\u0022:\u00222021-02-05 20:01:45Z\u0022,\u0022trace_id\u0022:\u00220e028df8-03ce-47b7-9c08-6501098b0800\u0022,\u0022correlation_id\u0022:\u00220d3be0c2-4838-49fb-bbb7-b138186d5c42\u0022,\u0022error_uri\u0022:\u0022https://login.microsoftonline.com/error?code=700027\u0022}" + "ResponseBody": "{\u0022error\u0022:\u0022invalid_client\u0022,\u0022error_description\u0022:\u0022AADSTS700027: Client assertion contains an invalid signature. [Reason - The key was not found., Thumbprint of key used by client: \\u002792C25FA606D05CE516C4EAD70D2904E20338C556\\u0027, Please visit the Azure Portal, Graph Explorer or directly use MS Graph to see configured keys for app Id \\u002726790ce1-d05c-4de7-ba73-51837152f0bc\\u0027. Review the documentation at https://docs.microsoft.com/en-us/graph/deployments to determine the corresponding service endpoint and https://docs.microsoft.com/en-us/graph/api/application-get?view=graph-rest-1.0\\u0026tabs=http to build a query request URL, such as \\u0027https://graph.microsoft.com/beta/applications/26790ce1-d05c-4de7-ba73-51837152f0bc\\u0027]\\r\\nTrace ID: 1ca4c616-9d48-4990-9416-5c55ba775500\\r\\nCorrelation ID: 284c444f-e461-46d1-aaa0-79cf7064e073\\r\\nTimestamp: 2021-05-07 18:05:37Z\u0022,\u0022error_codes\u0022:[700027],\u0022timestamp\u0022:\u00222021-05-07 18:05:37Z\u0022,\u0022trace_id\u0022:\u00221ca4c616-9d48-4990-9416-5c55ba775500\u0022,\u0022correlation_id\u0022:\u0022284c444f-e461-46d1-aaa0-79cf7064e073\u0022,\u0022error_uri\u0022:\u0022https://login.microsoftonline.com/error?code=700027\u0022}" } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "821923688" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetToken.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetToken.json index f9ad99300251..e2dcbbbbf4a8 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetToken.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetToken.json @@ -4,16 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "56a291fd-2fcb-4015-b333-15e6dfcbde48", + "client-request-id": "1c055fdc-d7de-4227-8ae0-58174e5c582c", "return-client-request-id": "true", - "traceparent": "00-2e1670feb6f338428149169085f36761-1c1322bb3d002641-00", - "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210205.1 (.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-0119053aec8d44478bd0cc58b7b290e4-16aa3859dd80cc42-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", "x-client-CPU": "x64", - "x-client-OS": "Microsoft Windows NT 10.0.19042.0", + "x-client-OS": "Windows 10 Enterprise", "x-client-SKU": "MSAL.Desktop", - "x-client-Ver": "4.23.0.0", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "8a4a905606ba1d5b0c16bd8d1442cc41", "x-ms-return-client-request-id": "true" }, @@ -26,21 +26,21 @@ "max-age=86400", "private" ], - "client-request-id": "56a291fd-2fcb-4015-b333-15e6dfcbde48", + "client-request-id": "1c055fdc-d7de-4227-8ae0-58174e5c582c", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:06:02 GMT", + "Date": "Fri, 07 May 2021 18:16:46 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=An5QrILcPBdDrduSICgFrgg; expires=Sun, 07-Mar-2021 20:06:03 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8uwlVkqwXsPH8FQkRR39IWAhGmiwJCInhHtnD-dbbgrwcdKbyjk7AGxg0O_NmpReps6HCZml5JSOJaovSjv6tXsWbdQZqz1Z16wWya87-rmd87QBYLv8Nl7fy_5-RnI3E1fmVQDYOVqdBYDeeLGYCWLSRuwxR0Tb2GFkoC8P46AgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", + "fpc=AnSdTJgLu8tHoyxWyrq6jjA; expires=Sun, 06-Jun-2021 18:16:46 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUGB9mJlP6Xo5cZE-bcKxyT7rpNlNBaWuQbI757t8p_zZyJI4L3nMw0WTO2a9dwqkEBr5Ui9N2S7lGAs5SWn8Qshc7zuFYnJSPSw47-2zY6uoIoawO4piw1ys2_nmj5_ToQXOqsXGDljk36Q61hkvACXc-xo-cZCigRue5lAMikQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "12b03b66-6bae-4bcf-b438-bb91061e0700" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "788700ab-582a-44b2-a91b-5ea9dc174b00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -93,23 +93,22 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "56a291fd-2fcb-4015-b333-15e6dfcbde48", + "client-request-id": "1c055fdc-d7de-4227-8ae0-58174e5c582c", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-2e1670feb6f338428149169085f36761-24693b7718514642-00", - "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210205.1 (.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-0119053aec8d44478bd0cc58b7b290e4-1f9d680450bf984d-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", "x-client-CPU": "x64", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows NT 10.0.19042.0", + "x-client-current-telemetry": "4|1004,2|,,1,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", "x-client-SKU": "MSAL.Desktop", - "x-client-Ver": "4.23.0.0", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "9496c6d7ed0fa936f419c648f9aad418", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", @@ -119,23 +118,23 @@ "no-store", "no-cache" ], - "client-request-id": "56a291fd-2fcb-4015-b333-15e6dfcbde48", + "client-request-id": "1c055fdc-d7de-4227-8ae0-58174e5c582c", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:06:03 GMT", + "Date": "Fri, 07 May 2021 18:16:47 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AmFpOmGmBqpBtXLyu7w6F_hKXQmMAQAAACucr9cOAAAA; expires=Sun, 07-Mar-2021 20:06:04 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AkfeMSXJgclHseMWJ7Zzw_RKXQmMAQAAAA57J9gOAAAA; expires=Sun, 06-Jun-2021 18:16:47 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "8623bad0-f839-4045-b7c1-a1c834f80600" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "998edc55-4f31-4679-a797-062d0acf5000" }, "ResponseBody": { "token_type": "Bearer", @@ -148,22 +147,21 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "7b38ef7a-d469-44f2-92aa-840628a11c2a", + "client-request-id": "a7fdd8fc-2bb9-4d54-ba7e-515683bd8146", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210205.1 (.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", "x-client-CPU": "x64", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows NT 10.0.19042.0", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", "x-client-SKU": "MSAL.Desktop", - "x-client-Ver": "4.23.0.0", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "19cc59601a54349e61d967283eade3d1", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", @@ -173,23 +171,23 @@ "no-store", "no-cache" ], - "client-request-id": "7b38ef7a-d469-44f2-92aa-840628a11c2a", + "client-request-id": "a7fdd8fc-2bb9-4d54-ba7e-515683bd8146", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:06:03 GMT", + "Date": "Fri, 07 May 2021 18:16:48 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AhKXPJXz7EBKkYyNic7buN5KXQmMAQAAACycr9cOAAAA; expires=Sun, 07-Mar-2021 20:06:04 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AkNvJDBYM7NOuZPL3gx1pgRKXQmMAQAAABB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:16:48 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b911531-26d7-497e-8cd4-7f0d4b9c0800" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "d19d6fb3-56b7-4c05-84ff-cfbb0f0d4a00" }, "ResponseBody": { "token_type": "Bearer", @@ -200,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "472322850" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenAsync.json index cb39f96d5475..df7ce0301a30 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenAsync.json @@ -4,16 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "9f1b48a7-3cbd-44a6-bebb-c37addfc3bb7", + "client-request-id": "15ee331c-2451-4307-ac46-71c02b8eca94", "return-client-request-id": "true", - "traceparent": "00-10807b0c2f15a1428bb001d9e87eb441-d6d600be47e28a42-00", - "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210205.1 (.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-756b791571b76a428491941e0158b78f-bbefa28d499e4244-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", "x-client-CPU": "x64", - "x-client-OS": "Microsoft Windows NT 10.0.19042.0", + "x-client-OS": "Windows 10 Enterprise", "x-client-SKU": "MSAL.Desktop", - "x-client-Ver": "4.23.0.0", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "e95e5d7bb1efb961236046990af43552", "x-ms-return-client-request-id": "true" }, @@ -26,21 +26,21 @@ "max-age=86400", "private" ], - "client-request-id": "9f1b48a7-3cbd-44a6-bebb-c37addfc3bb7", + "client-request-id": "15ee331c-2451-4307-ac46-71c02b8eca94", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:06:03 GMT", + "Date": "Fri, 07 May 2021 18:16:49 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=Ag-dnnGfgj1Ng4splXHGk3c; expires=Sun, 07-Mar-2021 20:06:04 GMT; path=/; secure; HttpOnly; SameSite=None", - "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtUtYcCQdD4Y26avvtdTb4U8SuWT68ne1XwoLBnxuAcK_yBNBdC5cenagFiA4hV6RNoVo51cJitZYdMqNpyWcAHnqfjDXG2PPf7mh1IHaApZxWt0VEyTFOQ3Q4RSd6QhX2iszvWqIK4nvk_VuFcRIyx0mhxP1-v6qwc8BjXHahSkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", + "fpc=ApswOoe66hBDhkua3_M6_nU; expires=Sun, 06-Jun-2021 18:16:49 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqT7Xqs00i84HNJ__lUj75snlSz5Dri4uSDwVuTd-WucjrLT9xfrtZ5X5xoq0Az5PmkUOkVwpeA0Ch9AeGk8pXC5KG7kFMfuzViexvV5S-42N4jxRpK4rYKVsYePcKSfK-wuWXKefQhxdf8n36svAjYYyDAFPbmo8OSBfyPF1BvIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "d7405c6b-9c15-43bc-bd80-dd3b178e0800" + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "13a282f1-7cf8-4e4e-ba91-4b9391d3c202" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -93,23 +93,22 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "9f1b48a7-3cbd-44a6-bebb-c37addfc3bb7", + "client-request-id": "15ee331c-2451-4307-ac46-71c02b8eca94", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-10807b0c2f15a1428bb001d9e87eb441-0749e327a59bc541-00", - "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210205.1 (.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-756b791571b76a428491941e0158b78f-719811ef025b7c42-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", "x-client-CPU": "x64", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows NT 10.0.19042.0", + "x-client-current-telemetry": "4|1004,2|,,1,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", "x-client-SKU": "MSAL.Desktop", - "x-client-Ver": "4.23.0.0", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "19274e40285a768e502e838f4bb461a5", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", @@ -119,23 +118,23 @@ "no-store", "no-cache" ], - "client-request-id": "9f1b48a7-3cbd-44a6-bebb-c37addfc3bb7", + "client-request-id": "15ee331c-2451-4307-ac46-71c02b8eca94", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:06:03 GMT", + "Date": "Fri, 07 May 2021 18:16:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AkHoKZIGe_9NkxhJWAs2XXZKXQmMAQAAACycr9cOAAAA; expires=Sun, 07-Mar-2021 20:06:04 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=ApiDbUNwcTRGtN4SmPkfCzlKXQmMAQAAABB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:16:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b1408f0-c0ec-46ac-bbdb-6af99bb90900" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "f9d59c24-d1be-4325-8ca6-dc9032374f00" }, "ResponseBody": { "token_type": "Bearer", @@ -148,22 +147,21 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "6048ed20-c16c-4e2f-abb6-9cdcf6064bad", + "client-request-id": "aef4de9d-0afb-4c6d-ace8-9923fe8b075d", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210205.1 (.NET Framework 4.8.4250.0; Microsoft Windows 10.0.19042 )", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", "x-client-CPU": "x64", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows NT 10.0.19042.0", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", "x-client-SKU": "MSAL.Desktop", - "x-client-Ver": "4.23.0.0", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "6923fb1ce51c1d474f697d7a295a33f4", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", @@ -173,23 +171,23 @@ "no-store", "no-cache" ], - "client-request-id": "6048ed20-c16c-4e2f-abb6-9cdcf6064bad", + "client-request-id": "aef4de9d-0afb-4c6d-ace8-9923fe8b075d", "Content-Length": "90", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:06:04 GMT", + "Date": "Fri, 07 May 2021 18:16:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AsH2LFPEvqJPkNossvht1V1KXQmMAQAAACucr9cOAAAA; expires=Sun, 07-Mar-2021 20:06:05 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Aq1MzXkpa01NvZtEYJTIzntKXQmMAQAAABF7J9gOAAAA; expires=Sun, 06-Jun-2021 18:16:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "a364bc1a-42eb-44ff-a1c1-55463a710700" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "3d23ea0d-019a-418b-9589-2d5f63239600" }, "ResponseBody": { "token_type": "Bearer", @@ -200,6 +198,7 @@ } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "837482201" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPassword.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPassword.json index 48a6751c8eb4..68d465d52499 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPassword.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPassword.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "6283823d-16a4-481c-8f40-32b27bcc1e9b", + "client-request-id": "8c9e0523-341f-4dff-b844-7b3639ee9c7f", "return-client-request-id": "true", - "traceparent": "00-cd9268fe0910cc42a326fc5bb582b19a-a669a35dc333994b-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-466b0c0c6501c64db87b47ebb82c3c01-d8c19d77be45e04f-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "0d6dace797f972aa163fa679a502a229", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "6283823d-16a4-481c-8f40-32b27bcc1e9b", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "8c9e0523-341f-4dff-b844-7b3639ee9c7f", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:47 GMT", + "Date": "Fri, 07 May 2021 18:16:48 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjBEAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:47 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=ApXhXIRjM71KodVXTWwBBZg; expires=Sun, 06-Jun-2021 18:16:48 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSUl8_Jif6wbMl7rwKRCvikjh7KwUCBwvHdu3fRc-RgnffmfDLpWwiVacMDgODhVsAru0iqLhXlRQUhI20QAtb7yen2KB35cLgeuwVQ_mfO8IIJChUyHr0o5meZLB10lqbvN2dVOaNFsW54iOKncp4XcXi_VLMq7ApgAedXR4IIUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "17dffe21-cf95-451a-913c-d14125990600" + "x-ms-ests-server": "2.1.11654.16 - NCUS ProdSlices", + "x-ms-request-id": "9d21445c-e0cb-4a71-a290-d6d90ad9ed01" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,63 +93,64 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "6283823d-16a4-481c-8f40-32b27bcc1e9b", + "client-request-id": "8c9e0523-341f-4dff-b844-7b3639ee9c7f", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-cd9268fe0910cc42a326fc5bb582b19a-a6d7520f1fa1e349-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-466b0c0c6501c64db87b47ebb82c3c01-8edc9626a240bd45-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "6d95bd5e9339cf52e2fbbd0ac6255c01", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 401, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "6283823d-16a4-481c-8f40-32b27bcc1e9b", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "8c9e0523-341f-4dff-b844-7b3639ee9c7f", "Content-Length": "471", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:47 GMT", + "Date": "Fri, 07 May 2021 18:16:48 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjBIAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:47 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AoRwMNkqkNtJo9-YiBDfq7ZKXQmMAQAAABB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:16:48 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,7000215,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "7bf28be4-fc61-48f2-81a3-5a9775ca0700" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "64798e8b-0892-4705-b038-5e367e364b00" }, "ResponseBody": { "error": "invalid_client", - "error_description": "AADSTS7000215: Invalid client secret is provided.\r\nTrace ID: 7bf28be4-fc61-48f2-81a3-5a9775ca0700\r\nCorrelation ID: 6283823d-16a4-481c-8f40-32b27bcc1e9b\r\nTimestamp: 2021-02-05 20:01:47Z", + "error_description": "AADSTS7000215: Invalid client secret is provided.\r\nTrace ID: 64798e8b-0892-4705-b038-5e367e364b00\r\nCorrelation ID: 8c9e0523-341f-4dff-b844-7b3639ee9c7f\r\nTimestamp: 2021-05-07 18:16:48Z", "error_codes": [ 7000215 ], - "timestamp": "2021-02-05 20:01:47Z", - "trace_id": "7bf28be4-fc61-48f2-81a3-5a9775ca0700", - "correlation_id": "6283823d-16a4-481c-8f40-32b27bcc1e9b", + "timestamp": "2021-05-07 18:16:48Z", + "trace_id": "64798e8b-0892-4705-b038-5e367e364b00", + "correlation_id": "8c9e0523-341f-4dff-b844-7b3639ee9c7f", "error_uri": "https://login.microsoftonline.com/error?code=7000215" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "116437804" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPasswordAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPasswordAsync.json index 182e42aff87f..0905df9c569a 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPasswordAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/ClientSecretCredentialLiveTests/GetTokenIncorrectPasswordAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "ec8c1f4d-ac13-4f8c-b080-a58439e97071", + "client-request-id": "98d3e569-2084-409b-b75b-9678fc09f71c", "return-client-request-id": "true", - "traceparent": "00-62f458e1d9ac5d4dbe8f33237cc840dd-fb81b1093a25e14d-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-0f17af5da03b9c45994d22e3d7dd2282-45aaacc845310941-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "84a37f4ef2f4ec7eeaae4abce38a00c6", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "ec8c1f4d-ac13-4f8c-b080-a58439e97071", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "98d3e569-2084-409b-b75b-9678fc09f71c", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:47 GMT", + "Date": "Fri, 07 May 2021 18:16:49 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjBMAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:47 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AklM2rg3amFGi36ZIRjx6vk; expires=Sun, 06-Jun-2021 18:16:49 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrkRlltw8QgN3kg7nP2_Ktdgnz-WDQp5AcbErLneJMyxo3J8LakT4q_L5XBFg2dcrVl-mBI_E46oVcU63oDFdC7x1SiAU3RWuAM4UQNbnZlrR0xpOTqVXy3P_iIWKtDJmDc-HtxCafDFSnPHPVh1unU5EQnslRKVw_x50mTBn5oi4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "39d3d4b9-1fc5-42ca-be86-a4d68aa10600" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "fc9be1fd-e741-4d7e-97b5-c6726df04a00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,63 +93,64 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "ec8c1f4d-ac13-4f8c-b080-a58439e97071", + "client-request-id": "98d3e569-2084-409b-b75b-9678fc09f71c", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-62f458e1d9ac5d4dbe8f33237cc840dd-0dae4676d1dcc34f-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-0f17af5da03b9c45994d22e3d7dd2282-3c0d816b3660db40-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1004,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1004,2|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "1dd3ffb7753926bd3268d02b8b071386", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 401, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "ec8c1f4d-ac13-4f8c-b080-a58439e97071", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "98d3e569-2084-409b-b75b-9678fc09f71c", "Content-Length": "471", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:47 GMT", + "Date": "Fri, 07 May 2021 18:16:50 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:47 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AlxJB2ETE3dEjk9YAQv-usxKXQmMAQAAABF7J9gOAAAA; expires=Sun, 06-Jun-2021 18:16:50 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,7000215,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "0d896a5d-306e-4b00-9e8a-606ab75b0a00" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "998edc55-4f31-4679-a797-062db8cf5000" }, "ResponseBody": { "error": "invalid_client", - "error_description": "AADSTS7000215: Invalid client secret is provided.\r\nTrace ID: 0d896a5d-306e-4b00-9e8a-606ab75b0a00\r\nCorrelation ID: ec8c1f4d-ac13-4f8c-b080-a58439e97071\r\nTimestamp: 2021-02-05 20:01:47Z", + "error_description": "AADSTS7000215: Invalid client secret is provided.\r\nTrace ID: 998edc55-4f31-4679-a797-062db8cf5000\r\nCorrelation ID: 98d3e569-2084-409b-b75b-9678fc09f71c\r\nTimestamp: 2021-05-07 18:16:50Z", "error_codes": [ 7000215 ], - "timestamp": "2021-02-05 20:01:47Z", - "trace_id": "0d896a5d-306e-4b00-9e8a-606ab75b0a00", - "correlation_id": "ec8c1f4d-ac13-4f8c-b080-a58439e97071", + "timestamp": "2021-05-07 18:16:50Z", + "trace_id": "998edc55-4f31-4679-a797-062db8cf5000", + "correlation_id": "98d3e569-2084-409b-b75b-9678fc09f71c", "error_uri": "https://login.microsoftonline.com/error?code=7000215" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "IDENTITY_SP_CLIENT_ID": "26790ce1-d05c-4de7-ba73-51837152f0bc", "IDENTITY_SP_TENANT_ID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "RandomSeed": "1340062233" diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableException.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableException.json index e044d9488df7..435d69562aee 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableException.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableException.json @@ -1,6 +1,7 @@ { "Entries": [], "Variables": { + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "918323636" } } \ No newline at end of file diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableExceptionAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableExceptionAsync.json index 17fbec193e7b..ee1b9355e233 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableExceptionAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_CredentialUnavailableExceptionAsync.json @@ -1,6 +1,7 @@ { "Entries": [], "Variables": { + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1051641923" } } \ No newline at end of file diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedException.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedException.json index dc814f71bf18..56525bec8656 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedException.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedException.json @@ -1,6 +1,7 @@ { "Entries": [], "Variables": { + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1791879888" } } \ No newline at end of file diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedExceptionAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedExceptionAsync.json index a6081e4cfcec..e3817a8e2b43 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedExceptionAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_AllCredentialsHaveFailed_LastAuthenticationFailedExceptionAsync.json @@ -1,6 +1,7 @@ { "Entries": [], "Variables": { + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1601029861" } } \ No newline at end of file diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential.json index 0af07251371a..cca2f08312b0 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "886571476", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredentialAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredentialAsync.json index 42dc378e4799..f44b604afa64 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredentialAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredentialAsync.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1941497279", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCalls.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCalls.json index 68ebcd7c2a67..c2174e6829a5 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCalls.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCalls.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "609214756", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCallsAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCallsAsync.json index a0bd8904f0b8..bb312985ed30 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCallsAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseAzureCliCredential_ParallelCallsAsync.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1842369131", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential.json index da6ed59c8d4e..ca10454301bd 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "c4b6772c-5790-4ee0-a588-6fa86bac96c2", + "client-request-id": "8ce20609-d728-475e-a37e-ed5d047543e1", "return-client-request-id": "true", - "traceparent": "00-9d7becf18db66045b921978e351b25dc-36f09b34347d7a40-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-b71538239152f441b44931b768b96753-b9e8a419577e8748-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "5c79459f1c1f05efd98eca394ee40303", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "c4b6772c-5790-4ee0-a588-6fa86bac96c2", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "8ce20609-d728-475e-a37e-ed5d047543e1", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:48 GMT", + "Date": "Fri, 07 May 2021 18:17:47 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBAAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:48 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AouofG6Ch1NFoII_ZAOODOQ; expires=Sun, 06-Jun-2021 18:17:47 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrINrpoq-vljnTVklx99ka3hILKjAl_lmvhqZZBCavvBHbTBdMODk3cVoQ_k23zlgYeqtSKA7dasU3YYNmWr3_1HeF4qLW2vjPv8plfwfJxUPd_WRm6o72rNNJ52WvfrgJ2mwOO2QG2pN7HcSNQ9inDGmz01VKXdeU4I3TFkoWBP8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.16 - WUS2 ProdSlices", - "x-ms-request-id": "d2bbb07d-7685-4429-949e-5eec6ae70800" + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "3071318c-bc1e-4272-9740-3a90ec65bf06" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "c4b6772c-5790-4ee0-a588-6fa86bac96c2", + "client-request-id": "8ce20609-d728-475e-a37e-ed5d047543e1", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-9d7becf18db66045b921978e351b25dc-36f09b34347d7a40-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-b71538239152f441b44931b768b96753-b9e8a419577e8748-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "b59f1f6357dae216e68cac793ca90f62", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "c4b6772c-5790-4ee0-a588-6fa86bac96c2", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "8ce20609-d728-475e-a37e-ed5d047543e1", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:48 GMT", + "Date": "Fri, 07 May 2021 18:17:47 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBQAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:48 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AqnB6vBJL9hBnv43p2egygRlEICiAQAAAEt7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:47 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,266.6564,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "0fa146af-fb99-42c3-a36b-20fbd2310900" + "x-ms-clitelem": "1,0,0,1242.6744,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "9e9937ff-4092-408d-b10c-66187bbf5000" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMDgsIm5iZiI6MTYxMjU1NTAwOCwiZXhwIjoxNjEyNTU4OTA4LCJhaW8iOiJBVFFBeS84VEFBQUF1NUZwblRVM1NibklQZ3lORFF3WHhKZHN1R1JUYmNOTFZqS1BncStWVUF6VFhFaitYL2VQT01wKzFOeVhjUGdNIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InIwYWhENW43dzBLamF5RDcwakVKQUEiLCJ2ZXIiOiIyLjAifQ.R3FG4559s6V3SgWCHKvZcrc97yXrrgA1tuoc7q_XcVK-kbIMK-Vhu1UcHFQfs91zqn2Hq4Mcdgr5xztsmVDwNkT4lRXD41_-hdscFSybrb3ztxN04433M4F66FdfQxUGM2HIwtsHzEKuen6VqOlpftPni5oc3tmU4OpyURYHhAWu3AxusFUqK4Wr49bA9exLo9ABsePfWp6-i5otndQv_udZuzF2aNt51JRLukiPY_XzBLsO6V5FNJYpPVHMHpBsI2fEeAIPWSj1uiXURAuKuVogkE_DgHdGcL-UKLMjTAjQ6Gfs5Le-E7fSY-zV9CHAtUZLTcA47-HMXLfqY-kjCA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjcsIm5iZiI6MTYyMDQxMTE2NywiZXhwIjoxNjIwNDE1MDY3LCJhaW8iOiJBVFFBeS84VEFBQUFmWHlEMnJEaFpxZ2xEOHd3bnMwVVBvM0RFeFRCV0U0WHdocEtJTEZ1V1RIVnNTOWh2emZXcGxodHprcitTNzg1IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Il96ZVpucEpBalVDeERHWVllNzlRQUEiLCJ2ZXIiOiIyLjAifQ.japJocva-3RZicQ7IYx-8sef0lkq9Tf78vKZsOvZEc7SA99KOutrNv7U_LvhkNnQFc5Jzo5oD8g8w7mmFZ9qYgB9KhZ7c2-jM6L-mUi3pVrpnxKv1iPzwQd5wIN5dDAkI8wBWX5D_434Izlub4SUcb-Z0O-ESbPPIru9y18PdgsA1c8o66gGm1JT7Mh1RieQ7bR4Xi0x9fQrCo3saTCgbfwxA51sqYgndekcKEnzZpMArSZzXoNFCZnk-QH82Lm4XFgpl-_6GeQaafp0-a9apMpLZ1rqlfXCAH4I3yypVnWmbkKN8wf9_x3pvtTeCZ9EEQCq7kSKqO1gnJInNzzFAw", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1262717504", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredentialAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredentialAsync.json index bf2379a16b6c..199c9bead178 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredentialAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredentialAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "37d15a79-20fb-4e17-a966-cc07f9312268", + "client-request-id": "86fb198a-859a-4ca1-843c-b035553c2051", "return-client-request-id": "true", - "traceparent": "00-2f407d70f358ab4aa4a19d10e13feb19-5b04aa9f63285140-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-e15da8ebcecbf842a53cd7694f73f697-fab44a05f0b2f148-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "cca958fd939932d7ffe9eec619c7729a", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "37d15a79-20fb-4e17-a966-cc07f9312268", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "86fb198a-859a-4ca1-843c-b035553c2051", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:50 GMT", + "Date": "Fri, 07 May 2021 18:17:50 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Au0IWrY4hSBFr83r6masY8Q; expires=Sun, 06-Jun-2021 18:17:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSIaUF6v3osLNsKO_V8pWD1edc9PGkNjcqfE78OmsvgLP2UZlXM623Jcmr6nnogmOkt3mzapApZiKyaRt3c7DeH3RBa8K3g91PFXPsEon4AaOCE2o7ft4qbgh7D_cDDc83q0GpXCu7r5abax6vpHVcg84JMZkMkoIFWLNTw4EbvMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "f5ae7e9a-2a9c-44bb-a8fd-9e3d440c0900" + "x-ms-ests-server": "2.1.11654.16 - NCUS ProdSlices", + "x-ms-request-id": "2e1409e9-d962-4b0a-b32b-765b1d3e6e01" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "37d15a79-20fb-4e17-a966-cc07f9312268", + "client-request-id": "86fb198a-859a-4ca1-843c-b035553c2051", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-2f407d70f358ab4aa4a19d10e13feb19-5b04aa9f63285140-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-e15da8ebcecbf842a53cd7694f73f697-fab44a05f0b2f148-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "fff1e74a8565cc295d2d64ddf097ebef", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "37d15a79-20fb-4e17-a966-cc07f9312268", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "86fb198a-859a-4ca1-843c-b035553c2051", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:50 GMT", + "Date": "Fri, 07 May 2021 18:17:51 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCAAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AopjmfvLXBZCvJJAxsSzR6JlEICiAQAAAE57J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:51 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,335.908,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "7c7c2b74-5e46-4743-8ce2-22cfe8a30900" + "x-ms-clitelem": "1,0,0,494.8522,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "bafbcd79-6af0-45e8-8ea6-bef388875200" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFBcXVuQ3pnT1VvN2JoYVpwaDZYVFZkbEtlN0orS09Ob2swd2FDSm4wWkR4ZmwwYmZpa0F1L0k3bU1yUjlqYTY3IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImRDdDhmRVplUTBlTTRpTFA2S01KQUEiLCJ2ZXIiOiIyLjAifQ.Sy1Cr7NufqLlDjWQNEys_wzQHiY8lB2nu2KbxwU3HrGUmAHmoX2OldH779JmwY2VUuUFIvXRBze0VMXBenMyG8DwC-HLYKP8ChjAMooXA2ct_NON20WUrCaHqOKGPX9sWrZ15isfJCtg3bnhdQRqigaUHGen8x-DUsfnQaAbuH1XqRac9aUUDz3OEZlrjFPRpVCKfi7t9tA5EFfAn72XLu5E2H23H0IBr0i58R_wXJ_ViZyJT6qVi-0E5uaWudvq9zMtm_uGkVPjt30OOx1u1UYYSEwnOjDdE_-bMV4nodEdNOckaomRw-Gkv8BQZY1RKCGyf4oRWgof9RQHqRR8Xw", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzEsIm5iZiI6MTYyMDQxMTE3MSwiZXhwIjoxNjIwNDE1MDcxLCJhaW8iOiJBVFFBeS84VEFBQUFKa2ZUSUpYQ1N0dDJqUWcyNG0xdjl4VXJOc2ZXTTdhek1ieXNLUEI3WG1zZEdYbm5iRW1PZ3JON1VSajlsQ2NSIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImVjMzd1dkJxNkVXT3ByN3ppSWRTQUEiLCJ2ZXIiOiIyLjAifQ.iVjWFS_iAc2f6hDIrJ6R8XS3Uq-k3io44o9kCljfsRPLgdUyeBPJAhV0Wg060zYIJceRz9NnGo3ntxGyQJbuPMuOIV-TJtzU6dQuZDH6WXWuENx-2B5XBHNsicOkRTKMkr_5uMq_YnZGXvQqj5t9zEHdxYIw_p3pH5KIMqJ-FmSUOldFgvXwwE-sxwv0DyRXh2usDeR2sY_6alSrHD9SBGO_ewEuJwgJlVlXBdJ6CvMl5ykAPXY2l_z55yz63ntp_BTPTDt2tg-aXV1TqrI0F9em2gVlSHo5kSRKUFcUq3B7PN8UCYhVcP-bdkLwtlO_3RnoW8Soj4ZZIMPK3CPeXg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "299464987", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCalls.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCalls.json index 5bd50dfe6323..5908ebd6dfb5 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCalls.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCalls.json @@ -4,17 +4,15 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "584a0030-8c25-4e60-94a7-6bc5fd4c930c", + "client-request-id": "c8668f11-c045-4ce6-b369-a6da73685cae", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "b2693ea09c7280569e1273e99cbfbc1a", "x-ms-return-client-request-id": "true" }, @@ -23,21 +21,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "584a0030-8c25-4e60-94a7-6bc5fd4c930c", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "c8668f11-c045-4ce6-b369-a6da73685cae", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:48 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBQAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:49 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AmlFr3SCBN1KtA6gYErqpKM; expires=Sun, 06-Jun-2021 18:17:48 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrk8rMiqFRH8PfMUuYFg5X4xRO_7bqnARETMaYIpNd_hhjXFDGapGThrjVJR6cemQqqfdvL9Tjb1-XELrmu5SvqtYoKlFZ3Fs-2ZIF1iY6UAmOIJAEQn4gxcjXkdzDR8U5siBBjUaGmu2-jxrniWWNJUs--OTRNj09vMQQkF7zUBsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "97051acb-936d-4ea2-96e8-ff9aeae98d00" + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "b7b93d30-19b2-4ace-a319-d31c9797c101" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -90,56 +92,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "584a0030-8c25-4e60-94a7-6bc5fd4c930c", + "client-request-id": "c8668f11-c045-4ce6-b369-a6da73685cae", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "44ae79031595e5f20e98a1653fcdf0c2", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "584a0030-8c25-4e60-94a7-6bc5fd4c930c", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "c8668f11-c045-4ce6-b369-a6da73685cae", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:49 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AjYRJuY80zJDrQjfu4SLczllEICiAQAAAEx7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,323.2226,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "0b206528-f2b2-4e8b-bd86-c96ab4b90700" + "x-ms-clitelem": "1,0,0,504.3854,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "b27def43-1d34-4e53-bfe4-9cfedb0a9300" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMDksIm5iZiI6MTYxMjU1NTAwOSwiZXhwIjoxNjEyNTU4OTA5LCJhaW8iOiJBVFFBeS84VEFBQUFxZW1ROVRnakZoa2RwYitYZnI3VlpaOW10Y3ArSGZjakY0VCtGdU9LVlFuL1g0VWNHRENKVlRJQ095Z2pGNGFpIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IktHVWdDN0x5aTA2OWhzbHF0TGtIQUEiLCJ2ZXIiOiIyLjAifQ.JOt59r8iefNoJW8UOE9v5fCAq-t3loFcXDqqNhwY03efqkQRD0BNWuZyWt_J4N92UsvVRtlN1uZlB1kxjk5SRpCaWXtiOh_SggeEbzzTt1tUjnQbmKoPF-pswR23EH0YSp5O8lbnlAiSm8lJ5qY0oHo0prFWqad29W-PCGJjsdLcMIDk4JW6m7h5e6N8-WDv5k-60B-le571uebVcHGpVMEa-n2gFOJvoR6yS-Q2Ivxlc3ZOeLXUxp-WeBc4XGz44QPDNb2BT_V5Th9d1NIFScdtbwGlF1jCqZfEdCr_hUEFSaEohJ8YRhAypDlPrdhX39Mff45cb7Hi6D78brZN8A", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUE2ZnRwUWJsSC92eGQxeWpjKytZZVhsekZueTBEdndiV0ZoOWZ6Tlloc0tXRjdLd3R0bFlUNVZDNGRxcVdqTkpBIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlEtOTlzalFkVTA2XzVKei0yd3FUQUEiLCJ2ZXIiOiIyLjAifQ.TUNPhvj8PHa1bQks2Z7dhkYArTVPKq7TFF1BP3KxLUmCkHpTbRaaQH3GC3YPLZtcWmihrUChuotFkds0Spzj38cSdsckbM0YnqyhV4Qg9DYceQEieD5-6xUkh_1jJlP8u-OZGIy4rMKmfvioYYxh3Wj7jqMTmd8wraODfAIUuFFChkVy1ww1a9MbRFHWW4TLHcZJn9gQwcGu3QouhQ3IwFOpgJ0nXxrWsIE5wuaZKUCc_2LFyrV0oxxyhVkEZqlCv4WSp7Zio1mLV_50wiMbjJxStFjT5B7UHIYIPLEmySmYWNrevMVaACbiZjsacVHZxNR3vfxB69YHo_pZXZS08g", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -147,56 +150,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "1138474c-3d20-44e4-9eca-f19cc96378a4", + "client-request-id": "c173ee1e-305f-4e21-8bb3-7e2cf3ef75d0", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "c5a437cb2ff6fca05a871171ed727d1f", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "17b26dd866932eacfe0c08c676085dae", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "1138474c-3d20-44e4-9eca-f19cc96378a4", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "c173ee1e-305f-4e21-8bb3-7e2cf3ef75d0", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Aq9OP8hPKWVHgFLnEGxUv3FlEICiAQAAAEx7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,725.4641,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "9a0496ca-801c-49b0-a98b-3b403db20900" + "x-ms-clitelem": "1,0,0,831.778,", + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "f49910fc-a517-43ac-b28d-ecbe3b554f00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFadHZPOUVCZ1c1VU00cytZVjgwcy9sdUxtNW9nRXdrRWZZeFIrUGhhS0JWeHZzWGJ1K2hVcGF3czRXWGs4VGlOIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InlwWUVtaHlBc0VtcGl6dEFQYklKQUEiLCJ2ZXIiOiIyLjAifQ.H1pIuLoJ9HU2son4-mB6eidIai14Biw5guTPdmapNN95amRKGiEacJZVL3B7uRuvnpyI-oN1p9HYE251x1NxHsR7FzCPcHM0U7desnJEkxYgjdxxUdUlzhlOWuDeQvXHveoE005bWFE6N6NPBxCROw8T4x7wEuqn7TpX5soVdG72pN7P2vsL5ALB-F-fKn5mMhv1msxrDOPTHOfVxGvHrWlHLCH79Zi_x5jag3Xx-FqKf4zEVIJMvzRdu76wX2YfnfzGPA2yDX6BeFlzH84YcAjxxSSgOIXzYMa6_ARttzLJ15DtbopOY3ogQL8npUiWthLuzMlkPoIOaro-UL-Q6A", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUFqMzdFMXVjWjhPUm1MOERmKzB1M1lUcUlpZTNRaFlibEQzRzNxWEl0UzZzRUhrcXcrdmMvUFJDcFlWLzNqNUVmIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Il9CQ1o5QmVsckVPeWpleS1PMVZQQUEiLCJ2ZXIiOiIyLjAifQ.MGplL6omQ2ayU3RZ7HKZv7Z0wUcjmaKn6pm_-28HdiX_Ak7dJv2f7r40b0a8TiDZp5mpkoFjpkzOS7IsAd5K5Wjs8Hs5GmILSGUOHlcXkc276GLCGducMKqmsJcYbxQz-qEBqNMv2YtK8TLfIlz1JGk4wPwlanbICpr2lPqcZuVaggPd6dz1wTOiaQ35z3AYxippX_wI8xwuIJxid5MLfxacyDDKLAPY_2tEhx_5JFnZx0fkpf26ffS340Cttggkfgd3-KK70TiskEM6Ltheq7nOKRTIikoQUTTjavGRravWe2odVWo5INuxlnoAIfTiStVKTMyHGfqinKF3w-DbTA", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -204,56 +208,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "462551e1-826c-4a4d-aa70-800e68531079", + "client-request-id": "131d2e6b-7b42-41aa-ac5e-ef6931dad39f", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "de24e1a233f18afb4c84a3dafaf041d0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "24f9aba92d33e7e01093e48973ba22e2", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "462551e1-826c-4a4d-aa70-800e68531079", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "131d2e6b-7b42-41aa-ac5e-ef6931dad39f", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:48 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Atslht78paVLmRPBGssKtbNlEICiAQAAAE17J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,740.7693,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "b3b26155-6915-4399-ae75-0a156da00900" + "x-ms-clitelem": "1,0,0,1112.6892,", + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "bb33d9b5-75c8-4be7-858b-38f3f9f65300" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUEvYWpUMDFTRlJoSll0OHY0ZGJFZm5TVzVhKzk2T3NjVnQ0RVA5Y2hzR243Ti9PdjJhMmYvWmZrVnBEc2R3MnJrIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlZXR3lzeFZwbVVPdWRRb1ZiYUFKQUEiLCJ2ZXIiOiIyLjAifQ.iCbSwBGe4SAneNxsekAkkv2v6VUAkZMN_bphtPpx7vpotkcw8nq6dBM45yKNRbDuS7WwzJFTLU_xFpeb_laeFNzdklLqycdYJ1dyJ-25Tw4lg5x7uE_TEXj2kJk95ACt0EG5ObAZcV6KCjwGQ8WZhkzgEftI69136Op0nV6q6p3zui9FOx-E7cZybP2AbJm77hj4ApKYmxaXe9aHl8zAmyyNNJfDe-fnsdVpBlh-uPql2Q1mctRsjM5aCj3cUiWMzvGiNnbFGmELJSW-z--vrKv4V2t9uxOEtVAZok47Tf07-6Tgv9yrj2BUuuvtiE3V1ev2GGs8um2PoTNwozGLJg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUFRejVwOEoxeFBPc0hXTFZSakZlNVgrTEJjcTdpcU9qVXVvUWRHdHpPT1NOaTVqb21iU0pFTVNLWWwwOXQrb1h5IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InRka3p1OGgxNTB1Rml6anotZlpUQUEiLCJ2ZXIiOiIyLjAifQ.keMx_-yeQOQYUc1RnmbFr2zgMVgacLmXCDmdKYth3E34qhrmK6BQjqEiTZMdRqEOuCubl4baNJ1Poifz9wgh8DEzG2sotseVAIuRRD3bQkf9curoj9lz1BkGgs6oTgyZ1K6WodvWTJrghkVQjQTN4lIg7f7VM2TSRyJw0Isuf_2fChHvo6ESy8mGcfngsvoph_RG7yo6EKPhTh1ohA5GTbUHzK6U7kxMROscu3MYchSPyX6XNI4iUTx3qB_MjL5vSmjym-VJK34rcS4YoomWJr0cGEHkOlqXeH2_CaiIuASZS7ti2zamX7WEgi02X7M7eewg4T6Em0AuFWbQWI5gdw", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -261,56 +266,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "2ce7f750-cac9-479b-93d7-6234258dc389", + "client-request-id": "0baac728-e8b1-41b1-b76f-a124959bec6b", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "d6be384ca9870b0e53c60321005fb600", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "b52417aca7b46c989093b366e0051080", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "2ce7f750-cac9-479b-93d7-6234258dc389", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "0baac728-e8b1-41b1-b76f-a124959bec6b", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AuD-p50CgA5LnXz6QjP78QdlEICiAQAAAE17J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,739.6689,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "5d93c35b-aacc-4472-b8be-adace1da0900" + "x-ms-clitelem": "1,0,0,1159.7954,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "cb7cd13f-c788-49ef-91f6-10cd6d1a9900" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFEWWxYUDFBY2ZLRlYwRS93U3BTTVB2bEtnT1duazU5ZlpabDhPeHJ5YzRXZUovbVdKWHJqd2g0c25uaWVYT0xoIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ilc4T1RYY3lxY2tTNHZxMnM0ZG9KQUEiLCJ2ZXIiOiIyLjAifQ.Ogyc84VPrW1OCZy83BQm1Q_bSAQZr2QmRQUE6hGOoXD5xh9C49KIMBjXpc_5jFeePpTDFbuKShvzCgYISQVqzRLxLCDMZmajteA1PA84QIHzT2lBNnpAb8xX7MjX47t1llYXm35flWyIy95rNV_XNAyHATchZBEu9sfji3HUifx4brl4Dj0tbU8ZLO5ePPzy1tp5PaMsaaM7U3ZmGr8FmMdAf5A7oyqXUFTrwSp5C1v2_1Xh4A47_xuYo8XxlT48gu1oI64ntFQKYJl5DdMW5qX1y01gx6HK26M6zeXJosdaEqUBOp4FdJ5tlSOYL88ZnipQUAO1r4NGxvMv_QgecA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUFLVkdIdmF5cUMzdzNTT21yMCtqTUd5WFFoSjErY0c2V2xoZnQzazNLWGZZTDNWemp6KzRtSm1lQWM4YzZqazFLIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlA5Rjh5NGpINzBtUjloRE5iUnFaQUEiLCJ2ZXIiOiIyLjAifQ.ZCYJSHgtSLibUh-BpzNxsehLVL2_0hdeRC9qtl47P4OlT-D4ae98PE98asGrzSENwK5QT-7rmXHL4_Vq20GM2N0fS1NseOxip3ZLYAxwiVrPuE7S6tV6l0fqRmb9tY4Y2xCsL2BwL8L9ywLMmep17qz-rFy00Qqt4z5TVhGxkFEKOwQ_GxehjTd7JIszER7Rg66rvN3D9phwVb-dwtcyWdHVwkRw0e52PlBps38CCsV3pLk9dVaO_Yp_SfwPPl6wR3u7Lqpos2wkC0X7S4KgzIUutI6L23koQFILvcqep2SxdDmpCE8obKGD_meNiEFieWp-xZE1nzH9lfshjHKeuQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -318,56 +324,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "1b714351-cdc5-4b87-a696-9230b9dc6f60", + "client-request-id": "8922db38-8347-4e5d-aa0e-314ca3fb150a", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "2e11b122a50d9d86cd8046890d2c6e05", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "5dc3f33a11a9a4d07227cb0fc2d2330d", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "1b714351-cdc5-4b87-a696-9230b9dc6f60", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "8922db38-8347-4e5d-aa0e-314ca3fb150a", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ar-6ovXgowFGk-hhJ8r9NKtlEICiAQAAAE17J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,749.6612,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "5d93c35b-aacc-4472-b8be-adace3da0900" + "x-ms-clitelem": "1,0,0,1162.1239,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "5befa984-a727-4939-aa1f-fa9479424c00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFRejVwOEoxeFBPc0hXTFZSakZlNVgxcnE4bi9wVHVZYlhmQjhzNURwSFZ1NU1wL1dQNmNLZGM5VjMvNkpYVmVsIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ilc4T1RYY3lxY2tTNHZxMnM0OW9KQUEiLCJ2ZXIiOiIyLjAifQ.J-Ox4lIutOl_fs4rKPBhqNu6xC-UstxKc2PjEdwk9jYCevzRFgdDUz5XNPArxYj2MmfDVMYiF0IXCpHRQQnjUKA-KocYv5hZH6qa7m8PWpjLzAe0UcJlLQMLJkzeRAoiTHzYBYJ6JzIF9LAux41L5s695OuvEWGH9kgfjvbUiXOcOl9VtimJ6fbdpnZSH5X0ObfT-2hAWo_kIv3J4qF1QrRZl8Ih-aAO-Q3gWBTMiKL7dKaz5oorhNvi8PzxKbiY8vIxqb-k32Z0l8NXbmeMoD2d3jQdn-VNPMSsKqjkZLQJ_INRGZt01E597E86knwU5imxurxBUJbl2IBGAkXISg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUFDY1NKYUpSUVF4cnRlaWtLSTRKQlUyWWJvL1ExZHdXb2x0Z0phMENkRk1MTUJKcnA4cnA1cURndW5LT1R5ZEJEIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImhLbnZXeWVuT1VtcUhfcVVlVUpNQUEiLCJ2ZXIiOiIyLjAifQ.g1zm4L5GSnu5EOeqGa9Y8mwCfMkJ8f2d1CaAUhXmAgz9Zh_XSor20A_J6k7078BDLn3nC2BZMz-UGh9IajLYvngJMpgssAsu9m7DSe3aXKo6qtggyTkYE55DzgRlRkQjHYvOyfpD4PrZ09EIpqA-aeIk4FOo72X3XfQlMuOHAjbydMPcP6EhP1w4GSwLAFvPhdR4J5qs5np77JKS7Z9Q3f9Vyptvqj_5nkIJ2jC0hNFz_yWl3WqwjkQhQWs9_V6XQkiKDLP1NZ9ceK8sGG9RmxlIhzu9EoTWZ6bn9ob1lggkJIu__4bVYv2c4owTwyAqD6bJyHMecYSy43pGc6kOnA", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -375,56 +382,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "19a65c86-3164-4ca2-8922-2d68bb2bed4a", + "client-request-id": "3082a2e5-5fa2-483e-bd50-8b625226c703", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "069f9e15e32d1027e06dbce6da77dafa", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "de24e1a233f18afb4c84a3dafaf041d0", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "19a65c86-3164-4ca2-8922-2d68bb2bed4a", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "3082a2e5-5fa2-483e-bd50-8b625226c703", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ao8Fmceb7otAoY1C8pWUfJJlEICiAQAAAE17J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,738.1742,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "12cb777c-8459-401d-a9d4-085770a00900" + "x-ms-clitelem": "1,0,0,1176.9638,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "589ad72b-8ab3-4ecf-914e-4eca01149900" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFDY1NKYUpSUVF4cnRlaWtLSTRKQlU2ZE9SS3NXMXplVDFqQ1lNR1NSeFBGZFZyVXgwQUx6QXFobDNIL2tIRzczIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImZIZkxFbG1FSFVDcDFBaFhjS0FKQUEiLCJ2ZXIiOiIyLjAifQ.XZG0lD7QbTUhZK0ftR8AYnE6F_sTQMcRAuyQH_3BkZ1rc1VCzuWz6VDwnpwIaXZqyxxMDSuSpn9Oq2qkO3Ovd26aFxZNEMByN7LsV_6CmnhPwJ7nBypjlaWWD9VXp-9htQllt-lketlASur-H8FFyTlOdI6H08DUyJfUv0YUUhNNycsusnCWEGG1nCikkELQ9jKqbW7svqcDWi5MEbXA9qvy19KnV82RrTXTl2MeA-fw3hMNObyf8wNAUQ8plSiVwb4_ZzN0GtVVaFskLnaPDmFUI2fRbqIPQgxgke1DG8I1vjep8t8RN42JGsAbJwMiaI7Vzi730OOCCbxdMzmdxg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUE3QXdDeklOUGQ0enJ2b1p3UjN4YnBUdnZ2cTVKOW9TMFpmZVoveVpSZVgxUmZ4dzVMb1FYRlpYMTJ4L0d3WVVEIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Iks5ZWFXTE9LejA2UlRrN0tBUlNaQUEiLCJ2ZXIiOiIyLjAifQ.k2eyrtJ4pH5ps1RCGcmVfPspspVGJOa39AJpQc0wj7KDnGBiRGIRgmE2HGVZSsJTxYj5ViSaL-lwAqCcReAklth1B3WRlvVaPN_7j6xGXPPdduoUSxYSMqd4vIrN5o7hF0h80jr3ka1YZBKcKP49sJ15oeH1AhyVDn_bt4_x0B8kdfdz9iOXJsj8H4DYslbz0a3kXGIB6pHDBZSyo0_9jX4vR2qyyhKujADBSEJL38qH0MawOdB2KxzMSgy88KlcraIfj6OBMZJxhTizOmI5GNGpEeoRksmyvQuGk5ZTg8KbOthuT6BX4EIxd2m3D0dgEmvnXAlfVL-zyWthkRalDg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -432,56 +440,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "ef7fbfff-db42-4efd-8f1a-b225680176be", + "client-request-id": "375908d5-cbc6-49c7-8152-bd72d41026b9", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "17b26dd866932eacfe0c08c676085dae", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "2e11b122a50d9d86cd8046890d2c6e05", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "ef7fbfff-db42-4efd-8f1a-b225680176be", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "375908d5-cbc6-49c7-8152-bd72d41026b9", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Aud84B35g8dNn3x97u1FIUVlEICiAQAAAE17J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,760.8305,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "529723eb-3b20-4eaf-b68b-a88bf4ad0700" + "x-ms-clitelem": "1,0,0,1187.5699,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "e7503556-cd91-4f84-a1e5-8dd501328e00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFVTm5ubnFZZW50VHFCUy91Z3M3bXVkd2ZkMTNxMWJoeDVmTm1rUE14b1VSelEyZGgyb2ZLVndEeW5XbWN2NDJYIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IjZ5T1hVaUE3cjA2Mmk2aUw5SzBIQUEiLCJ2ZXIiOiIyLjAifQ.DxcRxAoO8leu9_oTES_AmK3gPyq3TuzzSmIqGIvFTv06U9Hk7zf4yI9WxVbFJ9OyXppRzUV24YE4-SD40VFVOhAToBh2A1GwMhP45KRaB3YRK8arggm8zOYh5M6gb6pHvpVINdgQ8Mn-XG_XF-RpdCMwvc3VE9n0cnZcfGDHccj4dHU7h5_eah9yVpdRN7GJ7pHtv1YMrx7lz4BE8B0PHwMnpVatNa0rsbkSfHgQUemiMfmK1d4-O8G48Yq612mpBdwV46jm5C_9q6-BPLwYHSwCt3Z-InszlJWgTdZAXs1wqnbfcMIs3SuACwoC6u2cI9DQaybpmeHVAvqfG0Ic4g", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUFFSTNDMlAxYmhNL0xWRWJhZGM4TEpNNTlzRUlUcC8rUEVjZ3JOSWdYcEdId2JvaWY0YUNBdThZd2NMNU4waG1nIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlZqVlE1NUhOaEUtaDVZM1ZBVEtPQUEiLCJ2ZXIiOiIyLjAifQ.LeWgFLu3m7oMsHohlVGmTiO_6Jqb-LorJdlR37ml8aJu_21avlnsiewP0EK4ru_yuMD1rn6O44zudHM5HpMhMbPgk2F9jzCtG7GkVCF_5TUHUpwbIYjXDYB2lfGGQRjCFXA8jdZQB8YrF_R5nTCQH8O9PAul1PCzhiG12a2tx6kDOFxij6mNmUWEGo46GDI1Ob7UBRxl12RnXmWwgivWJzY9XYjnyOipTEtKyRKK3NTfjTEAvaRHaq5WPd9DgZXQyDhImJnFZy7X30A6zl1CFtDmUM8WVudx__1znUFNm-0z0nYqCSGeJyJrV8vhLYCNnr26tytSOq-enM6rjG6p8A", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -489,56 +498,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "e6d584b1-1d26-4f19-a06c-566f3a9ad777", + "client-request-id": "d0ad3748-df98-49d1-9f69-a3388c888096", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "24f9aba92d33e7e01093e48973ba22e2", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "069f9e15e32d1027e06dbce6da77dafa", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "e6d584b1-1d26-4f19-a06c-566f3a9ad777", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "d0ad3748-df98-49d1-9f69-a3388c888096", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AikptpwY-QtJrYl9RdFT16JlEICiAQAAAEx7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,747.1178,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "c4fdba45-4a2e-4c26-9670-079661a30800" + "x-ms-clitelem": "1,0,0,1158.4263,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "8108543e-0e17-4fcc-84e7-d36dd58d5300" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFzekIzZjRZYkI2bG5iWjBFL3Rwb1VlSDA4MXg2bzg4dU1nbXVzYWErZzByTUs4djF4RVcwcitFMlBBMVpoYmJFIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlJicjl4QzVLSmt5V2NBZVdZYU1JQUEiLCJ2ZXIiOiIyLjAifQ.HSJgwNKL492NK2sqljY0e7LXBiyJ6YQptqITr1hz7SgOTOxJLRryhcqUmpmnq3XqiwjkV3Op4w_92nz17c_3BOwWqN1oMimm3wIJ150UylvOtyFnxMeyvhjeLIZbchmJLILsslsagllQSVs7jm8EbhthXm6le-cVmiCVcuUIdpIGzoQzmoYfPBbYZcCdL_kIvK39Lyu0YNV_Q4D5plnx9-PY5ixChASm71OinUhVyeoN5LkNzxI5ZqN3gbjcAVhJ7e8U5GKwilQ3a5m-8tcNFM-hgTxbrEVV64UstvG3gCquKVboySo6d4rz0KDJHoA-1DOFj9IJ6iw3A48GGzJebA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUFmWkRCTlNkdFl3enc1YitJcTFLR3NHbTg4RURqOTFsZkxzVDFiQW1ESk1lR2JYRDlHWjVzdnI4TzlGZWJFUW5hIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlBsUUlnUmNPekUtRTU5TnQxWTFUQUEiLCJ2ZXIiOiIyLjAifQ.k5leSZ01dtyya0MH_ONNt5GPvffVfjp3WiYXkLb5kgfoccjhMG8PQ4Ww2JSf5AmwW3alvkotlqW1KlcxPkdugX7p0RLV-cuI5LzdK0OTo3VLBCYeY0X_8kT6bZiGTGUE_ALJmIL8D5QlwzdtSV3DKRTiVbvyE_kEm_bG-WlPT22gmrEwhR9D5sKvulWjIB1RTYRRfgwbFx-WYGvhBbaiNMz4NcDmpIIk5Sme4CCwYnSiERkLgt4zyprJhMmpu9fTsN0u0OLggn26IIwzv4GL-HCLRsOJeEkrx5p3ngZS9D8oj9EIhW585ktR0byEqWt9ca9JCMdYzsjs6NUx-qPrMg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -546,56 +556,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "c7ca47bf-ff55-47a9-906d-d4bcde4d5137", + "client-request-id": "ffeaf65a-4ac0-4a72-b2f4-da71b35a4ca3", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "b52417aca7b46c989093b366e0051080", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "c5a437cb2ff6fca05a871171ed727d1f", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "c7ca47bf-ff55-47a9-906d-d4bcde4d5137", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "ffeaf65a-4ac0-4a72-b2f4-da71b35a4ca3", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:49 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AgD1WGA5CYpLnAKRttcPLpplEICiAQAAAE17J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,729.0914,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "72e0be77-d203-4031-8c3c-3f8c9c640a00" + "x-ms-clitelem": "1,0,0,1151.7288,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "8606c34e-928c-41ae-b7f6-3cec2e053100" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFVQk9vNjZ4Zm1oWGQ1elA0cWdxMytVOUJXNVJmcUFJRWFtYTl6RG5aR3hNMGVFRndWQkowMC9ydGl1cHYrOGxoIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImQ3N2djZ1BTTVVDTVBELU1uR1FLQUEiLCJ2ZXIiOiIyLjAifQ.NNc8QllTVCh49VH3iM1O2nGMfJfKybOM4smTIoLDzvLZh70BexuzEU9T275RMPce_CbkJ8Tbr94UdJFpqqskLvpU-Kl6MpaOytDvr6g6-wTCAEInigL6aqssrRj3_Eb7O9Hk3Q2e7kvASPPbY9P5khvhe517IhB9rppILgZvoj61S93ARsQBzGTUw7Hpak7AdLzzV3keR2sP5S4_mvQWmn8NuqiWAqYqD9AMuF4ni7mbSYQ7fc5bL6rIbyff-SxluveTaG0S4xsGwdQTK69pfCle50BuP5PEX0DqXEaEDGGEXRKKSphfZGeomgunH3k-KGb91R9GJ5EVRthEud05hg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUF4azgwalo2dXlYbW1pSjFKSXU3NHk3aTFtaDVnZFhseGZlWVJYRjlQeGlOV3F0MXZTNms1VTBucCtoN1VMM2YyIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlRzTUdob3lTcmtHMzlqenNMZ1V4QUEiLCJ2ZXIiOiIyLjAifQ.kNifPqK8k1yXPuotYiuKXyOTzLp50galbhFpXVm6O-VmOHTbIgZ3YyenpWn4Xmi_OHVYlizw7p-l0pfsIHoGho40gNRUYrnkWb7bhGIO4pM45wJ2Quhy1M7x38FMudQtzSmrIc3WQdGxROKf74rWPH5xr_XFUZgwwvvDpvcT6kS-si5HSGOFhfPtsDiu7m9TRf1FGvhH7QcivVS577BwQDZFUX11nfzPA8mwdxGIhvQLHHbaRm21IuSeedQLWdu6BOa7PdEif9ml6e4z511X-XAqgHe4H6233qpWEInhgAzWO9VW5Fxkz2VSoBwr8gF48arcuBW3qjjmEWblLkfNhg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -603,63 +614,66 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "557d788c-bc51-4b73-b9ec-f1507809e9f1", + "client-request-id": "f7cbde3e-e81b-4321-95f3-d852aeffcae1", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "5dc3f33a11a9a4d07227cb0fc2d2330d", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "d6be384ca9870b0e53c60321005fb600", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "557d788c-bc51-4b73-b9ec-f1507809e9f1", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "f7cbde3e-e81b-4321-95f3-d852aeffcae1", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:50 GMT", + "Date": "Fri, 07 May 2021 18:17:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hBwAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=ApFZbdjrTERLo7q8EesEBFFlEICiAQAAAE17J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,756.1024,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "ac5fc22c-8b5a-42cf-847b-c1fba8e20600" + "x-ms-clitelem": "1,0,0,1176.8808,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "bafbcd79-6af0-45e8-8ea6-bef30d875200" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTAsIm5iZiI6MTYxMjU1NTAxMCwiZXhwIjoxNjEyNTU4OTEwLCJhaW8iOiJBVFFBeS84VEFBQUFLKy9CRGs3SCtMZ2FPNC9GMGRlVEVSUkVOTWFCQTJ4WjlsVWxFQnNkZU9RS25hcmFHVnQ1dm5ranRSdjcrN2ozIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IkxNSmZyRnFMejBLRWU4SDdxT0lHQUEiLCJ2ZXIiOiIyLjAifQ.kBGIzQx_w1f0XEnxOUC8k5Vrt3lkDUbCvDhWpSBLuppJqUOsXklLUwztAGmLfqhr3I_nI1lgHmf7vG1KCIH_N0jBhHt0trriCbf0vRa_Xk3WbV6iwnFZeuM4JZsaMMwvpWrFnHUNmTKau7qravIHF0_SkAQjlJMVZn2nj5NkcfM4PohSUxVDg164Fhrkkfh2EolQaQ2Uiy1WxN3PNMQpeziU-kC4gra40azhivpN7l0Hx1xUOlOW-EpCl2VcsFtp6aNm9xeDreDJBjHKuCa00W-W6UK1Okb24Of1V8IBBzEoSFs6Gc-KNorbODE3K4eUw8ggbmqJCPlUoR8UcmifHw", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNjksIm5iZiI6MTYyMDQxMTE2OSwiZXhwIjoxNjIwNDE1MDY5LCJhaW8iOiJBVFFBeS84VEFBQUFwaTFXREc3SGpYVTVveENrVmxuVUxzdUNtRGovV1g3TmhqcHpJYjFlN0VidEFQQVJISCs2QWo5d205SUl6ZmVOIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImVjMzd1dkJxNkVXT3ByN3pEWWRTQUEiLCJ2ZXIiOiIyLjAifQ.QUOHlX4FHUsXfa77jydq2uIo3Ekeod4lWghjuepcCIlIR5aIdBXShkG6SwymTU1nI43QuwvqxuPu_1ntvqOFWYoOfIXWThmYftucquenHTXJuySkoWIc3PH8KlSZsYmhhoiKxH5EDtp67OO8SeTaiAG0Z9wt7qnPgzN2yDyjV0NFC1xIpSBaSRNM997s_BbSYS7iJAOsBaVma1awwkkwKZrpDjs2LIn5j6C7CmoicDAcwTXZNFJ72bXRn6OzyX8ZGukDiv59bhd_WOTEqWsnY_HF1lPVnkWJNHdgL52iWTpJn_6ej98TICb4G7Q2E2kFYq6YeNJ3zkwsVwizOf82Hw", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1388686431", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCallsAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCallsAsync.json index 9189031add5f..f4a7b1596c27 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCallsAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCodeCredential_ParallelCallsAsync.json @@ -4,17 +4,15 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "ae6eef5d-17cf-4b1e-a15b-27d4499f2c6e", + "client-request-id": "53dd81a2-4346-41ea-adec-87cc945cbd44", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "bb7db8f4b111825aa560327fb71b0fc3", "x-ms-return-client-request-id": "true" }, @@ -23,21 +21,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "ae6eef5d-17cf-4b1e-a15b-27d4499f2c6e", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "53dd81a2-4346-41ea-adec-87cc945cbd44", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:51 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCAAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AmL1GDPfbl1MgWZwLY3oG2Q; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7bFwkpxYKpo-gZswAY--Dh6ZsTIZWUVd4X1iD8eTwVB6laAWFBjheCLmDzs4Wc15bmrH7Mb2DwZOCy5Rw3PyvD2roZYeGBXZPHESNSt7SzAjxNVSg4X3ri9BrEPXrMjH8MKEtnLXgJdNXC43xpI47xNZjBZeRZuqfCWS_0C0XF4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "adf5023d-70fb-4d7e-9e7d-2ad878c55b00" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "636c454c-7156-4a31-9351-954f25487f00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -90,56 +92,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "ae6eef5d-17cf-4b1e-a15b-27d4499f2c6e", + "client-request-id": "53dd81a2-4346-41ea-adec-87cc945cbd44", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "05ae7e70cfc5f734bea1fd184bffa209", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "ae6eef5d-17cf-4b1e-a15b-27d4499f2c6e", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "53dd81a2-4346-41ea-adec-87cc945cbd44", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCQAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvW3iocP8sxIuDsFvyCrQ8NlEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,317.3984,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "ffada7a9-4a33-4f5b-8277-065acb480900" + "x-ms-clitelem": "1,0,0,556.7484,", + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "de3c3de5-05bd-4299-9b69-643335684f00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUF3T0tmcWRKRVBwaUdQSFJva2Rvd3YvNVZCejNMOVhKUlN0UDczVXcxWjBjVlhGdFBkbVdvK2h2a3BQY2F5aS9UIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InFhZXRfek5LVzAtQ2R3WmF5MGdKQUEiLCJ2ZXIiOiIyLjAifQ.VFAeTVfTgj7Bcg-3EKFto1zJoF_-83CMYLeWYzcCX1lVf1TcOYKaTufehPsy5Nz3_MdYA3ajHqUHuQsip11bxOULNMzEUBAly85iTuSq1ENFOwFdeRzCI3jvzt2LWUbvC3btz0ROR4YGzt6kQUAZW_qzkJmQClBMSlK3FtbbzODcD1QYKC6nY3CNKwbCptuwfIzmjNjE5M5OhzBeoKEdyc97CBalxmBuyrvMbwioD89hpSCM5nbob2RgdkGgX6fU5XbuDA59L8mrqiHDv1PUNFwjoRsKfotU4viqcaIMAq-BLVt9iXSUPM_IrTOP976m9MaZ4CRJG19XJteKILMdPw", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUE1NkQwSXlSZEJTQ2hlTW9QZFhESWlRWVN0bXQ5a09ib2VFOSs0dFlHaFI2MFBwWENyU1F2U0xWMmREK2MxL0cxIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IjVUMDgzcjBGbVVLYmFXUXpOV2hQQUEiLCJ2ZXIiOiIyLjAifQ.EwMCv4CeFpfB_GELCzlukWIhcwt8glZ_edac_nFkwv06uQrFcIzEfTRtw0i2m56dTrzWBDelnf0Cp6vLnhSSW1CU9pWl1fAFW3xWbqkrQJIUaEYV6vqv-dF1eJB3ZtEhOSXS9eQCZHjfHSafF2WE68fZYVr0mU84MGCWC0-W2IGmsYDv26yVDVLZhvUALdDE830wO-_sVJ2QJOMf1MmScqrBSvJa82icOXMyqJ2C0euHN0180il5Bpi95-OIeedBWRaMT2-AY7fOG6Qn5IrxKMRDwO1ANDDV2JUFQhCun-O1WHaFBfed_Zv-l5vgH6HUCFOVB0h8AO8zQNbL0uMpRA", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -147,56 +150,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "d21b1f37-fed9-4ae4-8f9c-9f95c07ad385", + "client-request-id": "707538fd-1dc8-4848-abec-717ebc8a3445", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "6bc374949911c6b98f046868aecb8069", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "d21b1f37-fed9-4ae4-8f9c-9f95c07ad385", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "707538fd-1dc8-4848-abec-717ebc8a3445", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AsAm359AxB1Bg4QieOJJDx5lEICiAQAAAE97J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,462.3468,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "ffada7a9-4a33-4f5b-8277-065ada480900" + "x-ms-clitelem": "1,0,0,847.8355,", + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "1c735522-c155-4a5f-93bc-5b7ca5e74d00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFXWDVSSDNyOUdVbkh1MkhOMks3T1dUdnhiN25nNEpVV2FyM3RlQ1h3TzZOQUNveVhrVG1XZWl0anBhc3QyZGpQIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InFhZXRfek5LVzAtQ2R3WmEya2dKQUEiLCJ2ZXIiOiIyLjAifQ.QnTnIQ9MQmw0Oiz_RxmLzhsOss6XW_TQZj45LN-pyVdFbWe1FiX-Mi9Fsqh542lv_fsL_n1DL2pFChZKGmW3QRpmYx1R1zqA97e4t0WUUiQt3MfbJebSnTaK5-quWq5aKyIbHo7icVaGJphRWRPwBFgBcaCI9ZcagxlkoHsi8wX1Fz0-saw9K7hnnC9XVat0jeB9i9zN2uzSfVGmDbffZn6_JU8NLhQItKdJUy2TsbxceuSFepdah1eqzfe-mGBcOWm_ljXHL0hhG2CpGCWu0cOMeB8eO-R-gs5KbATVyEv35qGp7hF3kjx07sCmgDeHaikib4Z0Kk-Z2AR-Hqiiwg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUFIcXk1bkhNMHpyM0dGYWUvVzlyM2dRNjdUSnhpSkdzMWtSWmk2NURURWtRWm9pclBHdlJQR0FWOWxMM1ZtcFNOIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IklsVnpIRlhCWDBxVHZGdDhwZWROQUEiLCJ2ZXIiOiIyLjAifQ.iXW2nKMnT_SLS7ECN5I8P0mDsxaPU1iw3W0PvwYzAFw38RW12mLK7bL6Iy8gQWN73urv8deJZSgTLooHfHRXByV96_PgtelZuEfycshbGWrE87qg60esefg6NoJNV1-f0rVe1RVC3xI22wnMQj-q1UJ9KB9pv2YHU6HgbjLCZKqeD_xmwCVzsZmYLMR6x4UhLneVLWcxavqUP-dGnK2G2jUPMSmIhMxZJw7_NALbF5iiI-dxKY9aWU_IDS3mLaiZD20V-i0J1t5vwaCps_FV6OZ3q4HUgkZAfhHd7f4xLsSSdLeFT6uvfNlegSkwoOwvovs-SGEtgkSV6RZo_abDJg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -204,56 +208,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "97236cab-68a1-44b7-90b7-0939a05232fc", + "client-request-id": "c244beba-3ca2-4ece-b364-86b96e22705f", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "1f4e093c970f202a5eb073babc263a7c", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "42ea29bea358d6b1c5e776c167cb49f3", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "97236cab-68a1-44b7-90b7-0939a05232fc", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "c244beba-3ca2-4ece-b364-86b96e22705f", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:50 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AsCLJyUIBTlGpuCrAZr3B0plEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,490.8276,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "b3b26155-6915-4399-ae75-0a1503a10900" + "x-ms-clitelem": "1,0,0,899.7944,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "4206e89f-5461-4221-ae45-f2d163395200" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFXWEFlUDhDY0VsQmVaZXZwbmM3WVYzM1Z0KzkzTzBSZFhDZFExd3RicU42dTR1TGVCcUhacGJqZmpSZDArZlZrIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlZXR3lzeFZwbVVPdWRRb1ZBNkVKQUEiLCJ2ZXIiOiIyLjAifQ.Uu2Yz0VKrdkfJldi3ShHRlOo47sxtPvF1DBGvpnY_g4Pxo5ZG_juePP_TaceLjcHy-COHdPmDPxBb5LFSCdpiyMmYNjS1DENU4DweKfgHohwlDI62FXJYBz5L5ju6m_50flgL2tXk1mP2z7OqNnE_NxbojGjGAZMWeUsFOPWPASo1zSlfAF_Ej28Un_6RCWG-DXYVU018iflOi-gXXLmK-8v7CONSA0O8mSfCX5EoBscaBxp_YG0a29lSFVArKWvqf4GpRG7t-bkspU0t5NHE7iZHSTY-UgoYUOrMFfD6T29IrRNPQIDBZLzmpv3RIC3V5kV7mJTcWd65snfzrKecw", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUE1VjdOR00xZGR1dTJTOHRWdVBKTXRiWXpVdFJ2a1BsclNFTHl6V0JHZEc4RGYyQW01WVc0ay9iSFpjU1Boanp6IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Im4tZ0dRbUZVSVVLdVJmTFJZemxTQUEiLCJ2ZXIiOiIyLjAifQ.W1Cwm-wU1AEC_xv83t_n1e-XviR1ay0knslR-e0smgaPGF58j4WEEOxPYwCMbuOvN1ZzhOguv8mM7aWhjiZupviO1GFNrpXejeeWmb21qsluvY0quScp387BA6XCFjoEzt6hEcvN8463LykoFFx3HjRijudhPN0jyPI9zmYjuvR13zJdZPakgCyU5M4oyHmmrzm2koSmdm7Gl7KUtMv1TrOHNKzUGtWtle472fTmKLWpWgEOUazrL_LJ-NGC0J-iysf2FlLc6q0gpjq1PPwFHPaNmDLm07TGs4S5x5Fb3D1ohWefnT0aXA7WUg3uOy8la81JsQ_UsG0bst5lG47kfQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -261,56 +266,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "f307d026-e436-46e1-b5bf-089711cfcd99", + "client-request-id": "e8b7a2d3-e2ce-4f97-b07a-9c1153170c04", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "924e2edff3fb353e98892630ca5785d4", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "a4f328d4c422e41382efa4cc607357ea", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "f307d026-e436-46e1-b5bf-089711cfcd99", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "e8b7a2d3-e2ce-4f97-b07a-9c1153170c04", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:50 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AnaFL3ztkPhIiORv4UVdaUNlEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,495.8387,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "b3b26155-6915-4399-ae75-0a1504a10900" + "x-ms-clitelem": "1,0,0,1146.5971,", + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "b0a46265-8d14-4e57-beb5-1a9746ee5200" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFxcy82aUJ6L3ZuSHJjajRXbXkvOVJqL2M0SDRwbGZpTzZQbFlrZ1ZndHpuNjc3VUxBbitNSUdRYUFpMHF5dHA0IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlZXR3lzeFZwbVVPdWRRb1ZCS0VKQUEiLCJ2ZXIiOiIyLjAifQ.coIUK1hxoI-7tjYxyRkJP2s5lgNxAWjrtInEdvFiqqaEsKPWSCKbIi_qNFXDHgvH-aijTTa8Ax4uwZaYB1jRq625c4_NQOHcHpAClkOOwd4yst2_fdE7NvQFTOVrTXjRp3-TMyvgUWBBVrjY9yLb099jGSI6t0jpVFrT5yT9wwsvfGqzrjWynqCau3O87s7DHe92EQ1CjodzMhpt71RJC1tnZN7S7gZcpm5wO_s9Po6b3_3YE7tXLI-BjJR_joqkaF-hCreSQGIsYokJHLvNXJ1592kFTjm1Ie7z17YKTB17E9qGmTQ0uvwaf6oXvHgjUQOhsWzTfiKRvqrLLUI-TA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUFTZUFjMHdyYlN4QlUrQ3ZqbEZHUmY1a1duZ2NlcGk0QzBzc09halVLSkNmaDVPVERuSTBrN3pTUFVzUjc2Rjl2IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlpXS2tzQlNOVjA2LXRScVhSdTVTQUEiLCJ2ZXIiOiIyLjAifQ.Lwh85VUOhc5dF3aTU-ggWwZcHAChd469hcEs9jLTqSjabOEe69I748i-6AD0dagxJbO0tREYyM--cs5OwYScqcFhUgrT-KR-sFj7XzekapBC9diR4X0vAxFZvylva3agKtg6hiq3zMBC5S_jO2thiwZvBl9Hjn8KoCFW_AMfhOyRHooBB6WR-22F8vKK-cmCiVEViG8ADT4NSLHtTDmtcvYrQOlvGh78hKxetpk-ELb21M2J6kPVrKjrAlkFfMRQNr7_GoVQvyDro2BGlvGonDfK-ygPeehLeDm1ZH8oXjoRtBu3YxgJFJTihdCz14Bi_-TR-2cv5i6NTvWPjFiytw", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -318,56 +324,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "92c94ab2-2d60-4cc0-bef5-6bbf367a7616", + "client-request-id": "1bd938d7-e5ea-4c51-b5f4-68a223e4046c", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "85a9c2cd3de04211faae3d57e3e4beb8", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "92c94ab2-2d60-4cc0-bef5-6bbf367a7616", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "1bd938d7-e5ea-4c51-b5f4-68a223e4046c", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AjykgED9hBJNjH-1svY01dtlEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,512.6121,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "d15b65a6-1203-4f06-b58a-0c4f01610700" + "x-ms-clitelem": "1,0,0,1160.8609,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "155503ca-1d9f-4bf4-a946-b6b81a994900" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFXamJwUkxHYVJiSjU4TUkrU3hzcVhRSzVpQ2xLTXNjMnhtRm5kUlRCMDNDSXdVSzZ2dzQrUmxWcENFSVk4ZUJFIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InBtVmIwUU1TQmstMWlneFBBV0VIQUEiLCJ2ZXIiOiIyLjAifQ.UY4bQMxhp86f-cSmariDEb3PZVxDIzv0-sdLnhyfDNFOc9u2Ozio5qFz716wIe7E_gwbycwjYxT7hSwovVcqIfEc8GB8rFGfCOgJd_NWXVcLOJ3fP1M8KAS9uFjH6kCMMtVLEJbPY8uZB5crLEvKPtXyWHfci6LuR2E1rgfxpBhqh5u8X8q3IGxPVKEoWX9gb4ptt-l7D0McLYxSkRjS5ZqvrXWcdocXc3plASWG365vDuPbAHtJjlrunqicav9sja6djPQbtLr-6tKZ7pqCuSStLw03evxzzLmstwBFUWoldBV2YEjRs2TJWvM4iCjWWf1X3NcPfz-Aq4HeoiLtTw", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUFIcXk1bkhNMHpyM0dGYWUvVzlyM2dRNjdUSnhpSkdzMWtSWmk2NURURWtRWm9pclBHdlJQR0FWOWxMM1ZtcFNOIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InlnTlZGWjhkOUV1cFJyYTRHcGxKQUEiLCJ2ZXIiOiIyLjAifQ.Px7nh0mJfbpEIKf-nw5Gshbzs4NPvB8VdA7YQkJ_NIxkKU_cW6-RCZ9KIAZZmbSz3ihmqjvLJDo4lt3G9pRVUuqv8-YBY3YtHxOP4QFJsMdptuZMHOx-My-lCiStgNd7heIw_FSoDi3CiXUSTUd55h1D0d-B9zpPnPHvQBEwqYv1wxMeulwjoh9YvLZlq2ERIMCWzj4EObSnmhzhm526pSKqk_C6p8tJgF4vTr7WR70wt_UYL9Atg51CgDAcJydYZ_wfzunxjqEtKQTP5u-QrhUttpYwVbo6n3QfjXprg4W6nu8xhsXbLWXTZzBzJw9jeAPDcwDdh2h4ZWWQejiYlg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -375,56 +382,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "14aa462e-04cd-4427-baf7-ef2cef55827f", + "client-request-id": "10e8975a-0091-445b-bf8a-72ef994f095a", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "ba82c17319f07896f6699d1ff25dbfea", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "14aa462e-04cd-4427-baf7-ef2cef55827f", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "10e8975a-0091-445b-bf8a-72ef994f095a", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvaLLTQqONRFlAGKgpK9tdhlEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,499.1528,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "ddeba4bd-cd3f-4dd6-ad1b-c3c2b8fa0800" + "x-ms-clitelem": "1,0,0,1147.5973,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "bc41852d-b08f-4a77-a9ba-2cd49fc04c00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFVQk9vNjZ4Zm1oWGQ1elA0cWdxMytSbFdscUN6Qm52SWxkcFFLeDYrMStRQnBBNC9DVmgrK04xVmVQeC9JLzQxIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InZhVHIzVF9OMWsydEc4UEN1UG9JQUEiLCJ2ZXIiOiIyLjAifQ.jijJZZiepsP0lihn8OrrNjOChVOGateFoU8_yyLz2vQQzVHP0Z2f6kZo94PlqeM0oPjqetE6VCnRl9-p8u2u_7LEIojPqohGikNagmlxJloiKaIep0ijHYvc3zudxeonx-1KweKNBh4K_aC1EtaxvDdfXTRr3nbYwyUacYei6LmKeqliP8YdBJlY-o1PHNViEUceydF59KhVPwdMnWBzvBJBegpcCl70x84HnABZgtUhre0AjJBtmlwURNIPrmBdYo12gi5AjplGqIcB4euhh47lp1azsk3UB-kLr887dCkDNd9CUmclwPxRCC6PLOT9eI5hbm8xZbUc_xsY0H3Gyw", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUFMY3JncDRiejlXTzRydW5IRGVpNGJrVHYyaWd3MXhoUW90N3U2dWFVd1N3eUd2cGw5MVRCNTJ0d0RLYUZzMVg4IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IkxZVkJ2SS13ZDBxcHVpelVuOEJNQUEiLCJ2ZXIiOiIyLjAifQ.iVNohjvlo00Sbqdx7FazFKwjGeKGSyqfihNHrXGK6kyh24PyswaCzlhLNemeZQR46iNlo1JtKULO6ckIKNbqA6-Oyt1_pgrjDwwAa9kC5YAlk023qUG0pLEWojYgVobLQfAe6PDGeDTRcY51yb96wJZ-79G2uNQhu_T4PQ8TozFLVgiXDhERaAyiYSSobSY3uXsP6tNhVZ3ZFnLjnzbk5ltPs9EjzYMyBfxpW2Pq4ZRDtnU0jc9NRXiwQ8txzrIEWiuNwWoB7b2VhFsZSYtuqSmzxZMZtxRZI-m9szxE5czVLyn3CXn6dhBoIRjvM2EZft8GP54vLV5jm68rxi72pQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -432,56 +440,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "4207cb0e-435f-4ef4-b701-4333b0b605b8", + "client-request-id": "20a5749a-d032-479f-b898-4441bb6364ab", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "42ea29bea358d6b1c5e776c167cb49f3", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "924e2edff3fb353e98892630ca5785d4", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "4207cb0e-435f-4ef4-b701-4333b0b605b8", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "20a5749a-d032-479f-b898-4441bb6364ab", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Aiok7eRQDjlAoF--nfawqLxlEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,470.4414,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1cc6e447-6293-46f0-a04a-1c9106790900" + "x-ms-clitelem": "1,0,0,1163.5174,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "c50f07c4-9615-4aea-9b84-ac5c4a205000" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFMV0k2UWRWamlEdDRyYWk3Z0lNS1Z4RldLNTNwVFpiWCtLQ3VScGxBZldTQStqMHlvVGJSdWNvdTBGYklaWjdLIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlItVEdISk5pOEVhZ1NoeVJCbmtKQUEiLCJ2ZXIiOiIyLjAifQ.aN8Sb9n_-rDZuSEMVVM3jxal4Pf2_npU7Bym7bROhcMFtdb_L9T8q88LnrDzudfo0oGf8lDfF89cz2VE9QgCpH4RiWpy25YpouJ0KvvyMXBKDIvW5BEzWSn5rwAW8NRpe7HCjOkcnfMjhg6nviS0w-_PLuA4nztVzvHHqt6tX9KUQTRTmvZU_X_1MqeKy91GD8JKbSztvSnmA1XY2eS7kCtE8PM06R3adxGbzx9WcSwhzs3mTPyBfUswXbtOx-sY6dqit6RaadKU0DLWA_LnhKeT9wBbh16CQMS11ytgdaWbqBEjd1gxLQiatekxkzjYdkp5_sEBK7d5rPTEvkiRZQ", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUF5NnV1dlVxeWRVNE8raFRIMjNXK0VMbTZ6SlRPaDZvYk1qT1l3cEpaWEtPSHd4cnBCOFhlcUhlTGUxdFJHYW1nIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InhBY1B4UldXNmtxYmhLeGNTaUJRQUEiLCJ2ZXIiOiIyLjAifQ.DKXSHZAIwlnN7gD6xllEbJF7dwwDO9JvzSvuieWdrY8eXqIL6aRsl6YCn0FYLMgn4lz3h3d4yird3jf-sNXGRmvJOQCq8QDcp-y_hILaT7Lh4p9IDoYfXmVzMl1GiSPTbn7cp6qWZzl0zTsMAkIBcNlBgy330d-HHY_eYeldFBVsN0uzyIm9qXutvgbraZBZLRG38rdvl8_1TIX1OiNhTpv_w7HwG2R1olOMMKihTiPBBXvSmnDMFxtY1DDQtXXZA4jewolkytphVmR69-cD2G0oDPDMQKQe9mtzNR4dXBdhYAgS5ykpMN27UmbfJicWFx8wtifLeBJwSdpYJVpc-Q", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -489,56 +498,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "63cce7a0-d1fb-4f94-b66f-947dcf3d0b84", + "client-request-id": "b733ee6d-6061-4a9b-a8de-30c6490f3098", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "0384ace6593e25a58486fc6fb34136a5", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "1f4e093c970f202a5eb073babc263a7c", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "63cce7a0-d1fb-4f94-b66f-947dcf3d0b84", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "b733ee6d-6061-4a9b-a8de-30c6490f3098", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AqpPTCAW0k1GoOJRAcC47ctlEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,495.0733,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "cb5bc5f1-a680-485d-91e5-6fa19b410a00" + "x-ms-clitelem": "1,0,0,1195.2971,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "4fefb874-85d6-4011-b34a-e44532cd5100" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFLVkdIdmF5cUMzdzNTT21yMCtqTUd4eVAvR2I0aitaWWowNjc3NmZtZGZJaXdxTXNBVTBnK2huYmF5MjJLK3pRIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IjhjVmJ5NENtWFVpUjVXLWhtMEVLQUEiLCJ2ZXIiOiIyLjAifQ.gozHZD5WHD7E6bFMDSLA5QCg3CosBirLpCqOxBhbTbagyEaKabUHXZO0ZxySssVX5Tm93remBajGhobCpwEr5fr0rDNoCjrg7GcVI04HlO0_e0SusUmQyAb8Fz8MTwHvZP_w1xK20kT04i5gJANAV1anCp0xiRreYremFcnhaymTmo7TlISW6GxVvM2rObmVdzjs3u_A7YF0x159HQFJ-kPEMCxa9j46g_Zf92kLTFOQK4wsBJZfnNIGwfuBPkESs4AJ7rF8iF1dOljGa0527QJgG5d8WoU8FDhne4dr8daMVTLeasSATTaRJ6udRGVVYoH0xwhYqBVUi3Oql4-Ywg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUExL1dZOHBRa0xvWUhNSFpHem1vcFVXVWZuZDJtdlBNcEhkQTdsTlBVOU93UUU5d2hiMm8wb1NnekphU0xOQmhIIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImRManZUOWFGRVVDelN1UkZNczFSQUEiLCJ2ZXIiOiIyLjAifQ.hFbLPQxHsqh0dPZl0Lb-xpkhXpiMGnhl5v3xJFfDBq1kX02T6SXg8d7rURZUxCWFTLjXo5qYH9PwcvYhyELh-7C57veJHtJIYl3Ow4heWpi68M16mRGPrcLHuoOUe9ILdqIm9FpGIXnsX0d5-83-eFyqsQRqYAlY6yOxSgUr2gJ6c2I3WOdI0ZHG3CpvTVF9mZfeI6ww1YlcqXTcjkLtbHu51K22SRy7wXLpb2gOXEsGnXJnglj1-zkqIbEth5Fq86odcvM237fxLZlm3pY15uWGlzivjJX25Y1jgAzHsKAzwe6qWoMS_GZQppaSY-D1Bn_wZ75sHqndgk3y93FG1Q", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -546,56 +556,57 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "7180921e-52e8-44d1-95cd-93d95879dc17", + "client-request-id": "b7efaadb-3cfa-4298-9f08-df2c884aa490", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "9f3294219e7a3acacf9ee78b9c49134d", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "0384ace6593e25a58486fc6fb34136a5", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "7180921e-52e8-44d1-95cd-93d95879dc17", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "b7efaadb-3cfa-4298-9f08-df2c884aa490", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AivepoSXX3BCprZFVfz7nVVlEICiAQAAAE97J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,494.4572,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "2e95cf19-39a3-499b-8b68-bbe201a20900" + "x-ms-clitelem": "1,0,0,1153.0313,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "8185e0df-205d-4912-92a0-82bfef095100" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUFBcXVuQ3pnT1VvN2JoYVpwaDZYVFZlK1ZhdWt5NHNmR2xsOTZ3elZXNDYwMXFBclBwN3JhcGsyKzdxdi9ZK2dvIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IkdjLVZMcU01bTBtTGFMdmlBYUlKQUEiLCJ2ZXIiOiIyLjAifQ.OwDfbsKZYiU6RmzvYrykYNqaEhkbcDd_QRRJNvTDeWkp6kQ3ZerXnZs3iFlj4YktTqUPeI9oDKI-Z-K_EciSyMKX_66HOTTKWQ7i5-XzGiSo9NU0SMiggrU2y6YeTGC9JwSnd3SfYvEHRw68crucXSY2IAbOij7Q34hLF2UtsqWkTLmu7xCK2VYK1Lo2kxnQxLAW2j5aLmM6jmlA0x9Lzr6-aMcIluDSumJT5SkLuIiDzgWoE8UrSnBU8DeQWgAHaBdlR5KXhfU4O30fdoFRuJC6HZbojDhVaFOj_bV7hBFH178UJgeDaYL9rhrEe_bqFOHCkCYxlx8Yd9TvbqbSbA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUFQRzBZRzQvWmlRSFJkYkdrMGpWQTRZTzZuaW5rMk1ITEFzZ21HVllyU2hxMnpnenZremNncVNaWTk2cjg0U3lEIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IjMtQ0ZnVjBnRWttU29JS183d2xSQUEiLCJ2ZXIiOiIyLjAifQ.cOsXRkAawtlS2KqsB_IPD5BD7eU4Xmgg3Q8na-eiCXRPgWZvq1iNQeDUnveJ5IqitSEAnboUkRiNfyw7y5ZHK1RDLDIH9if4jSZAJAlnkzJvPdS6Z3nFqaFXVWoKIbKFpqIRBXSVbbQpekUOc5bjP1JuCPMwfB-UQGpSpPQqwGLr6MDa1het5PEa-vpTfcYn4z1kf3uTWzvClVXcYP1HDgb8qaLOP0R-LEByIXWkX9P0Ct-l9RY4z4qiy09jEXFRvxaXob3MNH9b9OlPz6x3tKwj8IB-jgVPOFiB_ugGyiV4Cwa-BsMJMhCWhu1G4H4siwGCKWsJusNPmMCQ4jYJgw", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } }, @@ -603,63 +614,66 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "1e15a8bb-3715-4eb8-9d77-96f0d96359c8", + "client-request-id": "75745355-5a05-43c9-8a29-132bf6df70e5", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", - "x-ms-client-request-id": "a4f328d4c422e41382efa4cc607357ea", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", + "x-ms-client-request-id": "9f3294219e7a3acacf9ee78b9c49134d", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "1e15a8bb-3715-4eb8-9d77-96f0d96359c8", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "75745355-5a05-43c9-8a29-132bf6df70e5", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:51 GMT", + "Date": "Fri, 07 May 2021 18:17:52 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AtTe6PE5TP1DgYA6rogosyRlEICiAQAAAFB7J9gOAAAA; expires=Sun, 06-Jun-2021 18:17:52 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,492.2778,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "efc41daa-d3e4-4853-865b-af3506610700" + "x-ms-clitelem": "1,0,0,1157.4885,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "5cf40390-1983-40aa-b681-76f0a9a6a500" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTEsIm5iZiI6MTYxMjU1NTAxMSwiZXhwIjoxNjEyNTU4OTExLCJhaW8iOiJBVFFBeS84VEFBQUF5NnV1dlVxeWRVNE8raFRIMjNXK0VJZ25vQ3o4RFZ3SVZWYStId3pMWlppUzFCUit5WGNXSmM0Z3Z0RlQ1MHpSIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InFoM0U3LVRUVTBpR1c2ODFCbUVIQUEiLCJ2ZXIiOiIyLjAifQ.UCUwOlkwkzQe18EyIy2yijoYXanCzRguv0pJ--1kOUxfXDuC0w5vHgxZ_N7HPHMxGBLQmadMZvPM8huN-1wwR6bQ0Hfio-Kea8QFE7eu4fao5Np0Jp8BPVay5pEyTAqtotIh-Gd2AK_aq3hGzv8qjgNXJE7LbLe1SGTC8H5yZUTpCkakzTffWLQ7ogFaYIJz3_zTTGxFCU_TSHALk9gQ-LB2EYR8942wRv7XgX7u4NJyRlUHRMgW313vhdxuKB_CQZ0D8EdEB-AqXHkT5dTWJxuBltOfJmlfo8YidVGUbVfEwoJq7MevBlWNGCVMzEwSJnmDpJdWjSeU29NdIm38UQ", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTExNzIsIm5iZiI6MTYyMDQxMTE3MiwiZXhwIjoxNjIwNDE1MDcyLCJhaW8iOiJBVFFBeS84VEFBQUFlZENDRGxJc1pmbVozcDQrMS9MT1F0cENpUXZsOEhia1F0M2tmVDVTcDJYQ3ZFNXpjNXlFSmI4TVcvR1QzZy9QIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImtBUDBYSU1acWtDMmdYYndxYWFsQUEiLCJ2ZXIiOiIyLjAifQ.NGa28ihbi2eYMGDtLQupfHKz_HlE4YYDnr0hHJEuLyPPTRM4Rsv7cpGtZANmfdBkVKw0qTfDF-s30WFCQDGLpezv6YqvdbF4OCRl0Eq_qo0iGFT8ibmpqNJE1LAumPeR-la7JNl1UjSr2bRf_f3DFewOxksNmyTGEbhLuwlGq5TVcVB9_dOFCDfkK61DfCNVxWfGfbHWy89JClbNAkc-lqO1Aff9EI8gWnj_RrY_HkwgjCacvRUGAphgs_Nbm6UvzKCth-BCCe97B4U1fZkdWmKMVyGGNIeMbM-ZrkzvkD8jz9cIWrB53lwCtzgCO0S-O59nT8kTugA_mw5rn6vCDQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1032859498", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredential.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredential.json index 59f795bbf62e..983b7f345096 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredential.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredential.json @@ -1,6 +1,7 @@ { "Entries": [], "Variables": { + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "2077368464" } } \ No newline at end of file diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredentialAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredentialAsync.json index 024db6d8e6e5..6284764c3a39 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredentialAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/DefaultAzureCredentialLiveTests/DefaultAzureCredential_UseVisualStudioCredentialAsync.json @@ -1,6 +1,7 @@ { "Entries": [], "Variables": { + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1307910533" } } \ No newline at end of file diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContext.json b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContext.json index e6354849de9a..4ef228c8675d 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContext.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContext.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "a984b227-155b-4857-8512-734a1befeb16", + "client-request-id": "ff0df594-7d1b-4c47-a72e-94d7e38e9b1f", "return-client-request-id": "true", - "traceparent": "00-09b0e49971395c4398a8ff5aa033f05a-a1204d5572f0664b-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-1e3dcf587b7eec4e84f098a812622677-a47b69309a53194b-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "bdc193d438381f612e03bbf6722b423c", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "a984b227-155b-4857-8512-734a1befeb16", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "ff0df594-7d1b-4c47-a72e-94d7e38e9b1f", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:58 GMT", + "Date": "Fri, 07 May 2021 18:18:35 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:59 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AqaORF0zlftPt_QKcX3a_L4; expires=Sun, 06-Jun-2021 18:18:35 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrg4b04o4zXNWzdhqaep1t7X0KQnPCFKSeSpzII7EWbeqQZ99HMIjFCiAq0QvmqFHcFZzsI8Rle6RtU9bdu3hXxXL83-1dwpB1eaQtqR660vVDAK2iMmX9T9B2eXFqxGb-C0xwTMdMaoW-pjcyMRgxkjkxu0ht4OLFbAb45_z2E4IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "5c345a1f-dfe7-4da5-9e9e-89814e300900" + "x-ms-ests-server": "2.1.11654.16 - NCUS ProdSlices", + "x-ms-request-id": "bf6f1a46-dce8-43ac-8f57-c48b96e70903" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,37 +93,38 @@ "RequestUri": "https://login.microsoftonline.com/common/userrealm/identitytestuser@azuresdkplayground.onmicrosoft.com?api-version=1.0", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-09b0e49971395c4398a8ff5aa033f05a-80022a064ea4b043-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "traceparent": "00-1e3dcf587b7eec4e84f098a812622677-745db351e6b1c841-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "886b2b2aaaed2ac8db7d283d631fa6d3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", + "Cache-Control": [ + "no-store", + "no-cache" + ], "Content-Disposition": "inline; filename=userrealm.json", "Content-Length": "187", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:58 GMT", + "Date": "Fri, 07 May 2021 18:18:35 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAAA; expires=Sun, 07-Mar-2021 20:01:59 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AqM9yy0rGxtEvQtBrA0hdy0; expires=Sun, 06-Jun-2021 18:18:35 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b911531-26d7-497e-8cd4-7f0d0e4a0800" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "80be15d0-e468-4cef-9026-0c95fc7e9900" }, "ResponseBody": { "ver": "1.0", @@ -135,48 +138,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "a984b227-155b-4857-8512-734a1befeb16", + "client-request-id": "ff0df594-7d1b-4c47-a72e-94d7e38e9b1f", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-09b0e49971395c4398a8ff5aa033f05a-412f725dd33c5943-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-1e3dcf587b7eec4e84f098a812622677-c52bf3c948eba149-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1003,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1003,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "7033cc3d6eaf666ebf4ccc819d566ec6", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "a984b227-155b-4857-8512-734a1befeb16", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "ff0df594-7d1b-4c47-a72e-94d7e38e9b1f", "Content-Length": "1645", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:58 GMT", + "Date": "Fri, 07 May 2021 18:18:36 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:01:59 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AukkBw7OJgtOqWD9CFqdz-_SeF6DAQAAAHx7J9gOAAAA; expires=Sun, 06-Jun-2021 18:18:36 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b911531-26d7-497e-8cd4-7f0d104a0800" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "9fc28d96-4122-4b2b-8725-3fc6fe085400" }, "ResponseBody": { "token_type": "Bearer", @@ -186,7 +189,7 @@ "access_token": "Sanitized", "refresh_token": "Sanitized", "foci": "1", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTksIm5iZiI6MTYxMjU1NTAxOSwiZXhwIjoxNjEyNTU4OTE5LCJhaW8iOiJBVFFBeS84VEFBQUFFUGNucjQ0SndnaGRKNnNXZlhFd2VmMkNTMXV0aGFPMzMvUzJrM2dvcWZOWHVBMGZWUEE0ZUd3RCs2TEpaL0dBIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ik1SV1JHOWNtZmttTTFIOE5FRW9JQUEiLCJ2ZXIiOiIyLjAifQ.EoEsrdH9SAQiP9a5x9T7kGs246PiHPbGhHuB0Wy5Nx3YkMwf6X71A5KAYQRwivJZPQtAfaz6CRrpiPuMgWGULgU5Ya5h9ENbGWwBFsKTSMA2aF5pBechc0Fbk-kaPCv-f6dN_hHiDAADqFf3TnIaXjggP7tQop7TB4o5vFrvUKbB35OGK2322F4NyYBzdQs6aoPIhAP_2GB-2NKc_yTFACPWfUIOWjd3aqcWATYJNLkF_P5C_pCIo8lZrso8sT-B72_yqcLxifXzFffpkDBocWVMZSpvIx6x-dq1pouLly1wV5Ekd4pT-HuV13t7KqBHnw-9exgLhnXsmoszm9xytg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyMTYsIm5iZiI6MTYyMDQxMTIxNiwiZXhwIjoxNjIwNDE1MTE2LCJhaW8iOiJBVFFBeS84VEFBQUFqeExuQVMzRDB2ZDI0UldyaXg5Q2J0NTlCWWxiN1hUUDFTV2VwSmN2MFdkRHlDTHdTTzNONDhsODZ3WnNaYUJ2IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImxvM0NueUpCSzB1SEpUX0dfZ2hVQUEiLCJ2ZXIiOiIyLjAifQ.cmscynQlxlubZ8DFl64twXWvGXwpvJQzbu3-yogH8T16dAKQ3u5jkTT3uC4esk4p0W4CpWS4bDZiY2BBZbNrUWDV0w25rDibYwvpZGjWBvzjPYwXEaj4r72DJDL4PdxN67cApsrgeu-126P05htDhRrpPzMfJtt-pdUspVgRpkBGDIHSmh-j1SLMxSaW00Ct3ZOi2XGOAeJ96n8xPwH1Ijj4pDcDUdAJy4_dNeQeJAoJqzP5TzMH_AFHXVpoUFRmBg5gTnFZ_xCZjzXEHgeG5_IMIHMfM2YaPz87-GGtkimtFxs32LW0VC-MbG012aq55NHQIfH1mliqJcTUC4S7MA", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContextAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContextAsync.json index 10a6bbd69772..4c1c5e06d316 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContextAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateNoContextAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "234fd516-7ac0-4b37-883c-dc9a2dccb6e3", + "client-request-id": "fd86067d-9567-4512-a5f1-402d1f9a9b4b", "return-client-request-id": "true", - "traceparent": "00-2b917af384421546935a87cd9fa56a65-aa8b982f36fb2042-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-0fd49b8ee4fb8245aa54391e25536221-1bd8b863953ae144-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "a6d388007a7e173addabb06d0dc925d7", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "234fd516-7ac0-4b37-883c-dc9a2dccb6e3", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "fd86067d-9567-4512-a5f1-402d1f9a9b4b", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:38 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAgAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:00 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AlqIw7xjV6RKgmllkCxD3oA; expires=Sun, 06-Jun-2021 18:18:38 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhPdguHjdBuqBk8aN4PehiLRm3U4Aavo6XePmfkwgENymlcCI6-ca-NsvwKZqOkrbLfN2vCc71S2sa-t8qZip6rV8im33yLbTk98mtQujQjLoQVh_Qy4Qv8TyRKV3Xywr9GU14zhRw-bPg3S3UPtG3Vj-Zy0hZY59o_7hS46WDiIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "a84b7a9b-7af6-443b-b8f2-f1b245bd0700" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "37a92965-846a-41f0-8058-85a94f501a01" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,37 +93,38 @@ "RequestUri": "https://login.microsoftonline.com/common/userrealm/identitytestuser@azuresdkplayground.onmicrosoft.com?api-version=1.0", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-2b917af384421546935a87cd9fa56a65-f38220de81a9914d-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "traceparent": "00-0fd49b8ee4fb8245aa54391e25536221-8850c7e248460a42-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "43aa33225ffefaf26a5b007e79b27e8a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", + "Cache-Control": [ + "no-store", + "no-cache" + ], "Content-Disposition": "inline; filename=userrealm.json", "Content-Length": "187", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:38 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAgAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:00 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AoVbRCrtoqpKklfPrvw7ipE; expires=Sun, 06-Jun-2021 18:18:38 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "efc41daa-d3e4-4853-865b-af3504640700" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "9fc28d96-4122-4b2b-8725-3fc68f095400" }, "ResponseBody": { "ver": "1.0", @@ -135,48 +138,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "234fd516-7ac0-4b37-883c-dc9a2dccb6e3", + "client-request-id": "fd86067d-9567-4512-a5f1-402d1f9a9b4b", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-2b917af384421546935a87cd9fa56a65-34aa872dc4460145-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-0fd49b8ee4fb8245aa54391e25536221-6256885dcf40f143-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1003,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1003,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "63baa256cbfa541d107b96125ea27ed7", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "234fd516-7ac0-4b37-883c-dc9a2dccb6e3", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "fd86067d-9567-4512-a5f1-402d1f9a9b4b", "Content-Length": "1645", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:38 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAgAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:01 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AhNVPbhHb9ZNlOrXoJDk1Y_SeF6DAQAAAH57J9gOAAAA; expires=Sun, 06-Jun-2021 18:18:38 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b1408f0-c0ec-46ac-bbdb-6af9686e0900" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "7b466bc2-599e-4f00-96ff-5dc828d45300" }, "ResponseBody": { "token_type": "Bearer", @@ -186,7 +189,7 @@ "access_token": "Sanitized", "refresh_token": "Sanitized", "foci": "1", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjAsIm5iZiI6MTYxMjU1NTAyMCwiZXhwIjoxNjEyNTU4OTIwLCJhaW8iOiJBVFFBeS84VEFBQUFXamJwUkxHYVJiSjU4TUkrU3hzcVhlWlVKTjZPOVdGaDE3R0xMWnVEZEVBczEvV1d4WUNKMzZYWlpsd2VBeGhlIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IjhBZ1VHLXpBckVhNzIycjVhRzRKQUEiLCJ2ZXIiOiIyLjAifQ.A2vR7ZlWKBib6WB24eoWMiOkZofOLQulp1EzuXKOrtNnbVHRUVvQtCx5FqEYav5k_jG833WQvSvoT2ADpmj1chdya9qNFsiY3JX6-6rqzqoYufnKxXwh2rEQ8uXyFdtbBe6BuCodQtdb4BRW8Py4vgc5zVPqvMI3ngPPu2CjNt9pPFYZQFAsV8Ls6YI2P8bdVL9rBbBMOa1igZfEVlGhtwOHSk_uVShFJ-yC2mQ79Uf4N3QSn1PL1btpWAd1pF2ym9Gw-BeG_hpfZ9doHl-Cg82mdrC7HA8_0T1WMT7T3MF-AeFU--fTlaXkh7KnuLZGumdX4GIYEEuVC36vFRW1fA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyMTgsIm5iZiI6MTYyMDQxMTIxOCwiZXhwIjoxNjIwNDE1MTE4LCJhaW8iOiJBVFFBeS84VEFBQUFqMzdFMXVjWjhPUm1MOERmKzB1M1lmMktIcEk2RCtyZHJhT1htMFJ3dFlYeU9XWnFEZnJ3U3djQkRCZnNaRS95IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IndtdEdlNTVaQUUtV18xM0lLTlJUQUEiLCJ2ZXIiOiIyLjAifQ.UdXvsjIT4qDpPiUqc4-48OtJ1wBaChRe6egK-cm-yRNc6EeFYs94aDN05jq13ChusL-j16AAvWEAcAdSb1G2x5zj0CTm9b_-9LKIGpyzE1SXaq1I-lPe3LVattds2SUDuDX7m_b26T0AYgwbBER0XLjYBBgtltWmv0_dPlGzrZySP3U_VTuG8p0d6peS9asKgkrYpfXAOxp9cnR7BkMLfaCXU7zIsJ832gyR6LHe8Wt8j1wJTe8_sO76WAYFLUmDlabro-FcEqpvWDP506w0kqdmiTiRPYZqWEMd2vzMXMn5nSGFUJsvHfBtGpoLdfJy6TKUxWF6LXcnAFbXGfFQrg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContext.json b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContext.json index 40b61bc8f9b5..d483f9f36b48 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContext.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContext.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "341c16e3-de05-4fc9-b778-5177cb4ce917", + "client-request-id": "11afa30f-6334-43e8-9af0-d92f5340ddee", "return-client-request-id": "true", - "traceparent": "00-500328870a5a2642ab76535cc8e206d6-4c67b684cf93f849-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-619028d75aab894a9136bce47c47442b-5d2ef07d7aff0d4d-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "d8b989c0381f173cf71f1cd961a04d5e", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "341c16e3-de05-4fc9-b778-5177cb4ce917", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "11afa30f-6334-43e8-9af0-d92f5340ddee", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:58 GMT", + "Date": "Fri, 07 May 2021 18:18:36 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:01:59 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ap7o8OLPFQ5Hk12pKW1WQns; expires=Sun, 06-Jun-2021 18:18:36 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevru1cBdhO9I1pg8VWgF8f2Cp8eb6LPEQiTB_zNCCxNrxz8bri7TvYNVd_87CixTIugj8Tj_THc963Z5koOfzm0lvuZTT2YcOMCutpOtMLKIkJvp88HmWJmjKs5bGVWiPmraT-fVO0Eg9fXsw2jetOUgrTS57kGoh6Re-Z2hb8z1QIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "7e686849-819c-445c-bab5-3cca4f0c0a00" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "dc740b4b-4902-4a00-920e-317da1b14800" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,37 +93,38 @@ "RequestUri": "https://login.microsoftonline.com/common/userrealm/identitytestuser@azuresdkplayground.onmicrosoft.com?api-version=1.0", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-500328870a5a2642ab76535cc8e206d6-9625f5590bb3dc46-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "traceparent": "00-619028d75aab894a9136bce47c47442b-649b1eee696d6a43-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "eb185f4fd86c1c512a53fb60fb61dd32", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", + "Cache-Control": [ + "no-store", + "no-cache" + ], "Content-Disposition": "inline; filename=userrealm.json", "Content-Length": "187", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:59 GMT", + "Date": "Fri, 07 May 2021 18:18:36 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfjoE88hCgAAACKbr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:01:59 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AgtR40z08w9Giua50XJoJ2E; expires=Sun, 06-Jun-2021 18:18:37 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "b33bc59c-816f-42d9-b181-862e66bb0800" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "fcba3060-5d2d-44f4-9e9c-ed316d039f00" }, "ResponseBody": { "ver": "1.0", @@ -135,48 +138,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "341c16e3-de05-4fc9-b778-5177cb4ce917", + "client-request-id": "11afa30f-6334-43e8-9af0-d92f5340ddee", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-500328870a5a2642ab76535cc8e206d6-a32f2dcdb7348046-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-619028d75aab894a9136bce47c47442b-58b5a391d90ddd47-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1003,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1003,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "103e8761ee2ecebb5fe7e68ce28371c1", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "341c16e3-de05-4fc9-b778-5177cb4ce917", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "11afa30f-6334-43e8-9af0-d92f5340ddee", "Content-Length": "1619", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:59 GMT", + "Date": "Fri, 07 May 2021 18:18:37 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAQAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:00 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AtoWVRZcj2ZPhyucIAqbvosqmvoTAQAAAHx7J9gOAAAA; expires=Sun, 06-Jun-2021 18:18:37 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "efc41daa-d3e4-4853-865b-af35b1630700" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "53f35130-c427-4268-9c8d-23dd69c34d00" }, "ResponseBody": { "token_type": "Bearer", @@ -186,7 +189,7 @@ "access_token": "Sanitized", "refresh_token": "Sanitized", "foci": "1", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMTksIm5iZiI6MTYxMjU1NTAxOSwiZXhwIjoxNjEyNTU4OTE5LCJhaW8iOiJBVFFBeS84VEFBQUFlZENDRGxJc1pmbVozcDQrMS9MT1FpK09xOURFY0U5cDNtV1BNaHBkdkllTnNJR3lvd3B0dzlvZEJscU9zc1p5IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InFoM0U3LVRUVTBpR1c2ODFzV01IQUEiLCJ2ZXIiOiIyLjAifQ.AZ2w00Y304sy1J-IevFuitT_jKqGNdq5qCW8Pvvkl61aJGJt-_Qx68y-w7QFLemerXnJdlHY6lDcVQwZgM5Vc7CzRUE3wn8Oc3He0Z077MxX1aTS8Fi16gPyZqqJ2ELDrB7cf3l-4f2vPxhtS0bDmtHCIECFc3WMUD3c-VGVKgJmdFAdC-cvG3-gRbMZ3bCIKZatTzsIJST_K8DHItHrjEyZdby9DUt1DKIYbny5TQ7rFcGxgKelayHF9IT0QbZrTGFgGS1PzUrgWANExMsfv1eDUeqE2lhNJm9pmItmlwewzkByLb-yEgyDogw4VGaDQ4hLpB7Ej5-DbdOjMYh7-A", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyMTcsIm5iZiI6MTYyMDQxMTIxNywiZXhwIjoxNjIwNDE1MTE3LCJhaW8iOiJBVFFBeS84VEFBQUFMSlBoSDgvYTJMamtmaHJ1OEVPcElRWUlqUzU1cU1UYjZkTHBMQUxwZEdKM2V4d0hJSmRJb0NUbXV2T0Y2NjNRIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ik1GSHpVeWZFYUVLY2pTUGRhY05OQUEiLCJ2ZXIiOiIyLjAifQ.HXKAOgG6hV7XrmMNE9gjNFzoVDC4NVtIT7kPP5KjmTST51v5ZsQt_sp_vzyxMj6soLnDNn7eFaoVxV1f1QeHKc-7d6Wp8s8bIBeQv5I8mYLult_L6cEvqBHxbg3ehbFaq1WO71CGApHBsycbJKWsCbXeEnuNqVQECbWw--xyZ82Eh1cfmQGN4oSg7isKBNUeQljWu8dujaI6TEnTzQNy1LjgczDcNVMt34ww4UvRqkJsk7C5Sw8n5aWfsmIWjlslH7ILUkl1yDc-3JcRkSjyXSmdG9N3kqH2beT-WfZ0lfqrc5w7fVz0IZ3jXmDDQ8O2mLCVVBPHzM-RrsqGZPfemQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContextAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContextAsync.json index e3014ff6f917..5fa118056c1c 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContextAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/AuthenticateWithContextAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "9437c15d-052c-4c61-b55d-1a0648cd6ee9", + "client-request-id": "91d36f5e-7088-4c3c-8a8d-049ce84b4287", "return-client-request-id": "true", - "traceparent": "00-77638363029dbe4dbc39706a662054e6-ec816386bc08f941-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-7a8602b4cb442d41a97632712d34bce6-ecd608b5ce3cab4b-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "f3548871c2bd992649339173ae0eba69", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "9437c15d-052c-4c61-b55d-1a0648cd6ee9", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "91d36f5e-7088-4c3c-8a8d-049ce84b4287", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:38 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAgAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:01 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AuAXtDW8T5hJh7hNSIqGqus; expires=Sun, 06-Jun-2021 18:18:38 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpYZSSxl7zcUm_Kvk28xjQa9PbBopJkwo3AvJqd109dgwbcTwWZvV4MfE1wvpZ3gFLlHO9AytlPPmZMTDXY5x8v_9Q3OtxyVO4UFvDQDArwf9A8VRO62j2fe4lcARejfS9m31er1rAmgyMdf77RiMlapn4ApoDMjjkEdZ6cZ1-0cgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "efc41daa-d3e4-4853-865b-af351c640700" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "5877d740-f685-43ff-99f6-faf3cc918400" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,37 +93,38 @@ "RequestUri": "https://login.microsoftonline.com/common/userrealm/identitytestuser@azuresdkplayground.onmicrosoft.com?api-version=1.0", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-77638363029dbe4dbc39706a662054e6-73ff63ca6ed3c549-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "traceparent": "00-7a8602b4cb442d41a97632712d34bce6-39ac4fbe7472b043-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "ff5eb3275aa50db1e05f5b911c16748c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", + "Cache-Control": [ + "no-store", + "no-cache" + ], "Content-Disposition": "inline; filename=userrealm.json", "Content-Length": "187", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:38 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAgAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:01 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AtZM1S_PxZNCkySR03aamr0; expires=Sun, 06-Jun-2021 18:18:39 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b1408f0-c0ec-46ac-bbdb-6af97f6e0900" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "17082d3e-f814-4d32-b01a-f888925b5200" }, "ResponseBody": { "ver": "1.0", @@ -135,48 +138,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "9437c15d-052c-4c61-b55d-1a0648cd6ee9", + "client-request-id": "91d36f5e-7088-4c3c-8a8d-049ce84b4287", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-77638363029dbe4dbc39706a662054e6-4533d066911ccb4e-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-7a8602b4cb442d41a97632712d34bce6-117bc1841e8ca74a-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1003,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1003,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "001ced6ba6baeafa0eef57b864245024", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "9437c15d-052c-4c61-b55d-1a0648cd6ee9", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "91d36f5e-7088-4c3c-8a8d-049ce84b4287", "Content-Length": "1619", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:39 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAwAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:01 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AucAp4lbGXtMsRgkRelzAYEqmvoTAQAAAH57J9gOAAAA; expires=Sun, 06-Jun-2021 18:18:39 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "b33bc59c-816f-42d9-b181-862ed1bb0800" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "80be15d0-e468-4cef-9026-0c95f97f9900" }, "ResponseBody": { "token_type": "Bearer", @@ -186,7 +189,7 @@ "access_token": "Sanitized", "refresh_token": "Sanitized", "foci": "1", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjEsIm5iZiI6MTYxMjU1NTAyMSwiZXhwIjoxNjEyNTU4OTIxLCJhaW8iOiJBVFFBeS84VEFBQUFQVkFFS2JpMnRtdTJsb1VGT0Fma3htVVpmdDIxaTBKMEhGT2pnLzZBWndBK1d6MGttTFp1dnBLbmpsdVl1R2NDIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Im5NVTdzMi1CMlVLeGdZWXUwYnNJQUEiLCJ2ZXIiOiIyLjAifQ.gpmgJXHXHviw3J-RZZ1A0bebU86TcehTCx5Bd3SPFLcLEisaxBuQImigO-IK3lyZ-pUvuD40xUdYimKQdTZ1Ovz-2uS9VaM4Dq8shJmwIMBxqUNicFK7c2DWEu5WlvulJ4x2wWKUSPJ9YHh__dD98tRMNQVQuv1nlIk0oTLUDGD4HucwqXrIjbLMDejS3KBh9HROTdbo7g4oPcct3hPX4IgeUVdaY2VzEi0dSsqhSU1-wvhMeTPEG33clQM1ytMpRt-7NSqj9qSMttwH3PmRLILOnDg93IV25xjmNmjbZdqaapMBS0QuXZ6dxi_6pmUN8VLEzQSfciQkjhX-MJWM-Q", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyMTksIm5iZiI6MTYyMDQxMTIxOSwiZXhwIjoxNjIwNDE1MTE5LCJhaW8iOiJBVFFBeS84VEFBQUFLVkdIdmF5cUMzdzNTT21yMCtqTUd6dHpiQml2UlVLNUFoQUhDSkdDSVI5S3lKczZXQ0hXeEVEZ21ZdTVVbWdiIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IjBCVy1nR2prNzB5UUpneVYtWC1aQUEiLCJ2ZXIiOiIyLjAifQ.eDUAsidGZcFDsfkaUpM8zMnLAgtPBi81ibExkIZuiKmUj7L7QXrgF0vPJgII3-XenzsMD0iURoJePQfKKATZO2C7pV7W8iFEQf4fI-qTcl0h-QHqAt-E5u22CIuO4DYk3QDlfZsy16FB2lvsdWDessswgyKSnItfjHVCyxjI7_jGkZE9_419ytHMJnCg-p36-GlQ2jxvQiuzrjuYIeQc81VT_OVVaQ_wvaaRsVUkheVJWSZs6MKsSxEn2YG_xgyOPYYphNVeFXjoBH9PkVVYtH6pB6PbNflaZ-2Vq4t1KSmyBu99IE_16KQRFkyqYyoIXxox8Gbjv8pPZASCp_YpFg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetToken.json b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetToken.json index 9f6b642d578f..46a9e5cf80d1 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetToken.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetToken.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "5b8da039-2f0d-4812-a3d9-eb1e9a5cf5f9", + "client-request-id": "9398446d-5468-493c-9dfd-435d123e8d1d", "return-client-request-id": "true", - "traceparent": "00-915ae9386f9ba94a9fe3d00fd732174f-1f7f43349af3f549-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-5fd6a47ea7f4ae4fa28b479370515afd-9181af01e3007a4d-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "d8ccb782f5e117fd9c41e7d0be9d8be2", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "5b8da039-2f0d-4812-a3d9-eb1e9a5cf5f9", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "9398446d-5468-493c-9dfd-435d123e8d1d", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:59 GMT", + "Date": "Fri, 07 May 2021 18:18:37 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAQAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:00 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Aq8KrKdJ5xJOtnzkgMCJwjw; expires=Sun, 06-Jun-2021 18:18:37 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTw83mKnY3bg8zHOxKTeCo2qNhzgrwlkcokKEvqTamat7e07_jOQRfxpe5F1trWVN2Ar-68BKs3xOMhYifDCWcDEg2haWcvI2k3KoY0BF9_J2malc2iNBWFGIWdcRHI70DWWuybe65BmSt2fx0-qEdIdfljO0pm-HimLwP9IexhIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b14e808-aaeb-4b7b-8c07-60735fd10700" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "ff5772ab-a36d-4fbd-b875-9b445b763e00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,37 +93,38 @@ "RequestUri": "https://login.microsoftonline.com/common/userrealm/identitytestuser@azuresdkplayground.onmicrosoft.com?api-version=1.0", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-915ae9386f9ba94a9fe3d00fd732174f-4464a407af56ba49-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "traceparent": "00-5fd6a47ea7f4ae4fa28b479370515afd-e4433693a189c542-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "8108e0ee2b9c5e9193c7d3b63981f663", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", + "Cache-Control": [ + "no-store", + "no-cache" + ], "Content-Disposition": "inline; filename=userrealm.json", "Content-Length": "187", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:59 GMT", + "Date": "Fri, 07 May 2021 18:18:37 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAQAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:00 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvR2wKOVLo1Ilu79sFJ_tpI; expires=Sun, 06-Jun-2021 18:18:37 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "e130c648-f35c-46a3-956f-6e3ba4dd0900" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "89f32309-d209-4c4a-b3ca-78a5e8235300" }, "ResponseBody": { "ver": "1.0", @@ -135,48 +138,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "5b8da039-2f0d-4812-a3d9-eb1e9a5cf5f9", + "client-request-id": "9398446d-5468-493c-9dfd-435d123e8d1d", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-915ae9386f9ba94a9fe3d00fd732174f-086cd6095736494d-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-5fd6a47ea7f4ae4fa28b479370515afd-db7b47d8666a2044-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1003,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1003,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "0b85252f1c6f7fa24a0a95edb1f0fd62", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "5b8da039-2f0d-4812-a3d9-eb1e9a5cf5f9", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "9398446d-5468-493c-9dfd-435d123e8d1d", "Content-Length": "1619", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:01:59 GMT", + "Date": "Fri, 07 May 2021 18:18:38 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAgAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMBAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:00 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ahw99JrSjd1OscJAiQYkWHgqmvoTAQAAAH17J9gOAAAA; expires=Sun, 06-Jun-2021 18:18:38 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "d0328f82-572e-40d5-8664-a0a844010600" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "900a0ad5-abcb-4c2a-88cb-da41f3fd9300" }, "ResponseBody": { "token_type": "Bearer", @@ -186,7 +189,7 @@ "access_token": "Sanitized", "refresh_token": "Sanitized", "foci": "1", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjAsIm5iZiI6MTYxMjU1NTAyMCwiZXhwIjoxNjEyNTU4OTIwLCJhaW8iOiJBVFFBeS84VEFBQUFqeExuQVMzRDB2ZDI0UldyaXg5Q2JuUVZ0WHc2OTlER0dZNlUrNkNYakl1Nzlqb2hPellncEhNd0lSeVJlaDA2IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6ImdvOHkwQzVYMVVDR1pLQ29SQUVHQUEiLCJ2ZXIiOiIyLjAifQ.iaCPraWWdrkq8z7XU516ybOwzIeihr-RIxQYTEOcEKz8YV9hesTyRB08HmK35MDQk56OjPIyPyLHop-8Ovb9ugeoctrXb6pzeB6908z-G2JjmP2FCQ7Bk7f4d5i2RrytsVBgvYWItmNlk0HED4PlJFTbIr8yVTqe4QUgBrkhwqlpdrp3uPiGDunvQRfg-MHPEuFadDOyyMgwz6Tdzoyt9hxEvu_2NwZ0QsgoGiMly0PXDNDjELPi71_kqdQvPcOHbThHMhfxYlIXjDF7WJPG80qTFg1MwjvSvRtMLLUaF-xF-jJBuh-fOf1kIdpxIOzAV4Us2_OijFqMQALehWsMRQ", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyMTcsIm5iZiI6MTYyMDQxMTIxNywiZXhwIjoxNjIwNDE1MTE3LCJhaW8iOiJBVFFBeS84VEFBQUFhL1VSNWNDY2pTZ0pqRVB2TkNLN3RVVDlsSVlHdjM5TnI2RVh5Y3ExOGFPSHJic3kyN21KV2FMUXZuM3A2VlhaIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IjFRb0trTXVyS2t5SXk5cEI4XzJUQUEiLCJ2ZXIiOiIyLjAifQ.jw5mGqNDZ_QTyRLrqdPWJXdvJQJbbqwxYRtTd073CpeCAge169dFeO9Ux_7yi8mf_LZZ7_VBtsxyWLxcr8qzesDGH_9QyiazxEIApAOxjipVleaajlxwkckFJJ1ejwfKzft4MgeGFZwMSuoYXVpnO7Cc2SA0MOrgPF962bL9A6bI0UwmlozkygQCrnFF7_PYl_GGQJCN4UCoR6BfYgExt0KAFF1-u4c_d15KBiMWJmU1LfPr9hLbJ5nvdCmYHrK97tDspBmSP7LcifEl6_awoXZxXuqb5EQ4eH-M8QalyaEt7PQuqPAcwpK5EmnRrcU5ZUAux3bCeG3rQl5FbmoChQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetTokenAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetTokenAsync.json index 7810eb37d3ae..f000ee1d4a0b 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetTokenAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/UsernamePasswordCredentialLiveTests/GetTokenAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "e29bfd30-a5c1-449a-9979-1e1f5ac93c5b", + "client-request-id": "3b330a07-90ad-4ce2-973d-151cfedb74b5", "return-client-request-id": "true", - "traceparent": "00-b6e6233cd13f544c8b52160010af8be7-7589bb98f832ac46-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-68f99ce1398e154f9fea84a96e4b7395-d1e7407e9f8db945-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "c4507150f034ddcb92bb7a9ee0de770c", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "e29bfd30-a5c1-449a-9979-1e1f5ac93c5b", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "3b330a07-90ad-4ce2-973d-151cfedb74b5", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:39 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAwAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:01 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AlY0_Xyt3WBEmoE3dbMThxM; expires=Sun, 06-Jun-2021 18:18:39 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGFne6DDfNNge8L4gN4F7TnwmmbTq8BF5O8xWuheYZOExXRVya_bKJf4_BqnYbiB8dtrCRc2_14wYhMJFMqCEz8VAVzNRkr54i6iCRETTig7JdkZ8bxiX4xB00n_3hFBuznCJUEJzJxBPX11h0T8m37NO4kTgY362TGJP8dZl6dwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.16 - WUS2 ProdSlices", - "x-ms-request-id": "372b6ab4-bb9a-4f26-b065-ca49c2c40600" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "11bc2a80-8f27-4f00-a016-a368a65c0900" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,37 +93,38 @@ "RequestUri": "https://login.microsoftonline.com/common/userrealm/identitytestuser@azuresdkplayground.onmicrosoft.com?api-version=1.0", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-b6e6233cd13f544c8b52160010af8be7-0ad7fa40bc92b24e-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "traceparent": "00-68f99ce1398e154f9fea84a96e4b7395-bb5dc01e21f48b41-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "1c97e3805e12dc0d952c72b4111f03db", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", + "Cache-Control": [ + "no-store", + "no-cache" + ], "Content-Disposition": "inline; filename=userrealm.json", "Content-Length": "187", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:00 GMT", + "Date": "Fri, 07 May 2021 18:18:39 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTAwAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:01 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Av0mHDb-PVZCoWNSEwJ-EVk; expires=Sun, 06-Jun-2021 18:18:39 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "5d93c35b-aacc-4472-b8be-adac61de0900" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "7edc0ebd-b83e-43ee-abbf-282791669700" }, "ResponseBody": { "ver": "1.0", @@ -135,48 +138,48 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "e29bfd30-a5c1-449a-9979-1e1f5ac93c5b", + "client-request-id": "3b330a07-90ad-4ce2-973d-151cfedb74b5", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-b6e6233cd13f544c8b52160010af8be7-6f07117f4b5c694a-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-68f99ce1398e154f9fea84a96e4b7395-ce7260911539af48-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1003,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1003,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "8a88bf7af0b9eb1a652d728e0d4bca2d", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "e29bfd30-a5c1-449a-9979-1e1f5ac93c5b", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "3b330a07-90ad-4ce2-973d-151cfedb74b5", "Content-Length": "1619", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:01 GMT", + "Date": "Fri, 07 May 2021 18:18:39 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:01 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Aiowvoeb7hxHrqpHgD3uYjkqmvoTAQAAAH97J9gOAAAA; expires=Sun, 06-Jun-2021 18:18:40 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "2c125229-6259-4b6e-837a-3fe195360a00" + "x-ms-ests-server": "2.1.11654.25 - SCUS ProdSlices", + "x-ms-request-id": "0dc6c2b5-2a6d-4cb0-b049-e32befbc5700" }, "ResponseBody": { "token_type": "Bearer", @@ -186,7 +189,7 @@ "access_token": "Sanitized", "refresh_token": "Sanitized", "foci": "1", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjEsIm5iZiI6MTYxMjU1NTAyMSwiZXhwIjoxNjEyNTU4OTIxLCJhaW8iOiJBVFFBeS84VEFBQUE3QXdDeklOUGQ0enJ2b1p3UjN4YnBjZ2JpbzMya3B1YW5UU0QvZG84NExyMUJTUDlwbjJNMEhYTmtXdGNSNTFOIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IktWSVNMRmxpYmt1RGVqX2hsVFlLQUEiLCJ2ZXIiOiIyLjAifQ.iU2TmhbHrd_YkjPeW5iPqRW3GlAXvLkoAPwU86PxfCWgvGplT7VTvWWyuA-6w7pMaHv4cwViM4YHlnoD2M5PDjzSwUc0x992c0pc--0P6fIW3UnMfkxyztRMvBOMMj1Xp-56Jg9cmzrOSseteOOYX5ICHERCaxEjnmeOj_8ELB6gni2lhLxTbilV38QdnZwWMiUgvZpG0B0kV-biLSgdZXfO5K0g26OMmv-IAFtV5hkuYlo4gLIt8yZMoWnSA7TQNNsQxTKKw5DnjyA8lCfk8722zd3n1oEF1d1INeU07Ql_rbSew-mXYBaGNFMpp7KQw6SFfKEFlKvCmRylgDn1nQ", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyMjAsIm5iZiI6MTYyMDQxMTIyMCwiZXhwIjoxNjIwNDE1MTIwLCJhaW8iOiJBVFFBeS84VEFBQUFvZ0tsRnIyWVgwTkN0a0NTdWd6VXpBQUs3K0tPQjZyd1ZvbWZ5cEMrYjBtYVptYXJKdlZCc2d1eGxJMjdoaHJiIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzNVYzc0FUYmpScEd1LTRDLWVHX2UwWXRBSWsuIiwic3ViIjoiRHh5SUFhMjRMTWtWb2djWV9iYWhlTnZ3UGNXYldoa2FqaHNmcEZLOU5PNCIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InRjTEdEVzBxc0V5d1NlTXI3N3hYQUEiLCJ2ZXIiOiIyLjAifQ.E7aiEe5MwCNv3b7LNGvVPLeCxJH3-1f7aSqiaxZPhop0lZWMNdLHmFumkaxNx9qffEbVP3mMYCrrpA8UWHQAnuggzW9O-dpChyAZsYWUzlhYEdWklZ9BAr0CG1eTjOBqcXaQHUjmWre8GSldzznBUwlg539e_N66plUW8Tp75rKskP_LvB6dhyCkwoa7hFGbfjLCx43IAjWob_ir49wslu-V6cXD2hlhJmYpr0dTEXc0aCPpq6LSX5q-_s70HjyHYOnT1u9VxTbgDLiiHVZXS7kSxLojC8QyicmAoXlcZ-2qF9sJAS0ukSJUVyoa8ZpS6vMTa90Ny3hHtFskRawOkQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential.json index 2be94ecc03af..4697550484f9 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "9cb459d2-4ada-4700-8d19-2d4bacf2df14", + "client-request-id": "4433452c-2d9b-400d-a4a3-c29b18339bd1", "return-client-request-id": "true", - "traceparent": "00-e1a1efbbac8e2341879a624487a48b95-dbcd6b9217f11e43-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-e903c512020e4e48915e64fcca512c3c-20c061e67f82b543-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "2922e79c517fdf8a3c060ffa683dd147", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "9cb459d2-4ada-4700-8d19-2d4bacf2df14", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "4433452c-2d9b-400d-a4a3-c29b18339bd1", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:01 GMT", + "Date": "Fri, 07 May 2021 18:19:40 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAASl0JjBQAAAAmm6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:02 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AiRYdcK14bpEn0-QhpBe-Ss; expires=Sun, 06-Jun-2021 18:19:40 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYYdmN6iy0-c_c_MdE07TKV_pKohe_lwNmVK7Jsfb2gel2y6jdF_khmowBmJ6h4kK5XYoh5wa5zDtMKM2nz0pt30sRI8qVMwdtHzIDuMvODUxboMD1uvkVVuCRnY2EhuzYF7rrA2reYuzOFIsSDTwHf7r2cw7_ClOjSXKbrFBrDUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "41468cb1-c10c-4096-8d74-d42466b60b00" + "x-ms-ests-server": "2.1.11654.16 - NCUS ProdSlices", + "x-ms-request-id": "6af547d3-f6d3-49da-adbd-77284160e301" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "9cb459d2-4ada-4700-8d19-2d4bacf2df14", + "client-request-id": "4433452c-2d9b-400d-a4a3-c29b18339bd1", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-e1a1efbbac8e2341879a624487a48b95-b3228bdb9cc08e46-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-e903c512020e4e48915e64fcca512c3c-bc8d8ae5a8b8ee44-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "5bb30c46884590149c8d8c0159919a24", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "9cb459d2-4ada-4700-8d19-2d4bacf2df14", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "4433452c-2d9b-400d-a4a3-c29b18339bd1", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:01 GMT", + "Date": "Fri, 07 May 2021 18:19:40 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQEAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:02 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AuaI-yg3CLZIrn13Hb-h6PFlEICiAQAAALx7J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:41 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,312.9343,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "5b9f9755-cea8-4e44-a672-308395200700" + "x-ms-clitelem": "1,0,0,1515.7828,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "17740303-97fa-436c-a177-d22bb9bc8e00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjIsIm5iZiI6MTYxMjU1NTAyMiwiZXhwIjoxNjEyNTU4OTIyLCJhaW8iOiJBVFFBeS84VEFBQUE2b1VrSHVodXBSSTU2NFZSMnhXZFRuemIvYmprMk5OZnZYM09jRXdkSGcraUw4S2Q5T3N6dUtzZ3JPZVBYQ2s2IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlZaZWZXNmpPUkU2bWNqQ0RsU0FIQUEiLCJ2ZXIiOiIyLjAifQ.XO5E0253Tp3gLxdi29tXO8z8Mlr1hzek7SIkNNw83QW7s6InaLH4b98CQ5YC6Pn5EBfL-r3FuH30L4blgcWwdeG6C04ccZPwj5G3TebBcrQn7f-l4el52W86ehH_gGSEwCQAu1NYxy7fLACVrU5zHuc9ZuitxSVZr-CvJ2lJ_MXmobO-TPgvz-kVW3MKxlu2sslCkWsm1dBmwRB2QwT9aZN3Yzr8Bp8m-mTqyZXdL89CTHGF51aZwjou4ic85NQn4XZWRExAItI5MAqeAsghOfx3R8E4-QPExBGkMete7TpspPSZ5HfFRLAQnBY78qGrTWvrhqd_gzflmmg3-kWzKA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODEsIm5iZiI6MTYyMDQxMTI4MSwiZXhwIjoxNjIwNDE1MTgxLCJhaW8iOiJBVFFBeS84VEFBQUFtRUd0VUhkYkJrR1paU2tWUTJEQVY2OEY0ZVBZaEt6YWlYb0xPS09SNW0wMVdRS1pnU01GbjBRdkJqcncvbW1FIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IkF3TjBGX3FYYkVPaGQ5SXJ1YnlPQUEiLCJ2ZXIiOiIyLjAifQ.nB3HGlM0cRjPWpDtT74poMwdyh802jNCzzph-wIARp0kgxd9sXP-zJaYrCARG__3PQdfP_Wpb0v9l7WXBFaCgdAEe3iNklMFdyWNzP47vuT74hlnlCRjx0hPjiivoi21Um-zd4MzjJ7slxU8_X6PxhF8isrNLC0Laiuep2ofegcjJg-mCW8DTlZ_f0Ft2FEoGmld4q7i5f25smnOKzPZjNWjfJdWMviWqZNskn-3U_5YEF5DEDMGVYbLxGc6Cj9OUNKvMrcwvmtq763IyTCCOSscIPksXGFFez0hY0B6pnIYjz8u47HJ_YmGI7OwtR_kKvF-ywp_GiaJKNHN-r5oFw", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "621468287", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredentialAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredentialAsync.json index 3a22c0a5c279..726cd7a6537b 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredentialAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredentialAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "4d36406f-cfd6-4228-a1b2-194ac1fe88bf", + "client-request-id": "2bc8b690-e083-4f9a-83f3-83e18fa3198c", "return-client-request-id": "true", - "traceparent": "00-1327bb5d858377458215aefd46a2e3ed-c0ed6efdbc67f047-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-44dd3600e8a20744a45b7c978a325e01-9fbeda00b83ecd4a-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "2df47badcc1973b4e2e683b8d12546a0", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "4d36406f-cfd6-4228-a1b2-194ac1fe88bf", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "2bc8b690-e083-4f9a-83f3-83e18fa3198c", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:05 GMT", + "Date": "Fri, 07 May 2021 18:19:46 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQUAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:05 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AsAePWMLSdZEpWilUyWVjs4; expires=Sun, 06-Jun-2021 18:19:46 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrN7SiLKkA4BMYkqV9ZEIyFsV8tIqFtBqC3QYP9lEJGyOtemlQcAyG87Od2gMj2104u1VPwdE-24kZYVZ6S3DPuttug5PuZSE3yD2fa4o4nThoOvcdc4uEsG_g1ixoI1gNse_TSiCtV52C0HAw63lhbhEYH9B8ENN7V0L8a-yYUKIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "0b35272a-a711-4856-9f05-a55ac4756000" + "x-ms-ests-server": "2.1.11654.16 - NCUS ProdSlices", + "x-ms-request-id": "33ad71fb-45db-4d39-87f6-a71e629e6e01" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "4d36406f-cfd6-4228-a1b2-194ac1fe88bf", + "client-request-id": "2bc8b690-e083-4f9a-83f3-83e18fa3198c", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-1327bb5d858377458215aefd46a2e3ed-3ec7a8891e658347-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-44dd3600e8a20744a45b7c978a325e01-a23c4c9c53924b49-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "2ccc2d93d10c4ccd019bf804d48bd946", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "4d36406f-cfd6-4228-a1b2-194ac1fe88bf", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "2bc8b690-e083-4f9a-83f3-83e18fa3198c", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:05 GMT", + "Date": "Fri, 07 May 2021 18:19:46 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQYAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:05 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AhG9e_AR-wtJrnRY03DtmtNlEICiAQAAAMJ7J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:47 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,375.9072,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "efc41daa-d3e4-4853-865b-af35b0650700" + "x-ms-clitelem": "1,0,0,506.945,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "13e0f3a7-81fb-43aa-a56c-b5ae141f4c00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjUsIm5iZiI6MTYxMjU1NTAyNSwiZXhwIjoxNjEyNTU4OTI1LCJhaW8iOiJBVFFBeS84VEFBQUFMSlBoSDgvYTJMamtmaHJ1OEVPcEljbVgyYTBzV0NXZHcrUDJnSFRld05ub0dERDNHV0J5WHkya1pKRHlkZWN6IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InFoM0U3LVRUVTBpR1c2ODFzR1VIQUEiLCJ2ZXIiOiIyLjAifQ.EstynF-dXhrE9Xnh9JHeJwjHPdysHvdcbPqrCyZ4NHB4FaTWHyqTTAASSRpY0CHHQ25nxmdZ--cMnqsCbtLQ4armBP2LqTWeU9W1LEHqH0YWQpRLeEurlIkcP45mmb6w8UrWMH19wNdyQf8t6qsjzbKtAOmdt4ZZgDpBvcYTVKFrySXZQu3lZpDjrZpPqY-6ytddTXp3tYkI3e6C5f6ovYGsaPHSgrq3yeOr3EfmUNVxWu8NGG41rJ6-DoIIH7gDP7IJevhtx3iZbcMwU7HQlowWZdiHlFxD14Mfd3-yNBXCsRbo7Oy1AZE1gqfgWYmSYaKJIRZoms_XeN5TXaA1_A", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODcsIm5iZiI6MTYyMDQxMTI4NywiZXhwIjoxNjIwNDE1MTg3LCJhaW8iOiJBVFFBeS84VEFBQUF6OENDeURVWExkVWFWc29TeUhhZUtTZitoMkpyUDlTL2NhWGFrb2VEc3hJTnFDOXg3eFlkM2lKcGQrbkJzNHVHIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InBfUGdFX3VCcWtPbGJMV3VGQjlNQUEiLCJ2ZXIiOiIyLjAifQ.GZ79Z9ky_1IXb4zCpF1UpN7z-8SOSMDtIMk_Tx4zJMRI8QnPtdXPycMow5P4atO9gzMX-GY8deLO0knwYJ6Xw9XjzhrIh3SlpuQ3hRuo37ZV6ZD3CF6bCkrPqswv9dhITI6vc58GlfA5f97zt7Y8QEvKVtO_CHkOCpYlWORimqmRTRzzj_P375SotSYWj4xkOLA7CQ3fZhX_sRQN-d-N6py9Uy0kBLZtC9K1l60XUiUtQpVGKV_WypyasKo_CblUEvUsTkK010Ap0efzPm0d8A-B4mhE3lrTlAdogWl9SAMyeJhSITQyugGNBZLkdKJPLgAuXJ7QITornT7EWkqcBQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "672667440", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshToken.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshToken.json index 587de0b930ab..8e02ea058808 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshToken.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshToken.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1872607964", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshTokenAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshTokenAsync.json index 0019376dd6a7..690dbb08ed0b 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshTokenAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_AuthenticationCodeInsteadOfRefreshTokenAsync.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1710709823", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFile.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFile.json index 8d4b35244b39..9540abdede1c 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFile.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFile.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "8f031c1f-a4b5-4199-be13-04af41f63ecc", + "client-request-id": "39ad604a-658a-45fe-90cf-9d3be93d1d86", "return-client-request-id": "true", - "traceparent": "00-058e8b40109b0342991f2ec3a6327bff-5fa158d73490884d-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-5ef0e05927f5114fb66172bb12dcd729-c6cfb51a42a5ab48-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "dc244e5b5371dd01a4da46a4060a75fd", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "8f031c1f-a4b5-4199-be13-04af41f63ecc", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "39ad604a-658a-45fe-90cf-9d3be93d1d86", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:02 GMT", + "Date": "Fri, 07 May 2021 18:19:41 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQEAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:03 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AlrSxyLQA7lEqUnzSBdeaAU; expires=Sun, 06-Jun-2021 18:19:42 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvLdUZ-4A1Am5-gA9Mhur6-qeSFQE6YqXXsi6rZmrxBEkwYPq1FzOvteo0wRqRw0ESqkw5cNJntuY-bgynZzA63Kwld6-cYSsCy02lE3b6r5SiM7yn8rI4NiyfHFUmepKSNj1CF-P7k8baxZA37sI3vZhokBodPwbMSyMXHaUz4ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "f8522225-afc8-4e0e-9313-a076e3e80700" + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "b1c7a1b3-6f38-456e-a253-2dffb9fbcf00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "8f031c1f-a4b5-4199-be13-04af41f63ecc", + "client-request-id": "39ad604a-658a-45fe-90cf-9d3be93d1d86", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-058e8b40109b0342991f2ec3a6327bff-8a63bf67e92a914d-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-5ef0e05927f5114fb66172bb12dcd729-5830fcd97f774246-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "0d39717ee0f85447c268195631055faa", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "8f031c1f-a4b5-4199-be13-04af41f63ecc", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "39ad604a-658a-45fe-90cf-9d3be93d1d86", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:02 GMT", + "Date": "Fri, 07 May 2021 18:19:42 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQIAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:03 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=ApAYQZsr0etLo_bBZArMCfhlEICiAQAAAL17J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:42 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,337.4646,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "142c8833-3eec-4273-ae54-3aa50e3a0600" + "x-ms-clitelem": "1,0,0,511.015,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "17740303-97fa-436c-a177-d22b16bd8e00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjMsIm5iZiI6MTYxMjU1NTAyMywiZXhwIjoxNjEyNTU4OTIzLCJhaW8iOiJBVFFBeS84VEFBQUE1dTBFaGtKd2ZtWm8ybEpadGhUdmhGcGdQTWZYUVlUZFNiUkNpdjFBUC96TDU5VXF6MlhtKzloK3RzMjM5V0J6IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ik00Z3NGT3ctYzBLdVZEcWxEam9HQUEiLCJ2ZXIiOiIyLjAifQ.Pv2pjSF8ilO71OYnUv32iEzyGIsijZEBXQNItvTyyVDVO6KgAazSabKycG3WUsMNv1cyhocmunsPISsZ5SScOp9_HlQKA7SpA08xEdP3P8T7UQGgdaBlLpQoVxmE1MncpSE5JJT44jalLowUpGjBpI4Drx_FXnV5QL4OkY8EpbsvQzZDPsfjvkStuEuzQuREnRn8v5A5gC0GzRea73kZSaWA92KCDKBY6c6PfuiL_I-pRVplBmRcbKPb-W7U3nFmdpjCdu4YTrJoJuyLpHWIEhSHViBNd4kZJ7jxm82CwC7fhCFDUZDGfWCnZaU_4X2yy_DzNWHg3EeS8LlUNlJWIg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODIsIm5iZiI6MTYyMDQxMTI4MiwiZXhwIjoxNjIwNDE1MTgyLCJhaW8iOiJFMlpnWUtnNXkzWTA2MDd0NC9vblZZczE4azl4bTVuVVg5dWQwYnk3ankxVU84Tlo3YlRvV1dOMzQxUWUzajVyMTVRQVFaR1BBQT09IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IkF3TjBGX3FYYkVPaGQ5SXJGcjJPQUEiLCJ2ZXIiOiIyLjAifQ.Lh5V_57WVMXlB2bj3P8Jx5GjdNPpYPLYlNKcMckNjpRbGck3ATqWZpiw6bKoN6Nz8pEg7hyWVf0iUtGTyQ9b6fQvj4aHBB5r3j3KfBc7nXb2t0YlMmuzHM-mAzPxvsILF_vIJ8izPlAke_mu2G_x0FiYzolwVHdS3aoo3oD-JKYL2_5sqIX9W3iwTI7kKoTWigKCCfC7pUSWuC99NYHUvYdra8KU8qKdela5eA7RTWtgOb0M50Z-awv5XrviGpPXBms1zn1r5nP5A37jxcfI27EvUxl6SbRDOYJEl6l6PVtcEcc0m0EskQ109SV4A92ZwygmEVt4js_VzWvYUkqADQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1087424336", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFileAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFileAsync.json index a434d15c3502..0ff3a5826a17 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFileAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_BrokenSettingsFileAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "bb670d9b-cd7a-4a4b-9833-2f03d7c0a127", + "client-request-id": "9e0c81ca-e411-4621-9654-51e0172a5d12", "return-client-request-id": "true", - "traceparent": "00-c9b1bd9b74e47f478e43ca537c806d29-50059ef90936dd4e-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-1c55218cd6eb524990359f2b9e9fc622-b8efef4376c9154a-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "c41dbb01316a7ce94d52af052985f3fc", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "bb670d9b-cd7a-4a4b-9833-2f03d7c0a127", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "9e0c81ca-e411-4621-9654-51e0172a5d12", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:05 GMT", + "Date": "Fri, 07 May 2021 18:19:47 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQYAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:06 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AqjPKMqBWRFCn6mWCC9xDAc; expires=Sun, 06-Jun-2021 18:19:47 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrno-KAI1GctZrqs3RbKS92R08aZx-ULcgGplagYOlPkPbSTZLkjGG1kIMGceqpCtaaicKVtBXY1UDefkLQSMI29wWmcZhtEvU6G6_w4hf6i16t3dvnw192W8vJP0NhyAGNjt4PbHjRCxxYcfybxYYorvP4vdr8wP0j-aLSLryY70gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "9b23fb4e-7f86-4854-b21e-0109ea134d00" + "x-ms-ests-server": "2.1.11654.16 - NCUS ProdSlices", + "x-ms-request-id": "a24339a5-3062-401c-8e04-91f524384b01" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "bb670d9b-cd7a-4a4b-9833-2f03d7c0a127", + "client-request-id": "9e0c81ca-e411-4621-9654-51e0172a5d12", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-c9b1bd9b74e47f478e43ca537c806d29-515fe3815fd0a740-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-1c55218cd6eb524990359f2b9e9fc622-de551ad017ea6542-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "daa4420d3dd5ca392cad8bd2547dddca", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "bb670d9b-cd7a-4a4b-9833-2f03d7c0a127", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "9e0c81ca-e411-4621-9654-51e0172a5d12", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:05 GMT", + "Date": "Fri, 07 May 2021 18:19:47 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQcAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:06 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Arpv16M3vB9AsCmrMHHBqxNlEICiAQAAAMN7J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:48 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,227.8501,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "3e001942-b53c-4cc5-a2f4-cd1f92020900" + "x-ms-clitelem": "1,0,0,511.7083,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "53f35130-c427-4268-9c8d-23dd25d74d00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjYsIm5iZiI6MTYxMjU1NTAyNiwiZXhwIjoxNjEyNTU4OTI2LCJhaW8iOiJBVFFBeS84VEFBQUFvVjg5SVBscU5ZeHNDR3l0WE9Ddy9SRFNjQ3JLblB1cWhkVUxwUmdyTGNLckplN0s2MDY1d1c2K2ltajNZM3Z6IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlFoa0FQankxeFV5aTlNMGZrZ0lKQUEiLCJ2ZXIiOiIyLjAifQ.c2tAdCSx9PunNXpv8O1H3Qf4OtaAN89sMxWzXpE_hJN9PbSIo_c93t9NnFXyt3zosGBOeUaIj0t37cVKGTBBAIwl79OUoOSzuOZMSm0kWAN_eWk5qDWzUXFu4zzMj73a1PVMaFXexk9n2WJ4kh_sRne-CxJ60ws63WZTI-hnq8L8QJvJdeGXrbos2xG0hFSRCerGqBaI-rbdcg3Nn1J7UPLrJQ81zZ34SgH3v4HxiPHItCz36Ql9o9GtYN8LuXncZWtu-vBBlB5GKYsjw1EKtFrVFCukR1GtnVBJmv-YBCCqKM2DJxgteIRIUPDQ5gCrwcKpE_ZaASDtDETZzu7lbQ", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODgsIm5iZiI6MTYyMDQxMTI4OCwiZXhwIjoxNjIwNDE1MTg4LCJhaW8iOiJBVFFBeS84VEFBQUFVTm5ubnFZZW50VHFCUy91Z3M3bXVaT0lFUFB4VDdQNjd3dE5UbTRzS1hBbllhYXhjZ05TVFI1OVNUMm1zbnlzIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ik1GSHpVeWZFYUVLY2pTUGRKZGROQUEiLCJ2ZXIiOiIyLjAifQ.VQCB-2VdkL7PgtGWd7DZAUZL7_kueb4VvyCxq-Py0rWG7D04eTi5-J3JkOh-waEjCM8lh6Tq3JwXEDaurdH8OSEKlcUlz0ecQ6_0AkJ-SJOAyOsm-6sItp3b0-JbMK7xYrCyb3PC1-ON7h9ZeNQD5273ewBd6bV6dyGMgXv0AIffLMLsxOCJj9A8Pm7gwL3VAUu9VkFcP-S4EXy02lVYWJuKcegBZPVbfb_y5JErn5cKPJ07bH4CWfp-H-hfp6ZpsW5an8hEuZOH_dUKaoXJHpyBbhywyQUEf820Mp3waObGWOlVh2NWCrXxGSdWSrVWK8GaGvns4tpCxLwwEUtY9A", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "416295041", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFile.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFile.json index dec517211d1e..2d93f669b4c1 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFile.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFile.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "4bb0a1b1-2663-44e6-916f-3bd06e3df83a", + "client-request-id": "8d80aa5c-1209-457f-b681-65fcdbda2839", "return-client-request-id": "true", - "traceparent": "00-4ab65ae5e5887d478412c59b713b0058-fdc8d9951859224e-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-87761c85b79aa24e814d2cd7cd02032f-6bdeb0f80e795846-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "7f759735c061c49baba0ada601b6993a", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "4bb0a1b1-2663-44e6-916f-3bd06e3df83a", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "8d80aa5c-1209-457f-b681-65fcdbda2839", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:03 GMT", + "Date": "Fri, 07 May 2021 18:19:42 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQIAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:03 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ap1vCDjnqw1FihW9v_2AWUA; expires=Sun, 06-Jun-2021 18:19:43 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-wu1o3yV1FNPd4oflItmf4e0xRz5DZoqiDYnPGDpidgvSPvw_C3YgfLvxh4ACeML7ZnPAXg7k2A_I20k2xHskhaXvqp_FnE0aRxEKlQLtUlLugOWTDlgdHd4_V6J_ZB2Co2AYQaAKcQYlnHAEB-WlvRwboiQSkTMnCPwO_XzaHwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "88a5a492-397d-4798-a0c1-6d23ca2e5a00" + "x-ms-ests-server": "2.1.11654.16 - NCUS ProdSlices", + "x-ms-request-id": "294b77fb-b929-4e81-91f0-f84fd9e4a201" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "4bb0a1b1-2663-44e6-916f-3bd06e3df83a", + "client-request-id": "8d80aa5c-1209-457f-b681-65fcdbda2839", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-4ab65ae5e5887d478412c59b713b0058-8c3a4a0b4ff0714c-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-87761c85b79aa24e814d2cd7cd02032f-1770c56b5c1af749-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "64b320e2d3b954105f82533e3e5e1e98", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "4bb0a1b1-2663-44e6-916f-3bd06e3df83a", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "8d80aa5c-1209-457f-b681-65fcdbda2839", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:03 GMT", + "Date": "Fri, 07 May 2021 18:19:42 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQMAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:03 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ag1akEhnqFNKsqZOk7rekbVlEICiAQAAAL97J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:43 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,255.1383,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "a9c961b7-e07f-463d-be39-7b8f55c00800" + "x-ms-clitelem": "1,0,0,448.5036,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "53f35130-c427-4268-9c8d-23ddd8d54d00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjMsIm5iZiI6MTYxMjU1NTAyMywiZXhwIjoxNjEyNTU4OTIzLCJhaW8iOiJBVFFBeS84VEFBQUFtcEJQRE1lVVdjcC95RVVDVVJHTHR5bU5ES0lLZVRMZU1sbTJyN1VlNlJaMW1iL01kQWVDcHFudUgydTlvSnpoIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InQySEpxWF9nUFVhLU9YdVBWY0FJQUEiLCJ2ZXIiOiIyLjAifQ.PoCyYnK8-9ZiOvN4Fpa-0lg-5sEmoGJV0hLPIp2Sk4I0vMjbXawUxIcluQJuC4OPSUaMy8D6r7_1uSuQMqLYQ-hw1P9i1-T3eyXwFWHNdC2wa5K1RphyD56gbqfqFIPqLKdPJguAWG_aKKotGlzjCMGfaQfWLJlu39m4Eq5UH-JHm4SrXATdy0NqpYq2BHRiTAbROc3DT_yzwxjXodiOI6S-wH_a_acD6cvEAo2_E84KGySrHsoklCmFxB7rIpW-H65fKbK4JcCf4qJl8sIOSevyqXL8YdpXqfX9kmtkU735WYMzbeIIILDwxO4YpjWAgZLNWoLsjDjoeupDUs3cOA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODMsIm5iZiI6MTYyMDQxMTI4MywiZXhwIjoxNjIwNDE1MTgzLCJhaW8iOiJBVFFBeS84VEFBQUFmWWw5a3ljaHNIbnByQXE4d0JVQ1ZNY0NzaU1oUnpTOGhsaUdWemRLR2Vyd1hTVWNmOEdTeEFMcy9TcllWcmdRIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ik1GSHpVeWZFYUVLY2pTUGQyTlZOQUEiLCJ2ZXIiOiIyLjAifQ.CNjOh0Hbt81Rn_shcTIPsyeI6loiMXDKDPNOe6KMEWvDk3_JQiy16e1ikrq-ItRoKN18z9bsNx21aK9Xk6fLmybubPnmdKy6XoMQgVIy1RcQrCbQU8CeJrI8aBY543QXfjpNbHE3w02darccnfCLtszZVPIibosETQIVnajpu7qafDop_Y1qdJgS2xwL4KtYqqTnpb3lvRj38EEwmXnyIV1LTjoDHbgZUxJjXVtmQrza19XPn1ftv4AxZ0CYb8oa6n7sWrTyGhVr1jDu4CwmBg3dZm_p8H1v4HcHooFETPE1vJEGAiIaUdZ9MbZBPPnuH8oXDlVYxKjvHHfAlyaGAA", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1814209897", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFileAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFileAsync.json index e5490ff94e7d..a8d5f84d9b20 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFileAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_EmptySettingsFileAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "e30994e6-f311-46d1-963a-069e8e7f5651", + "client-request-id": "144beb4b-b9cc-43e9-8c18-5a9d2d96bb0b", "return-client-request-id": "true", - "traceparent": "00-e4201884c142544e802a044f4a44bdce-12e9f3aa316d3946-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-70cb4653f4457842996adccc5142221c-846f130f2aeee841-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "bf33f7ef86206a342d66a853d492bfbb", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "e30994e6-f311-46d1-963a-069e8e7f5651", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "144beb4b-b9cc-43e9-8c18-5a9d2d96bb0b", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:06 GMT", + "Date": "Fri, 07 May 2021 18:19:48 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQcAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:06 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvZksVr5m1pFpzlSX1jBLZ0; expires=Sun, 06-Jun-2021 18:19:48 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2aQzvROBbVgzGnOKOV2ovY6Qe7OUsG15FRwWiE9TE0PWxylIdNBza9zHxEDqjvdRfJ6TwCe_rlAXRw5dIXabDH3bHMKM6ORMyOpW7lUIX6k3vPNruylvuKKcct6eR7zIc227Dx6iGdhohIXXfPRXdGh6lDGQq1Xm9NJRoszsdkggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "65a34bae-3d0d-4492-b5f8-174a1d490a00" + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "1cb746c5-51ec-44e8-83bb-36291a828602" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "e30994e6-f311-46d1-963a-069e8e7f5651", + "client-request-id": "144beb4b-b9cc-43e9-8c18-5a9d2d96bb0b", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-e4201884c142544e802a044f4a44bdce-bb5831ff0a12144a-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-70cb4653f4457842996adccc5142221c-49a7f33fc082494e-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "4fc12a15541f69414ebef46c815c3de2", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "e30994e6-f311-46d1-963a-069e8e7f5651", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "144beb4b-b9cc-43e9-8c18-5a9d2d96bb0b", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:06 GMT", + "Date": "Fri, 07 May 2021 18:19:48 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQgAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:07 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=ArFvRAZ5kvdHqwteoV-cNbplEICiAQAAAMR7J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,205.7937,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "efc41daa-d3e4-4853-865b-af352f660700" + "x-ms-clitelem": "1,0,0,497.3761,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "0dbe471e-7477-44bc-bbd6-81a1d2214b00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjYsIm5iZiI6MTYxMjU1NTAyNiwiZXhwIjoxNjEyNTU4OTI2LCJhaW8iOiJBVFFBeS84VEFBQUFDY1NKYUpSUVF4cnRlaWtLSTRKQlV3OW5lTldiV2c5aHpZUTFFdjJZempLYklzNEltenN4Mm53RHRBSUpTOW51IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InFoM0U3LVRUVTBpR1c2ODFMMllIQUEiLCJ2ZXIiOiIyLjAifQ.g_A4naNtU3S2hiQqzDsypEN_S-d9JyC74eF2gJti8-StxUM_QtBUgwEbuA58CJ-D1zre5m3mW0lt7l9y6GArv1QSdAznvVG3Ml93POnUi1PMAwzo0bz89drCxB2Zywt7QqeJk5LD3G12i7-amfjW0Ils7PBc4wMad40XCkheNm83fkQ57S4rW3QMVhJpdTkT3SD8rrs4l1oegBw8ajJTu6KHoi1TYO6JMrSwcpQvq2qXkYyih2BDF9N9-BeTI8axvEXB8O6rIyNLo_-JvBZizgGVztqGZW_HQwdPF2yATWfcPue32r-3D_ViIKLXbi2ddMaFUHRYSSMIll3ct_j-gg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODksIm5iZiI6MTYyMDQxMTI4OSwiZXhwIjoxNjIwNDE1MTg5LCJhaW8iOiJBVFFBeS84VEFBQUFvVjg5SVBscU5ZeHNDR3l0WE9Ddy9RM2ZwRHNsTXNlTm11WUwraHYzaVMvaCtIUDRmN3AxVHY3TUlia2VRTkptIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IkhrZS1EWGQwdkVTNzFvR2gwaUZMQUEiLCJ2ZXIiOiIyLjAifQ.Cll4_gnBFH1ZmUVbgVhmRys32YyoMtMf6SfXxH2sJ5A5cIM2SwypJD9uZU_O0riVJA5llsrHF8K8oOhzvWMy9R2nwiLCM2Oaq_XJUVE-VW56Fuh8GokkE1iPOfNq5U_ihLQCY3KMxLm0hyeUg7turf72VmRHCDYU9WYZieTe8I9ar7wLPK61xTyLACcr_bwthcm3E7jBYYvyC6khtq3dDLjVZWse46HrI_cHXnlv6rrVPAFavMbt0sEevfomJOyab4ct-iOvm2h1TnPqy77FTJPsJdpDGk2YoOP0GbAG340HbxOJwOUnQgPDUyNFimkgPqLpap07eY5423_SERAjjA", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "43695011", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshToken.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshToken.json index 7ac834ef80a9..73f0289187c2 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshToken.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshToken.json @@ -4,58 +4,58 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "15f3890c-6cb5-40b3-b1ed-2aa69f0be761", + "client-request-id": "d54e5c1f-cd52-4c9e-b288-45543ed69c32", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-477bf34048f3bf41bc36e973e05bc74b-39b52eb3102aae41-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-ca0fd27086fb1045aa9a7ba341b3aa4d-85c020ba12d32145-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "feda22738c5348ee87b601f32a091770", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 400, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "15f3890c-6cb5-40b3-b1ed-2aa69f0be761", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "d54e5c1f-cd52-4c9e-b288-45543ed69c32", "Content-Length": "508", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:03 GMT", + "Date": "Fri, 07 May 2021 18:19:43 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQMAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:04 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ap2GIQJvCEFDhbVxBcmojFw; expires=Sun, 06-Jun-2021 18:19:43 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,9002313,0,,", - "x-ms-ests-server": "2.1.11459.15 - WUS2 ProdSlices", - "x-ms-request-id": "1b911531-26d7-497e-8cd4-7f0da14b0800" + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "c3f81b68-eb8d-47af-a302-9c68df698e00" }, "ResponseBody": { "error": "invalid_grant", - "error_description": "AADSTS9002313: Invalid request. Request is malformed or invalid.\r\nTrace ID: 1b911531-26d7-497e-8cd4-7f0da14b0800\r\nCorrelation ID: 15f3890c-6cb5-40b3-b1ed-2aa69f0be761\r\nTimestamp: 2021-02-05 20:02:04Z", + "error_description": "AADSTS9002313: Invalid request. Request is malformed or invalid.\r\nTrace ID: c3f81b68-eb8d-47af-a302-9c68df698e00\r\nCorrelation ID: d54e5c1f-cd52-4c9e-b288-45543ed69c32\r\nTimestamp: 2021-05-07 18:19:43Z", "error_codes": [ 9002313 ], - "timestamp": "2021-02-05 20:02:04Z", - "trace_id": "1b911531-26d7-497e-8cd4-7f0da14b0800", - "correlation_id": "15f3890c-6cb5-40b3-b1ed-2aa69f0be761", + "timestamp": "2021-05-07 18:19:43Z", + "trace_id": "c3f81b68-eb8d-47af-a302-9c68df698e00", + "correlation_id": "d54e5c1f-cd52-4c9e-b288-45543ed69c32", "error_uri": "https://login.microsoftonline.com/error?code=9002313", "suberror": "bad_token" } @@ -63,6 +63,7 @@ ], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1716890069", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshTokenAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshTokenAsync.json index 5195eff83245..d2cc1be99f6e 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshTokenAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_InvalidRefreshTokenAsync.json @@ -4,58 +4,58 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "e1c18997-e101-4b83-914f-c02f7835c6e7", + "client-request-id": "8935dbfe-7fcf-4b3a-bc4b-de5850f6a1f7", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-678882adb1eb7b4c86f6588ad4ba5e01-aa95290e24b99b40-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-eb967aad72a14f4f881d286938561491-732012f4b73c994a-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "0d50fe598bba955a0e109867dc7335c0", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 400, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "e1c18997-e101-4b83-914f-c02f7835c6e7", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "8935dbfe-7fcf-4b3a-bc4b-de5850f6a1f7", "Content-Length": "508", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:06 GMT", + "Date": "Fri, 07 May 2021 18:19:48 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQgAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:07 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AtpJbpG4o2tAgM7S3dhiMMg; expires=Sun, 06-Jun-2021 18:19:49 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,9002313,0,,", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "d0328f82-572e-40d5-8664-a0a89d030600" + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "0dbe471e-7477-44bc-bbd6-81a1f5214b00" }, "ResponseBody": { "error": "invalid_grant", - "error_description": "AADSTS9002313: Invalid request. Request is malformed or invalid.\r\nTrace ID: d0328f82-572e-40d5-8664-a0a89d030600\r\nCorrelation ID: e1c18997-e101-4b83-914f-c02f7835c6e7\r\nTimestamp: 2021-02-05 20:02:07Z", + "error_description": "AADSTS9002313: Invalid request. Request is malformed or invalid.\r\nTrace ID: 0dbe471e-7477-44bc-bbd6-81a1f5214b00\r\nCorrelation ID: 8935dbfe-7fcf-4b3a-bc4b-de5850f6a1f7\r\nTimestamp: 2021-05-07 18:19:49Z", "error_codes": [ 9002313 ], - "timestamp": "2021-02-05 20:02:07Z", - "trace_id": "d0328f82-572e-40d5-8664-a0a89d030600", - "correlation_id": "e1c18997-e101-4b83-914f-c02f7835c6e7", + "timestamp": "2021-05-07 18:19:49Z", + "trace_id": "0dbe471e-7477-44bc-bbd6-81a1f5214b00", + "correlation_id": "8935dbfe-7fcf-4b3a-bc4b-de5850f6a1f7", "error_uri": "https://login.microsoftonline.com/error?code=9002313", "suberror": "bad_token" } @@ -63,6 +63,7 @@ ], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "608052039", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshToken.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshToken.json index 58b40014988f..8b6e391a9d08 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshToken.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshToken.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "688559220", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshTokenAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshTokenAsync.json index d22db92400bf..6d907ecde88d 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshTokenAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoRefreshTokenAsync.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "458534226", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFile.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFile.json index fc04b2073f0a..24560f8224c9 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFile.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFile.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "e99c2bff-fcb5-4c13-b0a5-5490f37f617f", + "client-request-id": "fa800757-2120-42b7-a959-6a7f851b222d", "return-client-request-id": "true", - "traceparent": "00-84d470f6c9ac534d9880f5a4d619a9e2-35a2b312c73a3e4d-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-010a546ba4c7f44d8e32b6d3359388ce-884aab5944239540-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "1fe1422a39c6bca960de50ae25465b16", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "e99c2bff-fcb5-4c13-b0a5-5490f37f617f", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "fa800757-2120-42b7-a959-6a7f851b222d", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:03 GMT", + "Date": "Fri, 07 May 2021 18:19:43 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQMAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:04 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ao7vwqrrjdZFixCHxQMUXM8; expires=Sun, 06-Jun-2021 18:19:44 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrt9wF3ZQAWDWqEv-2QmPWyiLjBF61RDJslsHnlioUwih4K_q7jr4GSTRz0GtbnBptTNkygVqyFIOflz5igFG0kddJrDxa5YAWZP09-TB7My7SIf8vaxtXaK8J6WgQeMPsbTig2g21AOqp4PET5ZTaAqPaMVXdTsndmms1YOI-qLIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "5352d7a5-0d70-4ba5-a0b9-3f23edc60a00" + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "796beb43-f4cf-4bf1-a956-cc9f8f512404" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "e99c2bff-fcb5-4c13-b0a5-5490f37f617f", + "client-request-id": "fa800757-2120-42b7-a959-6a7f851b222d", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-84d470f6c9ac534d9880f5a4d619a9e2-2360b4ffb431d940-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-010a546ba4c7f44d8e32b6d3359388ce-e194e6009b8dde46-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "dea4643e627490424899806905861b31", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "e99c2bff-fcb5-4c13-b0a5-5490f37f617f", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "fa800757-2120-42b7-a959-6a7f851b222d", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:03 GMT", + "Date": "Fri, 07 May 2021 18:19:44 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQQAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:04 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvzBiAl_NHJEqMOr3CbPDtllEICiAQAAAL97J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:44 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,280.0772,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "efc41daa-d3e4-4853-865b-af3546650700" + "x-ms-clitelem": "1,0,0,397.3905,", + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "e32a1e3f-b787-482b-9f66-1d3b40c45400" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjQsIm5iZiI6MTYxMjU1NTAyNCwiZXhwIjoxNjEyNTU4OTI0LCJhaW8iOiJBVFFBeS84VEFBQUFQVkFFS2JpMnRtdTJsb1VGT0Fma3hsSGg0U2Q3Q0FjcVdickVUa2tRK0NIQTlyRFJBS25pZldudCs2T3NOTGU1IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6InFoM0U3LVRUVTBpR1c2ODFSbVVIQUEiLCJ2ZXIiOiIyLjAifQ.TqN7Wjz6OhjbzJeikwZELsRLSnpblVsL0SHDLD6nNF1ybv6cidxQ-2Jrpo67VJqm1AvV7JKeCQrV8jqZexFhKby5fN5keps83mUb9DrwUSxHmknxEMHUlanwDqepq7tAJfy77pGq4L1v1iWMBv_AjAKxnTjtEyOqdIQ-Y8PSvDbesMlNFEnfakEkLAO5uraYip3mt6U4jZ3e1G80lCz8DBoaYtPOB9UZMoL-PZlh1tO0_Ocj4Rt3rzv3o2MrVktrqnIi6NAilO2PbMgqyevq784jsLT1ses1N2Cf8EqK9vKUDtV-xs1unY7p-sogNH3IwAYEIcQ4DmVCu2eK9i4vcQ", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODQsIm5iZiI6MTYyMDQxMTI4NCwiZXhwIjoxNjIwNDE1MTg0LCJhaW8iOiJBVFFBeS84VEFBQUErU1o4amdGYm1kMnNpK2E0U2Y5bC85VDFVUkZZQlhNem9UMVpVS1NlMmdpM1RseGRwNE1WbVhnTlkvQnZaNmJ3IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IlB4NHE0NGUzSzBpZlpoMDdRTVJVQUEiLCJ2ZXIiOiIyLjAifQ.NdNCSGc-hDk82I3ZdPyGCes6_RjZuCyrSzWZ88Ku5YJVeDnmuPUFBHqXJ5pphx7rl81s3pcNX816tTh9bFtGoZKJkXA1Pebygl0SvCwyEN6Cs3WUB_NboJ8856xTPh9KVVTuLPeGmvw1Jnp25wRXJOzH-cLLC9MvsWgWwrTjpjxedipQXU1Q-lndCMJi1m4osXQrPmTwIDEbfMV4jQFr3uhb22f1wfV5TTZSU9Gj3L-FtEQldAmUTudFLrNOCVe6L7G8xkYUPs9msyHltuCiSpfoqYKuaEoUyVriPSUhvjPyjJxpRAOm20B2KCDxKS9d_9L28XPFB-w-IPCY5Z9pPQ", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "70355856", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFileAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFileAsync.json index 71169b75e6ec..a3d9617fc92f 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFileAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoSettingsFileAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "64204949-c43a-4af3-8084-23b25b6a3e31", + "client-request-id": "559d774c-7f91-402c-ac7d-88bde33abf19", "return-client-request-id": "true", - "traceparent": "00-489b238e3c210d4dac1dd958850401d9-0c06818416fa174f-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-353bff58a001204e971c2060ae8def1a-12c8a8c2794db14c-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "450370fc267f2065b4a4cbff466dd6ff", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "64204949-c43a-4af3-8084-23b25b6a3e31", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "559d774c-7f91-402c-ac7d-88bde33abf19", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:06 GMT", + "Date": "Fri, 07 May 2021 18:19:49 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQgAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:07 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AglGseOqiGlGldWtG08k0uc; expires=Sun, 06-Jun-2021 18:19:50 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYgGSywdb7R5LZffjJLunyP6GxnaD72cefOAjjbJ1d_qGGBzOBUZodHPIiEA59oBeXUobSEm834m0MyXFd3FMW1b-5tj38sWLQ1PTbwSKEb7z2SZZWNqT-R6Jnl2O7Dh-mNHiYhHymB2w5pozykAyEyhvhKe9H1yTxb9dFXQWbf8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "f85e1642-495a-48c7-9dc6-d847c4db5300" + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "ed10300f-a388-4313-9f4c-8ff5e67a9306" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "64204949-c43a-4af3-8084-23b25b6a3e31", + "client-request-id": "559d774c-7f91-402c-ac7d-88bde33abf19", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-489b238e3c210d4dac1dd958850401d9-995c53532b2fb641-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-353bff58a001204e971c2060ae8def1a-4d647bf760e2894a-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "37e60eeb448355f694f25e2c04c5de17", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "64204949-c43a-4af3-8084-23b25b6a3e31", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "559d774c-7f91-402c-ac7d-88bde33abf19", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:07 GMT", + "Date": "Fri, 07 May 2021 18:19:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQkAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:07 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ai4mkrFUO4ZHn51NjTlw2SVlEICiAQAAAMV7J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:50 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,248.1046,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "4ef083a3-6190-4d7f-8bf4-c79e65310600" + "x-ms-clitelem": "1,0,0,465.0129,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "0dbe471e-7477-44bc-bbd6-81a13e224b00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjcsIm5iZiI6MTYxMjU1NTAyNywiZXhwIjoxNjEyNTU4OTI3LCJhaW8iOiJBVFFBeS84VEFBQUFhL1VSNWNDY2pTZ0pqRVB2TkNLN3RXdkgzTFp3UVY5MHFCK1ZxUW44Y2hTeExacUQvWVVLOFB0SFJkb09tOXk5IiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Im80UHdUcEJoZjAyTDlNZWVaVEVHQUEiLCJ2ZXIiOiIyLjAifQ.k3tiDoRpPY16YaU4yYDqz6TlCYzG5v3Gc9mneMxmZkQ6y3BbTQl6FAcQety4GZ16QDzDQK6y03fZYWJwz9lIFKb9F-qS19QIEehsrLXf1WQkzpg59E0yaIa1x0Kxe1vFSx5IRTCkh0ij5Sk70y7UOw28JVMqMPk8iNvBJSnX96fS2JTkq4CgwWOg5I6x-MbeHLTXGeX02vSo3sMUU_KsTaapBw-5NGAm-IKDy-mkX2Nlyz8O7aKuYZmVzUNm-SfaIumyOisY4zZ8MhEakpIjjNeBZAU3KX2_10oZk7wfMrilAgqjeVM0UVbXiwTjR8I_XkLn49_TPzuKm1ZuObwQWA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyOTAsIm5iZiI6MTYyMDQxMTI5MCwiZXhwIjoxNjIwNDE1MTkwLCJhaW8iOiJBVFFBeS84VEFBQUFnRTVTSkxvdWo1eWs4d016LzhpMXhhM0phMklmcGlRRnYzc0xaNVNQQ0JkWG1FWkhIZU5XTGZpRlZLeFJqOFJaIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IkhrZS1EWGQwdkVTNzFvR2hQaUpMQUEiLCJ2ZXIiOiIyLjAifQ.jj521v9lniXsvk_C3mminqT2DMkUMv4EzbgKMPlVX3mkLURqDMpiKaeffgpdwTrL59Kq11VsXubJ2hsnNsap9d51ovhuQpCSv1gcOTGm5D6TC6-szQrNzjCRPhPgmG24teO9SX75I36FswhIP-9j4-Oky-SPt7XVV2OCT6dpZCS5FhnUEB6RvC6ZA3xP8HBy0Va8-WgOxNp2pOdlu3tLft7E5mtQJRIJ6T5Xg6LcS1GyKFSwRjkxTkpJB16l2qenAKwGX8IJIwv4QL5PavCnc_fI10P7hbJnRbheLhTlgdn0v5BsFgVV9M22kQO3OhrFPctKVJDEMlzuCN8o8vQFDg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1044869523", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalled.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalled.json index c54b6ad52dfe..563e4898f546 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalled.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalled.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "831569271", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalledAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalledAsync.json index a62ee3754488..97122066d39b 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalledAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_NoVscInstalledAsync.json @@ -2,6 +2,7 @@ "Entries": [], "Variables": { "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "117392056", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettings.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettings.json index 4cdd4f88941c..b7f9429fb53a 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettings.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettings.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "11c7b201-1a56-4206-8846-bfb3b443a8a6", + "client-request-id": "e3cf15c0-f579-4833-8084-9de6833b16cd", "return-client-request-id": "true", - "traceparent": "00-1f32fda38168b64f9877d03445ba6783-08c69e50ae153644-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-97db33f94ac75e49a70c519938ca6fe8-2538562a5fd15146-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "dceab0186a14d6369a54a5828f691a28", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "11c7b201-1a56-4206-8846-bfb3b443a8a6", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "e3cf15c0-f579-4833-8084-9de6833b16cd", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:04 GMT", + "Date": "Fri, 07 May 2021 18:19:45 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQQAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:05 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ak6wrht-RoNOs7Nfp31s7oI; expires=Sun, 06-Jun-2021 18:19:45 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrjJEMdAJ8B_Q0nrZw0sJgiVIl918CYd7-1FUlEb5reY2ETh-dD-LukSOy0STG820oQWeSS_9NfpFXMcxJ9WClIkUIyt-HqxbAvSJ3g_3ea_WIiYHtAOJ_jpnnfXWMgwymzPalQ4jUbXqJr0-ofVinIEwgqoR4h6GWM4khp5Py3LsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "a4e36c68-528f-4c62-8618-5aa017438300" + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "5226b56e-7702-4637-9642-858f22292403" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "11c7b201-1a56-4206-8846-bfb3b443a8a6", + "client-request-id": "e3cf15c0-f579-4833-8084-9de6833b16cd", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-1f32fda38168b64f9877d03445ba6783-4fa7b7c4799a0544-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-97db33f94ac75e49a70c519938ca6fe8-0728b3b060b12c44-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "8e1d6afa370defd4f9811db0c741ad94", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "11c7b201-1a56-4206-8846-bfb3b443a8a6", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "e3cf15c0-f579-4833-8084-9de6833b16cd", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:04 GMT", + "Date": "Fri, 07 May 2021 18:19:45 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQUAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:05 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AvtP7WblOhFIikiwD5_FcQFlEICiAQAAAMF7J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:46 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,310.3007,", - "x-ms-ests-server": "2.1.11459.15 - SCUS ProdSlices", - "x-ms-request-id": "4ef083a3-6190-4d7f-8bf4-c79e97300600" + "x-ms-clitelem": "1,0,0,477.4108,", + "x-ms-ests-server": "2.1.11654.25 - EUS ProdSlices", + "x-ms-request-id": "fe81efca-4884-43e1-ac0d-5a6767214a00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjUsIm5iZiI6MTYxMjU1NTAyNSwiZXhwIjoxNjEyNTU4OTI1LCJhaW8iOiJBVFFBeS84VEFBQUFTd3RQbGtmUWNQLy8vajEyVjIvU0VlVjhWd0FIdnp4WE9kQjEwVWdvRlBwTm4xTndUdURyU21IV1U4YXZWRlRvIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Im80UHdUcEJoZjAyTDlNZWVsekFHQUEiLCJ2ZXIiOiIyLjAifQ.WyP052ORUu5UFtT5XOz4rgQSw8kJlIijKl8ohPAQvL7uhQwcnB68DFEdF2sx74urT03PV8nqro9qQw2U0YKEViLxa4X3osTOY7IJDQNX99JeGLLu60c3j4I9n_feGYCzcLadYvbh2-CCO3TMDe-kRNhyNISXD-ZYDcIVhspU27zMM2S-EAzal8rAyIYdM4aMgDlILuO-E5cVN5KM9ZQL7mare4Izc0ZvcPvk7Hkg_23gjrajIBZ4dgypdkMJ64cy-q6R5Eagbd_r7pu1s1sbnCj7MSqran2_ig5PWXqd9ROCvW1PxOQ7rKbO46XLOUxi2jZ6EwAI9s-v12GpPHdeIA", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyODUsIm5iZiI6MTYyMDQxMTI4NSwiZXhwIjoxNjIwNDE1MTg1LCJhaW8iOiJBVFFBeS84VEFBQUFZaENBRlpseUwrUEVJaFM2OVJtUFRFZyt5S1RaUWNsWFBwYi9hYU56NEtnZTgvTHlCOURxa1QvNjkyWTlQSisrIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Inl1LUJfb1JJNFVPc0RWcG5aeUZLQUEiLCJ2ZXIiOiIyLjAifQ.ZrPPlq9HmZsN1l8XZp5uerPYvQmnTdIa4Qad7aAyL-4zgzn0pUzsTmR43t0odrC69C7bGdEydOcpUhhimSG_yNEqioVvY0P997kMB6IeALLXTP5XEoUwbBAxmwgN5YvOnviQy32pTx9KJszMK7ro14xgZt9EyLHTvEgekjv_5pjYL1_joDF0ajYlZnctac7bOxmEA6MgX8T8fBiE6N6worpRZ8h9v4agF2i1kBLsXnWoXV_Lm3-N271zKteScho8DOqk4pz4g-r5pJGysqpl7pVdaXSHPXpxsjTBfil3FYwX0hWO65A9KKaX0iFsFebhvte1MEaMRVwLAriW7PeRXg", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1430786117", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettingsAsync.json b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettingsAsync.json index 4929c3b76e5f..47323f6a26c5 100644 --- a/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettingsAsync.json +++ b/sdk/identity/Azure.Identity/tests/SessionRecords/VisualStudioCodeCredentialLiveTests/AuthenticateWithVscCredential_TenantInSettingsAsync.json @@ -4,18 +4,16 @@ "RequestUri": "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1\u0026authorization_endpoint=https%3A%2F%2Flogin.microsoftonline.com%2Fc54fac88-3dd3-461f-a7c4-8a368e0340b3%2Foauth2%2Fv2.0%2Fauthorize", "RequestMethod": "GET", "RequestHeaders": { - "client-request-id": "b65399d9-8fc4-4cec-99a6-29a254c97890", + "client-request-id": "1b3fa503-4e1f-4c94-8a01-6926abe4eb4f", "return-client-request-id": "true", - "traceparent": "00-42a6bb36ab78684590db563f190e127f-0eea256773a75e48-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-2ad933dbefec304a9368789a9f6e3d2d-a48a7106be5b0348-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "f31f933add3f6bde90b64fb4c4f20785", "x-ms-return-client-request-id": "true" }, @@ -24,21 +22,25 @@ "ResponseHeaders": { "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Origin": "*", - "Cache-Control": "max-age=86400, private", - "client-request-id": "b65399d9-8fc4-4cec-99a6-29a254c97890", + "Cache-Control": [ + "max-age=86400", + "private" + ], + "client-request-id": "1b3fa503-4e1f-4c94-8a01-6926abe4eb4f", "Content-Length": "980", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:07 GMT", + "Date": "Fri, 07 May 2021 18:19:50 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQkAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:08 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=AodZ5sPqyjxBhfpUbKAd6as; expires=Sun, 06-Jun-2021 18:19:51 GMT; path=/; secure; HttpOnly; SameSite=None", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfyooP9OPuBg5Ld6agu2zibZSSwSWY-7JcqcxKp_G9aTo1O6XZdN362PiJNjhla0pIYtSJDo9W_9x-nZ2VHpwn9ttdWel5lgL5o5jE_ST0KFyxfLmS8_Ys3G_fumR0kvLK8Nj2Ft-irfFqWqBKgoFKGDSuD4WDLfYjOstI6MEQmEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.11459.15 - EUS ProdSlices", - "x-ms-request-id": "d0328f82-572e-40d5-8664-a0a802040600" + "x-ms-ests-server": "2.1.11654.25 - NCUS ProdSlices", + "x-ms-request-id": "ec35d0d4-5435-4d45-ab9a-84483fa74e00" }, "ResponseBody": { "tenant_discovery_endpoint": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/v2.0/.well-known/openid-configuration", @@ -91,64 +93,67 @@ "RequestUri": "https://login.microsoftonline.com/c54fac88-3dd3-461f-a7c4-8a368e0340b3/oauth2/v2.0/token", "RequestMethod": "POST", "RequestHeaders": { - "client-request-id": "b65399d9-8fc4-4cec-99a6-29a254c97890", + "client-request-id": "1b3fa503-4e1f-4c94-8a01-6926abe4eb4f", "Content-Length": "9", "Content-Type": "application/x-www-form-urlencoded", "return-client-request-id": "true", - "traceparent": "00-42a6bb36ab78684590db563f190e127f-f4a117d2c868694b-00", - "User-Agent": [ - "azsdk-net-Identity/1.4.0-alpha.20210205.1", - "(.NET Core 3.1.11; Microsoft Windows 10.0.19042)" - ], + "traceparent": "00-2ad933dbefec304a9368789a9f6e3d2d-c2c8025d808cdf4e-00", + "User-Agent": "azsdk-net-Identity/1.4.0-alpha.20210507.1 (.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )", "x-app-name": "UnknownClient", "x-app-ver": "0.0.0.0", - "x-client-current-telemetry": "2|1001,0|", - "x-client-last-telemetry": "2|0|||", - "x-client-OS": "Microsoft Windows 10.0.19042", - "x-client-SKU": "MSAL.NetCore", - "x-client-Ver": "4.23.0.0", + "x-client-CPU": "x64", + "x-client-current-telemetry": "4|1001,0|,,0,,,,1", + "x-client-last-telemetry": "4|0|||", + "x-client-OS": "Windows 10 Enterprise", + "x-client-SKU": "MSAL.Desktop", + "x-client-Ver": "4.30.1.0", "x-ms-client-request-id": "c1469078ef00d92b5871cd88a1078ed0", "x-ms-lib-capability": "retry-after, h429", - "x-ms-PKeyAuth": "1.0", "x-ms-return-client-request-id": "true" }, "RequestBody": "Sanitized", "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "b65399d9-8fc4-4cec-99a6-29a254c97890", - "Content-Length": "1608", + "Cache-Control": [ + "no-store", + "no-cache" + ], + "client-request-id": "1b3fa503-4e1f-4c94-8a01-6926abe4eb4f", + "Content-Length": "1625", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 05 Feb 2021 20:02:07 GMT", + "Date": "Fri, 07 May 2021 18:19:50 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", "Set-Cookie": [ - "fpc=AoMWyVze9J1GhXPK92uLvfgqmvoTBAAAADebr9cOAAAA6BPPIQoAAAA5m6_XDgAAANJ4XoMCAAAANpuv1w4AAAA; expires=Sun, 07-Mar-2021 20:02:08 GMT; path=/; secure; HttpOnly; SameSite=None", + "fpc=Ag-rB2_sZplCij5aheTiOwllEICiAQAAAMZ7J9gOAAAA; expires=Sun, 06-Jun-2021 18:19:51 GMT; path=/; secure; HttpOnly; SameSite=None", "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,380.5849,", - "x-ms-ests-server": "2.1.11459.15 - NCUS ProdSlices", - "x-ms-request-id": "2c125229-6259-4b6e-837a-3fe13c380a00" + "x-ms-clitelem": "1,0,0,491.5215,", + "x-ms-ests-server": "2.1.11654.25 - WUS2 ProdSlices", + "x-ms-request-id": "e3711a35-d652-49d6-8c13-cc2a0a1a8d00" }, "ResponseBody": { "token_type": "Bearer", - "scope": "https://vault.azure.net/user_impersonation https://vault.azure.net/.default", - "expires_in": 3599, - "ext_expires_in": 3599, + "scope": "email Mail.ReadWrite Mail.Send openid profile Tasks.ReadWrite User.Read", + "expires_in": 86399, + "ext_expires_in": 86399, + "refresh_in": 43199, "access_token": "Sanitized", "refresh_token": "Sanitized", - "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MTI1NTUwMjgsIm5iZiI6MTYxMjU1NTAyOCwiZXhwIjoxNjEyNTU4OTI4LCJhaW8iOiJBVFFBeS84VEFBQUFlR3gwZy9hTWJGbE1FekRLOStrRjFaTjFzbTNnOUxYYkgyd2R0OU91Q0ZsWDRKaURWM2RrVTNRTk1HRGpxT2dqIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6IktWSVNMRmxpYmt1RGVqX2hQRGdLQUEiLCJ2ZXIiOiIyLjAifQ.Ph-0jGbs7206qZsR9YOVy8PCek4iW2XwUTwFMcOoVEviWx7_DRDvAVI769Z0TOZvgQ0vipVFZtdsi7nFxTQKwTNDuK3TTW-SQM8FRMmxF9t4I2weOaZawWPgRTCgPCRCVUGeViJNPuuvZWE8cdZXI8UTw00IJpWoeCgugRgpyfCyfVVZ_hSneOcT8th8LVWY3J8Ts1mlhi9zk4SRsv7wSyZPXsnfv5nRmU4xDdrG4MRHyoTAhKxA3xhhwdKvEldO1A7sqTHqpDono0QavXVD1hLN2kagTYNEtUx8yKfqU1xoZka4q9GytsswxbKepy4t63gvNao1XaQtYLPTJ1MiYg", + "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJhZWJjNjQ0My05OTZkLTQ1YzItOTBmMC0zODhmZjk2ZmFhNTYiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzL3YyLjAiLCJpYXQiOjE2MjA0MTEyOTEsIm5iZiI6MTYyMDQxMTI5MSwiZXhwIjoxNjIwNDE1MTkxLCJhaW8iOiJBVFFBeS84VEFBQUFadHZPOUVCZ1c1VU00cytZVjgwcy9tcmRiYWpLd0JvYkF1UE1yT2NvNFROZTY0cE5heExDUlc1aVpZYTZmZmdpIiwibmFtZSI6IklkZW50aXR5IFRlc3QgVXNlciIsIm9pZCI6IjQyZDhlODg0LTI2NWEtNGNkNC05MDg5LTRjM2JjNDBhZjE4MyIsInByZWZlcnJlZF91c2VybmFtZSI6ImlkZW50aXR5dGVzdHVzZXJAYXp1cmVzZGtwbGF5Z3JvdW5kLm9ubWljcm9zb2Z0LmNvbSIsInJoIjoiMC5BUzBBaUt4UHhkTTlIMGFueElvMmpnTkFzME5rdks1dG1jSkZrUEE0al9sdnFsWXRBSWsuIiwic3ViIjoiV21sbnlVR0Y4U3lKdHh0MnMxNnZMZi1pYTBUT1NkQ05MUEdzdHpfVGxhVSIsInRpZCI6ImM1NGZhYzg4LTNkZDMtNDYxZi1hN2M0LThhMzY4ZTAzNDBiMyIsInV0aSI6Ik5ScHg0MUxXMWttTUU4d3FDaHFOQUEiLCJ2ZXIiOiIyLjAifQ.lw3cDPKJjFzNZKRuQvIexC4POVKtWeN0fttzqHsTUaDZqOzn2xZYvyBVbF9Xl81ospt6vFWBWH-rL7krKQYry9W5ad7XgC1yCe8eEFBhYVGlZL5I2Lye5kSOqzcT6cX-kAYe0qm_GIZjODNcOEIJAYv5RsesJbh3ADeXbmpt5OnxIeuihVHBpfNP4Zs317SeDg_SJG04NYIYGxDjmrlN-QNE9Nr3rViOv7TPzH21tt4f7PtECr1bljkbi3dotCLfsJEkmQQgm_StXy76_fDoOMzIBFiKNnc1UBnLg8R6y1YaPVES0gEaEr42t4zLgR5lonhTqzzzZLcXvKoLdEnJsA", "client_info": "eyJ1aWQiOiI0MmQ4ZTg4NC0yNjVhLTRjZDQtOTA4OS00YzNiYzQwYWYxODMiLCJ1dGlkIjoiYzU0ZmFjODgtM2RkMy00NjFmLWE3YzQtOGEzNjhlMDM0MGIzIn0" } } ], "Variables": { + "AZURE_AUTHORITY_HOST": null, "AZURE_IDENTITY_TEST_TENANTID": "c54fac88-3dd3-461f-a7c4-8a368e0340b3", "AZURE_IDENTITY_TEST_USERNAME": "identitytestuser@azuresdkplayground.onmicrosoft.com", + "AZURE_KEYVAULT_SCOPE": null, "RandomSeed": "1225131761", "TENANT_ID": null } diff --git a/sdk/identity/Azure.Identity/tests/StaticCachesUtilities.cs b/sdk/identity/Azure.Identity/tests/StaticCachesUtilities.cs index 2972456f6526..ecb739e17ce0 100644 --- a/sdk/identity/Azure.Identity/tests/StaticCachesUtilities.cs +++ b/sdk/identity/Azure.Identity/tests/StaticCachesUtilities.cs @@ -23,7 +23,7 @@ internal static class StaticCachesUtilities private static readonly Lazy s_clearAuthorityEndpointResolutionManager = new Lazy(() => { var assembly = typeof(PublicClientApplication).Assembly; - Type authorityEndpointResolutionManagerType = assembly.GetType("Microsoft.Identity.Client.Instance.AuthorityEndpointResolutionManager", true); + Type authorityEndpointResolutionManagerType = assembly.GetType("Microsoft.Identity.Client.Instance.AuthorityResolutionManager", true); Type iServiceBundleType = assembly.GetType("Microsoft.Identity.Client.Internal.IServiceBundle", true); Type booleanType = typeof(bool); @@ -31,9 +31,9 @@ internal static class StaticCachesUtilities foreach (ConstructorInfo constructor in constructors) { var parameters = constructor.GetParameters(); - if (parameters.Length == 2 && parameters[0].ParameterType == iServiceBundleType && parameters[1].ParameterType == booleanType) + if (parameters.Length == 1 && parameters[0].ParameterType == booleanType) { - NewExpression callConstructor = Expression.New(constructor, Expression.Constant(null, iServiceBundleType), Expression.Constant(true, booleanType)); + NewExpression callConstructor = Expression.New(constructor, Expression.Constant(true, booleanType)); return Expression.Lambda(callConstructor).Compile(); } } diff --git a/sdk/identity/Azure.Identity/tests/TokenCacheTests.cs b/sdk/identity/Azure.Identity/tests/TokenCacheTests.cs index 39a5c83e995f..b79f0d30f4cb 100644 --- a/sdk/identity/Azure.Identity/tests/TokenCacheTests.cs +++ b/sdk/identity/Azure.Identity/tests/TokenCacheTests.cs @@ -106,7 +106,6 @@ public async Task RegisterCacheInitializesCacheWithName() mockWrapper.Verify(m => m.InitializeAsync( It.Is(p => - p.ClientId == TokenCache.s_msalCacheClientId && p.CacheFileName == cacheName && p.MacKeyChainServiceName == Constants.DefaultMsalTokenCacheKeychainService && p.KeyringCollection == Constants.DefaultMsalTokenCacheKeyringCollection), @@ -123,7 +122,6 @@ public async Task RegisterCacheInitializesCache() mockWrapper.Verify(m => m.InitializeAsync( It.Is(p => - p.ClientId == TokenCache.s_msalCacheClientId && p.CacheFileName == Constants.DefaultMsalTokenCacheName && p.MacKeyChainServiceName == Constants.DefaultMsalTokenCacheKeychainService && p.KeyringCollection == Constants.DefaultMsalTokenCacheKeyringCollection), @@ -141,7 +139,6 @@ public async Task RegisterCacheInitializesCacheOnlyOnce() mockWrapper.Verify(m => m.InitializeAsync( It.Is(p => - p.ClientId == TokenCache.s_msalCacheClientId && p.CacheFileName == Constants.DefaultMsalTokenCacheName && p.MacKeyChainServiceName == Constants.DefaultMsalTokenCacheKeychainService && p.KeyringCollection == Constants.DefaultMsalTokenCacheKeyringCollection), @@ -180,7 +177,6 @@ public void RegisterCacheInitializesCacheAndIsThreadSafe() mockWrapper.Verify(m => m.InitializeAsync( It.Is(p => - p.ClientId == TokenCache.s_msalCacheClientId && p.CacheFileName == Constants.DefaultMsalTokenCacheName && p.MacKeyChainServiceName == Constants.DefaultMsalTokenCacheKeychainService && p.KeyringCollection == Constants.DefaultMsalTokenCacheKeyringCollection), @@ -211,7 +207,6 @@ public async Task RegisterCacheInitializesCacheIfEncryptionIsUnavailableAndAllow mockWrapper.Verify(m => m.InitializeAsync( It.Is(p => - p.ClientId == TokenCache.s_msalCacheClientId && p.CacheFileName == Constants.DefaultMsalTokenCacheName && p.MacKeyChainServiceName == Constants.DefaultMsalTokenCacheKeychainService && p.UseLinuxUnencryptedFallback), diff --git a/sdk/identity/Azure.Identity/tests/samples/CustomCredentialSnippets.cs b/sdk/identity/Azure.Identity/tests/samples/CustomCredentialSnippets.cs index aa263296c25b..78e7d5dab7cc 100644 --- a/sdk/identity/Azure.Identity/tests/samples/CustomCredentialSnippets.cs +++ b/sdk/identity/Azure.Identity/tests/samples/CustomCredentialSnippets.cs @@ -82,8 +82,8 @@ public override async ValueTask GetTokenAsync(TokenRequestContext r [Test] public void ConfidentialClientCredentialUsage() { - string clientSecret = "00000000-0000-0000-0000-00000000"; - string clientId = "00000000-0000-0000-0000-00000000"; + string clientSecret = "00000000-0000-0000-0000-000000000000"; + string clientId = "00000000-0000-0000-0000-000000000000"; #region Snippet:ConfidentialClientCredentialUsage IConfidentialClientApplication confidentialClient = ConfidentialClientApplicationBuilder.Create(clientId).WithClientSecret(clientSecret).Build(); @@ -121,9 +121,9 @@ public override async ValueTask GetTokenAsync(TokenRequestContext r public void OnBehalfOfCredentialUsage() { - string clientSecret = "00000000-0000-0000-0000-00000000"; - string clientId = "00000000-0000-0000-0000-00000000"; - string userAccessToken = "00000000-0000-0000-0000-00000000"; + string clientSecret = "00000000-0000-0000-0000-000000000000"; + string clientId = "00000000-0000-0000-0000-000000000000"; + string userAccessToken = "00000000-0000-0000-0000-000000000000"; #region Snippet:OnBehalfOfCredentialUsage var oboCredential = new OnBehalfOfCredential(clientId, clientSecret, userAccessToken); diff --git a/sdk/iot/Azure.IoT.Hub.Service/src/Azure.IoT.Hub.Service.csproj b/sdk/iot/Azure.IoT.Hub.Service/src/Azure.IoT.Hub.Service.csproj index bd2fdcdcf647..b8b90d4341d7 100644 --- a/sdk/iot/Azure.IoT.Hub.Service/src/Azure.IoT.Hub.Service.csproj +++ b/sdk/iot/Azure.IoT.Hub.Service/src/Azure.IoT.Hub.Service.csproj @@ -12,6 +12,7 @@ + @@ -49,5 +50,4 @@ - diff --git a/sdk/iot/Azure.IoT.Hub.Service/tests/CustomRequestSanitizer.cs b/sdk/iot/Azure.IoT.Hub.Service/tests/CustomRequestSanitizer.cs index a7d53e04cb66..7e8be596dfd4 100644 --- a/sdk/iot/Azure.IoT.Hub.Service/tests/CustomRequestSanitizer.cs +++ b/sdk/iot/Azure.IoT.Hub.Service/tests/CustomRequestSanitizer.cs @@ -18,10 +18,10 @@ public CustomRequestSanitizer() : base() { // Sanitize SAS tokens in request body - JsonPathSanitizers.Add("outputBlobContainerUri"); - JsonPathSanitizers.Add("inputBlobContainerUri"); - JsonPathSanitizers.Add("..primaryKey"); - JsonPathSanitizers.Add("..secondaryKey"); + AddJsonPathSanitizer("outputBlobContainerUri"); + AddJsonPathSanitizer("inputBlobContainerUri"); + AddJsonPathSanitizer("..primaryKey"); + AddJsonPathSanitizer("..secondaryKey"); // TODO: Remove when re-recording LegacyConvertJsonDateTokens = true; } diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Azure.Security.KeyVault.Administration.csproj b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Azure.Security.KeyVault.Administration.csproj index 92fc83e531a6..b6ae6fddc4a3 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Azure.Security.KeyVault.Administration.csproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Azure.Security.KeyVault.Administration.csproj @@ -10,6 +10,7 @@ + @@ -36,12 +37,4 @@ - - - - - - - - diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/tests/BackupRestoreRecordedTestSanitizer.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/tests/BackupRestoreRecordedTestSanitizer.cs index 69e4f6dfa55c..a1173367830b 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/tests/BackupRestoreRecordedTestSanitizer.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/tests/BackupRestoreRecordedTestSanitizer.cs @@ -13,7 +13,7 @@ public class BackupRestoreRecordedTestSanitizer : RecordedTestSanitizer public BackupRestoreRecordedTestSanitizer() : base() { - JsonPathSanitizers.Add("$..token"); + AddJsonPathSanitizer("$..token"); } private const string RetryAfter = "Retry-After"; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/Azure.Security.KeyVault.Certificates.csproj b/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/Azure.Security.KeyVault.Certificates.csproj index cf56541a5fbc..983890ff634f 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/Azure.Security.KeyVault.Certificates.csproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/Azure.Security.KeyVault.Certificates.csproj @@ -17,6 +17,7 @@ + @@ -38,12 +39,4 @@ - - - - - - - - diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/src/Azure.Security.KeyVault.Keys.csproj b/sdk/keyvault/Azure.Security.KeyVault.Keys/src/Azure.Security.KeyVault.Keys.csproj index 7cbfa10a46b2..13fa47390ce3 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/src/Azure.Security.KeyVault.Keys.csproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/src/Azure.Security.KeyVault.Keys.csproj @@ -18,10 +18,8 @@ - - - + @@ -40,10 +38,4 @@ - - - - - - diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/src/Azure.Security.KeyVault.Secrets.csproj b/sdk/keyvault/Azure.Security.KeyVault.Secrets/src/Azure.Security.KeyVault.Secrets.csproj index 57f67abee418..33d8a906162f 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Secrets/src/Azure.Security.KeyVault.Secrets.csproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/src/Azure.Security.KeyVault.Secrets.csproj @@ -14,14 +14,12 @@ - - - + @@ -40,9 +38,4 @@ - - - - - diff --git a/sdk/keyvault/Azure.Security.KeyVault.Shared/src/Azure.Security.KeyVault.Shared.shproj b/sdk/keyvault/Azure.Security.KeyVault.Shared/src/Azure.Security.KeyVault.Shared.shproj index 771af863fb80..510e88988697 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Shared/src/Azure.Security.KeyVault.Shared.shproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Shared/src/Azure.Security.KeyVault.Shared.shproj @@ -8,7 +8,6 @@ - diff --git a/sdk/keyvault/samples/sharelink/ShareLink.csproj b/sdk/keyvault/samples/sharelink/ShareLink.csproj index 2f3e11ad74e3..dfa220b63d57 100644 --- a/sdk/keyvault/samples/sharelink/ShareLink.csproj +++ b/sdk/keyvault/samples/sharelink/ShareLink.csproj @@ -16,21 +16,13 @@ - - - + - - - - - - @@ -38,10 +30,9 @@ - - - - + + + diff --git a/sdk/mediaservices/Azure.Media.Analytics.Edge/src/Azure.Media.Analytics.Edge.csproj b/sdk/mediaservices/Azure.Media.Analytics.Edge/src/Azure.Media.Analytics.Edge.csproj index efac03e98d08..1c8b43730b19 100644 --- a/sdk/mediaservices/Azure.Media.Analytics.Edge/src/Azure.Media.Analytics.Edge.csproj +++ b/sdk/mediaservices/Azure.Media.Analytics.Edge/src/Azure.Media.Analytics.Edge.csproj @@ -10,6 +10,7 @@ + @@ -23,6 +24,4 @@ - - diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Azure.AI.MetricsAdvisor.csproj b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Azure.AI.MetricsAdvisor.csproj index 1930d11cc7be..753f516b9fbe 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Azure.AI.MetricsAdvisor.csproj +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Azure.AI.MetricsAdvisor.csproj @@ -9,6 +9,10 @@ + + + + @@ -21,5 +25,4 @@ - diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorRecordedTestSanitizer.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorRecordedTestSanitizer.cs index bb8fe0a0bd2d..37ff95cb8c1b 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorRecordedTestSanitizer.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorRecordedTestSanitizer.cs @@ -13,11 +13,11 @@ public MetricsAdvisorRecordedTestSanitizer() { SanitizedHeaders.Add(Constants.SubscriptionAuthorizationHeader); SanitizedHeaders.Add(Constants.ApiAuthorizationHeader); - JsonPathSanitizers.Add("$..connectionString"); - JsonPathSanitizers.Add("$..apiKey"); - JsonPathSanitizers.Add("$..accountKey"); - JsonPathSanitizers.Add("$..authHeader"); - JsonPathSanitizers.Add("$..httpHeader"); + AddJsonPathSanitizer("$..connectionString"); + AddJsonPathSanitizer("$..apiKey"); + AddJsonPathSanitizer("$..accountKey"); + AddJsonPathSanitizer("$..authHeader"); + AddJsonPathSanitizer("$..httpHeader"); // TODO: Remove when re-recording LegacyConvertJsonDateTokens = true; } diff --git a/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj b/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj index 457593bd1424..2a105bba4e7f 100644 --- a/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj +++ b/sdk/mixedreality/Azure.MixedReality.Authentication/src/Azure.MixedReality.Authentication.csproj @@ -11,6 +11,7 @@ + @@ -31,6 +32,4 @@ - - diff --git a/sdk/modelsrepository/Azure.IoT.ModelsRepository/src/Azure.IoT.ModelsRepository.csproj b/sdk/modelsrepository/Azure.IoT.ModelsRepository/src/Azure.IoT.ModelsRepository.csproj index 09a0e0d2e146..b5cdea8b241f 100644 --- a/sdk/modelsrepository/Azure.IoT.ModelsRepository/src/Azure.IoT.ModelsRepository.csproj +++ b/sdk/modelsrepository/Azure.IoT.ModelsRepository/src/Azure.IoT.ModelsRepository.csproj @@ -16,6 +16,7 @@ + @@ -53,5 +54,4 @@ - diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj index 488af3815d81..27a590038a05 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj @@ -8,6 +8,7 @@ + @@ -26,8 +27,6 @@ - - diff --git a/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj b/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj index ca9a7e79dd65..13ca78cbe4c5 100644 --- a/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj +++ b/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj @@ -9,9 +9,7 @@ - - - + diff --git a/sdk/objectanchors/Azure.MixedReality.ObjectAnchors.Conversion/src/Azure.MixedReality.ObjectAnchors.Conversion.csproj b/sdk/objectanchors/Azure.MixedReality.ObjectAnchors.Conversion/src/Azure.MixedReality.ObjectAnchors.Conversion.csproj index 8c3b4f8f869a..e442a3438779 100644 --- a/sdk/objectanchors/Azure.MixedReality.ObjectAnchors.Conversion/src/Azure.MixedReality.ObjectAnchors.Conversion.csproj +++ b/sdk/objectanchors/Azure.MixedReality.ObjectAnchors.Conversion/src/Azure.MixedReality.ObjectAnchors.Conversion.csproj @@ -10,6 +10,7 @@ + @@ -29,6 +30,4 @@ - - diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Azure.Analytics.Purview.Catalog.csproj b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Azure.Analytics.Purview.Catalog.csproj index 46ecaab04fa2..cdd7e30cd676 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Azure.Analytics.Purview.Catalog.csproj +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Azure.Analytics.Purview.Catalog.csproj @@ -24,6 +24,4 @@ - - diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Azure.Analytics.Purview.Scanning.csproj b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Azure.Analytics.Purview.Scanning.csproj index 850aeafee3bd..e2eaa2dcf2c4 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Azure.Analytics.Purview.Scanning.csproj +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Azure.Analytics.Purview.Scanning.csproj @@ -25,6 +25,4 @@ - - diff --git a/sdk/quantum/Azure.Quantum.Jobs/src/Azure.Quantum.Jobs.csproj b/sdk/quantum/Azure.Quantum.Jobs/src/Azure.Quantum.Jobs.csproj index 361e85417ebe..5230b2e0539a 100644 --- a/sdk/quantum/Azure.Quantum.Jobs/src/Azure.Quantum.Jobs.csproj +++ b/sdk/quantum/Azure.Quantum.Jobs/src/Azure.Quantum.Jobs.csproj @@ -9,6 +9,7 @@ + @@ -26,6 +27,4 @@ - - diff --git a/sdk/quantum/Azure.Quantum.Jobs/tests/QuantumJobClientRecordedTestSanitizer.cs b/sdk/quantum/Azure.Quantum.Jobs/tests/QuantumJobClientRecordedTestSanitizer.cs index 6385b95d1f80..4b85ba2c9ddb 100644 --- a/sdk/quantum/Azure.Quantum.Jobs/tests/QuantumJobClientRecordedTestSanitizer.cs +++ b/sdk/quantum/Azure.Quantum.Jobs/tests/QuantumJobClientRecordedTestSanitizer.cs @@ -15,10 +15,10 @@ public class QuantumJobClientRecordedTestSanitizer : RecordedTestSanitizer public QuantumJobClientRecordedTestSanitizer() : base() { - JsonPathSanitizers.Add("$..containerUri"); - JsonPathSanitizers.Add("$..inputDataUri"); - JsonPathSanitizers.Add("$..outputDataUri"); - JsonPathSanitizers.Add("$..sasUri"); + AddJsonPathSanitizer("$..containerUri"); + AddJsonPathSanitizer("$..inputDataUri"); + AddJsonPathSanitizer("$..outputDataUri"); + AddJsonPathSanitizer("$..sasUri"); } } } diff --git a/sdk/remoterendering/Azure.MixedReality.RemoteRendering/src/Azure.MixedReality.RemoteRendering.csproj b/sdk/remoterendering/Azure.MixedReality.RemoteRendering/src/Azure.MixedReality.RemoteRendering.csproj index 090efd478456..b5c2e8736078 100644 --- a/sdk/remoterendering/Azure.MixedReality.RemoteRendering/src/Azure.MixedReality.RemoteRendering.csproj +++ b/sdk/remoterendering/Azure.MixedReality.RemoteRendering/src/Azure.MixedReality.RemoteRendering.csproj @@ -9,6 +9,7 @@ $(RequiredTargetFrameworks) + @@ -25,5 +26,4 @@ - diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props b/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props index 2718aecf22e6..120d921ccd2d 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props +++ b/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props @@ -1,7 +1,7 @@  - Resources_2020-10-01;Features_2015-12-01;ManagementLinkClient_2016-09-01;Resources_2016-09-01;Authorization_2016-09-01;Authorization_2020-09-01;Authorization_2020-07-01-preview;Management_2020-09-01;Management_2020-07-01-preview;PolicyClient_2020-09-01;Management_2020-10-01;ResourceManagementClient_2020-10-01;Resources_2020-01-01;SubscriptionClient_2020-01-01;Resources_2021-03-01-preview; + Resources_2020-10-01;Features_2015-12-01;ManagementLinkClient_2016-09-01;Resources_2016-09-01;Authorization_2016-09-01;Authorization_2020-09-01;Authorization_2020-07-01-preview;Management_2020-09-01;Management_2020-07-01-preview;PolicyClient_2020-09-01;Management_2020-10-01;ResourceManagementClient_2020-10-01;Resources_2020-01-01;SubscriptionClient_2020-01-01;Resources_2021-05-01; $(PackageTags);$(CommonTags);$(AzureApiTag); \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_TemplateSpecsClient.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_TemplateSpecsClient.cs index 36c2985042de..f24fdb904295 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_TemplateSpecsClient.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_TemplateSpecsClient.cs @@ -19,8 +19,8 @@ public static IEnumerable> ApiInfo_TemplateSpecsCl { return new Tuple[] { - new Tuple("Resources", "TemplateSpecVersions", "2021-03-01-preview"), - new Tuple("Resources", "TemplateSpecs", "2021-03-01-preview"), + new Tuple("Resources", "TemplateSpecVersions", "2021-05-01"), + new Tuple("Resources", "TemplateSpecs", "2021-05-01"), }.AsEnumerable(); } } diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TemplateSpecsClient.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TemplateSpecsClient.cs index e48b28008e3f..1581e6bbb407 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TemplateSpecsClient.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TemplateSpecsClient.cs @@ -329,7 +329,7 @@ private void Initialize() TemplateSpecs = new TemplateSpecsOperations(this); TemplateSpecVersions = new TemplateSpecVersionsOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2021-03-01-preview"; + ApiVersion = "2021-05-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj b/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj index b97f36855684..a9329cff24f2 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj @@ -10,7 +10,7 @@ Development of this library has shifted focus to the Azure Unified SDK. The future development will be focused on "Azure.ResourceManager.Resources" (https://www.nuget.org/packages/Azure.ResourceManager.Resources/). Please see the package changelog for more information. Microsoft.Azure.Management.ResourceManager - 3.13-preview + 3.13.1-preview Microsoft Azure resource management;resource management;resource groups;Azure Policy + @@ -24,6 +25,4 @@ - - diff --git a/sdk/schemaregistry/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro/src/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro.csproj b/sdk/schemaregistry/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro/src/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro.csproj index 24c5008da9d9..23ea41371cca 100644 --- a/sdk/schemaregistry/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro/src/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro.csproj +++ b/sdk/schemaregistry/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro/src/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro.csproj @@ -8,6 +8,7 @@ + @@ -23,6 +24,4 @@ - - diff --git a/sdk/search/Azure.Search.Documents/CHANGELOG.md b/sdk/search/Azure.Search.Documents/CHANGELOG.md index 752317bc5302..14ed45b5a620 100644 --- a/sdk/search/Azure.Search.Documents/CHANGELOG.md +++ b/sdk/search/Azure.Search.Documents/CHANGELOG.md @@ -1,9 +1,9 @@ # Release History -## 11.3.0-beta.2 (2021-04-12) +## 11.3.0-beta.2 (2021-05-11) ### Added -- Added support for [Semantic Search](https://docs.microsoft.com/azure/search/semantic-search-overview) +- Added support for [Semantic Search](https://docs.microsoft.com/azure/search/semantic-search-overview). ## 11.3.0-beta.1 (2021-04-06) diff --git a/sdk/search/Azure.Search.Documents/src/Azure.Search.Documents.csproj b/sdk/search/Azure.Search.Documents/src/Azure.Search.Documents.csproj index c2a968ba8138..e2d4a9f9b0d8 100644 --- a/sdk/search/Azure.Search.Documents/src/Azure.Search.Documents.csproj +++ b/sdk/search/Azure.Search.Documents/src/Azure.Search.Documents.csproj @@ -35,9 +35,8 @@ - - + diff --git a/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj b/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj index 56ea6fd3464f..8041fdec50ff 100644 --- a/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj +++ b/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj @@ -6,7 +6,7 @@ $(NoWarn);CS1591 - + diff --git a/sdk/search/Microsoft.Azure.Search/tests/Microsoft.Azure.Search.Tests.csproj b/sdk/search/Microsoft.Azure.Search/tests/Microsoft.Azure.Search.Tests.csproj index 143f2101d6a7..c15f373ce72d 100644 --- a/sdk/search/Microsoft.Azure.Search/tests/Microsoft.Azure.Search.Tests.csproj +++ b/sdk/search/Microsoft.Azure.Search/tests/Microsoft.Azure.Search.Tests.csproj @@ -15,8 +15,11 @@ false - + + + + diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Azure.Messaging.ServiceBus.csproj b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Azure.Messaging.ServiceBus.csproj index 4fd4b45ab5c1..9d8527fd2b2c 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Azure.Messaging.ServiceBus.csproj +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Azure.Messaging.ServiceBus.csproj @@ -17,14 +17,13 @@ + - - diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Client/ServiceBusClient.cs b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Client/ServiceBusClient.cs index eb7fa6abe400..a01945ca1861 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Client/ServiceBusClient.cs +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Client/ServiceBusClient.cs @@ -115,6 +115,10 @@ protected ServiceBusClient() /// If the connection string specifies a specific entity name, any subsequent calls to /// , , /// etc. must still specify the same entity name. + /// + /// The connection string will recognize and apply properties populated by the + /// Azure portal such as Endpoint, SharedAccessKeyName, SharedAccessKey, and EntityPath. + /// Other values will be ignored; to configure the processor, please use the . /// public ServiceBusClient(string connectionString) : this(connectionString, new ServiceBusClientOptions()) @@ -134,6 +138,10 @@ public ServiceBusClient(string connectionString) : /// If the connection string specifies a specific entity name, any subsequent calls to /// , , /// etc. must still specify the same entity name. + /// + /// The connection string will recognize and apply properties populated by the + /// Azure portal such as Endpoint, SharedAccessKeyName, SharedAccessKey, and EntityPath. + /// Other values will be ignored; to configure the processor, please use the . /// public ServiceBusClient(string connectionString, ServiceBusClientOptions options) { @@ -142,6 +150,7 @@ public ServiceBusClient(string connectionString, ServiceBusClientOptions options Logger.ClientCreateStart(typeof(ServiceBusClient), FullyQualifiedNamespace); Identifier = DiagnosticUtilities.GenerateIdentifier(FullyQualifiedNamespace); Plugins = _options.Plugins; + TransportType = _options.TransportType; Logger.ClientCreateComplete(typeof(ServiceBusClient), Identifier); } @@ -218,14 +227,15 @@ private ServiceBusClient( object credential, ServiceBusClientOptions options) { - _options = options?.Clone() ?? new ServiceBusClientOptions(); Logger.ClientCreateStart(typeof(ServiceBusClient), fullyQualifiedNamespace); + _options = options?.Clone() ?? new ServiceBusClientOptions(); Identifier = DiagnosticUtilities.GenerateIdentifier(fullyQualifiedNamespace); Connection = ServiceBusConnection.CreateWithCredential( fullyQualifiedNamespace, credential, _options); Plugins = _options.Plugins; + TransportType = _options.TransportType; Logger.ClientCreateComplete(typeof(ServiceBusClient), Identifier); } diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj index d37c0ba963b5..8cba310a95e6 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj @@ -12,8 +12,6 @@ - - diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Client/ServiceBusClientTests.cs b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Client/ServiceBusClientTests.cs index 951a684ce3eb..05058c4cd266 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Client/ServiceBusClientTests.cs +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Client/ServiceBusClientTests.cs @@ -12,6 +12,7 @@ namespace Azure.Messaging.ServiceBus.Tests.Client { + [TestFixture] public class ServiceBusClientTests { /// @@ -266,10 +267,11 @@ public void ConstructorWithConnectionStringValidatesOptions() /// /// [Test] - public void ConstructorWithTokenCredentialArgumentsValidatesOptions() + public void ConstructorWithTokenCredentialValidatesOptions() { var token = new Mock(Mock.Of()); var invalidOptions = new ServiceBusClientOptions { TransportType = ServiceBusTransportType.AmqpTcp, WebProxy = Mock.Of() }; + Assert.That(() => new ServiceBusClient("fullyQualifiedNamespace", Mock.Of(), invalidOptions), Throws.InstanceOf(), "The expanded argument constructor should validate client options"); } @@ -279,11 +281,12 @@ public void ConstructorWithTokenCredentialArgumentsValidatesOptions() /// /// [Test] - public void ConstructorWithSharedKeyCredentialArgumentsValidatesOptions() + public void ConstructorWithSharedKeyCredentialValidatesOptions() { var token = new AzureNamedKeyCredential("key", "value"); var invalidOptions = new ServiceBusClientOptions { TransportType = ServiceBusTransportType.AmqpTcp, WebProxy = Mock.Of() }; - Assert.That(() => new ServiceBusClient("fullyQualifiedNamespace", Mock.Of(), invalidOptions), Throws.InstanceOf(), "The expanded argument constructor should validate client options"); + + Assert.That(() => new ServiceBusClient("fullyQualifiedNamespace", token, invalidOptions), Throws.InstanceOf(), "The expanded argument constructor should validate client options"); } /// @@ -292,12 +295,74 @@ public void ConstructorWithSharedKeyCredentialArgumentsValidatesOptions() /// /// [Test] - public void ConstructorWithSasCredentialArgumentsValidatesOptions() + public void ConstructorWithSasCredentialValidatesOptions() { var signature = new SharedAccessSignature("sb://fake.thing.com", "fakeKey", "fakeValue"); var token = new AzureSasCredential(signature.Value); var invalidOptions = new ServiceBusClientOptions { TransportType = ServiceBusTransportType.AmqpTcp, WebProxy = Mock.Of() }; - Assert.That(() => new ServiceBusClient("fullyQualifiedNamespace", Mock.Of(), invalidOptions), Throws.InstanceOf(), "The expanded argument constructor should validate client options"); + + Assert.That(() => new ServiceBusClient("fullyQualifiedNamespace", token, invalidOptions), Throws.InstanceOf(), "The expanded argument constructor should validate client options"); + } + + /// + /// Verifies functionality of the + /// constructor. + /// + /// + [Test] + public void ConstructorWithConnectionStringSetsTransportTypeFromOptions() + { + var fakeConnection = "Endpoint=sb://not-real.servicebus.windows.net/;SharedAccessKeyName=DummyKey;SharedAccessKey=[not_real];EntityPath=fake"; + var options = new ServiceBusClientOptions { TransportType = ServiceBusTransportType.AmqpWebSockets }; + var client = new ServiceBusClient(fakeConnection, options); + + Assert.That(client.TransportType, Is.EqualTo(options.TransportType)); + } + + /// + /// Verifies functionality of the + /// constructor. + /// + /// + [Test] + public void ConstructorWithTokenCredentialSetsTransportTypeFromOptions() + { + var token = new Mock(Mock.Of()); + var options = new ServiceBusClientOptions { TransportType = ServiceBusTransportType.AmqpWebSockets }; + var client = new ServiceBusClient("fullyQualifiedNamespace", Mock.Of(), options); + + Assert.That(client.TransportType, Is.EqualTo(options.TransportType)); + } + + /// + /// Verifies functionality of the + /// constructor. + /// + /// + [Test] + public void ConstructorWithSharedKeyCredentialSetsTransportTypeFromOptions() + { + var token = new AzureNamedKeyCredential("key", "value"); + var options = new ServiceBusClientOptions { TransportType = ServiceBusTransportType.AmqpWebSockets }; + var client = new ServiceBusClient("fullyQualifiedNamespace", token, options); + + Assert.That(client.TransportType, Is.EqualTo(options.TransportType)); + } + + /// + /// Verifies functionality of the + /// constructor. + /// + /// + [Test] + public void ConstructorWithSasCredentialSetsTransportTypeFromOptions() + { + var signature = new SharedAccessSignature("sb://fake.thing.com", "fakeKey", "fakeValue"); + var token = new AzureSasCredential(signature.Value); + var options = new ServiceBusClientOptions { TransportType = ServiceBusTransportType.AmqpWebSockets }; + var client = new ServiceBusClient("fullyQualifiedNamespace", token, options); + + Assert.That(client.TransportType, Is.EqualTo(options.TransportType)); } /// diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Message/MessageLiveTests.cs b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Message/MessageLiveTests.cs index 2a3767a53881..e76046413268 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Message/MessageLiveTests.cs +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Message/MessageLiveTests.cs @@ -138,6 +138,75 @@ public async Task CreateFromReceivedMessageCopiesProperties() Assert.IsNotNull(rawReceived.Header.DeliveryCount); Assert.IsTrue(rawReceived.MessageAnnotations.ContainsKey(AmqpMessageConstants.LockedUntilName)); Assert.IsTrue(rawReceived.MessageAnnotations.ContainsKey(AmqpMessageConstants.SequenceNumberName)); + Assert.IsTrue(rawReceived.MessageAnnotations.ContainsKey(AmqpMessageConstants.EnqueuedTimeUtcName)); + + AssertMessagesEqual(msg, received); + var toSend = new ServiceBusMessage(received); + AmqpAnnotatedMessage rawSend = toSend.GetRawAmqpMessage(); + + // verify that all system set properties have been cleared out + Assert.IsNull(rawSend.Header.DeliveryCount); + Assert.IsFalse(rawSend.MessageAnnotations.ContainsKey(AmqpMessageConstants.LockedUntilName)); + Assert.IsFalse(rawSend.MessageAnnotations.ContainsKey(AmqpMessageConstants.SequenceNumberName)); + Assert.IsFalse(rawSend.MessageAnnotations.ContainsKey(AmqpMessageConstants.DeadLetterSourceName)); + Assert.IsFalse(rawSend.MessageAnnotations.ContainsKey(AmqpMessageConstants.EnqueueSequenceNumberName)); + Assert.IsFalse(rawSend.MessageAnnotations.ContainsKey(AmqpMessageConstants.EnqueuedTimeUtcName)); + Assert.IsFalse(rawSend.MessageAnnotations.ContainsKey(AmqpMessageConstants.DeadLetterSourceName)); + Assert.IsFalse(toSend.ApplicationProperties.ContainsKey(AmqpMessageConstants.DeadLetterReasonHeader)); + Assert.IsFalse(toSend.ApplicationProperties.ContainsKey(AmqpMessageConstants.DeadLetterErrorDescriptionHeader)); + + AssertMessagesEqual(toSend, received); + + void AssertMessagesEqual(ServiceBusMessage sentMessage, ServiceBusReceivedMessage received) + { + Assert.IsTrue(received.Body.ToArray().SequenceEqual(sentMessage.Body.ToArray())); + Assert.AreEqual(received.ContentType, sentMessage.ContentType); + Assert.AreEqual(received.CorrelationId, sentMessage.CorrelationId); + Assert.AreEqual(received.Subject, sentMessage.Subject); + Assert.AreEqual(received.ContentType, sentMessage.ContentType); + Assert.AreEqual(received.CorrelationId, sentMessage.CorrelationId); + Assert.AreEqual(received.MessageId, sentMessage.MessageId); + Assert.AreEqual(received.PartitionKey, sentMessage.PartitionKey); + Assert.AreEqual((string)received.ApplicationProperties["testProp"], (string)sentMessage.ApplicationProperties["testProp"]); + Assert.AreEqual(received.ReplyTo, sentMessage.ReplyTo); + Assert.AreEqual(received.ReplyToSessionId, sentMessage.ReplyToSessionId); + Assert.AreEqual(received.ScheduledEnqueueTime.UtcDateTime.Second, sentMessage.ScheduledEnqueueTime.UtcDateTime.Second); + Assert.AreEqual(received.SessionId, sentMessage.SessionId); + Assert.AreEqual(received.TimeToLive, sentMessage.TimeToLive); + Assert.AreEqual(received.To, sentMessage.To); + Assert.AreEqual(received.TransactionPartitionKey, sentMessage.TransactionPartitionKey); + } + } + } + + [Test] + public async Task CreateFromReceivedMessageCopiesPropertiesTopic() + { + await using (var scope = await ServiceBusScope.CreateWithTopic(enablePartitioning: true, enableSession: true)) + { + var client = new ServiceBusClient(TestEnvironment.ServiceBusConnectionString); + var sender = client.CreateSender(scope.TopicName); + var msg = new ServiceBusMessage(new BinaryData(GetRandomBuffer(100))); + msg.ContentType = "contenttype"; + msg.CorrelationId = "correlationid"; + msg.Subject = "label"; + msg.MessageId = "messageId"; + msg.PartitionKey = "key"; + msg.ApplicationProperties.Add("testProp", "my prop"); + msg.ReplyTo = "replyto"; + msg.ReplyToSessionId = "replytosession"; + msg.ScheduledEnqueueTime = DateTimeOffset.Now; + msg.SessionId = "key"; + msg.TimeToLive = TimeSpan.FromSeconds(60); + msg.To = "to"; + await sender.SendMessageAsync(msg); + + ServiceBusSessionReceiver receiver = await client.AcceptNextSessionAsync(scope.TopicName, scope.SubscriptionNames.First()); + ServiceBusReceivedMessage received = await receiver.ReceiveMessageAsync(); + AmqpAnnotatedMessage rawReceived = received.GetRawAmqpMessage(); + Assert.IsNotNull(rawReceived.Header.DeliveryCount); + Assert.IsTrue(rawReceived.MessageAnnotations.ContainsKey(AmqpMessageConstants.LockedUntilName)); + Assert.IsTrue(rawReceived.MessageAnnotations.ContainsKey(AmqpMessageConstants.SequenceNumberName)); Assert.IsTrue(rawReceived.MessageAnnotations.ContainsKey(AmqpMessageConstants.EnqueueSequenceNumberName)); Assert.IsTrue(rawReceived.MessageAnnotations.ContainsKey(AmqpMessageConstants.EnqueuedTimeUtcName)); diff --git a/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs b/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs index 4878a92e2497..d8d9d778b33b 100644 --- a/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs +++ b/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs @@ -49,7 +49,7 @@ public BlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredential c } public partial class BlobClientOptions : Azure.Core.ClientOptions { - public BlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_06_12) { } + public BlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_08_04) { } public Azure.Storage.Blobs.Models.CustomerProvidedKey? CustomerProvidedKey { get { throw null; } set { } } public string EncryptionScope { get { throw null; } set { } } public System.Uri GeoRedundantSecondaryUri { get { throw null; } set { } } @@ -1523,7 +1523,7 @@ public PageBlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredenti } public partial class SpecializedBlobClientOptions : Azure.Storage.Blobs.BlobClientOptions { - public SpecializedBlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_06_12) : base (default(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion)) { } + public SpecializedBlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_08_04) : base (default(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion)) { } public Azure.Storage.ClientSideEncryptionOptions ClientSideEncryption { get { throw null; } set { } } } public static partial class SpecializedBlobExtensions diff --git a/sdk/storage/Azure.Storage.Common/api/Azure.Storage.Common.netstandard2.0.cs b/sdk/storage/Azure.Storage.Common/api/Azure.Storage.Common.netstandard2.0.cs index 04d2788c24db..88bc1ef7dfa1 100644 --- a/sdk/storage/Azure.Storage.Common/api/Azure.Storage.Common.netstandard2.0.cs +++ b/sdk/storage/Azure.Storage.Common/api/Azure.Storage.Common.netstandard2.0.cs @@ -130,7 +130,7 @@ public enum SasProtocol } public partial class SasQueryParameters { - public const string DefaultSasVersion = "2020-06-12"; + public const string DefaultSasVersion = "2020-08-04"; protected SasQueryParameters() { } protected SasQueryParameters(System.Collections.Generic.IDictionary values) { } protected SasQueryParameters(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = null, string contentDisposition = null, string contentEncoding = null, string contentLanguage = null, string contentType = null) { } diff --git a/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs b/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs index 1161c7111368..a983aa81c73b 100644 --- a/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs +++ b/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs @@ -24,8 +24,7 @@ internal static class Constants /// Gets the default service version to use when building shared access /// signatures. /// - // TODO https://github.com/Azure/azure-sdk-for-net/issues/19575 - public const string DefaultSasVersion = "2020-06-12"; + public const string DefaultSasVersion = "2020-08-04"; /// /// The default size of staged blocks when uploading small blobs. diff --git a/sdk/storage/Azure.Storage.Common/src/Shared/StorageVersionExtensions.cs b/sdk/storage/Azure.Storage.Common/src/Shared/StorageVersionExtensions.cs index 802f9d73a0fe..d32ff609773d 100644 --- a/sdk/storage/Azure.Storage.Common/src/Shared/StorageVersionExtensions.cs +++ b/sdk/storage/Azure.Storage.Common/src/Shared/StorageVersionExtensions.cs @@ -36,8 +36,7 @@ internal static class StorageVersionExtensions /// public const ServiceVersion LatestVersion = #if BlobSDK || QueueSDK || FileSDK || DataLakeSDK || ChangeFeedSDK - // TODO https://github.com/Azure/azure-sdk-for-net/issues/19575 - prepare for STG 77 beta release. - ServiceVersion.V2020_06_12; + ServiceVersion.V2020_08_04; #else ERROR_STORAGE_SERVICE_NOT_DEFINED; #endif @@ -47,7 +46,6 @@ internal static class StorageVersionExtensions /// internal const ServiceVersion MaxVersion = #if BlobSDK || QueueSDK || FileSDK || DataLakeSDK || ChangeFeedSDK - // TODO https://github.com/Azure/azure-sdk-for-net/issues/19575 - prepare for STG 77 beta release. ServiceVersion.V2020_08_04; #else ERROR_STORAGE_SERVICE_NOT_DEFINED; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/api/Azure.Storage.Files.DataLake.netstandard2.0.cs b/sdk/storage/Azure.Storage.Files.DataLake/api/Azure.Storage.Files.DataLake.netstandard2.0.cs index c061f0db152c..cd060643c9e5 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/api/Azure.Storage.Files.DataLake.netstandard2.0.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/api/Azure.Storage.Files.DataLake.netstandard2.0.cs @@ -2,7 +2,7 @@ namespace Azure.Storage.Files.DataLake { public partial class DataLakeClientOptions : Azure.Core.ClientOptions { - public DataLakeClientOptions(Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion version = Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2020_06_12) { } + public DataLakeClientOptions(Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion version = Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2020_08_04) { } public System.Uri GeoRedundantSecondaryUri { get { throw null; } set { } } public Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion Version { get { throw null; } } public enum ServiceVersion diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs index 0b8b046dc401..aba0cb88ae11 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs @@ -2057,7 +2057,7 @@ public async Task GetFileClient_SpecialCharacters(string fileName) [Test] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)] - [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")] public async Task GetDeletedPathsAsync() { // Arrange @@ -2099,7 +2099,7 @@ public async Task GetDeletedPathsAsync() [Test] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)] - [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")] public async Task GetDeletedPathsAsync_Path() { // Arrange @@ -2128,7 +2128,7 @@ public async Task GetDeletedPathsAsync_Path() [Test] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)] - [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")] public async Task GetDeletedPathsAsync_Error() { // Arrange @@ -2143,7 +2143,7 @@ await TestHelper.AssertExpectedExceptionAsync( [Test] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)] - [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")] public async Task UndeletePathAsync() { // Arrange @@ -2169,7 +2169,7 @@ public async Task UndeletePathAsync() [Test] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)] - [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")] public async Task UndeletePathAsync_Error() { // Arrange @@ -2190,7 +2190,7 @@ await TestHelper.AssertExpectedExceptionAsync( [TestCase(" my cool directory ")] [TestCase("directory")] [ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)] - [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")] public async Task UndeletePathAsync_SpecialCharacters(string directoryName) { // Arrange diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs index 8f528ee7203e..cd957b4721f1 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs @@ -432,7 +432,7 @@ await TestHelper.AssertExpectedExceptionAsync( [Test] [NonParallelizable] - [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")] + [PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")] public async Task SetPropertiesAsync_DeleteRetentionPolicy() { // Arrange diff --git a/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs b/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs index 6106113c9183..1ef0916066ce 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs @@ -95,7 +95,7 @@ public ShareClient(System.Uri shareUri, Azure.Storage.StorageSharedKeyCredential } public partial class ShareClientOptions : Azure.Core.ClientOptions { - public ShareClientOptions(Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion version = Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion.V2020_06_12) { } + public ShareClientOptions(Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion version = Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion.V2020_08_04) { } public Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion Version { get { throw null; } } public enum ServiceVersion { diff --git a/sdk/storage/Azure.Storage.Queues/api/Azure.Storage.Queues.netstandard2.0.cs b/sdk/storage/Azure.Storage.Queues/api/Azure.Storage.Queues.netstandard2.0.cs index 72a5a1f57a03..b817aef8a794 100644 --- a/sdk/storage/Azure.Storage.Queues/api/Azure.Storage.Queues.netstandard2.0.cs +++ b/sdk/storage/Azure.Storage.Queues/api/Azure.Storage.Queues.netstandard2.0.cs @@ -70,7 +70,7 @@ public QueueClient(System.Uri queueUri, Azure.Storage.StorageSharedKeyCredential } public partial class QueueClientOptions : Azure.Core.ClientOptions { - public QueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = Azure.Storage.Queues.QueueClientOptions.ServiceVersion.V2020_06_12) { } + public QueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = Azure.Storage.Queues.QueueClientOptions.ServiceVersion.V2020_08_04) { } public System.Uri GeoRedundantSecondaryUri { get { throw null; } set { } } public Azure.Storage.Queues.QueueMessageEncoding MessageEncoding { get { throw null; } set { } } public Azure.Storage.Queues.QueueClientOptions.ServiceVersion Version { get { throw null; } } @@ -375,7 +375,7 @@ public event System.EventHandler + @@ -37,6 +38,4 @@ - - diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md index e7ebc6da1340..1495b4331832 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/CHANGELOG.md @@ -1,7 +1,9 @@ # Release History -## 1.0.0-preview.9 (Unreleased) - +## 1.0.0-preview.9 (2021-05-11) +### Key Bug Fixes +- Updated dependency versions. +- Improved deserialization of optional parameters (https://github.com/Azure/azure-sdk-for-net/issues/20051) ## 1.0.0-preview.8 (2021-04-06) diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Azure.Analytics.Synapse.Artifacts.csproj b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Azure.Analytics.Synapse.Artifacts.csproj index 1d3e01dff721..ed3cc8cb968d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Azure.Analytics.Synapse.Artifacts.csproj +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Azure.Analytics.Synapse.Artifacts.csproj @@ -18,6 +18,7 @@ + @@ -37,6 +38,4 @@ - - diff --git a/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/CHANGELOG.md b/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/CHANGELOG.md index 3c4133e10aa9..e15597116e51 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/CHANGELOG.md +++ b/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/CHANGELOG.md @@ -1,7 +1,8 @@ # Release History -## 1.0.0-beta.3 (Unreleased) - +## 1.0.0-beta.3 (2021-05-11) +### Key Bug Fixes +- Updated dependency versions. ## 1.0.0-beta.2 (2021-02-10) diff --git a/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/Azure.Analytics.Synapse.ManagedPrivateEndpoints.csproj b/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/Azure.Analytics.Synapse.ManagedPrivateEndpoints.csproj index 19f10c69f054..30c91a91a853 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/Azure.Analytics.Synapse.ManagedPrivateEndpoints.csproj +++ b/sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/Azure.Analytics.Synapse.ManagedPrivateEndpoints.csproj @@ -18,6 +18,7 @@ + @@ -37,6 +38,4 @@ - - diff --git a/sdk/synapse/Azure.Analytics.Synapse.Monitoring/CHANGELOG.md b/sdk/synapse/Azure.Analytics.Synapse.Monitoring/CHANGELOG.md index a885ee5331c7..f10a97f34c7e 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Monitoring/CHANGELOG.md +++ b/sdk/synapse/Azure.Analytics.Synapse.Monitoring/CHANGELOG.md @@ -1,7 +1,8 @@ # Release History -## 1.0.0-beta.3 (Unreleased) - +## 1.0.0-beta.3 (2021-05-11) +### Key Bug Fixes +- Updated dependency versions. ## 1.0.0-beta.2 (2021-02-10) diff --git a/sdk/synapse/Azure.Analytics.Synapse.Monitoring/src/Azure.Analytics.Synapse.Monitoring.csproj b/sdk/synapse/Azure.Analytics.Synapse.Monitoring/src/Azure.Analytics.Synapse.Monitoring.csproj index 0b8943551581..a6a469b95632 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Monitoring/src/Azure.Analytics.Synapse.Monitoring.csproj +++ b/sdk/synapse/Azure.Analytics.Synapse.Monitoring/src/Azure.Analytics.Synapse.Monitoring.csproj @@ -18,6 +18,7 @@ + @@ -37,6 +38,4 @@ - - diff --git a/sdk/synapse/Azure.Analytics.Synapse.Shared/src/Azure.Analytics.Synapse.Shared.shproj b/sdk/synapse/Azure.Analytics.Synapse.Shared/src/Azure.Analytics.Synapse.Shared.shproj index a93b8abce831..eb72b762a1c7 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Shared/src/Azure.Analytics.Synapse.Shared.shproj +++ b/sdk/synapse/Azure.Analytics.Synapse.Shared/src/Azure.Analytics.Synapse.Shared.shproj @@ -8,7 +8,6 @@ - diff --git a/sdk/synapse/Azure.Analytics.Synapse.Spark/CHANGELOG.md b/sdk/synapse/Azure.Analytics.Synapse.Spark/CHANGELOG.md index eab6b2a9dd9c..8b51fadc235a 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Spark/CHANGELOG.md +++ b/sdk/synapse/Azure.Analytics.Synapse.Spark/CHANGELOG.md @@ -1,7 +1,8 @@ # Release History -## 1.0.0-preview.6 (Unreleased) - +## 1.0.0-preview.6 (2021-05-11) +### Key Bug Fixes +- Updated dependency versions. ## 1.0.0-preview.5 (2021-02-11) ### Changed diff --git a/sdk/synapse/Azure.Analytics.Synapse.Spark/src/Azure.Analytics.Synapse.Spark.csproj b/sdk/synapse/Azure.Analytics.Synapse.Spark/src/Azure.Analytics.Synapse.Spark.csproj index a87333069d4e..c8e272d01e44 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Spark/src/Azure.Analytics.Synapse.Spark.csproj +++ b/sdk/synapse/Azure.Analytics.Synapse.Spark/src/Azure.Analytics.Synapse.Spark.csproj @@ -20,6 +20,7 @@ + @@ -39,6 +40,4 @@ - - diff --git a/sdk/tables/Azure.Data.Tables/src/Azure.Data.Tables.csproj b/sdk/tables/Azure.Data.Tables/src/Azure.Data.Tables.csproj index d566e710e16b..0b45dac93929 100644 --- a/sdk/tables/Azure.Data.Tables/src/Azure.Data.Tables.csproj +++ b/sdk/tables/Azure.Data.Tables/src/Azure.Data.Tables.csproj @@ -9,10 +9,10 @@ true + - @@ -37,5 +37,4 @@ - diff --git a/sdk/template/Azure.Template/src/Azure.Template.csproj b/sdk/template/Azure.Template/src/Azure.Template.csproj index 8aafca4108a1..fe9ae7edbb4f 100644 --- a/sdk/template/Azure.Template/src/Azure.Template.csproj +++ b/sdk/template/Azure.Template/src/Azure.Template.csproj @@ -8,6 +8,7 @@ + @@ -24,6 +25,4 @@ - - diff --git a/sdk/testcommon/Azure.Graph.Rbac/Directory.Build.props b/sdk/testcommon/Azure.Graph.Rbac/Directory.Build.props index b53edbbeda13..1a9611bd4924 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/Directory.Build.props +++ b/sdk/testcommon/Azure.Graph.Rbac/Directory.Build.props @@ -3,5 +3,4 @@ Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props --> - diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Azure.AI.TextAnalytics.csproj b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Azure.AI.TextAnalytics.csproj index b047e72f56b7..ea5ebbf19646 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Azure.AI.TextAnalytics.csproj +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Azure.AI.TextAnalytics.csproj @@ -10,11 +10,11 @@ $(NoWarn);3021;AZC0012 + - - + diff --git a/sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Azure.IoT.TimeSeriesInsights.csproj b/sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Azure.IoT.TimeSeriesInsights.csproj index c4f3c9d5c49d..1042e90894ee 100644 --- a/sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Azure.IoT.TimeSeriesInsights.csproj +++ b/sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Azure.IoT.TimeSeriesInsights.csproj @@ -8,6 +8,7 @@ + @@ -25,6 +26,4 @@ - - diff --git a/sdk/translation/Azure.AI.Translation.Document/src/Azure.AI.Translation.Document.csproj b/sdk/translation/Azure.AI.Translation.Document/src/Azure.AI.Translation.Document.csproj index 7c32f2b72d57..3a719dffdea6 100644 --- a/sdk/translation/Azure.AI.Translation.Document/src/Azure.AI.Translation.Document.csproj +++ b/sdk/translation/Azure.AI.Translation.Document/src/Azure.AI.Translation.Document.csproj @@ -9,11 +9,10 @@ + - - diff --git a/sdk/translation/Azure.AI.Translation.Document/tests/Infrastructure/DocumentTranslationRecordedTestSanitizer.cs b/sdk/translation/Azure.AI.Translation.Document/tests/Infrastructure/DocumentTranslationRecordedTestSanitizer.cs index d1b10df1480f..dc1e2bd0cb3c 100644 --- a/sdk/translation/Azure.AI.Translation.Document/tests/Infrastructure/DocumentTranslationRecordedTestSanitizer.cs +++ b/sdk/translation/Azure.AI.Translation.Document/tests/Infrastructure/DocumentTranslationRecordedTestSanitizer.cs @@ -10,8 +10,8 @@ public class DocumentTranslationRecordedTestSanitizer : RecordedTestSanitizer public DocumentTranslationRecordedTestSanitizer() : base() { - JsonPathSanitizers.Add("$..sourceUrl"); - JsonPathSanitizers.Add("$..targetUrl"); + AddJsonPathSanitizer("$..sourceUrl"); + AddJsonPathSanitizer("$..targetUrl"); SanitizedHeaders.Add(Constants.AuthorizationHeader); } } diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Azure.Messaging.WebPubSub.csproj b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Azure.Messaging.WebPubSub.csproj index e358358ade0b..776183b10843 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Azure.Messaging.WebPubSub.csproj +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Azure.Messaging.WebPubSub.csproj @@ -8,6 +8,7 @@ + @@ -25,8 +26,6 @@ - -